Skip to content

Conversation

@Joyinqin
Copy link
Contributor

@Joyinqin Joyinqin commented Jul 12, 2020

What is changed, added or deleted? (Required)

Which TiDB version(s) do your changes apply to? (Required)

  • master (the latest development version)
  • v4.0 (TiDB 4.0 versions)
  • v3.1 (TiDB 3.1 versions)
  • v3.0 (TiDB 3.0 versions)
  • v2.1 (TiDB 2.1 versions)

What is the related PR or file link(s)?

@ti-srebot ti-srebot added the translation/from-docs-cn This PR is translated from a PR in pingcap/docs-cn. label Jul 12, 2020
@Joyinqin
Copy link
Contributor Author

/label translation/from-docs-cn

@yikeke yikeke requested review from glkappe and lilin90 July 13, 2020 03:17
@Joyinqin
Copy link
Contributor Author

/label status/PTAL

@ti-srebot ti-srebot added the status/PTAL This PR is ready for reviewing. label Jul 15, 2020
@ti-srebot
Copy link
Contributor

@TomShawn, @glkappe, @lilin90, PTAL.

@Joyinqin
Copy link
Contributor Author

/label needs-cherry-pick-4.0

@ti-srebot
Copy link
Contributor

@TomShawn, @glkappe, @lilin90, PTAL.

@Joyinqin Joyinqin changed the title add:deploy and operation faq Add Deploy Operation and Maintenance FAQs Jul 20, 2020
#### What's the relationship between the TiDB cluster capacity (QPS) and the number of nodes? How does TiDB compare to MySQL?

- Within 10 nodes, the relationship between TiDB write capacity (Insert TPS) and the number of nodes is roughly 40% linear increase. Because MySQL uses single-node write, its write capacity cannot be scaled.
- In MySQL, the read capacity can be increased by adding secondary, but the write capacity cannot be increased except using sharding, which has many problems.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

“具体参考方案虽好,成本先行:数据库 Sharding+Proxy 实践解析“是中文文章 英文这里省略掉了。

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK.


This is because the address in the startup parameter has been registered in the PD cluster by other TiKVs. Common conditions that cause this error: There is no data folder in the path specified by TiKV `--data-dir` (no update --data-dir after deleting or moving), restart the TiKV with the previous parameters.Please try [store delete](https://github.com/pingcap/pd/tree/55db505e8f35e8ab4e00efd202beb27a8ecc40fb/tools/pd-ctl#store-delete--label--weight-store_id----jqquery-string) function of pd-ctl, delete the previous store, and then restart TiKV.

#### TiKV primary node and secondary node use the same compression algorithm, why the results are different?
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure whether 'node' can be used here.

Copy link
Member

@lilin90 lilin90 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ti-srebot ti-srebot added the status/LGT1 Indicates that a PR has LGTM 1. label Jul 21, 2020
@lilin90
Copy link
Member

lilin90 commented Jul 21, 2020

/merge

@ti-srebot
Copy link
Contributor

@lilin90 Oops! This PR requires at least 2 LGTMs to merge. The current number of LGTM is 1.

@lilin90 lilin90 added the require-LGT1 Indicates that the PR requires an LGTM. label Jul 21, 2020
@lilin90 lilin90 merged commit 2e4511d into pingcap:master Jul 21, 2020
ti-srebot pushed a commit to ti-srebot/docs that referenced this pull request Jul 21, 2020
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
@ti-srebot
Copy link
Contributor

cherry pick to release-4.0 in PR #3362

lilin90 added a commit that referenced this pull request Jul 21, 2020
* cherry pick #3241 to release-4.0

Signed-off-by: ti-srebot <ti-srebot@pingcap.com>

* Update faq/deploy-and-maintain-faq.md

* Update benchmark sysbench link

Co-authored-by: JoyinQ <56883733+Joyinqin@users.noreply.github.com>
Co-authored-by: Lilian Lee <lilin@pingcap.com>
@Joyinqin Joyinqin deleted the add-deploy-and-operation-FAQ branch July 21, 2020 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

require-LGT1 Indicates that the PR requires an LGTM. status/LGT1 Indicates that a PR has LGTM 1. status/PTAL This PR is ready for reviewing. translation/from-docs-cn This PR is translated from a PR in pingcap/docs-cn.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants