-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update several 'CREATE' related statement: #3293
update several 'CREATE' related statement: #3293
Conversation
**IfNotExists:** | ||
|
||
![Identifier](/media/sqlgram/Identifier.png) | ||
![IfNotExists](/media/sqlgram/IfNotExists.png) | ||
|
||
**IndexTypeOpt:** | ||
|
||
![IndexTypeOpt](/media/sqlgram/IndexTypeOpt.png) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These diagrams are wrong. They have no empty branches.
|
||
**IndexOptionList:** | ||
|
||
![IndexOptionList](/media/sqlgram/IndexOptionList.png) | ||
|
||
**IndexLockAndAlgorithmOpt:** | ||
|
||
![IndexLockAndAlgorithmOpt](/media/sqlgram/IndexLockAndAlgorithmOpt.png) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto
@@ -85,6 +81,10 @@ SELECT * FROM t2; | |||
Empty set (0.00 sec) | |||
``` | |||
|
|||
## Region 的预切分 | |||
|
|||
若被复制的表定义了 `PRE_SPLIT_REGIONS` 属性,通过 `CREATE TABLE LIKE` 语句复制的表,会继承该属性并在建表时进行 Region 的预切分,关于 `PRE_SPLIT_REGIONS` 属性的说明请参照 [CREATE TABLE 语句](/sql-statements/sql-statement-create-table.md)。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
若被复制的表定义了 `PRE_SPLIT_REGIONS` 属性,通过 `CREATE TABLE LIKE` 语句复制的表,会继承该属性并在建表时进行 Region 的预切分,关于 `PRE_SPLIT_REGIONS` 属性的说明请参照 [CREATE TABLE 语句](/sql-statements/sql-statement-create-table.md)。 | |
如果被复制的表定义了 `PRE_SPLIT_REGIONS` 属性,则通过 `CREATE TABLE LIKE` 语句复制的表,会继承该属性并在建表时预切分 Region。关于 `PRE_SPLIT_REGIONS` 属性的详细说明,参见 [`CREATE TABLE` 语句](/sql-statements/sql-statement-create-table.md)。 |
- sql-statements/sql-statement-create-index.md - sql-statements/sql-statement-create-sequence.md - sql-statements/sql-statement-create-table-like.md - sql-statements/sql-statement-create-table.md
a3d11bf
to
71a8756
Compare
PTAL @djshow832 @lilin90 |
@@ -161,17 +189,6 @@ CREATE INDEX idx ON t ((lower(name))); | |||
|
|||
表达式索引的语法和限制与 MySQL 相同,是通过将索引建立在隐藏的虚拟生成列 (generated virtual column) 上来实现的。因此所支持的表达式继承了虚拟生成列的所有[限制](/generated-columns.md#局限性)。目前,建立了索引的表达式只有在 `FIELD` 子句、`WHERE` 子句和 `ORDER BY` 子句中时,优化器才能使用表达式索引。后续将支持 `GROUP BY` 子句。 | |||
|
|||
## 不可见索引 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
为什么删除此功能?这个分支之前说好像是直接合到 master,此功能在 master 支持,4.0 目前不正真支持。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
恩,所以要删掉。。。这个在 4.0 没有嘛
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
master 有的,4.0 没有,比如之前 alter index 操作的文件也让我不要删除,之后 @ran-huang
会跟踪。具体 @ran-huang 帮忙确认一下
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks.
@bb7133 special week 的 PR 会合并到 master 里,请按照 master 的标准来修改。
只支持 master 不支持 4.0 的内容我会记录下,后续从 4.0 里删除。
* 支持除空间类型以外的所有数据类型。 | ||
* 不支持 `FULLTEXT`,`HASH` 和 `SPATIAL` 索引。 | ||
* `KEY_BLOCK_SIZE` 和 `ENGINE` 属性可被解析,但会被忽略。 | ||
* `index_col_name` 属性支持 length 选项,最大长度限制为 3072 字节。此长度限制不会更改,具体取决于存储引擎和建表时使用的字符集。 | ||
* `index_col_name` 属性支持 length 选项,最大长度默认限制为 3072 字节。此长度限制可以通过配置项 `max-index-length` 更改,具体请参阅 [TiDB 配置文件描述](/tidb-configuration-file.md#max-index-length)。 | ||
* `index_col_name` 属性支持 `ASC` 和 `DESC` 的索引排序选项。 | ||
* `COMMENT` 属性最多支持 1024 个字符,不支持 `WITH PARSER` 选项。 | ||
* TiDB 在单个表中最多支持 512 列。InnoDB 中相应的数量限制为 1017,MySQL 中的硬限制为 4096。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
关于创建分区表的兼容性问题要放这里面吗?获取可以有连接到的地址吗?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
恩可以加一下
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bb7133 请更新一下~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done, PTAL
ba2cece
to
0c68bb2
Compare
Done, PTAL @ran-huang @lilin90 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
PTAL @ran-huang @lilin90 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@djshow832 PTAL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/merge |
Your auto merge job has been accepted, waiting for:
|
/run-all-tests |
* *: udpate part of TOC and create new files * *: add more topics * �*: add more topics to toc and create files * toc: add assignee to two topics * *: add some issue topics * *: add some troubleshoot topics * *: add performance tuning topics * *: add tutorial topics * *: add more topics * *: add more reference topics * tidb-binlog: create binlogctl file * perf-tuning:adjust the structure of the `SQL tuning` section (#3149) * faq, toc: add faq and ui topics * toc: update troubleshoot and sql tuning * TOC: add database tools section (#3161) * TOC: add database tools section * fix ci * relocate the section * add assignees * add /faq/licensing-faq.md * modify assignees * Update command line flags for pd configruation (#3153) Signed-off-by: nolouch <nolouch@gmail.com> Co-authored-by: Lilian Lee <lilin@pingcap.com> * Remove tiflash section in old TOC (commented out) to prevent lint error (#3194) * toc: remove topics that are commented out * Remove upgrade-tiflash.md (#3164) Duplicated with TiDB's upgrade manual. Co-authored-by: ruoxi <zanmato1984@gmail.com> Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com> * sql-statements: update "admin" related statements (#3175) * add tiflash faq (#3167) * add tiflash faq * delete original tiflash faq * fix ci * address comment * Revert "fix ci" This reverts commit 73dff28. Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com> * toc: remove inapplicable dm topics * Remove two inapplicable files * Add lightning faq (#3176) * .github: add three github action workflows (#3213) * .github: update workflow to auto assign project (#3229) * update tikv configuration about pessimistic transaction (#3178) * update tikv configuration about pessimistic transaction Signed-off-by: youjiali1995 <zlwgx1023@gmail.com> * Update tikv-configuration-file.md Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com> * Update tikv-configuration-file.md Co-authored-by: toutdesuite <guizhiluo2014@163.com> Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com> Co-authored-by: toutdesuite <guizhiluo2014@163.com> * Add TiFlash performance tuning to TOC (#3203) * tuning: add tune-operating-system (#3157) * tuning: add tune-operating-system Signed-off-by: Wenbo Zhang <ethercflow@gmail.com> * refine format and TOC * Update tune-operating-system.md Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com> * Update tune-operating-system.md Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com> * Update tune-operating-system.md Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com> * Update tune-operating-system.md Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com> * Update tune-operating-system.md Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com> * Update tune-operating-system.md Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com> * Update tune-operating-system.md Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com> * Update tune-operating-system.md Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com> Co-authored-by: yikeke <yikeke@pingcap.com> Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com> Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com> * add doc about tiflash command line flags (#3205) * add doc about tiflash command line flags * Small fix for format * Try fix link * Update tiflash/tiflash-command-line-flags.md Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com> Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com> * split to DDL DML DQL DCL sections (#3215) * Add files via upload * update format * Update basic-sql-operations.md Co-authored-by: Ran <huangran@pingcap.com> * Update command line flags for tikv configruation (#3155) * update mysql-compatibility.md & add auto-increment.md (#3163) * perf-tuning: Add document for column prune (#3190) * *: Update documents and sqlgrams with "alter" prefixed statements (#3235) * transaction-isolation-levels.md: update txn isolation (#3140) * Update error-codes.md (#3160) * Update tidb-specific-system-variables.md (#3159) * reference: Optimize documents about GC (#3158) * add troubleshooting-writeconflict (#3209) * add troubleshooting-writeconflict * fix syntax * fix snytax again * adjust * fix format * refine format and wording Co-authored-by: yikeke <yikeke@pingcap.com> Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com> * reference: update constraints.md (#3146) * update literal-values.md (#3236) * perf-tuning: Update the doc of query-execution-plan (#3201) * Update configfile pd (#3238) *: update PD config file Signed-off-by: nolouch <nolouch@gmail.com> * reference: update the pd-ctl docs (#3305) * update the pd-ctl docs Signed-off-by: Ryan Leung <rleungx@gmail.com> * perf-tuning: add document for predicate push down (#3181) * toc: remove /tidb-index.md (#3258) * perf-tuning: add docs for DISTINCT optimizations (#3214) * *: update some statements (#3300) * update transaction overview (#3165) * update generate ssl doc (#3260) * resources: update the Figma link (#3230) * update generate ssl Signed-off-by: TXXT <hunterlxt@live.com> * update generate ssl Signed-off-by: TXXT <hunterlxt@live.com> * revert Signed-off-by: TXXT <hunterlxt@live.com> * Apply suggestions from code review Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com> * safe point Signed-off-by: TXXT <hunterlxt@live.com> * fix format to pass ci * update code block format * address comments Signed-off-by: TXXT <hunterlxt@live.com> * Apply suggestions from code review Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com> Co-authored-by: Caitin <34535727+CaitinChen@users.noreply.github.com> Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com> Co-authored-by: yikeke <yikeke@pingcap.com> * perf-tuning: add introduction for prepare plan cache (#3187) * Fix sql-statement: use, update, truncate, trace (#3255) * fix use * fix pic * fix pic * update doc * update doc Co-authored-by: Lilian Lee <lilin@pingcap.com> * update document of privilege management (#3202) * update privilege document * Apply suggestions from code review Co-authored-by: Lilian Lee <lilin@pingcap.com> Co-authored-by: kissmydb <likun@pingcap.com> Co-authored-by: Lilian Lee <lilin@pingcap.com> Co-authored-by: Jack Yu <yusp@pingcap.com> * perf-tuning: add index-choose.md (#3173) * Add documentations for TiUP (#3197) * tiup: improve the TiUP related documents Signed-off-by: Lonng <heng@lonng.org> * add fag/troubleshoot documents Signed-off-by: Lonng <heng@lonng.org> * add TiUP to TOC.md Signed-off-by: Lonng <heng@lonng.org> * add aliases to redirect old links * Apply suggestions from code review Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com> * address comment Signed-off-by: Lonng <heng@lonng.org> * refine TOC and a filename * fix ci * Update tiup/tiup-cluster.md Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com> * fix a dead link * fix a link * fix a link * address comments Signed-off-by: Lonng <heng@lonng.org> Co-authored-by: yikeke <yikeke@pingcap.com> Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com> * update the tidb configuration document (#3148) * update configure file document * update command line arguments doc * update * update * update * update * update * update * update * update * update * fix a typo in tiup doc Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com> Co-authored-by: yikeke <yikeke@pingcap.com> * update all the syntax png files (#3322) * add shutdown statement (#3306) * reference: update statement summary tables (#3145) * Add Grafana monitoring content and update images (#3195) * perf-tuning: add doc for wrong index solution page (#3302) * add/update several sql statements docs (#3299) * Add docs for rocksdb (#3198) * add docs for rocksdb Signed-off-by: Little-Wallace <bupt2013211450@gmail.com> * update several sql statements (#3298) - sql-statements/sql-statement-set-names.md - sql-statements/sql-statement-show-columns-from.md - sql-statements/sql-statement-show-create-sequence.md * add show config statement (#3308) * add & update several sql statements (#3296) * *: udpate `begin` and `commit` statements (#3301) * perf-tuning: update docs for statistics (#3223) * Update tispark doc (#3257) * update some syntax diagram (#3312) Signed-off-by: crazycs520 <crazycs520@gmail.com> * update several statements (#3309) * add document of `SHOW PLUGINS` (#3326) * Add doc about next_row_id and profiles (#3316) * update comment-syntax.md (#3193) * update keywords-and-reserved-words.md (#3246) * update document of tidb-ctl (#3189) * update the doc of view (#3179) * update functions-and-operator documents (#3318) * update some syntax diagram (#3317) * add syntax diagram for show stats_buckets (#3321) * perf-tuning: add docs for subquery optimizations (#3191) * perf-tuning: add docs for some overview pages for sql-tuning (#3170) * perf-tuning: add docs for some overview pages * Update query-execution-plan.md * Apply suggestions from code review Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com> Co-authored-by: Zhuomin(Charming) Liu <lzmhhh123@gmail.com> * Update control-execution-plan.md Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com> * Update sql-tuning-overview.md * Update control-execution-plan.md Co-authored-by: Zhang Jian <zjsariel@gmail.com> Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com> Co-authored-by: 苗青利 <51319517+miaoqingli@users.noreply.github.com> Co-authored-by: Zhang Jian <zjsariel@gmail.com> Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com> Co-authored-by: Zhuomin(Charming) Liu <lzmhhh123@gmail.com> Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com> * update sql-statement-modify-column.md (#3323) * add topology YAML template (#3279) * add topology YAML template * fix topology YAML template * fix topology YAML template * update topology YAML template * sql-statements:add drop-stats.md (#3337) * sql-statements: update create view and drop view (#3331) * perf-tuning: add document for partition pruning (#3184) * docs: add sql statement for load data (#3335) * Create monitor-deploy.md and tidb-monitoring-api.md (#3196) * Create monitor-deploy.md deploy monitor * Update TOC.md add monitor deploy * Update monitor-deploy.md * Delete monitor-a-tidb-cluster.md delete * Update monitor-deploy.md * Rename monitor-deploy.md to deploy-monitoring-services.md * Update TOC.md * add #3186 document * add alias * Update mysql-compatibility.md * Update deploy-monitoring-services.md * 整理监控报警相关 TOC * Update deploy-monitoring-services.md * Update tidb-monitoring-api.md Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com> * Update tidb-monitoring-api.md Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com> Co-authored-by: kissmydb <likun@pingcap.com> * Update upgrade-tidb-using-tiup.md (#3212) * Update upgrade-tidb-using-tiup.md * Update upgrade-tidb-using-tiup.md * Update upgrade-tidb-using-tiup.md Co-authored-by: Lilian Lee <lilin@pingcap.com> * Update upgrade-tidb-using-tiup.md Co-authored-by: Lilian Lee <lilin@pingcap.com> * Update upgrade-tidb-using-tiup.md Co-authored-by: Lilian Lee <lilin@pingcap.com> Co-authored-by: kissmydb <likun@pingcap.com> Co-authored-by: Lilian Lee <lilin@pingcap.com> * update several document related to privilege sql statement (#3310) * update create user gramma * update serveral statment doc * refine punctuation * Update sql-statements/sql-statement-grant-privileges.md Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com> * Update sql-statements/sql-statement-revoke-privileges.md Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com> Co-authored-by: yikeke <yikeke@pingcap.com> Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com> * update optimistic transaction (#3171) * *: update "change column" and some sqlgram (#3304) * Update three-data-centers-in-two-cities-deployment.md (#3243) * Add files via upload * Update three-data-centers-in-two-cities-deployment.md * fix ci and update format * Update three-data-centers-in-two-cities-deployment.md Co-authored-by: Ran <huangran@pingcap.com> * Update post-installation-check.md (#3297) * Multi-data-centers-in-one-city-deployment (#3245) * sql statements: add create binding, drop binding and show bindings (#3333) * refine enable tls for client/components (#3325) * fix hardware-and-software-requirements (#3228) * update security-compatibility-with-mysql.md (#3311) * Update scale-tidb-using-tiup.md and production-offline-deployment-using-tiup.md (#3208) * update several statements (#3289) * update pessimistic transaction (#3177) * Add syntax gram of `show stats_meta` (#3338) * update schema-object-names.md (#3242) * add sql statement for show analyze status (#3329) * Update the sql diagram of SHOW TABLES and SHOW INDEXES. (#3346) * update syntax gram for `kill`, `prepare` and `show stats_healthy` (#3319) * update expression-syntax.md (#3313) * Update sql diagrams of show statements (#3277) * Update the docs of `drop database` (#3332) * update partition-table.md (#3216) * update placement rules (#3169) Signed-off-by: disksing <i@disksing.com> * add troubleshoot-hot-spot-issues (#3276) * picture of troubleshoot-hot-spot-issues * troubleshoot-hot-spot-issues v1 * Update troubleshoot-hot-spot-issues.md Co-authored-by: kissmydb <likun@pingcap.com> * Update troubleshoot-hot-spot-issues.md * Update troubleshoot-hot-spot-issues.md * Update troubleshoot-hot-spot-issues.md * Update troubleshoot-hot-spot-issues.md * a little fix Co-authored-by: kissmydb <likun@pingcap.com> Co-authored-by: pepezzzz <35323945+pepezzzz@users.noreply.github.com> * Add troubleshooting CPU issues (#3282) * Create troubleshooting-cpu.md * Update troubleshoot-cpu-issues.md * Delete troubleshooting-cpu.md * Update troubleshoot-cpu-issues.md Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com> * Update troubleshoot-cpu-issues.md Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com> * Update troubleshoot-cpu-issues.md * Update troubleshoot-cpu-issues.md * Update troubleshoot-cpu-issues.md * refine format * Spoken language modified to written language * Update troubleshoot-cpu-issues.md Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com> Co-authored-by: pepezzzz <35323945+pepezzzz@users.noreply.github.com> Co-authored-by: kissmydb <likun@pingcap.com> Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com> * Docs special week for troubleshoot-lock-conflicts (#3206) * troubleshoot-lock-conflicts-pictures add pictures for troubleshoot-lock-conflicts * add file troubleshoot-lock-conflicts add file troubleshoot-lock-conflicts * Update SW troubleshoot-lock-conflicts Update SW troubleshoot-lock-conflicts * refine format and content * Update SW troubleshoot-lock-conflicts Update SW troubleshoot-lock-conflicts * Update troubleshoot-lock-conflicts.md Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com> * Update SW troubleshoot-lock-conflicts Update SW troubleshoot-lock-conflicts * Update the ci format for troubleshooting lock conflicts Update the ci format for troubleshooting lock conflicts * refine content * fix indentation * change category Co-authored-by: yikeke <yikeke@pingcap.com> Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com> Co-authored-by: kissmydb <likun@pingcap.com> * *: update `analyze` statement (#3241) ` * Move TiFlash troubleshoot part to a new document (#3192) * update TiDB metrics (#3284) * add experimental warning (#3330) * tiny refine cert based authentication (#3328) * add a dir for config-templates (#3349) * sql-stmt: modify SelectStmt and add page for `SHOW STATS_HISTOGRAMS` (#3336) * update tikv-ctl doc (#3254) * TOC: remove unused pages (#3339) * Update document for generated column (#3295) * update the 'Overview' metrics doc for grafana dashboard (#3286) * add deployment and operation FAQ (#3268) * best-practice: update massive regions to match 4.0 (#3152) * Update grafana-monitor-best-practices.md (#3288) * tools: add data migration route (#3292) * update user-defined-variables.md (#3271) * perf-tuning: Add document for topn-limit-push-down (#3307) * add minimal-deploy-topology.md (#3226) * add sql statement about pump and drainer (#3324) * add hybrid-deployment-topology.md (#3227) * add ticdc-deploy-topology.md (#3281) * add tiflash-deploy-topology.md (#3285) * update user-account-management.md (#3211) * update user-account-management.md * fix lint? * Apply suggestions from code review Co-authored-by: Lilian Lee <lilin@pingcap.com> * Apply suggestions from code review * Update user-account-management.md Co-authored-by: Jack Yu <yusp@pingcap.com> Co-authored-by: Lilian Lee <lilin@pingcap.com> Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com> * add doc for slow-queries in dashboard (#3274) * add doc for slow-queries in dashboard Signed-off-by: crazycs520 <crazycs520@gmail.com> * address comment Signed-off-by: crazycs520 <crazycs520@gmail.com> * update format * Apply suggestions from code review Co-authored-by: Ran <huangran@pingcap.com> * update relative paths * Update list.md * update alt text and punctuation * change name and dir * rename picture Signed-off-by: crazycs520 <crazycs520@gmail.com> Co-authored-by: Ran <huangran@pingcap.com> Co-authored-by: Wenxuan <hi@breeswish.org> * add check-before-deployment.md (#3225) * add check-befor-deployment.md * Update check-before-deployment.md Co-authored-by: kissmydb <likun@pingcap.com> * Update check-before-deployment.md Co-authored-by: Ran <huangran@pingcap.com> * Update check-before-deployment.md Co-authored-by: Ran <huangran@pingcap.com> * Update check-before-deployment.md Co-authored-by: Ran <huangran@pingcap.com> * Update check-before-deployment.md Co-authored-by: Ran <huangran@pingcap.com> * Update check-before-deployment.md Co-authored-by: Ran <huangran@pingcap.com> * Update check-before-deployment.md * Update check-before-deployment.md * Update check-before-deployment.md * Update check-before-deployment.md * Update check-before-deployment.md Co-authored-by: Zhang Jian <zjsariel@gmail.com> * Apply suggestions from code review Co-authored-by: Lilian Lee <lilin@pingcap.com> Co-authored-by: kissmydb <likun@pingcap.com> Co-authored-by: Ran <huangran@pingcap.com> Co-authored-by: Zhang Jian <zjsariel@gmail.com> Co-authored-by: Lilian Lee <lilin@pingcap.com> * Add daily-inspection.md (#3221) * cdc: update cdc cli doc (#3141) * add geographic-redundancy-deploy-topology.md (#3283) * Add tikv overview (#3249) * add tikv overview Signed-off-by: Little-Wallace <bupt2013211450@gmail.com> * add upgrade faq (#3267) * add tidb-binlog-deploy-topology.md (#3280) * update character-set-and-collation (#3256) * update several sql statement docs (#3294) * Add document of dumpling, the new export tool (#3151) * Create configure-load-base-split.md (#3168) * Create configure-load-base-split.md * TiFlash: Modify scale doc structure (#3341) Co-authored-by: Flowyi <flowbehappy@gmail.com> Co-authored-by: kissmydb <likun@pingcap.com> Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com> Co-authored-by: yikeke <yikeke@pingcap.com> * update doc credits (#3248) * update doc credits Signed-off-by: shirly <AndreMouche@126.com> * address comments Signed-off-by: shirly <AndreMouche@126.com> * Apply suggestions from code review Co-authored-by: Lilian Lee <lilin@pingcap.com> * Update credits.md Co-authored-by: winkyao <golangwink@gmail.com> Co-authored-by: Lilian Lee <lilin@pingcap.com> Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com> * Add FAQ documents to BR (#3344) * tools: update toc for binlog (#3347) * update several 'CREATE' related statement: (#3293) * Update grafana pd dashboard (#3343) * add scheduling overview from tidb in action (#3180) * Add some experimental features of br (#3143) * br: add online restore, raw kv. * br: warp line of some commands. * br: fix a dead link. * Update br/backup-and-restore-tool.md Co-authored-by: kissmydb <likun@pingcap.com> * Apply suggestions from code review Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com> Co-authored-by: WangXiangUSTC <wx347249478@gmail.com> * Update backup-and-restore-tool.md * refine format * br: fix incremental backup time range. * br: add a hint of where the backup stores * br: add a hint of local storage * Update backup-and-restore-tool.md * Update br/backup-and-restore-tool.md Co-authored-by: Neil Shen <overvenus@gmail.com> * Update backup-and-restore-tool.md * Update br/backup-and-restore-tool.md Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com> * Update backup-and-restore-tool.md * Update br/backup-and-restore-tool.md Co-authored-by: kissmydb <likun@pingcap.com> Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com> Co-authored-by: WangXiangUSTC <wx347249478@gmail.com> Co-authored-by: Neil Shen <overvenus@gmail.com> * Some optimization configuration for TiKV (#3278) * add optimize for tikv Signed-off-by: Little-Wallace <bupt2013211450@gmail.com> * add blank Signed-off-by: Little-Wallace <bupt2013211450@gmail.com> * rename some file Signed-off-by: Little-Wallace <bupt2013211450@gmail.com> * fix some link Signed-off-by: Little-Wallace <bupt2013211450@gmail.com> * fix blank Signed-off-by: Little-Wallace <bupt2013211450@gmail.com> * fix some comment Signed-off-by: Little-Wallace <bupt2013211450@gmail.com> * Update tune-tikv-performance-thread.md Co-authored-by: Lilian Lee <lilin@pingcap.com> * Update tune-tikv-performance-thread.md Co-authored-by: Lilian Lee <lilin@pingcap.com> * Update faq/tidb-faq.md Co-authored-by: Lilian Lee <lilin@pingcap.com> * fix grafana Signed-off-by: Little-Wallace <bupt2013211450@gmail.com> * Update tune-tikv-performance-thread.md Co-authored-by: Lilian Lee <lilin@pingcap.com> * Update tune-tikv-performance-thread.md Co-authored-by: Lilian Lee <lilin@pingcap.com> * Update faq/tidb-faq.md Co-authored-by: Lilian Lee <lilin@pingcap.com> * rename file Signed-off-by: Little-Wallace <bupt2013211450@gmail.com> * add code format Signed-off-by: Little-Wallace <bupt2013211450@gmail.com> * address comment Signed-off-by: Little-Wallace <bupt2013211450@gmail.com> * Update tune-tikv-thread-performance.md * Apply suggestions from code review * Fix format * Apply suggestions from code review Co-authored-by: Lilian Lee <lilin@pingcap.com> Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com> * add troubleshoot-high-disk-io.md (#3237) * system-table: update diagnose system table doc (#3154) * Update tidb-best-practices.md (#3291) * optimize production-deployment-using-tiup (#3224) * Update grafana tikv dashboard doc (#3150) Signed-off-by: TXXT <hunterlxt@live.com> Co-authored-by: Connor <zbk602423539@gmail.com> Co-authored-by: Ran <huangran@pingcap.com> Co-authored-by: Lei Zhao <zlwgx1023@gmail.com> Co-authored-by: qupeng <onlyqupeng@gmail.com> Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com> Co-authored-by: zhangjinpeng1987 <zhangjinpeng@pingcap.com> * Update tiflash usage (#3351) * Add tiflash intro into TOC (#3355) * Update sql-faq.md (#3262) * tools: update toc for cdc (#3352) * update ticdc * add link in ticdc overview * update link * fix link * add aliases * Update TOC.md Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com> * fix link * combine deploy ticdc to manage ticdc * update title * Update manage-ticdc.md * Update production-deployment-using-tiup.md * move ticdc files to ticdc folder * fix links * Update manage-ticdc.md * Update ticdc-overview.md * fix a link Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com> Co-authored-by: kissmydb <likun@pingcap.com> Co-authored-by: yikeke <yikeke@pingcap.com> * migrate: migrate from mysql files (#3252) * perf-tuning: add blacklist-control-plan.md (#3253) * Update benchmark-tidb-using-tpcc.md (#3354) * Update benchmark-tidb-using-tpcc.md * Update benchmark-tidb-using-tpcc.md * Update benchmark/benchmark-tidb-using-tpcc.md * Update format Co-authored-by: Lilian Lee <lilin@pingcap.com> Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com> * update maintain-tidb-using-tiup.md (#3204) * architecture: add tidb-architecture, tidb-computing, tidb-storage (#3222) * dashboard: add docs for cluster info, statement, log search pages (#3247) * Add Dashboard TOC Signed-off-by: Breezewish <me@breeswish.org> * dashboard: add docs about cluster info page * dashboard: add docs about statement list page * dashboard: add docs about statement detail page * dashboard: add docs about log search page * dashboard: add missed content for statement detail page * dashboard: fix CI * dashboard: address the comments Signed-off-by: baurine <2008.hbl@gmail.com> * refine * Update cluster-info.md * Update log-search.md * Update detail.md * Update list.md * dashboard: add summary meta * adjust files structure * fix CI * fix CI * fix CI * Update dashboard/dashboard-statements-list.md Co-authored-by: 混沌DM <hundundm@gmail.com> * Update dashboard/dashboard-cluster-info.md Co-authored-by: 混沌DM <hundundm@gmail.com> * update file name Co-authored-by: Breezewish <me@breeswish.org> Co-authored-by: Wenxuan <hi@breeswish.org> Co-authored-by: 混沌DM <hundundm@gmail.com> * Update Dashboard Key-Visualizer Page (#3250) * Update overview.md (#3166) * add some note of TiCDC (#3356) * Add store limit guide (#3353) * dashboard: update dashboard media files structure (#3359) * dashboard: update media files structure * fix link Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com> * add `SET ROLE` document (#3358) * Add Dashboard Access, Overview and Profiling Page (#3244) * Add Dashboard TOC Signed-off-by: Breezewish <me@breeswish.org> * Add Access, Overview and Profiling Page Signed-off-by: Breezewish <me@breeswish.org> * Fix lint Signed-off-by: Breezewish <me@breeswish.org> * Address comments Signed-off-by: Breezewish <me@breeswish.org> * Update some doc styles Signed-off-by: Breezewish <me@breeswish.org> * Rename files Signed-off-by: Breezewish <me@breeswish.org> * Rename Signed-off-by: Breezewish <me@breeswish.org> * Make CI happy Signed-off-by: Breezewish <me@breeswish.org> * Update dashboard/dashboard-profiling.md Co-authored-by: 混沌DM <hundundm@gmail.com> * Update dashboard/dashboard-access.md Co-authored-by: 混沌DM <hundundm@gmail.com> * Move images Signed-off-by: Breezewish <me@breeswish.org> * Fix deadlink Signed-off-by: Breezewish <me@breeswish.org> Co-authored-by: 混沌DM <hundundm@gmail.com> * combine duplicate doc (#3361) * combine duplicate doc: - sql-statements/sql-statement-show-table-next-row-id.md - sql-statements/sql-statement-show-table-next-rowid.md * fix link Co-authored-by: yikeke <yikeke@pingcap.com> Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com> * Add syntax gram of `load stats` (#3362) * resources: update the Figma link (#3230) * load stats * add png * make linter happy * Update sql-statements/sql-statement-load-stats.md Co-authored-by: Lynn <zimu_xia@126.com> * update Co-authored-by: Caitin <34535727+CaitinChen@users.noreply.github.com> Co-authored-by: Lynn <zimu_xia@126.com> Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com> * Add new sql statements to TOC.md (#3357) * Add doc for cluster diagnose in dashboard (#3273) * architecture: fix link (#3365) * architecture: fix link * Update tidb-computing.md Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com> Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com> Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com> * tools: update toc for data migration (#3363) * add migration by sql * update toc * Update data-migration-route.md Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Lilian Lee <lilin@pingcap.com> Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com> * remove duplicate content Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com> Co-authored-by: Lilian Lee <lilin@pingcap.com> Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com> * delete extra aliases (#3367) * delete extra aliases * Update sql-statement-alter-index.md * Update sql-statement-change-column.md * update dashboard diagnostics pickture name (#3366) * update dashboard diagnostics pickture name Signed-off-by: crazycs520 <crazycs520@gmail.com> * update link Signed-off-by: crazycs520 <crazycs520@gmail.com> * fix typos Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com> Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com> * add plan_from_cache in slow_query document (#3369) * add plan_from_cache in slow_query document * Update identify-slow-queries.md Co-authored-by: Lilian Lee <lilin@pingcap.com> * improve location-awareness (#3174) * improve location-awareness Signed-off-by: disksing <i@disksing.com> * Update location-awareness.md Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com> * Update location-awareness.md Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com> * Update location-awareness.md Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com> * Update location-awareness.md Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com> * Update location-awareness.md Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com> * Update location-awareness.md Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com> * Update location-awareness.md Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com> * Update location-awareness.md Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com> * Update location-awareness.md Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com> * Update location-awareness.md Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com> * Update location-awareness.md Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com> * rename the file and add an alias * update title * fix CI * fix 2 links * Update TOC.md Co-authored-by: Keke Yi <40977455+yikeke@users.noreply.github.com> Co-authored-by: yikeke <yikeke@pingcap.com> * tidy up docs-special-week branch (#3368) * remove names and refs * tidy up TOC; add draft attribute; fix minor issues * draft:true -> draft: true * refine TOC * rename a file; delete extra empty files * fix 4 dead links due to renaming * rename a file; add an alias * <br> -> <br/> * Update descriptions and format (#3370) * 修改一些描述的层次格式 * 修改缩进 * Update troubleshoot-high-disk-io.md * Update troubleshoot-high-disk-io.md * Update indentation * Update troubleshoot-high-disk-io.md * Update troubleshoot-high-disk-io.md update 一些段落格式 Co-authored-by: Lilian Lee <lilin@pingcap.com> * add backticks to fix build issues (#3371) * add backticks to fix build issues * remove extra slash * revert frontmatter changes * Update tune-tiflash-performance.md * delete extra assignee names * fix two build issues Co-authored-by: lilin90 <lilin@pingcap.com> Co-authored-by: Yiding Cui <winoros@gmail.com> Co-authored-by: ShuNing <nolouch@gmail.com> Co-authored-by: ruoxi <zanmato1984@gmail.com> Co-authored-by: Flowyi <flowbehappy@gmail.com> Co-authored-by: Lynn <zimu_xia@126.com> Co-authored-by: xufei <xufei@pingcap.com> Co-authored-by: 3pointer <luancheng@pingcap.com> Co-authored-by: Ran <huangran@pingcap.com> Co-authored-by: Lei Zhao <zlwgx1023@gmail.com> Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com> Co-authored-by: toutdesuite <guizhiluo2014@163.com> Co-authored-by: JaySon <tshent@qq.com> Co-authored-by: Zwb <ethercflow@gmail.com> Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com> Co-authored-by: lidezhu <47731263+lidezhu@users.noreply.github.com> Co-authored-by: pepezzzz <35323945+pepezzzz@users.noreply.github.com> Co-authored-by: tangenta <tangenta@126.com> Co-authored-by: lawyerphx <pheqx@qq.com> Co-authored-by: cfzjywxk <lsswxr@163.com> Co-authored-by: Zejun Li <lizejun@pingcap.com> Co-authored-by: MyonKeminta <9948422+MyonKeminta@users.noreply.github.com> Co-authored-by: Win-Man <825895587@qq.com> Co-authored-by: Jack Yu <yusp@pingcap.com> Co-authored-by: Chengpeng Yan <41809508+Reminiscent@users.noreply.github.com> Co-authored-by: Ryan Leung <rleungx@gmail.com> Co-authored-by: HuaiyuXu <391585975@qq.com> Co-authored-by: Feng Liyuan <darktemplar.f@gmail.com> Co-authored-by: Xintao <hunterlxt@live.com> Co-authored-by: Caitin <34535727+CaitinChen@users.noreply.github.com> Co-authored-by: Kenan Yao <cauchy1992@gmail.com> Co-authored-by: djshow832 <873581766@qq.com> Co-authored-by: Lingyu Song <songlingyu@pingcap.com> Co-authored-by: kissmydb <likun@pingcap.com> Co-authored-by: Zhuomin(Charming) Liu <lzmhhh123@gmail.com> Co-authored-by: Lonng <heng@lonng.org> Co-authored-by: yuzhibotao <52073478+yuzhibotao@users.noreply.github.com> Co-authored-by: bb7133 <bb7133@gmail.com> Co-authored-by: Wallace <bupt2013211450@gmail.com> Co-authored-by: Liangliang Gu <marsishandsome@gmail.com> Co-authored-by: crazycs <crazycs520@gmail.com> Co-authored-by: 苗青利 <51319517+miaoqingli@users.noreply.github.com> Co-authored-by: Zhang Jian <zjsariel@gmail.com> Co-authored-by: lzs <43946384+superlzs0476@users.noreply.github.com> Co-authored-by: Shenghui Wu <793703860@qq.com> Co-authored-by: xiaoyangwang5 <49518579+xiaoyangwang5@users.noreply.github.com> Co-authored-by: pcqz <45614653+pcqz@users.noreply.github.com> Co-authored-by: freyfl <48233548+freyfl@users.noreply.github.com> Co-authored-by: wentaojin <34805682+WentaoJin@users.noreply.github.com> Co-authored-by: lysu <sulifx@gmail.com> Co-authored-by: tiancaiamao <tiancaiamao@gmail.com> Co-authored-by: King-Dylan <50897894+King-Dylan@users.noreply.github.com> Co-authored-by: Zhi Qi <30543181+LittleFall@users.noreply.github.com> Co-authored-by: disksing <i@disksing.com> Co-authored-by: DamonGuo@PingCAP <50732087+Damon-PingCap@users.noreply.github.com> Co-authored-by: KASSADAR <KASSADAR@ALIYUN.COM> Co-authored-by: zhenjiao gao <26379799+zhenjiaogao@users.noreply.github.com> Co-authored-by: lei yu <leiysky@outlook.com> Co-authored-by: qupeng <onlyqupeng@gmail.com> Co-authored-by: wjHuang <huangwenjun1997@gmail.com> Co-authored-by: glkappe <qihang.li@pingcap.com> Co-authored-by: Jay <BusyJay@users.noreply.github.com> Co-authored-by: WangXiangUSTC <wx347249478@gmail.com> Co-authored-by: Wenxuan <hi@breeswish.org> Co-authored-by: Wang Jun <277372664@qq.com> Co-authored-by: Neil Shen <overvenus@gmail.com> Co-authored-by: 山岚 <36239017+YuJuncen@users.noreply.github.com> Co-authored-by: lhy1024 <liuhanyang@pingcap.com> Co-authored-by: birdstorm <samuelwyf@hotmail.com> Co-authored-by: Shirly <wuxuelian@pingcap.com> Co-authored-by: winkyao <golangwink@gmail.com> Co-authored-by: TaoZhengCN <taozheng@pingcap.com> Co-authored-by: Connor <zbk602423539@gmail.com> Co-authored-by: zhangjinpeng1987 <zhangjinpeng@pingcap.com> Co-authored-by: yilongrong <55389305+yilongrong@users.noreply.github.com> Co-authored-by: Se-L <Seiferbb@126.com> Co-authored-by: wangxj <44355590+together-wang@users.noreply.github.com> Co-authored-by: Sparkle <1284531+baurine@users.noreply.github.com> Co-authored-by: Breezewish <me@breeswish.org> Co-authored-by: 混沌DM <hundundm@gmail.com> Co-authored-by: ruofly0425 <ruofly0425@gmail.com> Co-authored-by: leoppro <zhaoyilin@pingcap.com> Co-authored-by: Yuanjia Zhang <zhangyuanjia@pingcap.com>
What is changed, added or deleted? (Required)
Which TiDB version(s) do your changes apply to? (Required)
What is the related PR or file link(s)?