From 4feb622c9f90d938e943356ab951d9aa6aaebec7 Mon Sep 17 00:00:00 2001 From: rfraposa Date: Sun, 10 Apr 2022 17:08:18 -0600 Subject: [PATCH] Added /zh docs --- .../example-datasets/_category_.yml | 2 +- docs/en/sql-reference/index.md | 1 + docs/zh/_category_.yml | 7 ++ docs/zh/changelog/index.md | 2 +- docs/zh/commercial/cloud.md | 4 +- docs/zh/commercial/index.md | 5 +- docs/zh/commercial/support.md | 4 +- docs/zh/development/browse-code.md | 4 +- docs/zh/development/build-cross-arm.md | 4 +- docs/zh/engines/_category_.yml | 6 ++ docs/zh/engines/database-engines/atomic.md | 4 +- docs/zh/engines/database-engines/index.md | 5 +- docs/zh/engines/database-engines/lazy.md | 4 +- .../database-engines/materialize-mysql.md | 4 +- .../database-engines/materialized-mysql.md | 6 +- .../materialized-postgresql.md | 4 +- docs/zh/engines/database-engines/mysql.md | 4 +- .../zh/engines/database-engines/postgresql.md | 4 +- docs/zh/engines/database-engines/sqlite.md | 4 +- docs/zh/engines/index.md | 6 -- .../integrations/embedded-rocksdb.md | 4 +- .../table-engines/integrations/hdfs.md | 4 +- .../table-engines/integrations/hive.md | 4 +- .../table-engines/integrations/index.md | 4 +- .../table-engines/integrations/jdbc.md | 4 +- .../table-engines/integrations/mongodb.md | 4 +- .../table-engines/integrations/odbc.md | 4 +- .../table-engines/integrations/postgresql.md | 4 +- .../table-engines/integrations/rabbitmq.md | 4 +- .../engines/table-engines/integrations/s3.md | 4 +- .../table-engines/integrations/sqlite.md | 4 +- .../engines/table-engines/log-family/index.md | 5 +- .../mergetree-family/aggregatingmergetree.md | 2 +- .../mergetree-family/collapsingmergetree.md | 2 +- .../mergetree-family/graphitemergetree.md | 4 +- .../table-engines/mergetree-family/index.md | 4 +- .../mergetree-family/mergetree.md | 16 ++-- .../mergetree-family/replacingmergetree.md | 2 +- .../mergetree-family/summingmergetree.md | 2 +- .../versionedcollapsingmergetree.md | 6 +- .../table-engines/special/distributed.md | 4 +- .../engines/table-engines/special/generate.md | 4 +- .../zh/engines/table-engines/special/index.md | 8 -- docs/zh/engines/table-engines/special/join.md | 4 +- .../engines/table-engines/special/memory.md | 4 +- docs/zh/faq/general/columnar-database.md | 2 +- docs/zh/faq/general/dbms-naming.md | 2 +- .../how-do-i-contribute-code-to-clickhouse.md | 2 +- docs/zh/faq/general/index.md | 4 +- docs/zh/faq/general/mapreduce.md | 2 +- docs/zh/faq/general/ne-tormozit.md | 27 +++++- docs/zh/faq/general/olap.md | 40 ++++++++- .../zh/faq/general/who-is-using-clickhouse.md | 2 +- .../faq/general/why-clickhouse-is-so-fast.md | 62 ++++++++++++- docs/zh/faq/index.md | 4 +- docs/zh/faq/integration/file-export.md | 2 +- docs/zh/faq/integration/index.md | 4 +- docs/zh/faq/integration/json-import.md | 35 +++++++- docs/zh/faq/integration/oracle-odbc.md | 16 +++- docs/zh/faq/operations/delete-old-data.md | 44 ++++++++- docs/zh/faq/operations/index.md | 4 +- .../operations/multi-region-replication.md | 2 +- docs/zh/faq/operations/production.md | 72 ++++++++++++++- docs/zh/faq/use-cases/index.md | 4 +- docs/zh/faq/use-cases/key-value.md | 2 +- docs/zh/faq/use-cases/time-series.md | 2 +- .../example-datasets/amplab-benchmark.md | 4 +- .../example-datasets/criteo.md | 4 +- .../example-datasets/github-events.md | 4 +- .../getting-started/example-datasets/index.md | 5 +- .../example-datasets/metrica.md | 4 +- .../example-datasets/nyc-taxi.md | 4 +- .../example-datasets/ontime.md | 4 +- .../example-datasets/star-schema.md | 4 +- .../example-datasets/wikistat.md | 4 +- docs/zh/getting-started/index.md | 4 +- docs/zh/getting-started/install.md | 90 +++++++++++++++++-- docs/zh/getting-started/playground.md | 4 +- docs/zh/getting-started/tutorial.md | 4 +- docs/zh/guides/apply-catboost-model.md | 4 +- docs/zh/guides/index.md | 7 +- docs/zh/interfaces/cli.md | 4 +- docs/zh/interfaces/cpp.md | 4 +- docs/zh/interfaces/formats.md | 4 +- docs/zh/interfaces/http.md | 4 +- docs/zh/interfaces/index.md | 5 +- docs/zh/interfaces/jdbc.md | 4 +- docs/zh/interfaces/mysql.md | 4 +- docs/zh/interfaces/odbc.md | 4 +- docs/zh/interfaces/tcp.md | 4 +- .../third-party/client-libraries.md | 4 +- docs/zh/interfaces/third-party/index.md | 4 +- .../zh/interfaces/third-party/integrations.md | 4 +- docs/zh/interfaces/third-party/proxy.md | 4 +- docs/zh/introduction/_category_.yml | 7 ++ docs/zh/introduction/adopters.md | 4 +- docs/zh/introduction/distinctive-features.md | 4 +- docs/zh/introduction/history.md | 4 +- docs/zh/introduction/index.md | 6 -- docs/zh/introduction/performance.md | 4 +- docs/zh/operations/access-rights.md | 4 +- docs/zh/operations/backup.md | 4 +- docs/zh/operations/index.md | 4 +- docs/zh/operations/monitoring.md | 4 +- .../optimizing-performance/index.md | 8 -- .../sampling-query-profiler.md | 4 +- docs/zh/operations/performance-test.md | 4 +- docs/zh/operations/requirements.md | 4 +- .../settings.md | 6 +- .../settings/constraints-on-settings.md | 4 +- docs/zh/operations/settings/index.md | 2 +- .../settings/permissions-for-queries.md | 4 +- .../operations/settings/settings-profiles.md | 4 +- docs/zh/operations/settings/settings-users.md | 4 +- docs/zh/operations/system-tables/index.md | 4 +- docs/zh/operations/troubleshooting.md | 4 +- docs/zh/operations/update.md | 4 +- .../utilities/clickhouse-benchmark.md | 4 +- .../operations/utilities/clickhouse-local.md | 4 +- .../aggregate-functions/combinators.md | 4 +- .../aggregate-functions/index.md | 5 +- .../parametric-functions.md | 4 +- .../aggregate-functions/reference/any.md | 2 +- .../aggregate-functions/reference/anyheavy.md | 2 +- .../aggregate-functions/reference/anylast.md | 2 +- .../aggregate-functions/reference/argmax.md | 2 +- .../aggregate-functions/reference/argmin.md | 2 +- .../aggregate-functions/reference/avg.md | 2 +- .../reference/avgweighted.md | 2 +- .../reference/categoricalinformationvalue.md | 2 +- .../aggregate-functions/reference/corr.md | 2 +- .../aggregate-functions/reference/count.md | 2 +- .../aggregate-functions/reference/covarpop.md | 2 +- .../reference/covarsamp.md | 2 +- .../aggregate-functions/reference/deltasum.md | 2 +- .../reference/grouparray.md | 2 +- .../reference/grouparrayinsertat.md | 2 +- .../reference/grouparraymovingavg.md | 2 +- .../reference/grouparraymovingsum.md | 2 +- .../reference/grouparraysample.md | 2 +- .../reference/groupbitand.md | 2 +- .../reference/groupbitmap.md | 2 +- .../reference/groupbitmapand.md | 2 +- .../reference/groupbitmapor.md | 2 +- .../reference/groupbitmapxor.md | 2 +- .../reference/groupbitor.md | 2 +- .../reference/groupbitxor.md | 2 +- .../reference/groupuniqarray.md | 2 +- .../aggregate-functions/reference/index.md | 5 +- .../reference/initializeAggregation.md | 2 +- .../aggregate-functions/reference/kurtpop.md | 2 +- .../aggregate-functions/reference/kurtsamp.md | 2 +- .../reference/mannwhitneyutest.md | 4 +- .../aggregate-functions/reference/max.md | 2 +- .../aggregate-functions/reference/maxmap.md | 2 +- .../aggregate-functions/reference/min.md | 2 +- .../aggregate-functions/reference/minmap.md | 2 +- .../aggregate-functions/reference/quantile.md | 2 +- .../reference/quantiledeterministic.md | 2 +- .../reference/quantileexact.md | 2 +- .../reference/quantileexactweighted.md | 2 +- .../reference/quantiles.md | 2 +- .../reference/quantiletdigest.md | 2 +- .../reference/quantiletdigestweighted.md | 2 +- .../reference/quantiletiming.md | 2 +- .../reference/quantiletimingweighted.md | 2 +- .../reference/simplelinearregression.md | 2 +- .../aggregate-functions/reference/skewpop.md | 2 +- .../aggregate-functions/reference/skewsamp.md | 2 +- .../reference/stddevpop.md | 2 +- .../reference/stddevsamp.md | 2 +- .../reference/stochasticlinearregression.md | 2 +- .../reference/stochasticlogisticregression.md | 2 +- .../reference/studentttest.md | 4 +- .../aggregate-functions/reference/sum.md | 2 +- .../aggregate-functions/reference/summap.md | 2 +- .../reference/sumwithoverflow.md | 2 +- .../aggregate-functions/reference/topk.md | 2 +- .../reference/topkweighted.md | 2 +- .../aggregate-functions/reference/uniq.md | 2 +- .../reference/uniqcombined.md | 2 +- .../reference/uniqcombined64.md | 2 +- .../reference/uniqexact.md | 2 +- .../reference/uniqhll12.md | 2 +- .../aggregate-functions/reference/varpop.md | 2 +- .../aggregate-functions/reference/varsamp.md | 2 +- .../reference/welchttest.md | 4 +- docs/zh/sql-reference/ansi.md | 4 +- .../zh/sql-reference/data-types/datetime64.md | 4 +- .../sql-reference/data-types/domains/index.md | 5 +- docs/zh/sql-reference/data-types/index.md | 5 +- docs/zh/sql-reference/data-types/int-uint.md | 4 +- .../data-types/lowcardinality.md | 4 +- .../data-types/special-data-types/interval.md | 4 +- docs/zh/sql-reference/data-types/uuid.md | 4 +- .../external-dicts-dict-hierarchical.md | 4 +- .../external-dicts-dict-layout.md | 4 +- .../external-dicts-dict-lifetime.md | 4 +- .../external-dicts-dict-sources.md | 6 +- .../external-dicts-dict-structure.md | 4 +- .../external-dicts-dict.md | 4 +- .../external-dictionaries/external-dicts.md | 6 +- .../external-dictionaries/index.md | 8 -- docs/zh/sql-reference/dictionaries/index.md | 7 +- .../dictionaries/internal-dicts.md | 4 +- docs/zh/sql-reference/distributed-ddl.md | 4 +- .../functions/arithmetic-functions.md | 4 +- .../functions/comparison-functions.md | 14 +-- .../sql-reference/functions/in-functions.md | 4 +- docs/zh/sql-reference/functions/index.md | 5 +- .../sql-reference/functions/introspection.md | 4 +- .../functions/logical-functions.md | 4 +- .../functions/string-search-functions.md | 2 +- .../functions/time-window-functions.md | 4 +- .../functions/type-conversion-functions.md | 4 +- docs/zh/sql-reference/index.md | 5 +- docs/zh/sql-reference/operators/in.md | 2 +- docs/zh/sql-reference/statements/alter.md | 4 +- .../statements/alter/constraint.md | 4 +- .../sql-reference/statements/alter/delete.md | 4 +- .../sql-reference/statements/alter/index.md | 4 +- .../statements/alter/index/index.md | 4 +- .../statements/alter/order-by.md | 4 +- .../zh/sql-reference/statements/alter/role.md | 4 +- .../statements/alter/row-policy.md | 4 +- .../statements/alter/settings-profile.md | 4 +- docs/zh/sql-reference/statements/alter/ttl.md | 4 +- .../sql-reference/statements/alter/update.md | 4 +- .../zh/sql-reference/statements/alter/view.md | 4 +- .../statements/create/database.md | 4 +- .../statements/create/function.md | 4 +- .../sql-reference/statements/create/index.md | 5 +- .../sql-reference/statements/create/view.md | 4 +- docs/zh/sql-reference/statements/drop.md | 4 +- docs/zh/sql-reference/statements/exchange.md | 4 +- docs/zh/sql-reference/statements/exists.md | 4 +- docs/zh/sql-reference/statements/grant.md | 4 +- docs/zh/sql-reference/statements/index.md | 5 +- docs/zh/sql-reference/statements/misc.md | 4 +- docs/zh/sql-reference/statements/rename.md | 4 +- docs/zh/sql-reference/statements/revoke.md | 4 +- .../statements/select/array-join.md | 2 +- .../statements/select/distinct.md | 2 +- .../sql-reference/statements/select/format.md | 2 +- .../sql-reference/statements/select/from.md | 2 +- .../statements/select/group-by.md | 2 +- .../sql-reference/statements/select/having.md | 2 +- .../sql-reference/statements/select/index.md | 6 +- .../statements/select/into-outfile.md | 2 +- .../sql-reference/statements/select/join.md | 2 +- .../statements/select/limit-by.md | 2 +- .../sql-reference/statements/select/limit.md | 2 +- .../statements/select/order-by.md | 2 +- .../statements/select/prewhere.md | 2 +- .../sql-reference/statements/select/sample.md | 10 +-- .../sql-reference/statements/select/union.md | 2 +- .../sql-reference/statements/select/where.md | 2 +- .../sql-reference/statements/select/with.md | 2 +- docs/zh/sql-reference/statements/set.md | 4 +- docs/zh/sql-reference/statements/show.md | 4 +- docs/zh/sql-reference/statements/system.md | 4 +- docs/zh/sql-reference/statements/truncate.md | 4 +- docs/zh/sql-reference/statements/use.md | 4 +- docs/zh/sql-reference/statements/watch.md | 4 +- docs/zh/sql-reference/syntax.md | 4 +- docs/zh/sql-reference/table-functions/file.md | 4 +- .../sql-reference/table-functions/generate.md | 4 +- docs/zh/sql-reference/table-functions/hdfs.md | 4 +- .../zh/sql-reference/table-functions/index.md | 5 +- .../zh/sql-reference/table-functions/input.md | 4 +- docs/zh/sql-reference/table-functions/jdbc.md | 4 +- .../zh/sql-reference/table-functions/merge.md | 4 +- .../sql-reference/table-functions/numbers.md | 4 +- docs/zh/sql-reference/table-functions/odbc.md | 4 +- .../table-functions/postgresql.md | 4 +- docs/zh/sql-reference/table-functions/s3.md | 4 +- docs/zh/sql-reference/table-functions/url.md | 4 +- docs/zh/whats-new/changelog/2020.md | 2 +- docs/zh/whats-new/changelog/_category_.yml | 7 ++ docs/zh/whats-new/changelog/index.md | 7 +- docs/zh/whats-new/index.md | 4 +- docs/zh/whats-new/roadmap.md | 4 +- docs/zh/whats-new/security-changelog.md | 4 +- 283 files changed, 855 insertions(+), 528 deletions(-) create mode 100644 docs/zh/_category_.yml create mode 100644 docs/zh/engines/_category_.yml delete mode 100644 docs/zh/engines/index.md delete mode 100644 docs/zh/engines/table-engines/special/index.md mode change 120000 => 100644 docs/zh/faq/general/ne-tormozit.md mode change 120000 => 100644 docs/zh/faq/general/olap.md mode change 120000 => 100644 docs/zh/faq/general/why-clickhouse-is-so-fast.md mode change 120000 => 100644 docs/zh/faq/integration/json-import.md mode change 120000 => 100644 docs/zh/faq/integration/oracle-odbc.md mode change 120000 => 100644 docs/zh/faq/operations/delete-old-data.md mode change 120000 => 100644 docs/zh/faq/operations/production.md create mode 100644 docs/zh/introduction/_category_.yml delete mode 100644 docs/zh/introduction/index.md delete mode 100644 docs/zh/operations/optimizing-performance/index.md delete mode 100644 docs/zh/sql-reference/dictionaries/external-dictionaries/index.md create mode 100644 docs/zh/whats-new/changelog/_category_.yml mode change 120000 => 100644 docs/zh/whats-new/changelog/index.md diff --git a/docs/en/getting-started/example-datasets/_category_.yml b/docs/en/getting-started/example-datasets/_category_.yml index 060a977eb57..99a25f35efe 100644 --- a/docs/en/getting-started/example-datasets/_category_.yml +++ b/docs/en/getting-started/example-datasets/_category_.yml @@ -5,4 +5,4 @@ collapsed: true link: type: generated-index title: Example Datasets - slug: /en/example-datasets \ No newline at end of file + slug: /en/getting-started/example-datasets \ No newline at end of file diff --git a/docs/en/sql-reference/index.md b/docs/en/sql-reference/index.md index 1123c8533a9..544d10c4120 100644 --- a/docs/en/sql-reference/index.md +++ b/docs/en/sql-reference/index.md @@ -1,6 +1,7 @@ --- sidebar_position: 28 sidebar_label: SQL Reference +slug: en/sql-reference/ --- # SQL Reference {#sql-reference} diff --git a/docs/zh/_category_.yml b/docs/zh/_category_.yml new file mode 100644 index 00000000000..149ade756bc --- /dev/null +++ b/docs/zh/_category_.yml @@ -0,0 +1,7 @@ +position: 50 +label: '文档' +collapsible: true +collapsed: true +link: + type: generated-index + title: 文档 \ No newline at end of file diff --git a/docs/zh/changelog/index.md b/docs/zh/changelog/index.md index 306c72103fb..e1add299fde 100644 --- a/docs/zh/changelog/index.md +++ b/docs/zh/changelog/index.md @@ -1,7 +1,7 @@ --- machine_translated: true machine_translated_rev: b111334d6614a02564cf32f379679e9ff970d9b1 -toc_title: "\u53D8\u66F4\u65E5\u5FD7" +sidebar_label: "\u53D8\u66F4\u65E5\u5FD7" --- ## 碌莽禄release拢.0755-88888888 {#clickhouse-release-v20-3} diff --git a/docs/zh/commercial/cloud.md b/docs/zh/commercial/cloud.md index 61a4f638bbc..7f039e403bb 100644 --- a/docs/zh/commercial/cloud.md +++ b/docs/zh/commercial/cloud.md @@ -1,6 +1,6 @@ --- -toc_priority: 1 -toc_title: 云 +sidebar_position: 1 +sidebar_label: 云 --- # ClickHouse 云服务提供商 {#clickhouse-cloud-service-providers} diff --git a/docs/zh/commercial/index.md b/docs/zh/commercial/index.md index 5f29e5f21c9..f6121d54d84 100644 --- a/docs/zh/commercial/index.md +++ b/docs/zh/commercial/index.md @@ -1,7 +1,6 @@ --- -toc_folder_title: 商业支持 -toc_priority: 70 -toc_title: 简介 +sidebar_label: 商业支持 +sidebar_position: 70 --- # ClickHouse 商业服务 {#clickhouse-commercial-services} diff --git a/docs/zh/commercial/support.md b/docs/zh/commercial/support.md index a3714c98d44..44c1e76d775 100644 --- a/docs/zh/commercial/support.md +++ b/docs/zh/commercial/support.md @@ -1,6 +1,6 @@ --- -toc_priority: 3 -toc_title: 支持 +sidebar_position: 3 +sidebar_label: 支持 --- # ClickHouse 商业支持服务提供商 {#clickhouse-commercial-support-service-providers} diff --git a/docs/zh/development/browse-code.md b/docs/zh/development/browse-code.md index f0ad6fd0984..7610589e171 100644 --- a/docs/zh/development/browse-code.md +++ b/docs/zh/development/browse-code.md @@ -1,6 +1,6 @@ --- -toc_priority: 63 -toc_title: "\u6D4F\u89C8\u6E90\u4EE3\u7801" +sidebar_position: 63 +sidebar_label: "\u6D4F\u89C8\u6E90\u4EE3\u7801" --- # 浏览ClickHouse源代码 {#browse-clickhouse-source-code} diff --git a/docs/zh/development/build-cross-arm.md b/docs/zh/development/build-cross-arm.md index 5c70fa9c7dd..93429cc7cbe 100644 --- a/docs/zh/development/build-cross-arm.md +++ b/docs/zh/development/build-cross-arm.md @@ -1,8 +1,8 @@ --- machine_translated: true machine_translated_rev: 72537a2d527c63c07aa5d2361a8829f3895cf2bd -toc_priority: 67 -toc_title: "\u5982\u4F55\u5728Linux\u4E0A\u6784\u5EFAClickHouse for AARCH64\uFF08\ +sidebar_position: 67 +sidebar_label: "\u5982\u4F55\u5728Linux\u4E0A\u6784\u5EFAClickHouse for AARCH64\uFF08\ ARM64)" --- diff --git a/docs/zh/engines/_category_.yml b/docs/zh/engines/_category_.yml new file mode 100644 index 00000000000..96fdbd418a2 --- /dev/null +++ b/docs/zh/engines/_category_.yml @@ -0,0 +1,6 @@ +label: '引擎' +collapsible: true +collapsed: true +link: + type: generated-index + title: 引擎 \ No newline at end of file diff --git a/docs/zh/engines/database-engines/atomic.md b/docs/zh/engines/database-engines/atomic.md index 018cb9971ae..3267a19f73e 100644 --- a/docs/zh/engines/database-engines/atomic.md +++ b/docs/zh/engines/database-engines/atomic.md @@ -1,6 +1,6 @@ --- -toc_priority: 32 -toc_title: Atomic +sidebar_position: 32 +sidebar_label: Atomic --- # Atomic {#atomic} diff --git a/docs/zh/engines/database-engines/index.md b/docs/zh/engines/database-engines/index.md index 0d844365fbb..ac3068814dd 100644 --- a/docs/zh/engines/database-engines/index.md +++ b/docs/zh/engines/database-engines/index.md @@ -1,7 +1,6 @@ --- -toc_folder_title: 数据库引擎 -toc_priority: 27 -toc_title: Introduction +sidebar_label: 数据库引擎 +sidebar_position: 27 --- # 数据库引擎 {#database-engines} diff --git a/docs/zh/engines/database-engines/lazy.md b/docs/zh/engines/database-engines/lazy.md index f5aa3174a24..8af6816ac34 100644 --- a/docs/zh/engines/database-engines/lazy.md +++ b/docs/zh/engines/database-engines/lazy.md @@ -1,6 +1,6 @@ --- -toc_priority: 31 -toc_title: Lazy +sidebar_position: 31 +sidebar_label: Lazy --- # Lazy {#lazy} diff --git a/docs/zh/engines/database-engines/materialize-mysql.md b/docs/zh/engines/database-engines/materialize-mysql.md index 1a6bd029295..fd8af56ca66 100644 --- a/docs/zh/engines/database-engines/materialize-mysql.md +++ b/docs/zh/engines/database-engines/materialize-mysql.md @@ -1,6 +1,6 @@ --- -toc_priority: 29 -toc_title: "[experimental] MaterializedMySQL" +sidebar_position: 29 +sidebar_label: "[experimental] MaterializedMySQL" --- # [experimental] MaterializedMySQL {#materialized-mysql} diff --git a/docs/zh/engines/database-engines/materialized-mysql.md b/docs/zh/engines/database-engines/materialized-mysql.md index f654013494a..c0678771b21 100644 --- a/docs/zh/engines/database-engines/materialized-mysql.md +++ b/docs/zh/engines/database-engines/materialized-mysql.md @@ -1,6 +1,6 @@ --- -toc_priority: 29 -toc_title: MaterializedMySQL +sidebar_position: 29 +sidebar_label: MaterializedMySQL --- # [experimental] MaterializedMySQL {#materialized-mysql} @@ -53,7 +53,7 @@ CREATE DATABASE mysql ENGINE = MaterializedMySQL('localhost:3306', 'db', 'user', - `default_authentication_plugin = mysql_native_password `,因为 `MaterializedMySQL` 只能授权使用该方法。 - `gtid_mode = on`,因为基于GTID的日志记录是提供正确的 `MaterializedMySQL`复制的强制要求。 -!!! attention "注意" + :::info "注意" 当打开`gtid_mode`时,您还应该指定`enforce_gtid_consistency = on`。 ## 虚拟列 {#virtual-columns} diff --git a/docs/zh/engines/database-engines/materialized-postgresql.md b/docs/zh/engines/database-engines/materialized-postgresql.md index bce48e1eaff..5be55f77308 100644 --- a/docs/zh/engines/database-engines/materialized-postgresql.md +++ b/docs/zh/engines/database-engines/materialized-postgresql.md @@ -1,6 +1,6 @@ --- -toc_priority: 30 -toc_title: MaterializedPostgreSQL +sidebar_position: 30 +sidebar_label: MaterializedPostgreSQL --- # [experimental] MaterializedPostgreSQL {#materialize-postgresql} diff --git a/docs/zh/engines/database-engines/mysql.md b/docs/zh/engines/database-engines/mysql.md index fe9ab8f077d..97983f2915a 100644 --- a/docs/zh/engines/database-engines/mysql.md +++ b/docs/zh/engines/database-engines/mysql.md @@ -1,6 +1,6 @@ --- -toc_priority: 30 -toc_title: MySQL +sidebar_position: 30 +sidebar_label: MySQL --- # MySQL {#mysql} diff --git a/docs/zh/engines/database-engines/postgresql.md b/docs/zh/engines/database-engines/postgresql.md index 4d2af9182f9..6afefa09cd5 100644 --- a/docs/zh/engines/database-engines/postgresql.md +++ b/docs/zh/engines/database-engines/postgresql.md @@ -1,6 +1,6 @@ --- -toc_priority: 35 -toc_title: PostgreSQL +sidebar_position: 35 +sidebar_label: PostgreSQL --- # PostgreSQL {#postgresql} diff --git a/docs/zh/engines/database-engines/sqlite.md b/docs/zh/engines/database-engines/sqlite.md index 48dca38e4af..0742f37e8c0 100644 --- a/docs/zh/engines/database-engines/sqlite.md +++ b/docs/zh/engines/database-engines/sqlite.md @@ -1,6 +1,6 @@ --- -toc_priority: 32 -toc_title: SQLite +sidebar_position: 32 +sidebar_label: SQLite --- # SQLite {#sqlite} diff --git a/docs/zh/engines/index.md b/docs/zh/engines/index.md deleted file mode 100644 index c1176e2a77d..00000000000 --- a/docs/zh/engines/index.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -toc_folder_title: "\u5f15\u64ce" -toc_priority: 25 ---- - - diff --git a/docs/zh/engines/table-engines/integrations/embedded-rocksdb.md b/docs/zh/engines/table-engines/integrations/embedded-rocksdb.md index abb2af6332d..f97777ce02b 100644 --- a/docs/zh/engines/table-engines/integrations/embedded-rocksdb.md +++ b/docs/zh/engines/table-engines/integrations/embedded-rocksdb.md @@ -1,6 +1,6 @@ --- -toc_priority: 9 -toc_title: EmbeddedRocksDB +sidebar_position: 9 +sidebar_label: EmbeddedRocksDB --- # EmbeddedRocksDB 引擎 {#EmbeddedRocksDB-engine} diff --git a/docs/zh/engines/table-engines/integrations/hdfs.md b/docs/zh/engines/table-engines/integrations/hdfs.md index 5948c0fa4b2..6f49b2ba0bb 100644 --- a/docs/zh/engines/table-engines/integrations/hdfs.md +++ b/docs/zh/engines/table-engines/integrations/hdfs.md @@ -1,6 +1,6 @@ --- -toc_priority: 36 -toc_title: HDFS +sidebar_position: 36 +sidebar_label: HDFS --- # HDFS {#table_engines-hdfs} diff --git a/docs/zh/engines/table-engines/integrations/hive.md b/docs/zh/engines/table-engines/integrations/hive.md index 24e0834d2fc..adfeeb352a5 100644 --- a/docs/zh/engines/table-engines/integrations/hive.md +++ b/docs/zh/engines/table-engines/integrations/hive.md @@ -1,6 +1,6 @@ --- -toc_priority: 4 -toc_title: Hive +sidebar_position: 4 +sidebar_label: Hive --- # Hive {#hive} diff --git a/docs/zh/engines/table-engines/integrations/index.md b/docs/zh/engines/table-engines/integrations/index.md index 5ed4a555f9c..a26c6295548 100644 --- a/docs/zh/engines/table-engines/integrations/index.md +++ b/docs/zh/engines/table-engines/integrations/index.md @@ -1,6 +1,6 @@ --- -toc_folder_title: "\u96C6\u6210" -toc_priority: 30 +sidebar_label: 集成的表引擎 +sidebar_position: 30 --- # 集成的表引擎 {#table-engines-for-integrations} diff --git a/docs/zh/engines/table-engines/integrations/jdbc.md b/docs/zh/engines/table-engines/integrations/jdbc.md index 170d37c64c2..3a8695b719f 100644 --- a/docs/zh/engines/table-engines/integrations/jdbc.md +++ b/docs/zh/engines/table-engines/integrations/jdbc.md @@ -1,6 +1,6 @@ --- -toc_priority: 34 -toc_title: JDBC表引擎 +sidebar_position: 34 +sidebar_label: JDBC表引擎 --- # JDBC {#table-engine-jdbc} diff --git a/docs/zh/engines/table-engines/integrations/mongodb.md b/docs/zh/engines/table-engines/integrations/mongodb.md index a91e81a26ad..d0de5e694b7 100644 --- a/docs/zh/engines/table-engines/integrations/mongodb.md +++ b/docs/zh/engines/table-engines/integrations/mongodb.md @@ -1,6 +1,6 @@ --- -toc_priority: 5 -toc_title: MongoDB +sidebar_position: 5 +sidebar_label: MongoDB --- # MongoDB {#mongodb} diff --git a/docs/zh/engines/table-engines/integrations/odbc.md b/docs/zh/engines/table-engines/integrations/odbc.md index 383bf99aed5..857f4c0c669 100644 --- a/docs/zh/engines/table-engines/integrations/odbc.md +++ b/docs/zh/engines/table-engines/integrations/odbc.md @@ -1,6 +1,6 @@ --- -toc_priority: 35 -toc_title: ODBC +sidebar_position: 35 +sidebar_label: ODBC --- # ODBC {#table-engine-odbc} diff --git a/docs/zh/engines/table-engines/integrations/postgresql.md b/docs/zh/engines/table-engines/integrations/postgresql.md index 17ca59be469..d07e70d3f0d 100644 --- a/docs/zh/engines/table-engines/integrations/postgresql.md +++ b/docs/zh/engines/table-engines/integrations/postgresql.md @@ -1,6 +1,6 @@ --- -toc_priority: 11 -toc_title: PostgreSQL +sidebar_position: 11 +sidebar_label: PostgreSQL --- # PostgreSQL {#postgresql} diff --git a/docs/zh/engines/table-engines/integrations/rabbitmq.md b/docs/zh/engines/table-engines/integrations/rabbitmq.md index 74b4e4d1f93..f62f347ed51 100644 --- a/docs/zh/engines/table-engines/integrations/rabbitmq.md +++ b/docs/zh/engines/table-engines/integrations/rabbitmq.md @@ -1,6 +1,6 @@ --- -toc_priority: 10 -toc_title: RabbitMQ +sidebar_position: 10 +sidebar_label: RabbitMQ --- # RabbitMQ 引擎 {#rabbitmq-engine} diff --git a/docs/zh/engines/table-engines/integrations/s3.md b/docs/zh/engines/table-engines/integrations/s3.md index 5b934dae2c4..c9bf2e7be76 100644 --- a/docs/zh/engines/table-engines/integrations/s3.md +++ b/docs/zh/engines/table-engines/integrations/s3.md @@ -1,6 +1,6 @@ --- -toc_priority: 7 -toc_title: S3 +sidebar_position: 7 +sidebar_label: S3 --- # S3 表引擎 {#table-engine-s3} diff --git a/docs/zh/engines/table-engines/integrations/sqlite.md b/docs/zh/engines/table-engines/integrations/sqlite.md index f492148ed10..8da59ca31d7 100644 --- a/docs/zh/engines/table-engines/integrations/sqlite.md +++ b/docs/zh/engines/table-engines/integrations/sqlite.md @@ -1,6 +1,6 @@ --- -toc_priority: 7 -toc_title: SQLite +sidebar_position: 7 +sidebar_label: SQLite --- # SQLite {#sqlite} diff --git a/docs/zh/engines/table-engines/log-family/index.md b/docs/zh/engines/table-engines/log-family/index.md index 75c84409aa0..e30ae49e629 100644 --- a/docs/zh/engines/table-engines/log-family/index.md +++ b/docs/zh/engines/table-engines/log-family/index.md @@ -1,7 +1,6 @@ --- -toc_folder_title: "\u65E5\u5FD7\u7CFB\u5217" -toc_title: 日志引擎系列 -toc_priority: 29 +sidebar_label: 日志引擎系列 +sidebar_position: 29 --- # 日志引擎系列 {#table_engines-log-engine-family} diff --git a/docs/zh/engines/table-engines/mergetree-family/aggregatingmergetree.md b/docs/zh/engines/table-engines/mergetree-family/aggregatingmergetree.md index 4fbb55c270b..66c1fd968fe 100644 --- a/docs/zh/engines/table-engines/mergetree-family/aggregatingmergetree.md +++ b/docs/zh/engines/table-engines/mergetree-family/aggregatingmergetree.md @@ -37,7 +37,7 @@ CREATE TABLE [IF NOT EXISTS] [db.]table_name [ON CLUSTER cluster] 已弃用的建表方法 -!!! attention "注意" + :::info "注意" 不要在新项目中使用该方法,可能的话,请将旧项目切换到上述方法。 ``` sql diff --git a/docs/zh/engines/table-engines/mergetree-family/collapsingmergetree.md b/docs/zh/engines/table-engines/mergetree-family/collapsingmergetree.md index 09f0d2aee1d..27e8c85a5f3 100644 --- a/docs/zh/engines/table-engines/mergetree-family/collapsingmergetree.md +++ b/docs/zh/engines/table-engines/mergetree-family/collapsingmergetree.md @@ -37,7 +37,7 @@ CREATE TABLE [IF NOT EXISTS] [db.]table_name [ON CLUSTER cluster] 已弃用的建表方法 -!!! attention "注意" + :::info "注意" 不要在新项目中使用该方法,可能的话,请将旧项目切换到上述方法。 ``` sql diff --git a/docs/zh/engines/table-engines/mergetree-family/graphitemergetree.md b/docs/zh/engines/table-engines/mergetree-family/graphitemergetree.md index 044ea442db3..ddb833d7ebe 100644 --- a/docs/zh/engines/table-engines/mergetree-family/graphitemergetree.md +++ b/docs/zh/engines/table-engines/mergetree-family/graphitemergetree.md @@ -1,6 +1,6 @@ --- -toc_priority: 38 -toc_title: GraphiteMergeTree +sidebar_position: 38 +sidebar_label: GraphiteMergeTree --- # GraphiteMergeTree {#graphitemergetree} diff --git a/docs/zh/engines/table-engines/mergetree-family/index.md b/docs/zh/engines/table-engines/mergetree-family/index.md index c24dd02bb72..1bead9fd726 100644 --- a/docs/zh/engines/table-engines/mergetree-family/index.md +++ b/docs/zh/engines/table-engines/mergetree-family/index.md @@ -1,6 +1,6 @@ --- -toc_folder_title: "合并树家族" -toc_priority: 28 +sidebar_label: "合并树家族" +sidebar_position: 28 --- diff --git a/docs/zh/engines/table-engines/mergetree-family/mergetree.md b/docs/zh/engines/table-engines/mergetree-family/mergetree.md index 72db60deed1..0275376b6c4 100644 --- a/docs/zh/engines/table-engines/mergetree-family/mergetree.md +++ b/docs/zh/engines/table-engines/mergetree-family/mergetree.md @@ -118,7 +118,7 @@ ENGINE MergeTree() PARTITION BY toYYYYMM(EventDate) ORDER BY (CounterID, EventDa
已弃用的建表方法 -!!! attention "注意" + :::attention "注意" 不要在新版项目中使用该方法,可能的话,请将旧项目切换到上述方法。 CREATE TABLE [IF NOT EXISTS] [db.]table_name [ON CLUSTER cluster] @@ -186,24 +186,24 @@ ClickHouse 会为每个数据片段创建一个索引文件来存储这些标记 ClickHouse 不要求主键唯一,所以您可以插入多条具有相同主键的行。 -您可以在`PRIMARY KEY`与`ORDER BY`条件中使用`可为空的`类型的表达式,但强烈建议不要这么做。为了启用这项功能,请打开[allow_nullable_key](https://clickhouse.com/docs/zh/operations/settings/settings/#allow-nullable-key),[NULLS_LAST](https://clickhouse.com/docs/zh/sql-reference/statements/select/order-by/#sorting-of-special-values)规则也适用于`ORDER BY`条件中有NULL值的情况下。 +您可以在`PRIMARY KEY`与`ORDER BY`条件中使用`可为空的`类型的表达式,但强烈建议不要这么做。为了启用这项功能,请打开[allow_nullable_key](../../../operations/settings/#allow-nullable-key),[NULLS_LAST](../../../sql-reference/statements/select/order-by.md/#sorting-of-special-values)规则也适用于`ORDER BY`条件中有NULL值的情况下。 ### 主键的选择 {#zhu-jian-de-xuan-ze} 主键中列的数量并没有明确的限制。依据数据结构,您可以在主键包含多些或少些列。这样可以: -- 改善索引的性能。 + - 改善索引的性能。 - 如果当前主键是 `(a, b)` ,在下列情况下添加另一个 `c` 列会提升性能: + - 如果当前主键是 `(a, b)` ,在下列情况下添加另一个 `c` 列会提升性能: - 查询会使用 `c` 列作为条件 - 很长的数据范围( `index_granularity` 的数倍)里 `(a, b)` 都是相同的值,并且这样的情况很普遍。换言之,就是加入另一列后,可以让您的查询略过很长的数据范围。 -- 改善数据压缩。 + - 改善数据压缩。 ClickHouse 以主键排序片段数据,所以,数据的一致性越高,压缩越好。 -- 在[CollapsingMergeTree](collapsingmergetree.md#table_engine-collapsingmergetree) 和 [SummingMergeTree](summingmergetree.md) 引擎里进行数据合并时会提供额外的处理逻辑。 + - 在[CollapsingMergeTree](collapsingmergetree.md#table_engine-collapsingmergetree) 和 [SummingMergeTree](summingmergetree.md) 引擎里进行数据合并时会提供额外的处理逻辑。 在这种情况下,指定与主键不同的 *排序键* 也是有意义的。 @@ -227,10 +227,6 @@ Clickhouse可以做到指定一个跟排序键不一样的主键,此时排序 对于 `SELECT` 查询,ClickHouse 分析是否可以使用索引。如果 `WHERE/PREWHERE` 子句具有下面这些表达式(作为完整WHERE条件的一部分或全部)则可以使用索引:进行相等/不相等的比较;对主键列或分区列进行`IN`运算、有固定前缀的`LIKE`运算(如name like 'test%')、函数运算(部分函数适用),还有对上述表达式进行逻辑运算。 - - - - 因此,在索引键的一个或多个区间上快速地执行查询是可能的。下面例子中,指定标签;指定标签和日期范围;指定标签和日期;指定多个标签和日期范围等执行查询,都会非常快。 diff --git a/docs/zh/engines/table-engines/mergetree-family/replacingmergetree.md b/docs/zh/engines/table-engines/mergetree-family/replacingmergetree.md index b6815f62405..38f4130ab6c 100644 --- a/docs/zh/engines/table-engines/mergetree-family/replacingmergetree.md +++ b/docs/zh/engines/table-engines/mergetree-family/replacingmergetree.md @@ -40,7 +40,7 @@ CREATE TABLE [IF NOT EXISTS] [db.]table_name [ON CLUSTER cluster] 已弃用的建表方法 -!!! attention "注意" + :::info "注意" 不要在新项目中使用该方法,可能的话,请将旧项目切换到上述方法。 ``` sql diff --git a/docs/zh/engines/table-engines/mergetree-family/summingmergetree.md b/docs/zh/engines/table-engines/mergetree-family/summingmergetree.md index e59c3907811..daf7867c611 100644 --- a/docs/zh/engines/table-engines/mergetree-family/summingmergetree.md +++ b/docs/zh/engines/table-engines/mergetree-family/summingmergetree.md @@ -34,7 +34,7 @@ 已弃用的建表方法 -!!! attention "注意" + :::info "注意" 不要在新项目中使用该方法,可能的话,请将旧项目切换到上述方法。 CREATE TABLE [IF NOT EXISTS] [db.]table_name [ON CLUSTER cluster] diff --git a/docs/zh/engines/table-engines/mergetree-family/versionedcollapsingmergetree.md b/docs/zh/engines/table-engines/mergetree-family/versionedcollapsingmergetree.md index f5f2c428ea7..fb046e45596 100644 --- a/docs/zh/engines/table-engines/mergetree-family/versionedcollapsingmergetree.md +++ b/docs/zh/engines/table-engines/mergetree-family/versionedcollapsingmergetree.md @@ -1,6 +1,6 @@ --- -toc_priority: 37 -toc_title: "版本折叠MergeTree" +sidebar_position: 37 +sidebar_label: "版本折叠MergeTree" --- # VersionedCollapsingMergeTree {#versionedcollapsingmergetree} @@ -53,7 +53,7 @@ VersionedCollapsingMergeTree(sign, version) 不推荐使用的创建表的方法 -!!! attention "注意" + :::info "注意" 不要在新项目中使用此方法。 如果可能,请将旧项目切换到上述方法。 ``` sql diff --git a/docs/zh/engines/table-engines/special/distributed.md b/docs/zh/engines/table-engines/special/distributed.md index edc4c1f4854..5e2ecfd9d8a 100644 --- a/docs/zh/engines/table-engines/special/distributed.md +++ b/docs/zh/engines/table-engines/special/distributed.md @@ -1,6 +1,6 @@ --- -toc_priority: 33 -toc_title: 分布式引擎 +sidebar_position: 33 +sidebar_label: 分布式引擎 --- # 分布式引擎 {#distributed} diff --git a/docs/zh/engines/table-engines/special/generate.md b/docs/zh/engines/table-engines/special/generate.md index bae981ac468..3d4727196fc 100644 --- a/docs/zh/engines/table-engines/special/generate.md +++ b/docs/zh/engines/table-engines/special/generate.md @@ -1,6 +1,6 @@ --- -toc_priority: 46 -toc_title: 随机数生成 +sidebar_position: 46 +sidebar_label: 随机数生成 --- # 随机数生成表引擎 {#table_engines-generate} diff --git a/docs/zh/engines/table-engines/special/index.md b/docs/zh/engines/table-engines/special/index.md deleted file mode 100644 index bd6693d7d25..00000000000 --- a/docs/zh/engines/table-engines/special/index.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -machine_translated: true -machine_translated_rev: 72537a2d527c63c07aa5d2361a8829f3895cf2bd -toc_folder_title: "\u7279\u522B" -toc_priority: 31 ---- - - diff --git a/docs/zh/engines/table-engines/special/join.md b/docs/zh/engines/table-engines/special/join.md index 36f5ca6134b..03658e3b386 100644 --- a/docs/zh/engines/table-engines/special/join.md +++ b/docs/zh/engines/table-engines/special/join.md @@ -1,6 +1,6 @@ --- -toc_priority: 40 -toc_title: 关联表引擎 +sidebar_position: 40 +sidebar_label: 关联表引擎 --- # 关联表引擎 {#join} diff --git a/docs/zh/engines/table-engines/special/memory.md b/docs/zh/engines/table-engines/special/memory.md index f906d64d4b3..3058689510c 100644 --- a/docs/zh/engines/table-engines/special/memory.md +++ b/docs/zh/engines/table-engines/special/memory.md @@ -1,6 +1,6 @@ --- -toc_priority: 44 -toc_title: Memory +sidebar_position: 44 +sidebar_label: Memory --- # 内存表 {#memory} diff --git a/docs/zh/faq/general/columnar-database.md b/docs/zh/faq/general/columnar-database.md index 185deaa7406..547570ac844 100644 --- a/docs/zh/faq/general/columnar-database.md +++ b/docs/zh/faq/general/columnar-database.md @@ -1,7 +1,7 @@ --- title: 什么是列存储数据库? toc_hidden: true -toc_priority: 101 +sidebar_position: 101 --- # 什么是列存储数据库? {#what-is-a-columnar-database} diff --git a/docs/zh/faq/general/dbms-naming.md b/docs/zh/faq/general/dbms-naming.md index 8d4353f9322..72b96886924 100644 --- a/docs/zh/faq/general/dbms-naming.md +++ b/docs/zh/faq/general/dbms-naming.md @@ -1,7 +1,7 @@ --- title: "\u201CClickHouse\u201D 有什么含义?" toc_hidden: true -toc_priority: 10 +sidebar_position: 10 --- # “ClickHouse” 有什么含义? {#what-does-clickhouse-mean} diff --git a/docs/zh/faq/general/how-do-i-contribute-code-to-clickhouse.md b/docs/zh/faq/general/how-do-i-contribute-code-to-clickhouse.md index 39d2d639229..e7429bde7b8 100644 --- a/docs/zh/faq/general/how-do-i-contribute-code-to-clickhouse.md +++ b/docs/zh/faq/general/how-do-i-contribute-code-to-clickhouse.md @@ -1,7 +1,7 @@ --- title: 我如何为ClickHouse贡献代码? toc_hidden: true -toc_priority: 120 +sidebar_position: 120 --- # 我如何为ClickHouse贡献代码? {#how-do-i-contribute-code-to-clickhouse} diff --git a/docs/zh/faq/general/index.md b/docs/zh/faq/general/index.md index 65312a48d8f..896dc6453c8 100644 --- a/docs/zh/faq/general/index.md +++ b/docs/zh/faq/general/index.md @@ -1,8 +1,8 @@ --- title: ClickHouse 有关常见问题 toc_hidden_folder: true -toc_priority: 1 -toc_title: General +sidebar_position: 1 +sidebar_label: General --- # ClickHouse 有关常见问题 {#general-questions} diff --git a/docs/zh/faq/general/mapreduce.md b/docs/zh/faq/general/mapreduce.md index 99cb6c031ae..fc9b25b56bf 100644 --- a/docs/zh/faq/general/mapreduce.md +++ b/docs/zh/faq/general/mapreduce.md @@ -1,7 +1,7 @@ --- title: 为何不使用 MapReduce等技术? toc_hidden: true -toc_priority: 110 +sidebar_position: 110 --- # 为何不使用 MapReduce等技术? {#why-not-use-something-like-mapreduce} diff --git a/docs/zh/faq/general/ne-tormozit.md b/docs/zh/faq/general/ne-tormozit.md deleted file mode 120000 index a8273c56b2d..00000000000 --- a/docs/zh/faq/general/ne-tormozit.md +++ /dev/null @@ -1 +0,0 @@ -../../../en/faq/general/ne-tormozit.md \ No newline at end of file diff --git a/docs/zh/faq/general/ne-tormozit.md b/docs/zh/faq/general/ne-tormozit.md new file mode 100644 index 00000000000..439d894c390 --- /dev/null +++ b/docs/zh/faq/general/ne-tormozit.md @@ -0,0 +1,26 @@ +--- +title: "What does \u201C\u043D\u0435 \u0442\u043E\u0440\u043C\u043E\u0437\u0438\u0442\ + \u201D mean?" +toc_hidden: true +sidebar_position: 11 +--- + +# What Does “Не тормозит” Mean? {#what-does-ne-tormozit-mean} + +This question usually arises when people see official ClickHouse t-shirts. They have large words **“ClickHouse не тормозит”** on the front. + +Before ClickHouse became open-source, it has been developed as an in-house storage system by the largest Russian IT company, [Yandex](https://yandex.com/company/). That’s why it initially got its slogan in Russian, which is “не тормозит” (pronounced as “ne tormozit”). After the open-source release we first produced some of those t-shirts for events in Russia and it was a no-brainer to use the slogan as-is. + +One of the following batches of those t-shirts was supposed to be given away on events outside of Russia and we tried to make the English version of the slogan. Unfortunately, the Russian language is kind of elegant in terms of expressing stuff and there was a restriction of limited space on a t-shirt, so we failed to come up with good enough translation (most options appeared to be either long or inaccurate) and decided to keep the slogan in Russian even on t-shirts produced for international events. It appeared to be a great decision because people all over the world get positively surprised and curious when they see it. + +So, what does it mean? Here are some ways to translate *“не тормозит”*: + +- If you translate it literally, it’d be something like *“ClickHouse does not press the brake pedal”*. +- If you’d want to express it as close to how it sounds to a Russian person with IT background, it’d be something like *“If your larger system lags, it’s not because it uses ClickHouse”*. +- Shorter, but not so precise versions could be *“ClickHouse is not slow”*, *“ClickHouse does not lag”* or just *“ClickHouse is fast”*. + +If you haven’t seen one of those t-shirts in person, you can check them out online in many ClickHouse-related videos. For example, this one: + +![iframe](https://www.youtube.com/embed/bSyQahMVZ7w) + +P.S. These t-shirts are not for sale, they are given away for free on most [ClickHouse Meetups](https://clickhouse.com/#meet), usually for best questions or other forms of active participation. diff --git a/docs/zh/faq/general/olap.md b/docs/zh/faq/general/olap.md deleted file mode 120000 index 99caa8218c8..00000000000 --- a/docs/zh/faq/general/olap.md +++ /dev/null @@ -1 +0,0 @@ -../../../en/faq/general/olap.md \ No newline at end of file diff --git a/docs/zh/faq/general/olap.md b/docs/zh/faq/general/olap.md new file mode 100644 index 00000000000..f6bab9759da --- /dev/null +++ b/docs/zh/faq/general/olap.md @@ -0,0 +1,39 @@ +--- +title: What is OLAP? +toc_hidden: true +sidebar_position: 100 +--- + +# What Is OLAP? {#what-is-olap} + +[OLAP](https://en.wikipedia.org/wiki/Online_analytical_processing) stands for Online Analytical Processing. It is a broad term that can be looked at from two perspectives: technical and business. But at the very high level, you can just read these words backward: + +Processing +: Some source data is processed… + +Analytical +: …to produce some analytical reports and insights… + +Online +: …in real-time. + +## OLAP from the Business Perspective {#olap-from-the-business-perspective} + +In recent years, business people started to realize the value of data. Companies who make their decisions blindly, more often than not fail to keep up with the competition. The data-driven approach of successful companies forces them to collect all data that might be remotely useful for making business decisions and need mechanisms to timely analyze them. Here’s where OLAP database management systems (DBMS) come in. + +In a business sense, OLAP allows companies to continuously plan, analyze, and report operational activities, thus maximizing efficiency, reducing expenses, and ultimately conquering the market share. It could be done either in an in-house system or outsourced to SaaS providers like web/mobile analytics services, CRM services, etc. OLAP is the technology behind many BI applications (Business Intelligence). + +ClickHouse is an OLAP database management system that is pretty often used as a backend for those SaaS solutions for analyzing domain-specific data. However, some businesses are still reluctant to share their data with third-party providers and an in-house data warehouse scenario is also viable. + +## OLAP from the Technical Perspective {#olap-from-the-technical-perspective} + +All database management systems could be classified into two groups: OLAP (Online **Analytical** Processing) and OLTP (Online **Transactional** Processing). Former focuses on building reports, each based on large volumes of historical data, but doing it not so frequently. While the latter usually handle a continuous stream of transactions, constantly modifying the current state of data. + +In practice OLAP and OLTP are not categories, it’s more like a spectrum. Most real systems usually focus on one of them but provide some solutions or workarounds if the opposite kind of workload is also desired. This situation often forces businesses to operate multiple storage systems integrated, which might be not so big deal but having more systems make it more expensive to maintain. So the trend of recent years is HTAP (**Hybrid Transactional/Analytical Processing**) when both kinds of the workload are handled equally well by a single database management system. + +Even if a DBMS started as a pure OLAP or pure OLTP, they are forced to move towards that HTAP direction to keep up with their competition. And ClickHouse is no exception, initially, it has been designed as [fast-as-possible OLAP system](../../faq/general/why-clickhouse-is-so-fast.md) and it still does not have full-fledged transaction support, but some features like consistent read/writes and mutations for updating/deleting data had to be added. + +The fundamental trade-off between OLAP and OLTP systems remains: + +- To build analytical reports efficiently it’s crucial to be able to read columns separately, thus most OLAP databases are [columnar](../../faq/general/columnar-database.md), +- While storing columns separately increases costs of operations on rows, like append or in-place modification, proportionally to the number of columns (which can be huge if the systems try to collect all details of an event just in case). Thus, most OLTP systems store data arranged by rows. diff --git a/docs/zh/faq/general/who-is-using-clickhouse.md b/docs/zh/faq/general/who-is-using-clickhouse.md index 3bfd94719d8..73a48657b65 100644 --- a/docs/zh/faq/general/who-is-using-clickhouse.md +++ b/docs/zh/faq/general/who-is-using-clickhouse.md @@ -1,7 +1,7 @@ --- title: 谁在使用 ClickHouse? toc_hidden: true -toc_priority: 9 +sidebar_position: 9 --- # 谁在使用 ClickHouse? {#who-is-using-clickhouse} diff --git a/docs/zh/faq/general/why-clickhouse-is-so-fast.md b/docs/zh/faq/general/why-clickhouse-is-so-fast.md deleted file mode 120000 index 77b8c3fcd68..00000000000 --- a/docs/zh/faq/general/why-clickhouse-is-so-fast.md +++ /dev/null @@ -1 +0,0 @@ -../../../en/faq/general/why-clickhouse-is-so-fast.md \ No newline at end of file diff --git a/docs/zh/faq/general/why-clickhouse-is-so-fast.md b/docs/zh/faq/general/why-clickhouse-is-so-fast.md new file mode 100644 index 00000000000..438b773d7f8 --- /dev/null +++ b/docs/zh/faq/general/why-clickhouse-is-so-fast.md @@ -0,0 +1,61 @@ +--- +title: Why ClickHouse is so fast? +toc_hidden: true +sidebar_position: 8 +--- + +# Why ClickHouse Is So Fast? {#why-clickhouse-is-so-fast} + +It was designed to be fast. Query execution performance has always been a top priority during the development process, but other important characteristics like user-friendliness, scalability, and security were also considered so ClickHouse could become a real production system. + +ClickHouse was initially built as a prototype to do just a single task well: to filter and aggregate data as fast as possible. That’s what needs to be done to build a typical analytical report and that’s what a typical [GROUP BY](../../en/sql-reference/statements/select/group-by/) query does. ClickHouse team has made several high-level decisions that combined made achieving this task possible: + +Column-oriented storage +: Source data often contain hundreds or even thousands of columns, while a report can use just a few of them. The system needs to avoid reading unnecessary columns, or most expensive disk read operations would be wasted. + +Indexes +: ClickHouse keeps data structures in memory that allows reading not only used columns but only necessary row ranges of those columns. + +Data compression +: Storing different values of the same column together often leads to better compression ratios (compared to row-oriented systems) because in real data column often has the same or not so many different values for neighboring rows. In addition to general-purpose compression, ClickHouse supports [specialized codecs](../../en/sql-reference/statements/create/table/#create-query-specialized-codecs) that can make data even more compact. + +Vectorized query execution +: ClickHouse not only stores data in columns but also processes data in columns. It leads to better CPU cache utilization and allows for [SIMD](https://en.wikipedia.org/wiki/SIMD) CPU instructions usage. + +Scalability +: ClickHouse can leverage all available CPU cores and disks to execute even a single query. Not only on a single server but all CPU cores and disks of a cluster as well. + +But many other database management systems use similar techniques. What really makes ClickHouse stand out is **attention to low-level details**. Most programming languages provide implementations for most common algorithms and data structures, but they tend to be too generic to be effective. Every task can be considered as a landscape with various characteristics, instead of just throwing in random implementation. For example, if you need a hash table, here are some key questions to consider: + +- Which hash function to choose? +- Collision resolution algorithm: [open addressing](https://en.wikipedia.org/wiki/Open_addressing) vs [chaining](https://en.wikipedia.org/wiki/Hash_table#Separate_chaining)? +- Memory layout: one array for keys and values or separate arrays? Will it store small or large values? +- Fill factor: when and how to resize? How to move values around on resize? +- Will values be removed and which algorithm will work better if they will? +- Will we need fast probing with bitmaps, inline placement of string keys, support for non-movable values, prefetch, and batching? + +Hash table is a key data structure for `GROUP BY` implementation and ClickHouse automatically chooses one of [30+ variations](https://github.com/ClickHouse/ClickHouse/blob/master/src/Interpreters/Aggregator.h) for each specific query. + +The same goes for algorithms, for example, in sorting you might consider: + +- What will be sorted: an array of numbers, tuples, strings, or structures? +- Is all data available completely in RAM? +- Do we need a stable sort? +- Do we need a full sort? Maybe partial sort or n-th element will suffice? +- How to implement comparisons? +- Are we sorting data that has already been partially sorted? + +Algorithms that they rely on characteristics of data they are working with can often do better than their generic counterparts. If it is not really known in advance, the system can try various implementations and choose the one that works best in runtime. For example, see an [article on how LZ4 decompression is implemented in ClickHouse](https://habr.com/en/company/yandex/blog/457612/). + +Last but not least, the ClickHouse team always monitors the Internet on people claiming that they came up with the best implementation, algorithm, or data structure to do something and tries it out. Those claims mostly appear to be false, but from time to time you’ll indeed find a gem. + +:::info Tips for building your own high-performance software +- Keep in mind low-level details when designing your system. +- Design based on hardware capabilities. +- Choose data structures and abstractions based on the needs of the task. +- Provide specializations for special cases. +- Try new, “best” algorithms, that you read about yesterday. +- Choose an algorithm in runtime based on statistics. +- Benchmark on real datasets. +- Test for performance regressions in CI. +- Measure and observe everything. diff --git a/docs/zh/faq/index.md b/docs/zh/faq/index.md index 1ba1b792fbd..5a8e88bc95a 100644 --- a/docs/zh/faq/index.md +++ b/docs/zh/faq/index.md @@ -1,7 +1,7 @@ --- -toc_folder_title: F.A.Q. +sidebar_label: F.A.Q. toc_hidden: true -toc_priority: 76 +sidebar_position: 76 --- # ClickHouse 问答 F.A.Q {#clickhouse-f-a-q} diff --git a/docs/zh/faq/integration/file-export.md b/docs/zh/faq/integration/file-export.md index 3582bfb1008..44981c55cf3 100644 --- a/docs/zh/faq/integration/file-export.md +++ b/docs/zh/faq/integration/file-export.md @@ -1,7 +1,7 @@ --- title: 如何从 ClickHouse 导出数据到一个文件? toc_hidden: true -toc_priority: 10 +sidebar_position: 10 --- # 如何从 ClickHouse 导出数据到一个文件? {#how-to-export-to-file} diff --git a/docs/zh/faq/integration/index.md b/docs/zh/faq/integration/index.md index 2bfd728ec8c..aa76add2d35 100644 --- a/docs/zh/faq/integration/index.md +++ b/docs/zh/faq/integration/index.md @@ -1,8 +1,8 @@ --- title: 关于集成ClickHouse和其他系统的问题 toc_hidden_folder: true -toc_priority: 4 -toc_title: Integration +sidebar_position: 4 +sidebar_label: Integration --- # 关于集成ClickHouse和其他系统的问题 {#question-about-integrating-clickhouse-and-other-systems} diff --git a/docs/zh/faq/integration/json-import.md b/docs/zh/faq/integration/json-import.md deleted file mode 120000 index e90f4386602..00000000000 --- a/docs/zh/faq/integration/json-import.md +++ /dev/null @@ -1 +0,0 @@ -../../../en/faq/integration/json-import.md \ No newline at end of file diff --git a/docs/zh/faq/integration/json-import.md b/docs/zh/faq/integration/json-import.md new file mode 100644 index 00000000000..8424d5bea90 --- /dev/null +++ b/docs/zh/faq/integration/json-import.md @@ -0,0 +1,34 @@ +--- +title: How to import JSON into ClickHouse? +toc_hidden: true +sidebar_position: 11 +--- + +# How to Import JSON Into ClickHouse? {#how-to-import-json-into-clickhouse} + +ClickHouse supports a wide range of [data formats for input and output](../../en/interfaces/formats/). There are multiple JSON variations among them, but the most commonly used for data ingestion is [JSONEachRow](../../en/interfaces/formats/#jsoneachrow). It expects one JSON object per row, each object separated by a newline. + +## Examples {#examples} + +Using [HTTP interface](../../en/interfaces/http/): + +``` bash +$ echo '{"foo":"bar"}' | curl 'http://localhost:8123/?query=INSERT%20INTO%20test%20FORMAT%20JSONEachRow' --data-binary @- +``` + +Using [CLI interface](../../en/interfaces/cli/): + +``` bash +$ echo '{"foo":"bar"}' | clickhouse-client --query="INSERT INTO test FORMAT JSONEachRow" +``` + +Instead of inserting data manually, you might consider to use one of [client libraries](../../en/interfaces/) instead. + +## Useful Settings {#useful-settings} + +- `input_format_skip_unknown_fields` allows to insert JSON even if there were additional fields not present in table schema (by discarding them). +- `input_format_import_nested_json` allows to insert nested JSON objects into columns of [Nested](../../en/sql-reference/data-types/nested-data-structures/nested/) type. + +:::note +Settings are specified as `GET` parameters for the HTTP interface or as additional command-line arguments prefixed with `--` for the `CLI` interface. +::: \ No newline at end of file diff --git a/docs/zh/faq/integration/oracle-odbc.md b/docs/zh/faq/integration/oracle-odbc.md deleted file mode 120000 index 47fe6189ee3..00000000000 --- a/docs/zh/faq/integration/oracle-odbc.md +++ /dev/null @@ -1 +0,0 @@ -../../../en/faq/integration/oracle-odbc.md \ No newline at end of file diff --git a/docs/zh/faq/integration/oracle-odbc.md b/docs/zh/faq/integration/oracle-odbc.md new file mode 100644 index 00000000000..ed21b3a01f7 --- /dev/null +++ b/docs/zh/faq/integration/oracle-odbc.md @@ -0,0 +1,15 @@ +--- +title: What if I have a problem with encodings when using Oracle via ODBC? +toc_hidden: true +sidebar_position: 20 +--- + +# What If I Have a Problem with Encodings When Using Oracle Via ODBC? {#oracle-odbc-encodings} + +If you use Oracle as a source of ClickHouse external dictionaries via Oracle ODBC driver, you need to set the correct value for the `NLS_LANG` environment variable in `/etc/default/clickhouse`. For more information, see the [Oracle NLS_LANG FAQ](https://www.oracle.com/technetwork/products/globalization/nls-lang-099431.html). + +**Example** + +``` sql +NLS_LANG=RUSSIAN_RUSSIA.UTF8 +``` diff --git a/docs/zh/faq/operations/delete-old-data.md b/docs/zh/faq/operations/delete-old-data.md deleted file mode 120000 index aef26953cd3..00000000000 --- a/docs/zh/faq/operations/delete-old-data.md +++ /dev/null @@ -1 +0,0 @@ -../../../en/faq/operations/delete-old-data.md \ No newline at end of file diff --git a/docs/zh/faq/operations/delete-old-data.md b/docs/zh/faq/operations/delete-old-data.md new file mode 100644 index 00000000000..7c48ebadef8 --- /dev/null +++ b/docs/zh/faq/operations/delete-old-data.md @@ -0,0 +1,43 @@ +--- +title: Is it possible to delete old records from a ClickHouse table? +toc_hidden: true +sidebar_position: 20 +--- + +# Is It Possible to Delete Old Records from a ClickHouse Table? {#is-it-possible-to-delete-old-records-from-a-clickhouse-table} + +The short answer is “yes”. ClickHouse has multiple mechanisms that allow freeing up disk space by removing old data. Each mechanism is aimed for different scenarios. + +## TTL {#ttl} + +ClickHouse allows to automatically drop values when some condition happens. This condition is configured as an expression based on any columns, usually just static offset for any timestamp column. + +The key advantage of this approach is that it does not need any external system to trigger, once TTL is configured, data removal happens automatically in background. + +:::note +TTL can also be used to move data not only to [/dev/null](https://en.wikipedia.org/wiki/Null_device), but also between different storage systems, like from SSD to HDD. +::: + +More details on [configuring TTL](../../en/engines/table-engines/mergetree-family/mergetree/#table_engine-mergetree-ttl). + +## ALTER DELETE {#alter-delete} + +ClickHouse does not have real-time point deletes like in [OLTP](https://en.wikipedia.org/wiki/Online_transaction_processing) databases. The closest thing to them are mutations. They are issued as `ALTER ... DELETE` or `ALTER ... UPDATE` queries to distinguish from normal `DELETE` or `UPDATE` as they are asynchronous batch operations, not immediate modifications. The rest of syntax after `ALTER TABLE` prefix is similar. + +`ALTER DELETE` can be issued to flexibly remove old data. If you need to do it regularly, the main downside will be the need to have an external system to submit the query. There are also some performance considerations since mutation rewrite complete parts even there’s only a single row to be deleted. + +This is the most common approach to make your system based on ClickHouse [GDPR](https://gdpr-info.eu)-compliant. + +More details on [mutations](../../en/sql-reference/statements/alter/#alter-mutations). + +## DROP PARTITION {#drop-partition} + +`ALTER TABLE ... DROP PARTITION` provides a cost-efficient way to drop a whole partition. It’s not that flexible and needs proper partitioning scheme configured on table creation, but still covers most common cases. Like mutations need to be executed from an external system for regular use. + +More details on [manipulating partitions](../../en/sql-reference/statements/alter/partition/#alter_drop-partition). + +## TRUNCATE {#truncate} + +It’s rather radical to drop all data from a table, but in some cases it might be exactly what you need. + +More details on [table truncation](../../en/sql-reference/statements/truncate/). diff --git a/docs/zh/faq/operations/index.md b/docs/zh/faq/operations/index.md index cdf4b9622ec..c9ab954290f 100644 --- a/docs/zh/faq/operations/index.md +++ b/docs/zh/faq/operations/index.md @@ -1,8 +1,8 @@ --- title: 关于操作ClickHouse服务器和集群的问题 toc_hidden_folder: true -toc_priority: 3 -toc_title: Operations +sidebar_position: 3 +sidebar_label: Operations --- # 关于操作ClickHouse服务器和集群的问题 {#question-about-operating-clickhouse-servers-and-clusters} diff --git a/docs/zh/faq/operations/multi-region-replication.md b/docs/zh/faq/operations/multi-region-replication.md index f5ab147bde6..cd277b6a2c8 100644 --- a/docs/zh/faq/operations/multi-region-replication.md +++ b/docs/zh/faq/operations/multi-region-replication.md @@ -1,7 +1,7 @@ --- title: ClickHouse支持多区域复制吗? toc_hidden: true -toc_priority: 30 +sidebar_position: 30 --- # ClickHouse支持多区域复制吗? {#does-clickhouse-support-multi-region-replication} diff --git a/docs/zh/faq/operations/production.md b/docs/zh/faq/operations/production.md deleted file mode 120000 index 8203988975c..00000000000 --- a/docs/zh/faq/operations/production.md +++ /dev/null @@ -1 +0,0 @@ -../../../en/faq/operations/production.md \ No newline at end of file diff --git a/docs/zh/faq/operations/production.md b/docs/zh/faq/operations/production.md new file mode 100644 index 00000000000..ef0e98936f7 --- /dev/null +++ b/docs/zh/faq/operations/production.md @@ -0,0 +1,71 @@ +--- +title: Which ClickHouse version to use in production? +toc_hidden: true +sidebar_position: 10 +--- + +# Which ClickHouse Version to Use in Production? {#which-clickhouse-version-to-use-in-production} + +First of all, let’s discuss why people ask this question in the first place. There are two key reasons: + +1. ClickHouse is developed with pretty high velocity and usually, there are 10+ stable releases per year. It makes a wide range of releases to choose from, which is not so trivial choice. +2. Some users want to avoid spending time figuring out which version works best for their use case and just follow someone else’s advice. + +The second reason is more fundamental, so we’ll start with it and then get back to navigating through various ClickHouse releases. + +## Which ClickHouse Version Do You Recommend? {#which-clickhouse-version-do-you-recommend} + +It’s tempting to hire consultants or trust some known experts to get rid of responsibility for your production environment. You install some specific ClickHouse version that someone else recommended, now if there’s some issue with it - it’s not your fault, it’s someone else’s. This line of reasoning is a big trap. No external person knows better what’s going on in your company’s production environment. + +So how to properly choose which ClickHouse version to upgrade to? Or how to choose your first ClickHouse version? First of all, you need to invest in setting up a **realistic pre-production environment**. In an ideal world, it could be a completely identical shadow copy, but that’s usually expensive. + +Here’re some key points to get reasonable fidelity in a pre-production environment with not so high costs: + +- Pre-production environment needs to run an as close set of queries as you intend to run in production: + - Don’t make it read-only with some frozen data. + - Don’t make it write-only with just copying data without building some typical reports. + - Don’t wipe it clean instead of applying schema migrations. +- Use a sample of real production data and queries. Try to choose a sample that’s still representative and makes `SELECT` queries return reasonable results. Use obfuscation if your data is sensitive and internal policies do not allow it to leave the production environment. +- Make sure that pre-production is covered by your monitoring and alerting software the same way as your production environment does. +- If your production spans across multiple datacenters or regions, make your pre-production does the same. +- If your production uses complex features like replication, distributed table, cascading materialize views, make sure they are configured similarly in pre-production. +- There’s a trade-off on using the roughly same number of servers or VMs in pre-production as in production, but of smaller size, or much less of them, but of the same size. The first option might catch extra network-related issues, while the latter is easier to manage. + +The second area to invest in is **automated testing infrastructure**. Don’t assume that if some kind of query has executed successfully once, it’ll continue to do so forever. It’s ok to have some unit tests where ClickHouse is mocked but make sure your product has a reasonable set of automated tests that are run against real ClickHouse and check that all important use cases are still working as expected. + +Extra step forward could be contributing those automated tests to [ClickHouse’s open-source test infrastructure](https://github.com/ClickHouse/ClickHouse/tree/master/tests) that’s continuously used in its day-to-day development. It definitely will take some additional time and effort to learn [how to run it](../../en/development/tests.md) and then how to adapt your tests to this framework, but it’ll pay off by ensuring that ClickHouse releases are already tested against them when they are announced stable, instead of repeatedly losing time on reporting the issue after the fact and then waiting for a bugfix to be implemented, backported and released. Some companies even have such test contributions to infrastructure by its use as an internal policy, most notably it’s called [Beyonce’s Rule](https://www.oreilly.com/library/view/software-engineering-at/9781492082781/ch01.html#policies_that_scale_well) at Google. + +When you have your pre-production environment and testing infrastructure in place, choosing the best version is straightforward: + +1. Routinely run your automated tests against new ClickHouse releases. You can do it even for ClickHouse releases that are marked as `testing`, but going forward to the next steps with them is not recommended. +2. Deploy the ClickHouse release that passed the tests to pre-production and check that all processes are running as expected. +3. Report any issues you discovered to [ClickHouse GitHub Issues](https://github.com/ClickHouse/ClickHouse/issues). +4. If there were no major issues, it should be safe to start deploying ClickHouse release to your production environment. Investing in gradual release automation that implements an approach similar to [canary releases](https://martinfowler.com/bliki/CanaryRelease.html) or [green-blue deployments](https://martinfowler.com/bliki/BlueGreenDeployment.html) might further reduce the risk of issues in production. + +As you might have noticed, there’s nothing specific to ClickHouse in the approach described above, people do that for any piece of infrastructure they rely on if they take their production environment seriously. + +## How to Choose Between ClickHouse Releases? {#how-to-choose-between-clickhouse-releases} + +If you look into contents of ClickHouse package repository, you’ll see four kinds of packages: + +1. `testing` +2. `prestable` +3. `stable` +4. `lts` (long-term support) + +As was mentioned earlier, `testing` is good mostly to notice issues early, running them in production is not recommended because each of them is not tested as thoroughly as other kinds of packages. + +`prestable` is a release candidate which generally looks promising and is likely to become announced as `stable` soon. You can try them out in pre-production and report issues if you see any. + +For production use, there are two key options: `stable` and `lts`. Here is some guidance on how to choose between them: + +- `stable` is the kind of package we recommend by default. They are released roughly monthly (and thus provide new features with reasonable delay) and three latest stable releases are supported in terms of diagnostics and backporting of bugfixes. +- `lts` are released twice a year and are supported for a year after their initial release. You might prefer them over `stable` in the following cases: + - Your company has some internal policies that do not allow for frequent upgrades or using non-LTS software. + - You are using ClickHouse in some secondary products that either does not require any complex ClickHouse features and do not have enough resources to keep it updated. + +Many teams who initially thought that `lts` is the way to go, often switch to `stable` anyway because of some recent feature that’s important for their product. + +:::warning +One more thing to keep in mind when upgrading ClickHouse: we’re always keeping eye on compatibility across releases, but sometimes it’s not reasonable to keep and some minor details might change. So make sure you check the [changelog](../../en/whats-new/changelog/) before upgrading to see if there are any notes about backward-incompatible changes. +::: \ No newline at end of file diff --git a/docs/zh/faq/use-cases/index.md b/docs/zh/faq/use-cases/index.md index cfd3270e3f2..5e191873d37 100644 --- a/docs/zh/faq/use-cases/index.md +++ b/docs/zh/faq/use-cases/index.md @@ -1,8 +1,8 @@ --- title: 关于ClickHouse使用案例的问题 toc_hidden_folder: true -toc_priority: 2 -toc_title: 使用案例 +sidebar_position: 2 +sidebar_label: 使用案例 --- # 关于ClickHouse使用案例的问题 {#questions-about-clickhouse-use-cases} diff --git a/docs/zh/faq/use-cases/key-value.md b/docs/zh/faq/use-cases/key-value.md index ae47a9a8b25..4a611512586 100644 --- a/docs/zh/faq/use-cases/key-value.md +++ b/docs/zh/faq/use-cases/key-value.md @@ -1,7 +1,7 @@ --- title: 我能把 ClickHouse 当做Key-value 键值存储来使用吗? toc_hidden: true -toc_priority: 101 +sidebar_position: 101 --- # 我能把 ClickHouse 当做Key-value 键值存储来使用吗? {#can-i-use-clickhouse-as-a-key-value-storage}. diff --git a/docs/zh/faq/use-cases/time-series.md b/docs/zh/faq/use-cases/time-series.md index 045179c8c6e..0d38167929a 100644 --- a/docs/zh/faq/use-cases/time-series.md +++ b/docs/zh/faq/use-cases/time-series.md @@ -1,7 +1,7 @@ --- title: 我能把 ClickHouse 当做时序数据库来使用吗? toc_hidden: true -toc_priority: 101 +sidebar_position: 101 --- # 我能把 ClickHouse 当做时序数据库来使用吗? {#can-i-use-clickhouse-as-a-time-series-database} diff --git a/docs/zh/getting-started/example-datasets/amplab-benchmark.md b/docs/zh/getting-started/example-datasets/amplab-benchmark.md index 0feb4f7c371..d7194347e23 100644 --- a/docs/zh/getting-started/example-datasets/amplab-benchmark.md +++ b/docs/zh/getting-started/example-datasets/amplab-benchmark.md @@ -1,6 +1,6 @@ --- -toc_priority: 19 -toc_title: AMPLab Big Data Benchmark +sidebar_position: 19 +sidebar_label: AMPLab Big Data Benchmark --- # AMPLab Big Data Benchmark {#amplab-big-data-benchmark} diff --git a/docs/zh/getting-started/example-datasets/criteo.md b/docs/zh/getting-started/example-datasets/criteo.md index ecc643bc576..ba223c8ce0d 100644 --- a/docs/zh/getting-started/example-datasets/criteo.md +++ b/docs/zh/getting-started/example-datasets/criteo.md @@ -1,6 +1,6 @@ --- -toc_priority: 18 -toc_title: Terabyte Click Logs from Criteo +sidebar_position: 18 +sidebar_label: Terabyte Click Logs from Criteo --- # Terabyte of Click Logs from Criteo {#criteo-tbji-bie-dian-ji-ri-zhi} diff --git a/docs/zh/getting-started/example-datasets/github-events.md b/docs/zh/getting-started/example-datasets/github-events.md index eabc3c1bf1f..c99dfb5ff7f 100644 --- a/docs/zh/getting-started/example-datasets/github-events.md +++ b/docs/zh/getting-started/example-datasets/github-events.md @@ -1,6 +1,6 @@ --- -toc_priority: 11 -toc_title: GitHub 事件数据集 +sidebar_position: 11 +sidebar_label: GitHub 事件数据集 --- # GitHub 事件数据集 diff --git a/docs/zh/getting-started/example-datasets/index.md b/docs/zh/getting-started/example-datasets/index.md index e85796f6e96..bd4f86e1f3b 100644 --- a/docs/zh/getting-started/example-datasets/index.md +++ b/docs/zh/getting-started/example-datasets/index.md @@ -1,7 +1,6 @@ --- -toc_folder_title: "\u793A\u4F8B\u6570\u636E\u96C6" -toc_priority: 12 -toc_title: "\u5BFC\u8A00" +sidebar_label: 示例数据集 +sidebar_position: 12 --- # 示例数据集 {#example-datasets} diff --git a/docs/zh/getting-started/example-datasets/metrica.md b/docs/zh/getting-started/example-datasets/metrica.md index d91e8ce232c..d788b0f708c 100644 --- a/docs/zh/getting-started/example-datasets/metrica.md +++ b/docs/zh/getting-started/example-datasets/metrica.md @@ -1,6 +1,6 @@ --- -toc_priority: 15 -toc_title: Yandex.Metrica Data +sidebar_position: 15 +sidebar_label: Yandex.Metrica Data --- # Anonymized Yandex.Metrica Data {#anonymized-yandex-metrica-data} diff --git a/docs/zh/getting-started/example-datasets/nyc-taxi.md b/docs/zh/getting-started/example-datasets/nyc-taxi.md index bf948528d89..8d96156cd95 100644 --- a/docs/zh/getting-started/example-datasets/nyc-taxi.md +++ b/docs/zh/getting-started/example-datasets/nyc-taxi.md @@ -1,6 +1,6 @@ --- -toc_priority: 20 -toc_title: New York Taxi Data +sidebar_position: 20 +sidebar_label: New York Taxi Data --- # 纽约出租车数据 {#niu-yue-shi-chu-zu-che-shu-ju} diff --git a/docs/zh/getting-started/example-datasets/ontime.md b/docs/zh/getting-started/example-datasets/ontime.md index 907f63634cc..6015c248fb3 100644 --- a/docs/zh/getting-started/example-datasets/ontime.md +++ b/docs/zh/getting-started/example-datasets/ontime.md @@ -1,6 +1,6 @@ --- -toc_priority: 21 -toc_title: OnTime +sidebar_position: 21 +sidebar_label: OnTime --- # OnTime {#ontime} diff --git a/docs/zh/getting-started/example-datasets/star-schema.md b/docs/zh/getting-started/example-datasets/star-schema.md index aa2c259d6ad..1ae2a224ec1 100644 --- a/docs/zh/getting-started/example-datasets/star-schema.md +++ b/docs/zh/getting-started/example-datasets/star-schema.md @@ -1,6 +1,6 @@ --- -toc_priority: 16 -toc_title: Star Schema Benchmark +sidebar_position: 16 +sidebar_label: Star Schema Benchmark --- # Star Schema Benchmark {#star-schema-benchmark} diff --git a/docs/zh/getting-started/example-datasets/wikistat.md b/docs/zh/getting-started/example-datasets/wikistat.md index b91b254fcf5..5722d18ec57 100644 --- a/docs/zh/getting-started/example-datasets/wikistat.md +++ b/docs/zh/getting-started/example-datasets/wikistat.md @@ -1,6 +1,6 @@ --- -toc_priority: 17 -toc_title: WikiStat +sidebar_position: 17 +sidebar_label: WikiStat --- # WikiStat {#wikistat} diff --git a/docs/zh/getting-started/index.md b/docs/zh/getting-started/index.md index f5ce4cbf3b7..0e7052e9faf 100644 --- a/docs/zh/getting-started/index.md +++ b/docs/zh/getting-started/index.md @@ -1,6 +1,6 @@ --- -toc_folder_title: 快速上手 -toc_priority: 2 +sidebar_label: 快速上手 +sidebar_position: 2 --- # 入门 {#ru-men} diff --git a/docs/zh/getting-started/install.md b/docs/zh/getting-started/install.md index e74a05a9913..a8b803547a8 100644 --- a/docs/zh/getting-started/install.md +++ b/docs/zh/getting-started/install.md @@ -1,6 +1,6 @@ --- -toc_priority: 11 -toc_title: 安装部署 +sidebar_position: 11 +sidebar_label: 安装部署 --- # 安装 {#clickhouse-an-zhuang} @@ -24,15 +24,37 @@ $ grep -q sse4_2 /proc/cpuinfo && echo "SSE 4.2 supported" || echo "SSE 4.2 not 建议使用Debian或Ubuntu的官方预编译`deb`软件包。运行以下命令来安装包: ``` bash -{% include 'install/deb.sh' %} +sudo apt-get install -y apt-transport-https ca-certificates dirmngr +sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 8919F6BD2B48D754 + +echo "deb https://packages.clickhouse.com/deb stable main" | sudo tee \ + /etc/apt/sources.list.d/clickhouse.list +sudo apt-get update + +sudo apt-get install -y clickhouse-server clickhouse-client + +sudo service clickhouse-server start +clickhouse-client # or "clickhouse-client --password" if you've set up a password. ```
Deprecated Method for installing deb-packages + ``` bash -{% include 'install/deb_repo.sh' %} +sudo apt-get install apt-transport-https ca-certificates dirmngr +sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv E0C56BD4 + +echo "deb https://repo.clickhouse.com/deb/stable/ main/" | sudo tee \ + /etc/apt/sources.list.d/clickhouse.list +sudo apt-get update + +sudo apt-get install -y clickhouse-server clickhouse-client + +sudo service clickhouse-server start +clickhouse-client # or "clickhouse-client --password" if you set up a password. ``` +
如果您想使用最新的版本,请用`testing`替代`stable`(我们只推荐您用于测试环境)。 @@ -53,15 +75,28 @@ $ grep -q sse4_2 /proc/cpuinfo && echo "SSE 4.2 supported" || echo "SSE 4.2 not 首先,您需要添加官方存储库: ``` bash -{% include 'install/rpm.sh' %} +sudo yum install -y yum-utils +sudo yum-config-manager --add-repo https://packages.clickhouse.com/rpm/clickhouse.repo +sudo yum install -y clickhouse-server clickhouse-client + +sudo /etc/init.d/clickhouse-server start +clickhouse-client # or "clickhouse-client --password" if you set up a password. ```
Deprecated Method for installing rpm-packages + ``` bash -{% include 'install/rpm_repo.sh' %} +sudo yum install yum-utils +sudo rpm --import https://repo.clickhouse.com/CLICKHOUSE-KEY.GPG +sudo yum-config-manager --add-repo https://repo.clickhouse.com/rpm/clickhouse.repo +sudo yum install clickhouse-server clickhouse-client + +sudo /etc/init.d/clickhouse-server start +clickhouse-client # or "clickhouse-client --password" if you set up a password. ``` +
如果您想使用最新的版本,请用`testing`替代`stable`(我们只推荐您用于测试环境)。`prestable`有时也可用。 @@ -83,15 +118,54 @@ sudo yum install clickhouse-server clickhouse-client 下载后解压缩下载资源文件并使用安装脚本进行安装。以下是一个最新稳定版本的安装示例: ``` bash -{% include 'install/tgz.sh' %} +LATEST_VERSION=$(curl -s https://packages.clickhouse.com/tgz/stable/ | \ + grep -Eo '[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+' | sort -V -r | head -n 1) +export LATEST_VERSION +curl -O "https://packages.clickhouse.com/tgz/stable/clickhouse-common-static-$LATEST_VERSION.tgz" +curl -O "https://packages.clickhouse.com/tgz/stable/clickhouse-common-static-dbg-$LATEST_VERSION.tgz" +curl -O "https://packages.clickhouse.com/tgz/stable/clickhouse-server-$LATEST_VERSION.tgz" +curl -O "https://packages.clickhouse.com/tgz/stable/clickhouse-client-$LATEST_VERSION.tgz" + +tar -xzvf "clickhouse-common-static-$LATEST_VERSION.tgz" +sudo "clickhouse-common-static-$LATEST_VERSION/install/doinst.sh" + +tar -xzvf "clickhouse-common-static-dbg-$LATEST_VERSION.tgz" +sudo "clickhouse-common-static-dbg-$LATEST_VERSION/install/doinst.sh" + +tar -xzvf "clickhouse-server-$LATEST_VERSION.tgz" +sudo "clickhouse-server-$LATEST_VERSION/install/doinst.sh" +sudo /etc/init.d/clickhouse-server start + +tar -xzvf "clickhouse-client-$LATEST_VERSION.tgz" +sudo "clickhouse-client-$LATEST_VERSION/install/doinst.sh" ```
Deprecated Method for installing tgz archives + ``` bash -{% include 'install/tgz_repo.sh' %} +export LATEST_VERSION=$(curl -s https://repo.clickhouse.com/tgz/stable/ | \ + grep -Eo '[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+' | sort -V -r | head -n 1) +curl -O https://repo.clickhouse.com/tgz/stable/clickhouse-common-static-$LATEST_VERSION.tgz +curl -O https://repo.clickhouse.com/tgz/stable/clickhouse-common-static-dbg-$LATEST_VERSION.tgz +curl -O https://repo.clickhouse.com/tgz/stable/clickhouse-server-$LATEST_VERSION.tgz +curl -O https://repo.clickhouse.com/tgz/stable/clickhouse-client-$LATEST_VERSION.tgz + +tar -xzvf clickhouse-common-static-$LATEST_VERSION.tgz +sudo clickhouse-common-static-$LATEST_VERSION/install/doinst.sh + +tar -xzvf clickhouse-common-static-dbg-$LATEST_VERSION.tgz +sudo clickhouse-common-static-dbg-$LATEST_VERSION/install/doinst.sh + +tar -xzvf clickhouse-server-$LATEST_VERSION.tgz +sudo clickhouse-server-$LATEST_VERSION/install/doinst.sh +sudo /etc/init.d/clickhouse-server start + +tar -xzvf clickhouse-client-$LATEST_VERSION.tgz +sudo clickhouse-client-$LATEST_VERSION/install/doinst.sh ``` +
对于生产环境,建议使用最新的`stable`版本。你可以在GitHub页面https://github.com/ClickHouse/ClickHouse/tags找到它,它以后缀`-stable`标志。 diff --git a/docs/zh/getting-started/playground.md b/docs/zh/getting-started/playground.md index f8f611d9d8d..d850252c48f 100644 --- a/docs/zh/getting-started/playground.md +++ b/docs/zh/getting-started/playground.md @@ -1,6 +1,6 @@ --- -toc_priority: 14 -toc_title: 体验平台 +sidebar_position: 14 +sidebar_label: 体验平台 --- # ClickHouse Playground {#clickhouse-playground} diff --git a/docs/zh/getting-started/tutorial.md b/docs/zh/getting-started/tutorial.md index 7189938f205..3d66f79cb46 100644 --- a/docs/zh/getting-started/tutorial.md +++ b/docs/zh/getting-started/tutorial.md @@ -1,6 +1,6 @@ --- -toc_priority: 12 -toc_title: 使用教程 +sidebar_position: 12 +sidebar_label: 使用教程 --- # ClickHouse教程 {#clickhouse-tutorial} diff --git a/docs/zh/guides/apply-catboost-model.md b/docs/zh/guides/apply-catboost-model.md index adc5b48eb55..e268ac92a8c 100644 --- a/docs/zh/guides/apply-catboost-model.md +++ b/docs/zh/guides/apply-catboost-model.md @@ -1,6 +1,6 @@ --- -toc_priority: 41 -toc_title: "\u5E94\u7528CatBoost\u6A21\u578B" +sidebar_position: 41 +sidebar_label: "\u5E94\u7528CatBoost\u6A21\u578B" --- # 在ClickHouse中应用Catboost模型 {#applying-catboost-model-in-clickhouse} diff --git a/docs/zh/guides/index.md b/docs/zh/guides/index.md index b8b4e7e2d51..54885ab0a58 100644 --- a/docs/zh/guides/index.md +++ b/docs/zh/guides/index.md @@ -1,9 +1,6 @@ --- -machine_translated: true -machine_translated_rev: 72537a2d527c63c07aa5d2361a8829f3895cf2bd -toc_folder_title: "\u6307\u5357" -toc_priority: 38 -toc_title: "\u6982\u8FF0" +sidebar_position: 38 +sidebar_label: ClickHouse指南 --- # ClickHouse指南 {#clickhouse-guides} diff --git a/docs/zh/interfaces/cli.md b/docs/zh/interfaces/cli.md index f4ae48cd425..e43efb50915 100644 --- a/docs/zh/interfaces/cli.md +++ b/docs/zh/interfaces/cli.md @@ -1,6 +1,6 @@ --- -toc_priority: 17 -toc_title: 命令行客户端 +sidebar_position: 17 +sidebar_label: 命令行客户端 --- # 命令行客户端 {#command-line-client} diff --git a/docs/zh/interfaces/cpp.md b/docs/zh/interfaces/cpp.md index 5fd2bc00b67..089de7638c3 100644 --- a/docs/zh/interfaces/cpp.md +++ b/docs/zh/interfaces/cpp.md @@ -1,6 +1,6 @@ --- -toc_priority: 24 -toc_title: C++客户端库 +sidebar_position: 24 +sidebar_label: C++客户端库 --- # C++客户端库 {#c-client-library} diff --git a/docs/zh/interfaces/formats.md b/docs/zh/interfaces/formats.md index 40e9bfe7ff1..78b30d89d53 100644 --- a/docs/zh/interfaces/formats.md +++ b/docs/zh/interfaces/formats.md @@ -1,6 +1,6 @@ --- -toc_priority: 21 -toc_title: 输入/输出格式 +sidebar_position: 21 +sidebar_label: 输入/输出格式 --- # 输入/输出格式 {#formats} diff --git a/docs/zh/interfaces/http.md b/docs/zh/interfaces/http.md index 16f51eac9a8..257f8957bb3 100644 --- a/docs/zh/interfaces/http.md +++ b/docs/zh/interfaces/http.md @@ -1,6 +1,6 @@ --- -toc_priority: 19 -toc_title: HTTP客户端 +sidebar_position: 19 +sidebar_label: HTTP客户端 --- # HTTP客户端 {#http-interface} diff --git a/docs/zh/interfaces/index.md b/docs/zh/interfaces/index.md index aa884064abd..16f2c64bb85 100644 --- a/docs/zh/interfaces/index.md +++ b/docs/zh/interfaces/index.md @@ -1,7 +1,6 @@ --- -toc_folder_title: 接口 -toc_priority: 14 -toc_title: 客户端 +sidebar_label: 接口 +sidebar_position: 14 --- # 客户端 {#interfaces} diff --git a/docs/zh/interfaces/jdbc.md b/docs/zh/interfaces/jdbc.md index ed2fad24714..a51846dab3d 100644 --- a/docs/zh/interfaces/jdbc.md +++ b/docs/zh/interfaces/jdbc.md @@ -1,6 +1,6 @@ --- -toc_priority: 22 -toc_title: JDBC驱动 +sidebar_position: 22 +sidebar_label: JDBC驱动 --- # JDBC驱动 {#jdbc-driver} diff --git a/docs/zh/interfaces/mysql.md b/docs/zh/interfaces/mysql.md index c8f24b40f81..b0cd47665cb 100644 --- a/docs/zh/interfaces/mysql.md +++ b/docs/zh/interfaces/mysql.md @@ -1,6 +1,6 @@ --- -toc_priority: 20 -toc_title: MySQL接口 +sidebar_position: 20 +sidebar_label: MySQL接口 --- # MySQL接口 {#mysql-interface} diff --git a/docs/zh/interfaces/odbc.md b/docs/zh/interfaces/odbc.md index 89ba1e30c6a..dec7480a519 100644 --- a/docs/zh/interfaces/odbc.md +++ b/docs/zh/interfaces/odbc.md @@ -1,6 +1,6 @@ --- -toc_priority: 23 -toc_title: ODBC驱动 +sidebar_position: 23 +sidebar_label: ODBC驱动 --- # ODBC驱动 {#odbc-driver} diff --git a/docs/zh/interfaces/tcp.md b/docs/zh/interfaces/tcp.md index b43af0e533e..7d5092ed7be 100644 --- a/docs/zh/interfaces/tcp.md +++ b/docs/zh/interfaces/tcp.md @@ -1,6 +1,6 @@ --- -toc_priority: 18 -toc_title: 原生接口(TCP) +sidebar_position: 18 +sidebar_label: 原生接口(TCP) --- # 原生接口(TCP){#native-interface-tcp} diff --git a/docs/zh/interfaces/third-party/client-libraries.md b/docs/zh/interfaces/third-party/client-libraries.md index 3136b928e7b..653e55a4ca1 100644 --- a/docs/zh/interfaces/third-party/client-libraries.md +++ b/docs/zh/interfaces/third-party/client-libraries.md @@ -1,6 +1,6 @@ --- -toc_priority: 26 -toc_title: 客户端开发库 +sidebar_position: 26 +sidebar_label: 客户端开发库 --- # 第三方开发库 {#client-libraries-from-third-party-developers} diff --git a/docs/zh/interfaces/third-party/index.md b/docs/zh/interfaces/third-party/index.md index 40206f6b57b..e00e347ce50 100644 --- a/docs/zh/interfaces/third-party/index.md +++ b/docs/zh/interfaces/third-party/index.md @@ -1,6 +1,6 @@ --- -toc_folder_title: 第三方工具 -toc_priority: 24 +sidebar_label: 第三方工具 +sidebar_position: 24 --- # 第三方工具 {#third-party-interfaces} diff --git a/docs/zh/interfaces/third-party/integrations.md b/docs/zh/interfaces/third-party/integrations.md index 291e6d907fb..81b3694b4a2 100644 --- a/docs/zh/interfaces/third-party/integrations.md +++ b/docs/zh/interfaces/third-party/integrations.md @@ -1,6 +1,6 @@ --- -toc_priority: 27 -toc_title: 第三方集成库 +sidebar_position: 27 +sidebar_label: 第三方集成库 --- # 第三方集成库 {#integration-libraries-from-third-party-developers} diff --git a/docs/zh/interfaces/third-party/proxy.md b/docs/zh/interfaces/third-party/proxy.md index 034657a70d2..e6c744ea317 100644 --- a/docs/zh/interfaces/third-party/proxy.md +++ b/docs/zh/interfaces/third-party/proxy.md @@ -1,6 +1,6 @@ --- -toc_priority: 29 -toc_title: 第三方代理 +sidebar_position: 29 +sidebar_label: 第三方代理 --- # 第三方代理 {#proxy-servers-from-third-party-developers} diff --git a/docs/zh/introduction/_category_.yml b/docs/zh/introduction/_category_.yml new file mode 100644 index 00000000000..951bdd37195 --- /dev/null +++ b/docs/zh/introduction/_category_.yml @@ -0,0 +1,7 @@ +position: 1 +label: '简介' +collapsible: true +collapsed: true +link: + type: generated-index + title: 简介 \ No newline at end of file diff --git a/docs/zh/introduction/adopters.md b/docs/zh/introduction/adopters.md index 66341b1265d..5e1e6bfe571 100644 --- a/docs/zh/introduction/adopters.md +++ b/docs/zh/introduction/adopters.md @@ -1,6 +1,6 @@ --- -toc_priority: 5 -toc_title: "ClickHouse用户" +sidebar_position: 5 +sidebar_label: "ClickHouse用户" --- # ClickHouse用户 {#clickhouse-adopters} diff --git a/docs/zh/introduction/distinctive-features.md b/docs/zh/introduction/distinctive-features.md index 35d46163860..1f2b970f03d 100644 --- a/docs/zh/introduction/distinctive-features.md +++ b/docs/zh/introduction/distinctive-features.md @@ -1,6 +1,6 @@ --- -toc_priority: 2 -toc_title: ClickHouse的特性 +sidebar_position: 2 +sidebar_label: ClickHouse的特性 --- # ClickHouse的特性 {#clickhouse-de-te-xing} diff --git a/docs/zh/introduction/history.md b/docs/zh/introduction/history.md index 95d7b1ddc96..ac2ad9a58ce 100644 --- a/docs/zh/introduction/history.md +++ b/docs/zh/introduction/history.md @@ -1,6 +1,6 @@ --- -toc_priority: 4 -toc_title: ClickHouse历史 +sidebar_position: 4 +sidebar_label: ClickHouse历史 --- # ClickHouse历史 {#clickhouseli-shi} diff --git a/docs/zh/introduction/index.md b/docs/zh/introduction/index.md deleted file mode 100644 index 64466809d18..00000000000 --- a/docs/zh/introduction/index.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -toc_folder_title: 简介 -toc_priority: 1 ---- - - diff --git a/docs/zh/introduction/performance.md b/docs/zh/introduction/performance.md index 67ad8768205..60652f82940 100644 --- a/docs/zh/introduction/performance.md +++ b/docs/zh/introduction/performance.md @@ -1,6 +1,6 @@ --- -toc_priority: 3 -toc_title: ClickHouse性能 +sidebar_position: 3 +sidebar_label: ClickHouse性能 --- # 性能 {#performance} diff --git a/docs/zh/operations/access-rights.md b/docs/zh/operations/access-rights.md index ab8b3886a9a..0a32853c436 100644 --- a/docs/zh/operations/access-rights.md +++ b/docs/zh/operations/access-rights.md @@ -1,6 +1,6 @@ --- -toc_priority: 48 -toc_title: "访问权限和账户管理" +sidebar_position: 48 +sidebar_label: "访问权限和账户管理" --- # 访问权限和账户管理 {#access-rights} diff --git a/docs/zh/operations/backup.md b/docs/zh/operations/backup.md index 165ecdf2a9b..e6744228c82 100644 --- a/docs/zh/operations/backup.md +++ b/docs/zh/operations/backup.md @@ -1,6 +1,6 @@ --- -toc_priority: 49 -toc_title: "\u6570\u636E\u5907\u4EFD" +sidebar_position: 49 +sidebar_label: "\u6570\u636E\u5907\u4EFD" --- # 数据备份 {#data-backup} diff --git a/docs/zh/operations/index.md b/docs/zh/operations/index.md index c3f55ac2a11..d8ec8ec2b27 100644 --- a/docs/zh/operations/index.md +++ b/docs/zh/operations/index.md @@ -1,6 +1,6 @@ --- -toc_priority: 43 -toc_title: "操作" +sidebar_position: 43 +sidebar_label: "操作" --- # 操作 {#operations} diff --git a/docs/zh/operations/monitoring.md b/docs/zh/operations/monitoring.md index 73896d3f8c1..452449806ea 100644 --- a/docs/zh/operations/monitoring.md +++ b/docs/zh/operations/monitoring.md @@ -1,6 +1,6 @@ --- -toc_priority: 45 -toc_title: "监控" +sidebar_position: 45 +sidebar_label: "监控" --- # 监控 {#jian-kong} diff --git a/docs/zh/operations/optimizing-performance/index.md b/docs/zh/operations/optimizing-performance/index.md deleted file mode 100644 index 7e6890bfb8c..00000000000 --- a/docs/zh/operations/optimizing-performance/index.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -machine_translated: true -machine_translated_rev: 72537a2d527c63c07aa5d2361a8829f3895cf2bd -toc_folder_title: "\u4F18\u5316\u6027\u80FD" -toc_priority: 52 ---- - - diff --git a/docs/zh/operations/optimizing-performance/sampling-query-profiler.md b/docs/zh/operations/optimizing-performance/sampling-query-profiler.md index 7b89f31e440..8114184af8b 100644 --- a/docs/zh/operations/optimizing-performance/sampling-query-profiler.md +++ b/docs/zh/operations/optimizing-performance/sampling-query-profiler.md @@ -1,8 +1,8 @@ --- machine_translated: true machine_translated_rev: 72537a2d527c63c07aa5d2361a8829f3895cf2bd -toc_priority: 54 -toc_title: "\u67E5\u8BE2\u5206\u6790" +sidebar_position: 54 +sidebar_label: "\u67E5\u8BE2\u5206\u6790" --- # 采样查询探查器 {#sampling-query-profiler} diff --git a/docs/zh/operations/performance-test.md b/docs/zh/operations/performance-test.md index 9761d516ddd..b731e11efc2 100644 --- a/docs/zh/operations/performance-test.md +++ b/docs/zh/operations/performance-test.md @@ -1,6 +1,6 @@ --- -toc_priority: 54 -toc_title: "\u6D4B\u8BD5\u786C\u4EF6" +sidebar_position: 54 +sidebar_label: "\u6D4B\u8BD5\u786C\u4EF6" --- # 如何使用 ClickHouse 测试您的硬件 {#how-to-test-your-hardware-with-clickhouse} diff --git a/docs/zh/operations/requirements.md b/docs/zh/operations/requirements.md index 964d7aa34f4..79af49cfd4e 100644 --- a/docs/zh/operations/requirements.md +++ b/docs/zh/operations/requirements.md @@ -1,6 +1,6 @@ --- -toc_priority: 44 -toc_title: "必备条件" +sidebar_position: 44 +sidebar_label: "必备条件" --- # 必备条件 {#requirements} diff --git a/docs/zh/operations/server-configuration-parameters/settings.md b/docs/zh/operations/server-configuration-parameters/settings.md index 8c1be5429d1..f5fe3aea3e7 100644 --- a/docs/zh/operations/server-configuration-parameters/settings.md +++ b/docs/zh/operations/server-configuration-parameters/settings.md @@ -1,6 +1,6 @@ --- -toc_priority: 57 -toc_title: "\u670D\u52A1\u5668\u8BBE\u7F6E" +sidebar_position: 57 +sidebar_label: "\u670D\u52A1\u5668\u8BBE\u7F6E" --- # 服务器配置 {#server-settings} @@ -846,7 +846,7 @@ ZooKeeper中数据部分头的存储方法。 如果 `use_minimalistic_part_header_in_zookeeper = 1`,然后 [复制](../../engines/table-engines/mergetree-family/replication.md) 表存储的数据部分的头紧凑使用一个单一的 `znode`. 如果表包含许多列,则此存储方法显着减少了Zookeeper中存储的数据量。 -!!! attention "注意" + :::info "注意" 申请后 `use_minimalistic_part_header_in_zookeeper = 1`,您不能将ClickHouse服务器降级到不支持此设置的版本。 在集群中的服务器上升级ClickHouse时要小心。 不要一次升级所有服务器。 在测试环境中或在集群的几台服务器上测试ClickHouse的新版本更安全。 Data part headers already stored with this setting can't be restored to their previous (non-compact) representation. diff --git a/docs/zh/operations/settings/constraints-on-settings.md b/docs/zh/operations/settings/constraints-on-settings.md index 8fb83505e1b..19d724b483a 100644 --- a/docs/zh/operations/settings/constraints-on-settings.md +++ b/docs/zh/operations/settings/constraints-on-settings.md @@ -1,8 +1,8 @@ --- machine_translated: true machine_translated_rev: 72537a2d527c63c07aa5d2361a8829f3895cf2bd -toc_priority: 62 -toc_title: "\u5BF9\u8BBE\u7F6E\u7684\u9650\u5236" +sidebar_position: 62 +sidebar_label: "\u5BF9\u8BBE\u7F6E\u7684\u9650\u5236" --- # 对设置的限制 {#constraints-on-settings} diff --git a/docs/zh/operations/settings/index.md b/docs/zh/operations/settings/index.md index 38ce4c345e5..9280577e1c0 100644 --- a/docs/zh/operations/settings/index.md +++ b/docs/zh/operations/settings/index.md @@ -1,5 +1,5 @@ --- -toc_folder_title: "\u8BBE\u7F6E" +sidebar_label: 设置 --- # 设置 {#settings} diff --git a/docs/zh/operations/settings/permissions-for-queries.md b/docs/zh/operations/settings/permissions-for-queries.md index b1cac1882c0..5aa579fb0cf 100644 --- a/docs/zh/operations/settings/permissions-for-queries.md +++ b/docs/zh/operations/settings/permissions-for-queries.md @@ -1,6 +1,6 @@ --- -toc_priority: 58 -toc_title: "\u67E5\u8BE2\u6743\u9650" +sidebar_position: 58 +sidebar_label: "\u67E5\u8BE2\u6743\u9650" --- # 查询权限 {#permissions_for_queries} diff --git a/docs/zh/operations/settings/settings-profiles.md b/docs/zh/operations/settings/settings-profiles.md index a9e20b8895e..0a88b7ff773 100644 --- a/docs/zh/operations/settings/settings-profiles.md +++ b/docs/zh/operations/settings/settings-profiles.md @@ -1,6 +1,6 @@ --- -toc_priority: 61 -toc_title: "\u8BBE\u7F6E\u914D\u7F6E" +sidebar_position: 61 +sidebar_label: "\u8BBE\u7F6E\u914D\u7F6E" --- # 设置配置 {#settings-profiles} diff --git a/docs/zh/operations/settings/settings-users.md b/docs/zh/operations/settings/settings-users.md index d89b880328a..a7284ac4644 100644 --- a/docs/zh/operations/settings/settings-users.md +++ b/docs/zh/operations/settings/settings-users.md @@ -1,8 +1,8 @@ --- machine_translated: false machine_translated_rev: 72537a2d527c63c07aa5d2361a8829f3895cf2bd -toc_priority: 63 -toc_title: "\u7528\u6237\u8BBE\u7F6E" +sidebar_position: 63 +sidebar_label: "\u7528\u6237\u8BBE\u7F6E" --- # 用户设置 {#user-settings} diff --git a/docs/zh/operations/system-tables/index.md b/docs/zh/operations/system-tables/index.md index eb7d45f9388..d68e486b23e 100644 --- a/docs/zh/operations/system-tables/index.md +++ b/docs/zh/operations/system-tables/index.md @@ -1,8 +1,8 @@ --- machine_translated: true machine_translated_rev: 5decc73b5dc60054f19087d3690c4eb99446a6c3 -toc_priority: 52 -toc_title: "\u7CFB\u7EDF\u8868" +sidebar_position: 52 +sidebar_label: "\u7CFB\u7EDF\u8868" --- # 系统表 {#system-tables} diff --git a/docs/zh/operations/troubleshooting.md b/docs/zh/operations/troubleshooting.md index 8d1defd6366..3252b59ee8f 100644 --- a/docs/zh/operations/troubleshooting.md +++ b/docs/zh/operations/troubleshooting.md @@ -1,6 +1,6 @@ --- -toc_priority: 46 -toc_title: "常见问题" +sidebar_position: 46 +sidebar_label: "常见问题" --- # 常见问题 {#troubleshooting} diff --git a/docs/zh/operations/update.md b/docs/zh/operations/update.md index 072b3da98a9..b837acf5979 100644 --- a/docs/zh/operations/update.md +++ b/docs/zh/operations/update.md @@ -1,6 +1,6 @@ --- -toc_priority: 47 -toc_title: "更新" +sidebar_position: 47 +sidebar_label: "更新" --- # 更新 {#clickhouse-update} diff --git a/docs/zh/operations/utilities/clickhouse-benchmark.md b/docs/zh/operations/utilities/clickhouse-benchmark.md index 54dbadc79bc..3123582c150 100644 --- a/docs/zh/operations/utilities/clickhouse-benchmark.md +++ b/docs/zh/operations/utilities/clickhouse-benchmark.md @@ -1,6 +1,6 @@ --- -toc_priority: 61 -toc_title: "性能测试" +sidebar_position: 61 +sidebar_label: "性能测试" --- # 性能测试 {#clickhouse-benchmark} diff --git a/docs/zh/operations/utilities/clickhouse-local.md b/docs/zh/operations/utilities/clickhouse-local.md index 93df9b589e9..9a70e225d69 100644 --- a/docs/zh/operations/utilities/clickhouse-local.md +++ b/docs/zh/operations/utilities/clickhouse-local.md @@ -1,6 +1,6 @@ --- -toc_priority: 60 -toc_title: clickhouse-local +sidebar_position: 60 +sidebar_label: clickhouse-local --- # clickhouse-local {#clickhouse-local} diff --git a/docs/zh/sql-reference/aggregate-functions/combinators.md b/docs/zh/sql-reference/aggregate-functions/combinators.md index 9251e446f9e..f2caeca4405 100644 --- a/docs/zh/sql-reference/aggregate-functions/combinators.md +++ b/docs/zh/sql-reference/aggregate-functions/combinators.md @@ -1,6 +1,6 @@ --- -toc_priority: 37 -toc_title: 聚合函数组合器 +sidebar_position: 37 +sidebar_label: 聚合函数组合器 --- # 聚合函数组合器 {#aggregate_functions_combinators} diff --git a/docs/zh/sql-reference/aggregate-functions/index.md b/docs/zh/sql-reference/aggregate-functions/index.md index ee42517db80..7d613c69c2b 100644 --- a/docs/zh/sql-reference/aggregate-functions/index.md +++ b/docs/zh/sql-reference/aggregate-functions/index.md @@ -1,7 +1,6 @@ --- -toc_folder_title: 聚合函数 -toc_priority: 33 -toc_title: 简介 +sidebar_label: 聚合函数 +sidebar_position: 33 --- # 聚合函数 {#aggregate-functions} diff --git a/docs/zh/sql-reference/aggregate-functions/parametric-functions.md b/docs/zh/sql-reference/aggregate-functions/parametric-functions.md index 25ad72e6cf3..a8a79593d10 100644 --- a/docs/zh/sql-reference/aggregate-functions/parametric-functions.md +++ b/docs/zh/sql-reference/aggregate-functions/parametric-functions.md @@ -1,6 +1,6 @@ --- -toc_priority: 38 -toc_title: 参数聚合函数 +sidebar_position: 38 +sidebar_label: 参数聚合函数 --- # 参数聚合函数 {#aggregate_functions_parametric} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/any.md b/docs/zh/sql-reference/aggregate-functions/reference/any.md index 205ff1c1944..45dac247a02 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/any.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/any.md @@ -1,5 +1,5 @@ --- -toc_priority: 6 +sidebar_position: 6 --- # any {#agg_function-any} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/anyheavy.md b/docs/zh/sql-reference/aggregate-functions/reference/anyheavy.md index b67be9e48cf..f4785cdaeab 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/anyheavy.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/anyheavy.md @@ -1,5 +1,5 @@ --- -toc_priority: 103 +sidebar_position: 103 --- # anyHeavy {#anyheavyx} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/anylast.md b/docs/zh/sql-reference/aggregate-functions/reference/anylast.md index 81c93957fbf..bd69d93d179 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/anylast.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/anylast.md @@ -1,5 +1,5 @@ --- -toc_priority: 104 +sidebar_position: 104 --- ## anyLast {#anylastx} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/argmax.md b/docs/zh/sql-reference/aggregate-functions/reference/argmax.md index ed3d2d07a58..f9ad61fb920 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/argmax.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/argmax.md @@ -1,5 +1,5 @@ --- -toc_priority: 106 +sidebar_position: 106 --- # argMax {#agg-function-argmax} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/argmin.md b/docs/zh/sql-reference/aggregate-functions/reference/argmin.md index 8d987300ad4..3d331cb1725 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/argmin.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/argmin.md @@ -1,5 +1,5 @@ --- -toc_priority: 105 +sidebar_position: 105 --- # argMin {#agg-function-argmin} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/avg.md b/docs/zh/sql-reference/aggregate-functions/reference/avg.md index 739654adc1c..2c5f7c3f827 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/avg.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/avg.md @@ -1,5 +1,5 @@ --- -toc_priority: 5 +sidebar_position: 5 --- # avg {#agg_function-avg} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/avgweighted.md b/docs/zh/sql-reference/aggregate-functions/reference/avgweighted.md index 433b1c12099..9fa56d1726c 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/avgweighted.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/avgweighted.md @@ -1,5 +1,5 @@ --- -toc_priority: 107 +sidebar_position: 107 --- # avgWeighted {#avgweighted} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/categoricalinformationvalue.md b/docs/zh/sql-reference/aggregate-functions/reference/categoricalinformationvalue.md index 1970e76c2fd..942933bb35d 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/categoricalinformationvalue.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/categoricalinformationvalue.md @@ -1,5 +1,5 @@ --- -toc_priority: 250 +sidebar_position: 250 --- # categoricalInformationValue {#categoricalinformationvalue} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/corr.md b/docs/zh/sql-reference/aggregate-functions/reference/corr.md index 5352aed5fc4..796da3dd72a 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/corr.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/corr.md @@ -1,5 +1,5 @@ --- -toc_priority: 107 +sidebar_position: 107 --- # corr {#corrx-y} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/count.md b/docs/zh/sql-reference/aggregate-functions/reference/count.md index fc528980bfa..96e20323b09 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/count.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/count.md @@ -1,5 +1,5 @@ --- -toc_priority: 1 +sidebar_position: 1 --- # count {#agg_function-count} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/covarpop.md b/docs/zh/sql-reference/aggregate-functions/reference/covarpop.md index 4b961a22795..7137861d2e6 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/covarpop.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/covarpop.md @@ -1,5 +1,5 @@ --- -toc_priority: 36 +sidebar_position: 36 --- # covarPop {#covarpop} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/covarsamp.md b/docs/zh/sql-reference/aggregate-functions/reference/covarsamp.md index bed522bbbfa..ab0fa218c8f 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/covarsamp.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/covarsamp.md @@ -1,5 +1,5 @@ --- -toc_priority: 37 +sidebar_position: 37 --- # covarSamp {#covarsamp} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/deltasum.md b/docs/zh/sql-reference/aggregate-functions/reference/deltasum.md index e439263bf78..220dac2b500 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/deltasum.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/deltasum.md @@ -1,5 +1,5 @@ --- -toc_priority: 141 +sidebar_position: 141 --- # deltaSum {#agg_functions-deltasum} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/grouparray.md b/docs/zh/sql-reference/aggregate-functions/reference/grouparray.md index 0a8f1cd326d..a9948b2c372 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/grouparray.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/grouparray.md @@ -1,5 +1,5 @@ --- -toc_priority: 110 +sidebar_position: 110 --- # groupArray {#agg_function-grouparray} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/grouparrayinsertat.md b/docs/zh/sql-reference/aggregate-functions/reference/grouparrayinsertat.md index 3a50b24fd7f..bbcd7a8b688 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/grouparrayinsertat.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/grouparrayinsertat.md @@ -1,5 +1,5 @@ --- -toc_priority: 112 +sidebar_position: 112 --- # groupArrayInsertAt {#grouparrayinsertat} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/grouparraymovingavg.md b/docs/zh/sql-reference/aggregate-functions/reference/grouparraymovingavg.md index 8cdfc302b39..4ede3a2fffd 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/grouparraymovingavg.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/grouparraymovingavg.md @@ -1,5 +1,5 @@ --- -toc_priority: 114 +sidebar_position: 114 --- # groupArrayMovingAvg {#agg_function-grouparraymovingavg} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/grouparraymovingsum.md b/docs/zh/sql-reference/aggregate-functions/reference/grouparraymovingsum.md index d58d848e7ac..9cea9d98bd9 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/grouparraymovingsum.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/grouparraymovingsum.md @@ -1,5 +1,5 @@ --- -toc_priority: 113 +sidebar_position: 113 --- # groupArrayMovingSum {#agg_function-grouparraymovingsum} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/grouparraysample.md b/docs/zh/sql-reference/aggregate-functions/reference/grouparraysample.md index 529b63a2316..069fa867527 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/grouparraysample.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/grouparraysample.md @@ -1,5 +1,5 @@ --- -toc_priority: 114 +sidebar_position: 114 --- # groupArraySample {#grouparraysample} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/groupbitand.md b/docs/zh/sql-reference/aggregate-functions/reference/groupbitand.md index 1a8520b0f08..fb8a76d019d 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/groupbitand.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/groupbitand.md @@ -1,5 +1,5 @@ --- -toc_priority: 125 +sidebar_position: 125 --- # groupBitAnd {#groupbitand} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/groupbitmap.md b/docs/zh/sql-reference/aggregate-functions/reference/groupbitmap.md index 5e14c3a21ea..e835cdbc74d 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/groupbitmap.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/groupbitmap.md @@ -1,5 +1,5 @@ --- -toc_priority: 128 +sidebar_position: 128 --- # groupBitmap {#groupbitmap} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/groupbitmapand.md b/docs/zh/sql-reference/aggregate-functions/reference/groupbitmapand.md index bd5aa17c7ff..879b8454716 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/groupbitmapand.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/groupbitmapand.md @@ -1,5 +1,5 @@ --- -toc_priority: 129 +sidebar_position: 129 --- # groupBitmapAnd {#groupbitmapand} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/groupbitmapor.md b/docs/zh/sql-reference/aggregate-functions/reference/groupbitmapor.md index 52048083d17..d1e8e2a34fc 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/groupbitmapor.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/groupbitmapor.md @@ -1,5 +1,5 @@ --- -toc_priority: 130 +sidebar_position: 130 --- # groupBitmapOr {#groupbitmapor} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/groupbitmapxor.md b/docs/zh/sql-reference/aggregate-functions/reference/groupbitmapxor.md index d862e974418..6348cc56578 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/groupbitmapxor.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/groupbitmapxor.md @@ -1,5 +1,5 @@ --- -toc_priority: 131 +sidebar_position: 131 --- # groupBitmapXor {#groupbitmapxor} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/groupbitor.md b/docs/zh/sql-reference/aggregate-functions/reference/groupbitor.md index 175cc8d7286..41dd33d6dfc 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/groupbitor.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/groupbitor.md @@ -1,5 +1,5 @@ --- -toc_priority: 126 +sidebar_position: 126 --- # groupBitOr {#groupbitor} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/groupbitxor.md b/docs/zh/sql-reference/aggregate-functions/reference/groupbitxor.md index 26409f00032..463bec3a219 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/groupbitxor.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/groupbitxor.md @@ -1,5 +1,5 @@ --- -toc_priority: 127 +sidebar_position: 127 --- # groupBitXor {#groupbitxor} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/groupuniqarray.md b/docs/zh/sql-reference/aggregate-functions/reference/groupuniqarray.md index f371361bbf6..5c9a60eb870 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/groupuniqarray.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/groupuniqarray.md @@ -1,5 +1,5 @@ --- -toc_priority: 111 +sidebar_position: 111 --- # groupUniqArray {#groupuniqarray} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/index.md b/docs/zh/sql-reference/aggregate-functions/reference/index.md index 5070c79775e..0158b2cfe4c 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/index.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/index.md @@ -1,7 +1,6 @@ --- -toc_folder_title: Reference -toc_priority: 36 -toc_hidden: true +sidebar_label: Reference +sidebar_position: 36 --- # 聚合函数列表 {#aggregate-functions-reference} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/initializeAggregation.md b/docs/zh/sql-reference/aggregate-functions/reference/initializeAggregation.md index feecd7afb1f..9e9e68426e8 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/initializeAggregation.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/initializeAggregation.md @@ -1,5 +1,5 @@ --- -toc_priority: 150 +sidebar_position: 150 --- ## initializeAggregation {#initializeaggregation} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/kurtpop.md b/docs/zh/sql-reference/aggregate-functions/reference/kurtpop.md index d5b76e0c1e9..e5de630e44a 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/kurtpop.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/kurtpop.md @@ -1,5 +1,5 @@ --- -toc_priority: 153 +sidebar_position: 153 --- # kurtPop {#kurtpop} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/kurtsamp.md b/docs/zh/sql-reference/aggregate-functions/reference/kurtsamp.md index a38e14d0792..a5755f431af 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/kurtsamp.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/kurtsamp.md @@ -1,5 +1,5 @@ --- -toc_priority: 154 +sidebar_position: 154 --- # kurtSamp {#kurtsamp} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/mannwhitneyutest.md b/docs/zh/sql-reference/aggregate-functions/reference/mannwhitneyutest.md index 016a650b61b..966c8175889 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/mannwhitneyutest.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/mannwhitneyutest.md @@ -1,6 +1,6 @@ --- -toc_priority: 310 -toc_title: mannWhitneyUTest +sidebar_position: 310 +sidebar_label: mannWhitneyUTest --- # mannWhitneyUTest {#mannwhitneyutest} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/max.md b/docs/zh/sql-reference/aggregate-functions/reference/max.md index 8372d5c6f85..6ccbf75f690 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/max.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/max.md @@ -1,5 +1,5 @@ --- -toc_priority: 3 +sidebar_position: 3 --- # max {#agg_function-max} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/maxmap.md b/docs/zh/sql-reference/aggregate-functions/reference/maxmap.md index 4d91d1e75fd..3daaf98380e 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/maxmap.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/maxmap.md @@ -1,5 +1,5 @@ --- -toc_priority: 143 +sidebar_position: 143 --- # maxMap {#agg_functions-maxmap} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/min.md b/docs/zh/sql-reference/aggregate-functions/reference/min.md index 95a4099a1b7..6fd68848b02 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/min.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/min.md @@ -1,5 +1,5 @@ --- -toc_priority: 2 +sidebar_position: 2 --- ## min {#agg_function-min} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/minmap.md b/docs/zh/sql-reference/aggregate-functions/reference/minmap.md index 8e0022ac174..c2bad84ce04 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/minmap.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/minmap.md @@ -1,5 +1,5 @@ --- -toc_priority: 142 +sidebar_position: 142 --- # minMap {#agg_functions-minmap} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/quantile.md b/docs/zh/sql-reference/aggregate-functions/reference/quantile.md index 4519688dc7e..9b4c3062a19 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/quantile.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/quantile.md @@ -1,5 +1,5 @@ --- -toc_priority: 200 +sidebar_position: 200 --- # quantile {#quantile} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/quantiledeterministic.md b/docs/zh/sql-reference/aggregate-functions/reference/quantiledeterministic.md index c6c6b0a63de..9c6ec868a24 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/quantiledeterministic.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/quantiledeterministic.md @@ -1,5 +1,5 @@ --- -toc_priority: 206 +sidebar_position: 206 --- # quantileDeterministic {#quantiledeterministic} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/quantileexact.md b/docs/zh/sql-reference/aggregate-functions/reference/quantileexact.md index a8d39c35700..e872fa2cab6 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/quantileexact.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/quantileexact.md @@ -1,5 +1,5 @@ --- -toc_priority: 202 +sidebar_position: 202 --- # quantileExact {#quantileexact} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/quantileexactweighted.md b/docs/zh/sql-reference/aggregate-functions/reference/quantileexactweighted.md index 5211ca210f2..7980777f735 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/quantileexactweighted.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/quantileexactweighted.md @@ -1,5 +1,5 @@ --- -toc_priority: 203 +sidebar_position: 203 --- # quantileExactWeighted {#quantileexactweighted} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/quantiles.md b/docs/zh/sql-reference/aggregate-functions/reference/quantiles.md index 044c4d6d24e..575ff00887e 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/quantiles.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/quantiles.md @@ -1,5 +1,5 @@ --- -toc_priority: 201 +sidebar_position: 201 --- # quantiles {#quantiles} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/quantiletdigest.md b/docs/zh/sql-reference/aggregate-functions/reference/quantiletdigest.md index fb186da299e..1f3823d51a6 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/quantiletdigest.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/quantiletdigest.md @@ -1,5 +1,5 @@ --- -toc_priority: 207 +sidebar_position: 207 --- # quantileTDigest {#quantiletdigest} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/quantiletdigestweighted.md b/docs/zh/sql-reference/aggregate-functions/reference/quantiletdigestweighted.md index cf78c4c03bc..5e0313af220 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/quantiletdigestweighted.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/quantiletdigestweighted.md @@ -1,5 +1,5 @@ --- -toc_priority: 208 +sidebar_position: 208 --- # quantileTDigestWeighted {#quantiletdigestweighted} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/quantiletiming.md b/docs/zh/sql-reference/aggregate-functions/reference/quantiletiming.md index 72bd797279f..33bde24122a 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/quantiletiming.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/quantiletiming.md @@ -1,5 +1,5 @@ --- -toc_priority: 204 +sidebar_position: 204 --- # quantileTiming {#quantiletiming} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/quantiletimingweighted.md b/docs/zh/sql-reference/aggregate-functions/reference/quantiletimingweighted.md index 3ae1124c9c0..1f2d0315edd 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/quantiletimingweighted.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/quantiletimingweighted.md @@ -1,5 +1,5 @@ --- -toc_priority: 205 +sidebar_position: 205 --- # quantileTimingWeighted {#quantiletimingweighted} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/simplelinearregression.md b/docs/zh/sql-reference/aggregate-functions/reference/simplelinearregression.md index 56cb1539fc9..a193ef3ca73 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/simplelinearregression.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/simplelinearregression.md @@ -1,5 +1,5 @@ --- -toc_priority: 220 +sidebar_position: 220 --- # simpleLinearRegression {#simplelinearregression} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/skewpop.md b/docs/zh/sql-reference/aggregate-functions/reference/skewpop.md index 0771c18c2f3..dc0ec27fe4b 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/skewpop.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/skewpop.md @@ -1,5 +1,5 @@ --- -toc_priority: 150 +sidebar_position: 150 --- # skewPop {#skewpop} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/skewsamp.md b/docs/zh/sql-reference/aggregate-functions/reference/skewsamp.md index 902d06da8e7..177bd9cbdd4 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/skewsamp.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/skewsamp.md @@ -1,5 +1,5 @@ --- -toc_priority: 151 +sidebar_position: 151 --- # skewSamp {#skewsamp} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/stddevpop.md b/docs/zh/sql-reference/aggregate-functions/reference/stddevpop.md index 03478bae900..c7e91fe7434 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/stddevpop.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/stddevpop.md @@ -1,5 +1,5 @@ --- -toc_priority: 30 +sidebar_position: 30 --- # stddevPop {#stddevpop} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/stddevsamp.md b/docs/zh/sql-reference/aggregate-functions/reference/stddevsamp.md index d49b9d89fd9..75b8f23cf04 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/stddevsamp.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/stddevsamp.md @@ -1,5 +1,5 @@ --- -toc_priority: 31 +sidebar_position: 31 --- # stddevSamp {#stddevsamp} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/stochasticlinearregression.md b/docs/zh/sql-reference/aggregate-functions/reference/stochasticlinearregression.md index 43ebd6be575..7b36d652e76 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/stochasticlinearregression.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/stochasticlinearregression.md @@ -1,5 +1,5 @@ --- -toc_priority: 221 +sidebar_position: 221 --- # stochasticLinearRegression {#agg_functions-stochasticlinearregression} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/stochasticlogisticregression.md b/docs/zh/sql-reference/aggregate-functions/reference/stochasticlogisticregression.md index 5ed2fb74b89..1ab7fd28fc8 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/stochasticlogisticregression.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/stochasticlogisticregression.md @@ -1,5 +1,5 @@ --- -toc_priority: 222 +sidebar_position: 222 --- # stochasticLogisticRegression {#agg_functions-stochasticlogisticregression} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/studentttest.md b/docs/zh/sql-reference/aggregate-functions/reference/studentttest.md index 6d84e728330..6591db6f402 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/studentttest.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/studentttest.md @@ -1,6 +1,6 @@ --- -toc_priority: 300 -toc_title: studentTTest +sidebar_position: 300 +sidebar_label: studentTTest --- # studentTTest {#studentttest} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/sum.md b/docs/zh/sql-reference/aggregate-functions/reference/sum.md index 049c491d2a5..c6b94d2ef88 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/sum.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/sum.md @@ -1,5 +1,5 @@ --- -toc_priority: 4 +sidebar_position: 4 --- # sum {#agg_function-sum} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/summap.md b/docs/zh/sql-reference/aggregate-functions/reference/summap.md index 4a92a1ea1b0..a2bb381741b 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/summap.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/summap.md @@ -1,5 +1,5 @@ --- -toc_priority: 141 +sidebar_position: 141 --- # sumMap {#agg_functions-summap} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/sumwithoverflow.md b/docs/zh/sql-reference/aggregate-functions/reference/sumwithoverflow.md index 0fd5af519da..78e749a72df 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/sumwithoverflow.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/sumwithoverflow.md @@ -1,5 +1,5 @@ --- -toc_priority: 140 +sidebar_position: 140 --- # sumWithOverflow {#sumwithoverflowx} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/topk.md b/docs/zh/sql-reference/aggregate-functions/reference/topk.md index 69e006d1a6c..ab24d728781 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/topk.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/topk.md @@ -1,5 +1,5 @@ --- -toc_priority: 108 +sidebar_position: 108 --- # topK {#topk} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/topkweighted.md b/docs/zh/sql-reference/aggregate-functions/reference/topkweighted.md index 66b436f42bb..c3558274b90 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/topkweighted.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/topkweighted.md @@ -1,5 +1,5 @@ --- -toc_priority: 109 +sidebar_position: 109 --- # topKWeighted {#topkweighted} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/uniq.md b/docs/zh/sql-reference/aggregate-functions/reference/uniq.md index 2cf020d052b..66e6b1b3c0a 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/uniq.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/uniq.md @@ -1,5 +1,5 @@ --- -toc_priority: 190 +sidebar_position: 190 --- # uniq {#agg_function-uniq} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/uniqcombined.md b/docs/zh/sql-reference/aggregate-functions/reference/uniqcombined.md index 26a681ed5af..b1888466f95 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/uniqcombined.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/uniqcombined.md @@ -1,5 +1,5 @@ --- -toc_priority: 192 +sidebar_position: 192 --- # uniqCombined {#agg_function-uniqcombined} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/uniqcombined64.md b/docs/zh/sql-reference/aggregate-functions/reference/uniqcombined64.md index 3c07791450d..f8995ac2aa9 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/uniqcombined64.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/uniqcombined64.md @@ -1,5 +1,5 @@ --- -toc_priority: 193 +sidebar_position: 193 --- # uniqCombined64 {#agg_function-uniqcombined64} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/uniqexact.md b/docs/zh/sql-reference/aggregate-functions/reference/uniqexact.md index bdd60ca1d30..b7f1de67a54 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/uniqexact.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/uniqexact.md @@ -1,5 +1,5 @@ --- -toc_priority: 191 +sidebar_position: 191 --- # uniqExact {#agg_function-uniqexact} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/uniqhll12.md b/docs/zh/sql-reference/aggregate-functions/reference/uniqhll12.md index 7521065b954..b2cfe875bb5 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/uniqhll12.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/uniqhll12.md @@ -1,5 +1,5 @@ --- -toc_priority: 194 +sidebar_position: 194 --- # uniqHLL12 {#agg_function-uniqhll12} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/varpop.md b/docs/zh/sql-reference/aggregate-functions/reference/varpop.md index 502c1887e38..5258fddadbe 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/varpop.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/varpop.md @@ -1,5 +1,5 @@ --- -toc_priority: 32 +sidebar_position: 32 --- # varPop(x) {#varpopx} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/varsamp.md b/docs/zh/sql-reference/aggregate-functions/reference/varsamp.md index 73481c329e4..faa20a3997a 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/varsamp.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/varsamp.md @@ -1,5 +1,5 @@ --- -toc_priority: 33 +sidebar_position: 33 --- # varSamp {#varsamp} diff --git a/docs/zh/sql-reference/aggregate-functions/reference/welchttest.md b/docs/zh/sql-reference/aggregate-functions/reference/welchttest.md index 44b8e81d4d9..da3d248d586 100644 --- a/docs/zh/sql-reference/aggregate-functions/reference/welchttest.md +++ b/docs/zh/sql-reference/aggregate-functions/reference/welchttest.md @@ -1,6 +1,6 @@ --- -toc_priority: 301 -toc_title: welchTTest +sidebar_position: 301 +sidebar_label: welchTTest --- # welchTTest {#welchttest} diff --git a/docs/zh/sql-reference/ansi.md b/docs/zh/sql-reference/ansi.md index 5aad2cf52a8..06aed9e00f7 100644 --- a/docs/zh/sql-reference/ansi.md +++ b/docs/zh/sql-reference/ansi.md @@ -1,6 +1,6 @@ --- -toc_priority: 40 -toc_title: "ANSI\u517C\u5BB9\u6027" +sidebar_position: 40 +sidebar_label: "ANSI\u517C\u5BB9\u6027" --- # ClickHouse SQL方言 与ANSI SQL的兼容性{#ansi-sql-compatibility-of-clickhouse-sql-dialect} diff --git a/docs/zh/sql-reference/data-types/datetime64.md b/docs/zh/sql-reference/data-types/datetime64.md index 6361b77d245..571bcffd66e 100644 --- a/docs/zh/sql-reference/data-types/datetime64.md +++ b/docs/zh/sql-reference/data-types/datetime64.md @@ -1,8 +1,8 @@ --- machine_translated: true machine_translated_rev: 72537a2d527c63c07aa5d2361a8829f3895cf2bd -toc_priority: 49 -toc_title: DateTime64 +sidebar_position: 49 +sidebar_label: DateTime64 --- # Datetime64 {#data_type-datetime64} diff --git a/docs/zh/sql-reference/data-types/domains/index.md b/docs/zh/sql-reference/data-types/domains/index.md index 3bfb3707f53..8f0e6920fc9 100644 --- a/docs/zh/sql-reference/data-types/domains/index.md +++ b/docs/zh/sql-reference/data-types/domains/index.md @@ -1,7 +1,6 @@ --- -toc_folder_title: "\u57DF" -toc_title: "域" -toc_priority: 56 +sidebar_label: "域" +sidebar_position: 56 --- # 域 {#domains} diff --git a/docs/zh/sql-reference/data-types/index.md b/docs/zh/sql-reference/data-types/index.md index c7f5c63e357..6c2b2af58d7 100644 --- a/docs/zh/sql-reference/data-types/index.md +++ b/docs/zh/sql-reference/data-types/index.md @@ -1,7 +1,6 @@ --- -toc_folder_title: 数据类型 -toc_priority: 37 -toc_title: 简介 +sidebar_label: 数据类型 +sidebar_position: 37 --- # 数据类型 {#data_types} diff --git a/docs/zh/sql-reference/data-types/int-uint.md b/docs/zh/sql-reference/data-types/int-uint.md index e7fa27dcf70..ce7a2f23484 100644 --- a/docs/zh/sql-reference/data-types/int-uint.md +++ b/docs/zh/sql-reference/data-types/int-uint.md @@ -1,6 +1,6 @@ --- -toc_priority: 40 -toc_title: UInt8, UInt16, UInt32, UInt64, UInt128, UInt256, Int8, Int16, Int32, Int64, Int128, Int256 +sidebar_position: 40 +sidebar_label: UInt8, UInt16, UInt32, UInt64, UInt128, UInt256, Int8, Int16, Int32, Int64, Int128, Int256 --- # UInt8, UInt16, UInt32, UInt64, UInt128, UInt256, Int8, Int16, Int32, Int64, Int128, Int256 diff --git a/docs/zh/sql-reference/data-types/lowcardinality.md b/docs/zh/sql-reference/data-types/lowcardinality.md index b8a1ac3c907..8192f9147b0 100644 --- a/docs/zh/sql-reference/data-types/lowcardinality.md +++ b/docs/zh/sql-reference/data-types/lowcardinality.md @@ -1,6 +1,6 @@ --- -toc_priority: 51 -toc_title: 低基数类型 +sidebar_position: 51 +sidebar_label: 低基数类型 --- # 低基数类型 {#lowcardinality-data-type} diff --git a/docs/zh/sql-reference/data-types/special-data-types/interval.md b/docs/zh/sql-reference/data-types/special-data-types/interval.md index 7328988c68d..3eb3efda399 100644 --- a/docs/zh/sql-reference/data-types/special-data-types/interval.md +++ b/docs/zh/sql-reference/data-types/special-data-types/interval.md @@ -1,8 +1,8 @@ --- machine_translated: true machine_translated_rev: 72537a2d527c63c07aa5d2361a8829f3895cf2bd -toc_priority: 61 -toc_title: "\u95F4\u9694" +sidebar_position: 61 +sidebar_label: "\u95F4\u9694" --- # Interval类型 {#data-type-interval} diff --git a/docs/zh/sql-reference/data-types/uuid.md b/docs/zh/sql-reference/data-types/uuid.md index b454484003c..f16cfdfc6b3 100644 --- a/docs/zh/sql-reference/data-types/uuid.md +++ b/docs/zh/sql-reference/data-types/uuid.md @@ -1,6 +1,6 @@ --- -toc_priority: 46 -toc_title: UUID +sidebar_position: 46 +sidebar_label: UUID --- # UUID {#uuid-data-type} diff --git a/docs/zh/sql-reference/dictionaries/external-dictionaries/external-dicts-dict-hierarchical.md b/docs/zh/sql-reference/dictionaries/external-dictionaries/external-dicts-dict-hierarchical.md index 0089dbc1f1c..e844c42f4c9 100644 --- a/docs/zh/sql-reference/dictionaries/external-dictionaries/external-dicts-dict-hierarchical.md +++ b/docs/zh/sql-reference/dictionaries/external-dictionaries/external-dicts-dict-hierarchical.md @@ -1,8 +1,8 @@ --- machine_translated: true machine_translated_rev: 72537a2d527c63c07aa5d2361a8829f3895cf2bd -toc_priority: 45 -toc_title: "\u5206\u5C42\u5B57\u5178" +sidebar_position: 45 +sidebar_label: "\u5206\u5C42\u5B57\u5178" --- # 分层字典 {#hierarchical-dictionaries} diff --git a/docs/zh/sql-reference/dictionaries/external-dictionaries/external-dicts-dict-layout.md b/docs/zh/sql-reference/dictionaries/external-dictionaries/external-dicts-dict-layout.md index 083ed0318ba..86bfb9e69d0 100644 --- a/docs/zh/sql-reference/dictionaries/external-dictionaries/external-dicts-dict-layout.md +++ b/docs/zh/sql-reference/dictionaries/external-dictionaries/external-dicts-dict-layout.md @@ -1,8 +1,8 @@ --- machine_translated: true machine_translated_rev: 72537a2d527c63c07aa5d2361a8829f3895cf2bd -toc_priority: 41 -toc_title: "\u5728\u5185\u5B58\u4E2D\u5B58\u50A8\u5B57\u5178" +sidebar_position: 41 +sidebar_label: "\u5728\u5185\u5B58\u4E2D\u5B58\u50A8\u5B57\u5178" --- # 在内存中存储字典 {#dicts-external-dicts-dict-layout} diff --git a/docs/zh/sql-reference/dictionaries/external-dictionaries/external-dicts-dict-lifetime.md b/docs/zh/sql-reference/dictionaries/external-dictionaries/external-dicts-dict-lifetime.md index a0bdab9e9ab..eb37c9d9983 100644 --- a/docs/zh/sql-reference/dictionaries/external-dictionaries/external-dicts-dict-lifetime.md +++ b/docs/zh/sql-reference/dictionaries/external-dictionaries/external-dicts-dict-lifetime.md @@ -1,8 +1,8 @@ --- machine_translated: true machine_translated_rev: 72537a2d527c63c07aa5d2361a8829f3895cf2bd -toc_priority: 42 -toc_title: "\u5B57\u5178\u66F4\u65B0" +sidebar_position: 42 +sidebar_label: "\u5B57\u5178\u66F4\u65B0" --- # 字典更新 {#dictionary-updates} diff --git a/docs/zh/sql-reference/dictionaries/external-dictionaries/external-dicts-dict-sources.md b/docs/zh/sql-reference/dictionaries/external-dictionaries/external-dicts-dict-sources.md index c0a31535b08..4d8a0014f47 100644 --- a/docs/zh/sql-reference/dictionaries/external-dictionaries/external-dicts-dict-sources.md +++ b/docs/zh/sql-reference/dictionaries/external-dictionaries/external-dicts-dict-sources.md @@ -1,8 +1,8 @@ --- machine_translated: true machine_translated_rev: 72537a2d527c63c07aa5d2361a8829f3895cf2bd -toc_priority: 43 -toc_title: "\u5916\u90E8\u5B57\u5178\u7684\u6765\u6E90" +sidebar_position: 43 +sidebar_label: "\u5916\u90E8\u5B57\u5178\u7684\u6765\u6E90" --- # 外部字典的来源 {#dicts-external-dicts-dict-sources} @@ -212,7 +212,7 @@ ClickHouse接收来自ODBC-driver的引用符号,并将查询中的所有设 ### ODBC字典功能的已知漏洞 {#known-vulnerability-of-the-odbc-dictionary-functionality} -!!! attention "注意" + :::info "注意" 通过ODBC驱动程序连接参数连接到数据库时 `Servername` 可以取代。 在这种情况下,值 `USERNAME` 和 `PASSWORD` 从 `odbc.ini` 被发送到远程服务器,并且可能会受到损害。 **不安全使用示例** diff --git a/docs/zh/sql-reference/dictionaries/external-dictionaries/external-dicts-dict-structure.md b/docs/zh/sql-reference/dictionaries/external-dictionaries/external-dicts-dict-structure.md index 969e72aa0e2..fddd6667949 100644 --- a/docs/zh/sql-reference/dictionaries/external-dictionaries/external-dicts-dict-structure.md +++ b/docs/zh/sql-reference/dictionaries/external-dictionaries/external-dicts-dict-structure.md @@ -1,8 +1,8 @@ --- machine_translated: true machine_translated_rev: 72537a2d527c63c07aa5d2361a8829f3895cf2bd -toc_priority: 44 -toc_title: "\u5B57\u5178\u952E\u548C\u5B57\u6BB5" +sidebar_position: 44 +sidebar_label: "\u5B57\u5178\u952E\u548C\u5B57\u6BB5" --- # 字典键和字段 {#dictionary-key-and-fields} diff --git a/docs/zh/sql-reference/dictionaries/external-dictionaries/external-dicts-dict.md b/docs/zh/sql-reference/dictionaries/external-dictionaries/external-dicts-dict.md index ea4f9e192b7..f170705fbec 100644 --- a/docs/zh/sql-reference/dictionaries/external-dictionaries/external-dicts-dict.md +++ b/docs/zh/sql-reference/dictionaries/external-dictionaries/external-dicts-dict.md @@ -1,8 +1,8 @@ --- machine_translated: true machine_translated_rev: 72537a2d527c63c07aa5d2361a8829f3895cf2bd -toc_priority: 40 -toc_title: "\u914D\u7F6E\u5916\u90E8\u5B57\u5178" +sidebar_position: 40 +sidebar_label: "\u914D\u7F6E\u5916\u90E8\u5B57\u5178" --- # 配置外部字典 {#dicts-external-dicts-dict} diff --git a/docs/zh/sql-reference/dictionaries/external-dictionaries/external-dicts.md b/docs/zh/sql-reference/dictionaries/external-dictionaries/external-dicts.md index 036ba3d707f..5649e915f90 100644 --- a/docs/zh/sql-reference/dictionaries/external-dictionaries/external-dicts.md +++ b/docs/zh/sql-reference/dictionaries/external-dictionaries/external-dicts.md @@ -1,8 +1,8 @@ --- machine_translated: true machine_translated_rev: 72537a2d527c63c07aa5d2361a8829f3895cf2bd -toc_priority: 39 -toc_title: "\u6982\u8FF0" +sidebar_position: 39 +sidebar_label: "\u6982\u8FF0" --- # 外部字典 {#dicts-external-dicts} @@ -47,7 +47,7 @@ ClickHouse: [字典的DDL查询](../../statements/create.md#create-dictionary-query) 在服务器配置中不需要任何其他记录。 它们允许使用字典作为一流的实体,如表或视图。 -!!! attention "注意" + :::info "注意" 您可以通过在一个小字典中描述它来转换小字典的值 `SELECT` 查询(见 [变换](../../../sql-reference/functions/other-functions.md) 功能)。 此功能与外部字典无关。 ## 另请参阅 {#ext-dicts-see-also} diff --git a/docs/zh/sql-reference/dictionaries/external-dictionaries/index.md b/docs/zh/sql-reference/dictionaries/external-dictionaries/index.md deleted file mode 100644 index 8d8cc4f187d..00000000000 --- a/docs/zh/sql-reference/dictionaries/external-dictionaries/index.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -machine_translated: true -machine_translated_rev: 72537a2d527c63c07aa5d2361a8829f3895cf2bd -toc_folder_title: "\u5916\u90E8\u5B57\u5178" -toc_priority: 37 ---- - - diff --git a/docs/zh/sql-reference/dictionaries/index.md b/docs/zh/sql-reference/dictionaries/index.md index ea71a1047c3..f07d815ab9d 100644 --- a/docs/zh/sql-reference/dictionaries/index.md +++ b/docs/zh/sql-reference/dictionaries/index.md @@ -1,9 +1,6 @@ --- -machine_translated: true -machine_translated_rev: 72537a2d527c63c07aa5d2361a8829f3895cf2bd -toc_folder_title: "\u5B57\u5178" -toc_priority: 35 -toc_title: "\u5BFC\u8A00" +sidebar_position: 35 +sidebar_label: 字典 --- # 字典 {#dictionaries} diff --git a/docs/zh/sql-reference/dictionaries/internal-dicts.md b/docs/zh/sql-reference/dictionaries/internal-dicts.md index 5bd09b673eb..67d5f4a5130 100644 --- a/docs/zh/sql-reference/dictionaries/internal-dicts.md +++ b/docs/zh/sql-reference/dictionaries/internal-dicts.md @@ -1,8 +1,8 @@ --- machine_translated: true machine_translated_rev: 72537a2d527c63c07aa5d2361a8829f3895cf2bd -toc_priority: 39 -toc_title: "\u5185\u90E8\u5B57\u5178" +sidebar_position: 39 +sidebar_label: "\u5185\u90E8\u5B57\u5178" --- # 内部字典 {#internal_dicts} diff --git a/docs/zh/sql-reference/distributed-ddl.md b/docs/zh/sql-reference/distributed-ddl.md index e27b5d4d7d9..f72d1ee36e9 100644 --- a/docs/zh/sql-reference/distributed-ddl.md +++ b/docs/zh/sql-reference/distributed-ddl.md @@ -1,6 +1,6 @@ --- -toc_priority: 32 -toc_title: Distributed DDL +sidebar_position: 32 +sidebar_label: Distributed DDL --- # 分布式DDL查询(ON CLUSTER条件) {#distributed-ddl-queries-on-cluster-clause} diff --git a/docs/zh/sql-reference/functions/arithmetic-functions.md b/docs/zh/sql-reference/functions/arithmetic-functions.md index 36934211913..7af0df084f3 100644 --- a/docs/zh/sql-reference/functions/arithmetic-functions.md +++ b/docs/zh/sql-reference/functions/arithmetic-functions.md @@ -1,6 +1,6 @@ --- -toc_priority: 35 -toc_title: 算术函数 +sidebar_position: 35 +sidebar_label: 算术函数 --- # 算术函数 {#arithmetic-functions} diff --git a/docs/zh/sql-reference/functions/comparison-functions.md b/docs/zh/sql-reference/functions/comparison-functions.md index 77fed81f267..1db6a5256ab 100644 --- a/docs/zh/sql-reference/functions/comparison-functions.md +++ b/docs/zh/sql-reference/functions/comparison-functions.md @@ -1,6 +1,6 @@ --- -toc_priority: 36 -toc_title: 比较函数 +sidebar_position: 36 +sidebar_label: 比较函数 --- # 比较函数 {#bi-jiao-han-shu} @@ -22,14 +22,14 @@ toc_title: 比较函数 ## 等于,a=b和a==b 运算符 {#equals-a-b-and-a-b-operator} -## 不等于,a!=b和a<>b 运算符 {#notequals-a-operator-b-and-a-b} +## 不等于,a!=b和a<>b 运算符 {#notequals-a-operator-b-and-a-b} -## 少, < 运算符 {#less-operator} +## 少, < 运算符 {#less-operator} -## 大于, > 运算符 {#greater-operator} +## 大于, > 运算符 {#greater-operator} -## 小于等于, <= 运算符 {#lessorequals-operator} +## 小于等于, <= 运算符 {#lessorequals-operator} -## 大于等于, >= 运算符 {#greaterorequals-operator} +## 大于等于, >= 运算符 {#greaterorequals-operator} [来源文章](https://clickhouse.com/docs/en/query_language/functions/comparison_functions/) diff --git a/docs/zh/sql-reference/functions/in-functions.md b/docs/zh/sql-reference/functions/in-functions.md index bb33658cb68..a689c6fe5ed 100644 --- a/docs/zh/sql-reference/functions/in-functions.md +++ b/docs/zh/sql-reference/functions/in-functions.md @@ -1,6 +1,6 @@ --- -toc_priority: 60 -toc_title: IN 运算符 +sidebar_position: 60 +sidebar_label: IN 运算符 --- # IN运算符相关函数 {#inyun-suan-fu-xiang-guan-han-shu} diff --git a/docs/zh/sql-reference/functions/index.md b/docs/zh/sql-reference/functions/index.md index c5974e55582..a65e7d5bc44 100644 --- a/docs/zh/sql-reference/functions/index.md +++ b/docs/zh/sql-reference/functions/index.md @@ -1,7 +1,6 @@ --- -toc_folder_title: 函数 -toc_priority: 32 -toc_title: 简介 +sidebar_label: 函数 +sidebar_position: 32 --- # 函数 {#han-shu} diff --git a/docs/zh/sql-reference/functions/introspection.md b/docs/zh/sql-reference/functions/introspection.md index c0bbc10131d..001363744f6 100644 --- a/docs/zh/sql-reference/functions/introspection.md +++ b/docs/zh/sql-reference/functions/introspection.md @@ -1,8 +1,8 @@ --- machine_translated: true machine_translated_rev: 72537a2d527c63c07aa5d2361a8829f3895cf2bd -toc_priority: 65 -toc_title: "\u81EA\u7701" +sidebar_position: 65 +sidebar_label: "\u81EA\u7701" --- # 内省功能 {#introspection-functions} diff --git a/docs/zh/sql-reference/functions/logical-functions.md b/docs/zh/sql-reference/functions/logical-functions.md index ad72161f3da..ecd52c2f2ad 100644 --- a/docs/zh/sql-reference/functions/logical-functions.md +++ b/docs/zh/sql-reference/functions/logical-functions.md @@ -1,6 +1,6 @@ --- -toc_priority: 37 -toc_title: 逻辑函数 +sidebar_position: 37 +sidebar_label: 逻辑函数 --- # 逻辑函数 {#luo-ji-han-shu} diff --git a/docs/zh/sql-reference/functions/string-search-functions.md b/docs/zh/sql-reference/functions/string-search-functions.md index 113c34788f7..4475dae270b 100644 --- a/docs/zh/sql-reference/functions/string-search-functions.md +++ b/docs/zh/sql-reference/functions/string-search-functions.md @@ -58,7 +58,7 @@ 与`match`相同,但如果所有正则表达式都不匹配,则返回0;如果任何模式匹配,则返回1。它使用[超扫描](https://github.com/intel/hyperscan)库。对于在字符串中搜索子字符串的模式,最好使用«multisearchany»,因为它更高效。 !!! note "注意" - 任何`haystack`字符串的长度必须小于232\字节,否则抛出异常。这种限制是因为hyperscan API而产生的。 + 任何`haystack`字符串的长度必须小于232\字节,否则抛出异常。这种限制是因为hyperscan API而产生的。 ## multiMatchAnyIndex(大海捞针,\[模式1,模式2, …, patternn\]) {#multimatchanyindexhaystack-pattern1-pattern2-patternn} diff --git a/docs/zh/sql-reference/functions/time-window-functions.md b/docs/zh/sql-reference/functions/time-window-functions.md index ab28a47ad55..75a24ceb5fd 100644 --- a/docs/zh/sql-reference/functions/time-window-functions.md +++ b/docs/zh/sql-reference/functions/time-window-functions.md @@ -1,6 +1,6 @@ --- -toc_priority: 68 -toc_title: 时间窗口 +sidebar_position: 68 +sidebar_label: 时间窗口 --- # 时间窗口函数 {#time-window-han-shu} diff --git a/docs/zh/sql-reference/functions/type-conversion-functions.md b/docs/zh/sql-reference/functions/type-conversion-functions.md index 09fe30a4400..70d63d6231d 100644 --- a/docs/zh/sql-reference/functions/type-conversion-functions.md +++ b/docs/zh/sql-reference/functions/type-conversion-functions.md @@ -1,6 +1,6 @@ --- -toc_priority: 38 -toc_title: 类型转换函数 +sidebar_position: 38 +sidebar_label: 类型转换函数 --- # 类型转换函数 {#lei-xing-zhuan-huan-han-shu} diff --git a/docs/zh/sql-reference/index.md b/docs/zh/sql-reference/index.md index 5e75d670c1d..e324dd932aa 100644 --- a/docs/zh/sql-reference/index.md +++ b/docs/zh/sql-reference/index.md @@ -1,8 +1,7 @@ --- -toc_folder_title: SQL参考 +sidebar_label: SQL参考 toc_hidden: true -toc_priority: 28 -toc_title: hidden +sidebar_position: 28 --- # SQL参考 {#sql-reference} diff --git a/docs/zh/sql-reference/operators/in.md b/docs/zh/sql-reference/operators/in.md index d76971b0487..9f97fb71234 100644 --- a/docs/zh/sql-reference/operators/in.md +++ b/docs/zh/sql-reference/operators/in.md @@ -106,7 +106,7 @@ FROM t_null 带子查询的IN-s有两个选项(类似于连接):normal `IN` / `JOIN` 和 `GLOBAL IN` / `GLOBAL JOIN`. 它们在分布式查询处理的运行方式上有所不同。 -!!! attention "注意" + :::info "注意" 请记住,下面描述的算法可能会有不同的工作方式取决于 [设置](../../operations/settings/settings.md) `distributed_product_mode` 设置。 当使用常规IN时,查询被发送到远程服务器,并且它们中的每个服务器都在运行子查询 `IN` 或 `JOIN` 条款 diff --git a/docs/zh/sql-reference/statements/alter.md b/docs/zh/sql-reference/statements/alter.md index db4db707832..da3d4c7023a 100644 --- a/docs/zh/sql-reference/statements/alter.md +++ b/docs/zh/sql-reference/statements/alter.md @@ -1,6 +1,6 @@ --- -toc_priority: 36 -toc_title: ALTER +sidebar_position: 36 +sidebar_label: ALTER --- ## ALTER {#query_language_queries_alter} diff --git a/docs/zh/sql-reference/statements/alter/constraint.md b/docs/zh/sql-reference/statements/alter/constraint.md index 9a71f0b055c..38f2437f9c7 100644 --- a/docs/zh/sql-reference/statements/alter/constraint.md +++ b/docs/zh/sql-reference/statements/alter/constraint.md @@ -1,6 +1,6 @@ --- -toc_priority: 43 -toc_title: 约束 +sidebar_position: 43 +sidebar_label: 约束 --- # 操作约束 {#manipulations-with-constraints} diff --git a/docs/zh/sql-reference/statements/alter/delete.md b/docs/zh/sql-reference/statements/alter/delete.md index 390c7becb14..ac7d8fefe08 100644 --- a/docs/zh/sql-reference/statements/alter/delete.md +++ b/docs/zh/sql-reference/statements/alter/delete.md @@ -1,6 +1,6 @@ --- -toc_priority: 39 -toc_title: DELETE +sidebar_position: 39 +sidebar_label: DELETE --- # ALTER TABLE … DELETE 语句 {#alter-mutations} diff --git a/docs/zh/sql-reference/statements/alter/index.md b/docs/zh/sql-reference/statements/alter/index.md index f7d983cab4e..7ab73d6516b 100644 --- a/docs/zh/sql-reference/statements/alter/index.md +++ b/docs/zh/sql-reference/statements/alter/index.md @@ -1,6 +1,6 @@ --- -toc_priority: 35 -toc_title: ALTER +sidebar_position: 35 +sidebar_label: ALTER --- ## ALTER {#query_language_queries_alter} diff --git a/docs/zh/sql-reference/statements/alter/index/index.md b/docs/zh/sql-reference/statements/alter/index/index.md index 16f48e55b2f..b2eb30b50fc 100644 --- a/docs/zh/sql-reference/statements/alter/index/index.md +++ b/docs/zh/sql-reference/statements/alter/index/index.md @@ -1,7 +1,7 @@ --- toc_hidden_folder: true -toc_priority: 42 -toc_title: INDEX +sidebar_position: 42 +sidebar_label: INDEX --- # 操作数据跳过索引 {#manipulations-with-data-skipping-indices} diff --git a/docs/zh/sql-reference/statements/alter/order-by.md b/docs/zh/sql-reference/statements/alter/order-by.md index 112571b55f6..7f0f68cf0b4 100644 --- a/docs/zh/sql-reference/statements/alter/order-by.md +++ b/docs/zh/sql-reference/statements/alter/order-by.md @@ -1,6 +1,6 @@ --- -toc_priority: 41 -toc_title: ORDER BY +sidebar_position: 41 +sidebar_label: ORDER BY --- # 操作排序键表达式 {#manipulations-with-key-expressions} diff --git a/docs/zh/sql-reference/statements/alter/role.md b/docs/zh/sql-reference/statements/alter/role.md index 3f5c5daf7b8..ef35cb8c051 100644 --- a/docs/zh/sql-reference/statements/alter/role.md +++ b/docs/zh/sql-reference/statements/alter/role.md @@ -1,6 +1,6 @@ --- -toc_priority: 46 -toc_title: 角色 +sidebar_position: 46 +sidebar_label: 角色 --- ## 操作角色 {#alter-role-statement} diff --git a/docs/zh/sql-reference/statements/alter/row-policy.md b/docs/zh/sql-reference/statements/alter/row-policy.md index 0cdba239b84..931e49ed6bd 100644 --- a/docs/zh/sql-reference/statements/alter/row-policy.md +++ b/docs/zh/sql-reference/statements/alter/row-policy.md @@ -1,6 +1,6 @@ --- -toc_priority: 47 -toc_title: 行策略 +sidebar_position: 47 +sidebar_label: 行策略 --- # 操作行策略 {#alter-row-policy-statement} diff --git a/docs/zh/sql-reference/statements/alter/settings-profile.md b/docs/zh/sql-reference/statements/alter/settings-profile.md index 045b2461e8c..8dd0d8ca08f 100644 --- a/docs/zh/sql-reference/statements/alter/settings-profile.md +++ b/docs/zh/sql-reference/statements/alter/settings-profile.md @@ -1,6 +1,6 @@ --- -toc_priority: 48 -toc_title: 配置文件设置 +sidebar_position: 48 +sidebar_label: 配置文件设置 --- ## 更改配置文件设置 {#alter-settings-profile-statement} diff --git a/docs/zh/sql-reference/statements/alter/ttl.md b/docs/zh/sql-reference/statements/alter/ttl.md index ca011a2a12f..624d8dd36dc 100644 --- a/docs/zh/sql-reference/statements/alter/ttl.md +++ b/docs/zh/sql-reference/statements/alter/ttl.md @@ -1,6 +1,6 @@ --- -toc_priority: 44 -toc_title: TTL +sidebar_position: 44 +sidebar_label: TTL --- # 表的 TTL 操作 {#manipulations-with-table-ttl} diff --git a/docs/zh/sql-reference/statements/alter/update.md b/docs/zh/sql-reference/statements/alter/update.md index 08eccdf1aa2..4b71d670fd1 100644 --- a/docs/zh/sql-reference/statements/alter/update.md +++ b/docs/zh/sql-reference/statements/alter/update.md @@ -1,6 +1,6 @@ --- -toc_priority: 40 -toc_title: UPDATE +sidebar_position: 40 +sidebar_label: UPDATE --- # ALTER TABLE … UPDATE 语句 {#alter-table-update-statements} diff --git a/docs/zh/sql-reference/statements/alter/view.md b/docs/zh/sql-reference/statements/alter/view.md index b8319ea35a6..2489f09c4a4 100644 --- a/docs/zh/sql-reference/statements/alter/view.md +++ b/docs/zh/sql-reference/statements/alter/view.md @@ -1,6 +1,6 @@ --- -toc_priority: 50 -toc_title: VIEW +sidebar_position: 50 +sidebar_label: VIEW --- # ALTER TABLE … MODIFY QUERY 语句 {#alter-modify-query} diff --git a/docs/zh/sql-reference/statements/create/database.md b/docs/zh/sql-reference/statements/create/database.md index 569f4837e6f..35bbe6f92be 100644 --- a/docs/zh/sql-reference/statements/create/database.md +++ b/docs/zh/sql-reference/statements/create/database.md @@ -1,6 +1,6 @@ --- -toc_priority: 35 -toc_title: DATABASE +sidebar_position: 35 +sidebar_label: DATABASE --- # CREATE DATABASE {#query-language-create-database} diff --git a/docs/zh/sql-reference/statements/create/function.md b/docs/zh/sql-reference/statements/create/function.md index d57810ac91b..a5511d8e5c3 100644 --- a/docs/zh/sql-reference/statements/create/function.md +++ b/docs/zh/sql-reference/statements/create/function.md @@ -1,6 +1,6 @@ --- -toc_priority: 38 -toc_title: FUNCTION +sidebar_position: 38 +sidebar_label: FUNCTION --- # CREATE FUNCTION {#create-function} diff --git a/docs/zh/sql-reference/statements/create/index.md b/docs/zh/sql-reference/statements/create/index.md index d5d3e814023..017a4c5cabd 100644 --- a/docs/zh/sql-reference/statements/create/index.md +++ b/docs/zh/sql-reference/statements/create/index.md @@ -1,7 +1,6 @@ --- -toc_folder_title: CREATE -toc_priority: 34 -toc_title: Overview +sidebar_label: CREATE +sidebar_position: 34 --- # CREATE语法 {#create-queries} diff --git a/docs/zh/sql-reference/statements/create/view.md b/docs/zh/sql-reference/statements/create/view.md index 506f1717b03..9964d6ade3b 100644 --- a/docs/zh/sql-reference/statements/create/view.md +++ b/docs/zh/sql-reference/statements/create/view.md @@ -1,6 +1,6 @@ --- -toc_priority: 37 -toc_title: VIEW +sidebar_position: 37 +sidebar_label: VIEW --- # CREATE VIEW {#create-view} diff --git a/docs/zh/sql-reference/statements/drop.md b/docs/zh/sql-reference/statements/drop.md index c78cb450e19..7f00875fc41 100644 --- a/docs/zh/sql-reference/statements/drop.md +++ b/docs/zh/sql-reference/statements/drop.md @@ -1,6 +1,6 @@ --- -toc_priority: 44 -toc_title: DROP +sidebar_position: 44 +sidebar_label: DROP --- # DROP语法 {#drop} diff --git a/docs/zh/sql-reference/statements/exchange.md b/docs/zh/sql-reference/statements/exchange.md index b19e05e896f..e4cf74ac821 100644 --- a/docs/zh/sql-reference/statements/exchange.md +++ b/docs/zh/sql-reference/statements/exchange.md @@ -1,6 +1,6 @@ --- -toc_priority: 49 -toc_title: EXCHANGE +sidebar_position: 49 +sidebar_label: EXCHANGE --- # EXCHANGE语法 {#exchange} diff --git a/docs/zh/sql-reference/statements/exists.md b/docs/zh/sql-reference/statements/exists.md index 69b26fea918..59da3986fc5 100644 --- a/docs/zh/sql-reference/statements/exists.md +++ b/docs/zh/sql-reference/statements/exists.md @@ -1,6 +1,6 @@ --- -toc_priority: 45 -toc_title: EXISTS +sidebar_position: 45 +sidebar_label: EXISTS --- # EXISTS 语句 {#exists-statement} diff --git a/docs/zh/sql-reference/statements/grant.md b/docs/zh/sql-reference/statements/grant.md index c55eff4126d..af644717736 100644 --- a/docs/zh/sql-reference/statements/grant.md +++ b/docs/zh/sql-reference/statements/grant.md @@ -1,6 +1,6 @@ --- -toc_priority: 39 -toc_title: 授权操作 +sidebar_position: 39 +sidebar_label: 授权操作 --- # 授权 {#grant} diff --git a/docs/zh/sql-reference/statements/index.md b/docs/zh/sql-reference/statements/index.md index 385639fde0b..237c80d9fc3 100644 --- a/docs/zh/sql-reference/statements/index.md +++ b/docs/zh/sql-reference/statements/index.md @@ -1,7 +1,6 @@ --- -toc_folder_title: SQL 语句 -toc_hidden: true -toc_priority: 31 +sidebar_label: SQL 语句 +sidebar_position: 31 --- # ClickHouse SQL 语句 {#clickhouse-sql-statements} diff --git a/docs/zh/sql-reference/statements/misc.md b/docs/zh/sql-reference/statements/misc.md index 8e7fc4c6bc3..fce621fa8f7 100644 --- a/docs/zh/sql-reference/statements/misc.md +++ b/docs/zh/sql-reference/statements/misc.md @@ -1,8 +1,8 @@ --- machine_translated: true machine_translated_rev: 72537a2d527c63c07aa5d2361a8829f3895cf2bd -toc_priority: 41 -toc_title: "\u5176\u4ED6" +sidebar_position: 41 +sidebar_label: "\u5176\u4ED6" --- # 杂项查询 {#miscellaneous-queries} diff --git a/docs/zh/sql-reference/statements/rename.md b/docs/zh/sql-reference/statements/rename.md index f921e4a41f3..00c692abefd 100644 --- a/docs/zh/sql-reference/statements/rename.md +++ b/docs/zh/sql-reference/statements/rename.md @@ -1,6 +1,6 @@ --- -toc_priority: 48 -toc_title: RENAME +sidebar_position: 48 +sidebar_label: RENAME --- # RENAME语法 {#misc_operations-rename} diff --git a/docs/zh/sql-reference/statements/revoke.md b/docs/zh/sql-reference/statements/revoke.md index 16315ae96d4..c769912cddd 100644 --- a/docs/zh/sql-reference/statements/revoke.md +++ b/docs/zh/sql-reference/statements/revoke.md @@ -1,6 +1,6 @@ --- -toc_priority: 40 -toc_title: REVOKE +sidebar_position: 40 +sidebar_label: REVOKE --- # 权限取消 {#revoke} diff --git a/docs/zh/sql-reference/statements/select/array-join.md b/docs/zh/sql-reference/statements/select/array-join.md index c5237bb7ea6..6da73024e1c 100644 --- a/docs/zh/sql-reference/statements/select/array-join.md +++ b/docs/zh/sql-reference/statements/select/array-join.md @@ -1,5 +1,5 @@ --- -toc_title: ARRAY JOIN +sidebar_label: ARRAY JOIN --- # ARRAY JOIN子句 {#select-array-join-clause} diff --git a/docs/zh/sql-reference/statements/select/distinct.md b/docs/zh/sql-reference/statements/select/distinct.md index 270bbc1e996..7a788e9351a 100644 --- a/docs/zh/sql-reference/statements/select/distinct.md +++ b/docs/zh/sql-reference/statements/select/distinct.md @@ -1,5 +1,5 @@ --- -toc_title: DISTINCT +sidebar_label: DISTINCT --- # DISTINCT子句 {#select-distinct} diff --git a/docs/zh/sql-reference/statements/select/format.md b/docs/zh/sql-reference/statements/select/format.md index 2346499c67b..a17b8284a31 100644 --- a/docs/zh/sql-reference/statements/select/format.md +++ b/docs/zh/sql-reference/statements/select/format.md @@ -1,5 +1,5 @@ --- -toc_title: FORMAT +sidebar_label: FORMAT --- # 格式化子句 {#format-clause} diff --git a/docs/zh/sql-reference/statements/select/from.md b/docs/zh/sql-reference/statements/select/from.md index c47e74e5e1f..cc5dfd8ae01 100644 --- a/docs/zh/sql-reference/statements/select/from.md +++ b/docs/zh/sql-reference/statements/select/from.md @@ -1,5 +1,5 @@ --- -toc_title: FROM +sidebar_label: FROM --- # FROM子句 {#select-from} diff --git a/docs/zh/sql-reference/statements/select/group-by.md b/docs/zh/sql-reference/statements/select/group-by.md index f4ead11036b..9ad30b192ce 100644 --- a/docs/zh/sql-reference/statements/select/group-by.md +++ b/docs/zh/sql-reference/statements/select/group-by.md @@ -1,5 +1,5 @@ --- -toc_title: GROUP BY +sidebar_label: GROUP BY --- # GROUP BY子句 {#select-group-by-clause} diff --git a/docs/zh/sql-reference/statements/select/having.md b/docs/zh/sql-reference/statements/select/having.md index de9b5b45637..9a37a2ca78c 100644 --- a/docs/zh/sql-reference/statements/select/having.md +++ b/docs/zh/sql-reference/statements/select/having.md @@ -1,5 +1,5 @@ --- -toc_title: HAVING +sidebar_label: HAVING --- # HAVING 子句 {#having-clause} diff --git a/docs/zh/sql-reference/statements/select/index.md b/docs/zh/sql-reference/statements/select/index.md index 6c8cc361844..648398e1c3c 100644 --- a/docs/zh/sql-reference/statements/select/index.md +++ b/docs/zh/sql-reference/statements/select/index.md @@ -1,8 +1,6 @@ --- -title: SELECT Query -toc_folder_title: SELECT -toc_priority: 33 -toc_title: 综述 +sidebar_label: SELECT +sidebar_position: 33 --- # 选择查询 {#select-queries-syntax} diff --git a/docs/zh/sql-reference/statements/select/into-outfile.md b/docs/zh/sql-reference/statements/select/into-outfile.md index 06ba2329d71..673038015ba 100644 --- a/docs/zh/sql-reference/statements/select/into-outfile.md +++ b/docs/zh/sql-reference/statements/select/into-outfile.md @@ -1,5 +1,5 @@ --- -toc_title: INTO OUTFILE +sidebar_label: INTO OUTFILE --- # INTO OUTFILE 子句 {#into-outfile-clause} diff --git a/docs/zh/sql-reference/statements/select/join.md b/docs/zh/sql-reference/statements/select/join.md index 911ff15f576..7760284368f 100644 --- a/docs/zh/sql-reference/statements/select/join.md +++ b/docs/zh/sql-reference/statements/select/join.md @@ -1,5 +1,5 @@ --- -toc_title: JOIN +sidebar_label: JOIN --- # JOIN子句 {#select-join} diff --git a/docs/zh/sql-reference/statements/select/limit-by.md b/docs/zh/sql-reference/statements/select/limit-by.md index 9b93bb9cf21..35d9b3cc721 100644 --- a/docs/zh/sql-reference/statements/select/limit-by.md +++ b/docs/zh/sql-reference/statements/select/limit-by.md @@ -1,5 +1,5 @@ --- -toc_title: LIMIT BY +sidebar_label: LIMIT BY --- # LIMIT BY子句 {#limit-by-clause} diff --git a/docs/zh/sql-reference/statements/select/limit.md b/docs/zh/sql-reference/statements/select/limit.md index d6d827552b0..4b877663ffc 100644 --- a/docs/zh/sql-reference/statements/select/limit.md +++ b/docs/zh/sql-reference/statements/select/limit.md @@ -1,5 +1,5 @@ --- -toc_title: LIMIT +sidebar_label: LIMIT --- # LIMIT {#limit-clause} diff --git a/docs/zh/sql-reference/statements/select/order-by.md b/docs/zh/sql-reference/statements/select/order-by.md index a67911bdf27..f94be2f9cbd 100644 --- a/docs/zh/sql-reference/statements/select/order-by.md +++ b/docs/zh/sql-reference/statements/select/order-by.md @@ -1,5 +1,5 @@ --- -toc_title: ORDER BY +sidebar_label: ORDER BY --- # ORDER BY {#select-order-by} diff --git a/docs/zh/sql-reference/statements/select/prewhere.md b/docs/zh/sql-reference/statements/select/prewhere.md index e2b2d911577..a2eb3acd83f 100644 --- a/docs/zh/sql-reference/statements/select/prewhere.md +++ b/docs/zh/sql-reference/statements/select/prewhere.md @@ -1,5 +1,5 @@ --- -toc_title: PREWHERE +sidebar_label: PREWHERE --- # PREWHERE 子句 {#prewhere-clause} diff --git a/docs/zh/sql-reference/statements/select/sample.md b/docs/zh/sql-reference/statements/select/sample.md index a2cff2200c3..574d076c7f2 100644 --- a/docs/zh/sql-reference/statements/select/sample.md +++ b/docs/zh/sql-reference/statements/select/sample.md @@ -1,5 +1,5 @@ --- -toc_title: SAMPLE +sidebar_label: SAMPLE --- # 采样子句 {#select-sample-clause} @@ -10,7 +10,7 @@ toc_title: SAMPLE 近似查询处理在以下情况下可能很有用: -- 当你有严格的时间需求(如\<100ms),但你不能通过额外的硬件资源来满足他们的成本。 +- 当你有严格的时间需求(如\<100ms),但你不能通过额外的硬件资源来满足他们的成本。 - 当您的原始数据不准确时,所以近似不会明显降低质量。 - 业务需求的目标是近似结果(为了成本效益,或者向高级用户推销确切结果)。 @@ -27,9 +27,9 @@ toc_title: SAMPLE | SAMPLE Clause Syntax | 产品描述 | |----------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| `SAMPLE k` | 这里 `k` 是从0到1的数字。
查询执行于 `k` 数据的分数。 例如, `SAMPLE 0.1` 对10%的数据运行查询。 [Read more](#select-sample-k) | -| `SAMPLE n` | 这里 `n` 是足够大的整数。
该查询是在至少一个样本上执行的 `n` 行(但不超过这个)。 例如, `SAMPLE 10000000` 在至少10,000,000行上运行查询。 [Read more](#select-sample-n) | -| `SAMPLE k OFFSET m` | 这里 `k` 和 `m` 是从0到1的数字。
查询在以下示例上执行 `k` 数据的分数。 用于采样的数据由以下偏移 `m` 分数。 [Read more](#select-sample-offset) | +| `SAMPLE k` | 这里 `k` 是从0到1的数字。
查询执行于 `k` 数据的分数。 例如, `SAMPLE 0.1` 对10%的数据运行查询。 [Read more](#select-sample-k) | +| `SAMPLE n` | 这里 `n` 是足够大的整数。
该查询是在至少一个样本上执行的 `n` 行(但不超过这个)。 例如, `SAMPLE 10000000` 在至少10,000,000行上运行查询。 [Read more](#select-sample-n) | +| `SAMPLE k OFFSET m` | 这里 `k` 和 `m` 是从0到1的数字。
查询在以下示例上执行 `k` 数据的分数。 用于采样的数据由以下偏移 `m` 分数。 [Read more](#select-sample-offset) | ## SAMPLE K {#select-sample-k} diff --git a/docs/zh/sql-reference/statements/select/union.md b/docs/zh/sql-reference/statements/select/union.md index 1d88f9674c8..932f53c3cbf 100644 --- a/docs/zh/sql-reference/statements/select/union.md +++ b/docs/zh/sql-reference/statements/select/union.md @@ -1,5 +1,5 @@ --- -toc_title: UNION ALL +sidebar_label: UNION ALL --- # UNION ALL子句 {#union-clause} diff --git a/docs/zh/sql-reference/statements/select/where.md b/docs/zh/sql-reference/statements/select/where.md index 2393cf4083f..f2cdce243b4 100644 --- a/docs/zh/sql-reference/statements/select/where.md +++ b/docs/zh/sql-reference/statements/select/where.md @@ -1,5 +1,5 @@ --- -toc_title: WHERE +sidebar_label: WHERE --- # WHERE {#select-where} diff --git a/docs/zh/sql-reference/statements/select/with.md b/docs/zh/sql-reference/statements/select/with.md index bfa43f1c61a..dae39233b61 100644 --- a/docs/zh/sql-reference/statements/select/with.md +++ b/docs/zh/sql-reference/statements/select/with.md @@ -1,5 +1,5 @@ --- -toc_title: WITH +sidebar_label: WITH --- # WITH子句 {#with-clause} diff --git a/docs/zh/sql-reference/statements/set.md b/docs/zh/sql-reference/statements/set.md index a9888a7080e..a614fdd9e44 100644 --- a/docs/zh/sql-reference/statements/set.md +++ b/docs/zh/sql-reference/statements/set.md @@ -1,6 +1,6 @@ --- -toc_priority: 50 -toc_title: SET +sidebar_position: 50 +sidebar_label: SET --- # SET 语句 {#query-set} diff --git a/docs/zh/sql-reference/statements/show.md b/docs/zh/sql-reference/statements/show.md index 0dfd5943a0d..d7a42c504ed 100644 --- a/docs/zh/sql-reference/statements/show.md +++ b/docs/zh/sql-reference/statements/show.md @@ -1,6 +1,6 @@ --- -toc_priority: 38 -toc_title: SHOW +sidebar_position: 38 +sidebar_label: SHOW --- # SHOW 查询 {#show-queries} diff --git a/docs/zh/sql-reference/statements/system.md b/docs/zh/sql-reference/statements/system.md index 9b21ba340a9..a1d4e163973 100644 --- a/docs/zh/sql-reference/statements/system.md +++ b/docs/zh/sql-reference/statements/system.md @@ -1,6 +1,6 @@ --- -toc_priority: 37 -toc_title: SYSTEM +sidebar_position: 37 +sidebar_label: SYSTEM --- # SYSTEM Queries {#query-language-system} diff --git a/docs/zh/sql-reference/statements/truncate.md b/docs/zh/sql-reference/statements/truncate.md index 7d7bf7e47e2..9ec6eff5b61 100644 --- a/docs/zh/sql-reference/statements/truncate.md +++ b/docs/zh/sql-reference/statements/truncate.md @@ -1,6 +1,6 @@ --- -toc_priority: 52 -toc_title: TRUNCATE +sidebar_position: 52 +sidebar_label: TRUNCATE --- # TRUNCATE 语句 {#truncate-statement} diff --git a/docs/zh/sql-reference/statements/use.md b/docs/zh/sql-reference/statements/use.md index 41cba58bb9d..c8708109575 100644 --- a/docs/zh/sql-reference/statements/use.md +++ b/docs/zh/sql-reference/statements/use.md @@ -1,6 +1,6 @@ --- -toc_priority: 53 -toc_title: USE +sidebar_position: 53 +sidebar_label: USE --- # USE 语句 {#use} diff --git a/docs/zh/sql-reference/statements/watch.md b/docs/zh/sql-reference/statements/watch.md index 5f05eda811f..ad5da29fd20 100644 --- a/docs/zh/sql-reference/statements/watch.md +++ b/docs/zh/sql-reference/statements/watch.md @@ -1,4 +1,4 @@ --- -toc_priority: 53 -toc_title: WATCH +sidebar_position: 53 +sidebar_label: WATCH --- diff --git a/docs/zh/sql-reference/syntax.md b/docs/zh/sql-reference/syntax.md index 7721699e699..478bea11e00 100644 --- a/docs/zh/sql-reference/syntax.md +++ b/docs/zh/sql-reference/syntax.md @@ -1,6 +1,6 @@ --- -toc_priority: 31 -toc_title: SQL语法 +sidebar_position: 31 +sidebar_label: SQL语法 --- diff --git a/docs/zh/sql-reference/table-functions/file.md b/docs/zh/sql-reference/table-functions/file.md index dd2b83d292a..b83d4509df9 100644 --- a/docs/zh/sql-reference/table-functions/file.md +++ b/docs/zh/sql-reference/table-functions/file.md @@ -1,6 +1,6 @@ --- -toc_priority: 37 -toc_title: file +sidebar_position: 37 +sidebar_label: file --- # file {#file} diff --git a/docs/zh/sql-reference/table-functions/generate.md b/docs/zh/sql-reference/table-functions/generate.md index b00d1ecf1ab..7df197379ba 100644 --- a/docs/zh/sql-reference/table-functions/generate.md +++ b/docs/zh/sql-reference/table-functions/generate.md @@ -1,6 +1,6 @@ --- -toc_priority: 47 -toc_title: generateRandom +sidebar_position: 47 +sidebar_label: generateRandom --- # generateRandom {#generaterandom} diff --git a/docs/zh/sql-reference/table-functions/hdfs.md b/docs/zh/sql-reference/table-functions/hdfs.md index 5fc5c0b4c62..c0a58a6410b 100644 --- a/docs/zh/sql-reference/table-functions/hdfs.md +++ b/docs/zh/sql-reference/table-functions/hdfs.md @@ -1,6 +1,6 @@ --- -toc_priority: 45 -toc_title: hdfs +sidebar_position: 45 +sidebar_label: hdfs --- # hdfs {#hdfs} diff --git a/docs/zh/sql-reference/table-functions/index.md b/docs/zh/sql-reference/table-functions/index.md index a04c20c875d..6ad65f7099a 100644 --- a/docs/zh/sql-reference/table-functions/index.md +++ b/docs/zh/sql-reference/table-functions/index.md @@ -1,7 +1,6 @@ --- -toc_folder_title: 表函数 -toc_priority: 34 -toc_title: "\u5BFC\u8A00" +sidebar_label: 表函数 +sidebar_position: 34 --- # 表函数 {#table-functions} diff --git a/docs/zh/sql-reference/table-functions/input.md b/docs/zh/sql-reference/table-functions/input.md index bfee05eb898..cf8f8eeed7e 100644 --- a/docs/zh/sql-reference/table-functions/input.md +++ b/docs/zh/sql-reference/table-functions/input.md @@ -1,6 +1,6 @@ --- -toc_priority: 46 -toc_title: input +sidebar_position: 46 +sidebar_label: input --- # input {#input} diff --git a/docs/zh/sql-reference/table-functions/jdbc.md b/docs/zh/sql-reference/table-functions/jdbc.md index 91f494932bd..302f01e4c75 100644 --- a/docs/zh/sql-reference/table-functions/jdbc.md +++ b/docs/zh/sql-reference/table-functions/jdbc.md @@ -1,6 +1,6 @@ --- -toc_priority: 43 -toc_title: jdbc +sidebar_position: 43 +sidebar_label: jdbc --- # jdbc {#table-function-jdbc} diff --git a/docs/zh/sql-reference/table-functions/merge.md b/docs/zh/sql-reference/table-functions/merge.md index e994c77f1b0..316c5bc0f18 100644 --- a/docs/zh/sql-reference/table-functions/merge.md +++ b/docs/zh/sql-reference/table-functions/merge.md @@ -1,6 +1,6 @@ --- -toc_priority: 38 -toc_title: merge +sidebar_position: 38 +sidebar_label: merge --- # merge {#merge} diff --git a/docs/zh/sql-reference/table-functions/numbers.md b/docs/zh/sql-reference/table-functions/numbers.md index 279d2e730ba..26dd6f08163 100644 --- a/docs/zh/sql-reference/table-functions/numbers.md +++ b/docs/zh/sql-reference/table-functions/numbers.md @@ -1,6 +1,6 @@ --- -toc_priority: 39 -toc_title: numbers +sidebar_position: 39 +sidebar_label: numbers --- # numbers {#numbers} diff --git a/docs/zh/sql-reference/table-functions/odbc.md b/docs/zh/sql-reference/table-functions/odbc.md index 5a2cd8bb5f0..aa06d6c03a6 100644 --- a/docs/zh/sql-reference/table-functions/odbc.md +++ b/docs/zh/sql-reference/table-functions/odbc.md @@ -1,6 +1,6 @@ --- -toc_priority: 44 -toc_title: odbc +sidebar_position: 44 +sidebar_label: odbc --- # odbc {#table-functions-odbc} diff --git a/docs/zh/sql-reference/table-functions/postgresql.md b/docs/zh/sql-reference/table-functions/postgresql.md index ec31432b96a..6c9db9798c0 100644 --- a/docs/zh/sql-reference/table-functions/postgresql.md +++ b/docs/zh/sql-reference/table-functions/postgresql.md @@ -1,6 +1,6 @@ --- -toc_priority: 42 -toc_title: postgresql +sidebar_position: 42 +sidebar_label: postgresql --- # postgresql {#postgresql} diff --git a/docs/zh/sql-reference/table-functions/s3.md b/docs/zh/sql-reference/table-functions/s3.md index 06a6719b445..651dcfcb599 100644 --- a/docs/zh/sql-reference/table-functions/s3.md +++ b/docs/zh/sql-reference/table-functions/s3.md @@ -1,6 +1,6 @@ --- -toc_priority: 45 -toc_title: s3 +sidebar_position: 45 +sidebar_label: s3 --- # S3 表函数 {#s3-table-function} diff --git a/docs/zh/sql-reference/table-functions/url.md b/docs/zh/sql-reference/table-functions/url.md index fe3e3ac25e9..cebeea609a3 100644 --- a/docs/zh/sql-reference/table-functions/url.md +++ b/docs/zh/sql-reference/table-functions/url.md @@ -1,6 +1,6 @@ --- -toc_priority: 41 -toc_title: url +sidebar_position: 41 +sidebar_label: url --- # url {#url} diff --git a/docs/zh/whats-new/changelog/2020.md b/docs/zh/whats-new/changelog/2020.md index 6890f0f551e..3a0427f05d3 100644 --- a/docs/zh/whats-new/changelog/2020.md +++ b/docs/zh/whats-new/changelog/2020.md @@ -206,7 +206,7 @@ * 使用组合子 `Distinct` 修复聚合函数中可能的崩溃,同时使用两级聚合. 修复 [#17682](https://github.com/ClickHouse/ClickHouse/issues/17682). [#18365](https://github.com/ClickHouse/ClickHouse/pull/18365) ([Anton Popov](https://github.com/CurtizJ)). * 如果只能从 `table` 中选择任意一列, 现在可以执行 `SELECT count() FROM table` . 此 PR 修复 [#10639](https://github.com/ClickHouse/ClickHouse/issues/10639). [#18233](https://github.com/ClickHouse/ClickHouse/pull/18233) ([Vitaly Baranov](https://github.com/vitlibar)). * `SELECT JOIN` 现在需要对每个连接表的 `SELECT` 权限. 此 PR 修复 [#17654](https://github.com/ClickHouse/ClickHouse/issues/17654). [#18232](https://github.com/ClickHouse/ClickHouse/pull/18232) ([Vitaly Baranov](https://github.com/vitlibar)). -* 修复在读取退避的情况下从 `MergeTree*` 读取时可能不完整的查询结果 (消息` MergeTreeReadPool: Will lower number of threads in logs). 在 [#16423](https://github.com/ClickHouse/ClickHouse/issues/16423) 中引入. 修复 [#18137](https://github.com/ClickHouse/ClickHouse/issues/18137). [#18216](https://github.com/ClickHouse/ClickHouse/pull/18216) ([Nikolai Kochetov](https://github.com/KochetovNicolai)). +* 修复在读取退避的情况下从 `MergeTree*` 读取时可能不完整的查询结果 (消息`Debug: MergeTreeReadPool: Will lower number of threads in logs). 在 [#16423](https://github.com/ClickHouse/ClickHouse/issues/16423) 中引入. 修复 [#18137](https://github.com/ClickHouse/ClickHouse/issues/18137). [#18216](https://github.com/ClickHouse/ClickHouse/pull/18216) ([Nikolai Kochetov](https://github.com/KochetovNicolai)). * 修复查询 `MODIFY COLUMN ... REMOVE TTL` 并没有真正删除列 TTL 时的错误. [#18130](https://github.com/ClickHouse/ClickHouse/pull/18130) ([alesapin](https://github.com/alesapin)). * 使用谓词优化器修复不确定函数. 这修复了 [#17244](https://github.com/ClickHouse/ClickHouse/issues/17244). [#17273](https://github.com/ClickHouse/ClickHouse/pull/17273) ([Winter Zhang](https://github.com/zhang2014)). * Mutation 可能会在 `MOVE` 或 `REPLACE PARTITION` 之后等待一些不存在的部分, 或者在极少数情况下, 在 `DETACH` 或 `DROP PARTITION` 之后挂起. 是固定的. [#15537](https://github.com/ClickHouse/ClickHouse/pull/15537) ([tavplubix](https://github.com/tavplubix)). diff --git a/docs/zh/whats-new/changelog/_category_.yml b/docs/zh/whats-new/changelog/_category_.yml new file mode 100644 index 00000000000..cabe3c8bbac --- /dev/null +++ b/docs/zh/whats-new/changelog/_category_.yml @@ -0,0 +1,7 @@ +position: 100 +label: '变更日志' +collapsible: true +collapsed: true +link: + type: generated-index + title: 变更日志 \ No newline at end of file diff --git a/docs/zh/whats-new/changelog/index.md b/docs/zh/whats-new/changelog/index.md deleted file mode 120000 index 5461b93ec8c..00000000000 --- a/docs/zh/whats-new/changelog/index.md +++ /dev/null @@ -1 +0,0 @@ -../../../en/whats-new/changelog/index.md \ No newline at end of file diff --git a/docs/zh/whats-new/changelog/index.md b/docs/zh/whats-new/changelog/index.md new file mode 100644 index 00000000000..0472d58bc7c --- /dev/null +++ b/docs/zh/whats-new/changelog/index.md @@ -0,0 +1,6 @@ +--- +sidebar_position: 90 +sidebar_label: Changelog +--- + +{% include "content/changelog.md" %} diff --git a/docs/zh/whats-new/index.md b/docs/zh/whats-new/index.md index 1c28a538eed..1e3d33d6407 100644 --- a/docs/zh/whats-new/index.md +++ b/docs/zh/whats-new/index.md @@ -1,6 +1,6 @@ --- -toc_folder_title: ClickHouse事迹 -toc_priority: 82 +sidebar_label: ClickHouse事迹 +sidebar_position: 82 --- # ClickHouse变更及改动? {#whats-new-in-clickhouse} diff --git a/docs/zh/whats-new/roadmap.md b/docs/zh/whats-new/roadmap.md index 8e8873c8ee4..55a696f9dab 100644 --- a/docs/zh/whats-new/roadmap.md +++ b/docs/zh/whats-new/roadmap.md @@ -1,6 +1,6 @@ --- -toc_priority: 74 -toc_title: Roadmap +sidebar_position: 74 +sidebar_label: Roadmap --- # Roadmap {#roadmap} diff --git a/docs/zh/whats-new/security-changelog.md b/docs/zh/whats-new/security-changelog.md index 24f352c6028..e65112a823a 100644 --- a/docs/zh/whats-new/security-changelog.md +++ b/docs/zh/whats-new/security-changelog.md @@ -1,6 +1,6 @@ --- -toc_priority: 76 -toc_title: 安全更新日志 +sidebar_position: 76 +sidebar_label: 安全更新日志 --- ## 修复于ClickHouse Release 19.14.3.3, 2019-09-10 {#fixed-in-clickhouse-release-19-14-3-3-2019-09-10}