This is an automated email from the ASF dual-hosted git repository. kassiez pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/doris-website.git
The following commit(s) were added to refs/heads/master by this push: new 9dec317f157 [fix] Fix docs versioning (#2106) 9dec317f157 is described below commit 9dec317f157d51fc54d3b91c79150cfcfbbd5ee8 Author: KassieZ <139741991+kass...@users.noreply.github.com> AuthorDate: Fri Feb 21 20:21:28 2025 +0800 [fix] Fix docs versioning (#2106) ## Versions - [x] dev - [x] 3.0 - [x] 2.1 - [ ] 2.0 ## Languages - [ ] Chinese - [ ] English ## Docs Checklist - [ ] Checked by AI - [ ] Test Cases Built --- .../storage-management/SHOW-CACHE-HOTSPOT.md | 35 ++++++++++++--------- .../storage-management/SHOW-CACHE-HOTSPOT.md | 8 ++--- .../{variables => variable}/SET-VARIABLE.md | 0 .../{variables => variable}/SHOW-VARIABLES.md | 0 .../{variables => variable}/UNSET-VARIABLE.md | 0 .../session/variable/SET-VARIABLE.md | 2 +- .../storage-management/SHOW-CACHE-HOTSPOT.md | 15 ++++----- .../{variables => variable}/SET-VARIABLE.md | 0 .../{variables => variable}/SHOW-VARIABLES.md | 0 .../{variables => variable}/UNSET-VARIABLE.md | 0 .../storage-management/SHOW-CACHE-HOTSPOT.md | 36 ++++++++++++---------- 11 files changed, 53 insertions(+), 43 deletions(-) diff --git a/docs/sql-manual/sql-statements/cluster-management/storage-management/SHOW-CACHE-HOTSPOT.md b/docs/sql-manual/sql-statements/cluster-management/storage-management/SHOW-CACHE-HOTSPOT.md index 6aaec72c942..a6972a3805a 100644 --- a/docs/sql-manual/sql-statements/cluster-management/storage-management/SHOW-CACHE-HOTSPOT.md +++ b/docs/sql-manual/sql-statements/cluster-management/storage-management/SHOW-CACHE-HOTSPOT.md @@ -24,42 +24,47 @@ specific language governing permissions and limitations under the License. --> + ## Description -This statement is used to display the hotspot information of file cache. +This statement is used to display the hotspot information of the file cache. + +:::info Note + +Before version 3.0.4, you could use the `SHOW CACHE HOTSPOT` statement to query cache hotspot information statistics. Starting from version 3.0.4, the use of the `SHOW CACHE HOTSPOT` statement for cache hotspot information statistics is no longer supported. Please directly access the system table `__internal_schema.cloud_cache_hotspot` for queries. For detailed usage, refer to [MANAGING FILE CACHE](../../../../compute-storage-decoupled/file-cache). -:::info note -Before version 3.0.4, the `SHOW CACHE HOTSPOT` statement can be used to query cache hotness information statistics. Starting from version 3.0.4, the `SHOW CACHE HOTSPOT` statement is no longer supported for querying cache hotness information statistics. Please directly query the system table `__internal_schema.cloud_cache_hotspot`. For specific usage, please refer to [MANAGING FILE CACHE](../../../../compute-storage-decoupled/file-cache). ::: ## Syntax + ```sql SHOW CACHE HOTSPOT '/[<compute_group_name>/<db.table_name>]'; ``` ## Parameters -1. compute_group_name : Name of compute group. -2. table_name : Name of table. +| Parameter Name | Description | +| ---------------------- | ------------------------------ | +| `<compute_group_name>` | The name of the compute group. | +| `<table_name>` | The name of the table. | -## Example +## Examples -1. View the table creation statement of a table +1. Display the cache hotspot information for the entire system. ```sql SHOW CACHE HOTSPOT '/'; ``` -## Related Commands - - - [WARMUP CACHE](../Database-Administration-Statements/WARM-UP-COMPUTE-GROUP.md) +2. Display the cache hotspot information for a specific compute group named `my_compute_group`. -## References - - - [MANAGING FILE CACHE](../../../../compute-storage-decoupled/file-cache) -## Keywords + ```sql + SHOW CACHE HOTSPOT '/my_compute_group/'; + ``` - SHOW, CACHE, HOTSPOT +## References +- [MANAGING FILE CACHE](../../../../compute-storage-decoupled/file-cache) +- [WARMUP CACHE](../../../sql-manual/sql-statements/cluster-management/storage-management/WARM-UP) \ No newline at end of file diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-statements/cluster-management/storage-management/SHOW-CACHE-HOTSPOT.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-statements/cluster-management/storage-management/SHOW-CACHE-HOTSPOT.md index 12c92b6135f..27dbe2d4549 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-statements/cluster-management/storage-management/SHOW-CACHE-HOTSPOT.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-statements/cluster-management/storage-management/SHOW-CACHE-HOTSPOT.md @@ -29,9 +29,9 @@ under the License. 该语句用于显示文件缓存的热点信息。 :::info 备注 -在3.0.4版本之前可以使用`SHOW CACHE HOTSPOT`语句进行缓存热度信息统计查询, -从3.0.4版本开始不再支持使用 `SHOW CACHE HOTSPOT` 语句进行缓存热度信息统计查询, -请直接访问系统表 `__internal_schema.cloud_cache_hotspot` 进行查询. +在 3.0.4 版本之前可以使用`SHOW CACHE HOTSPOT`语句进行缓存热度信息统计查询, +从 3.0.4 版本开始不再支持使用 `SHOW CACHE HOTSPOT` 语句进行缓存热度信息统计查询, +请直接访问系统表 `__internal_schema.cloud_cache_hotspot` 进行查询。 具体用法请参考 [MANAGING FILE CACHE](../../../../compute-storage-decoupled/file-cache) ::: @@ -64,5 +64,5 @@ SHOW CACHE HOTSPOT '/my_compute_group/'; ## 参考 - [MANAGING FILE CACHE](../../../../compute-storage-decoupled/file-cache) - - [WARMUP CACHE](../Database-Administration-Statements/WARM-UP-COMPUTE-GROUP.md) + - [WARMUP CACHE](../../../sql-manual/sql-statements/cluster-management/storage-management/WARM-UP) diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-statements/session/variables/SET-VARIABLE.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-statements/session/variable/SET-VARIABLE.md similarity index 100% rename from i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-statements/session/variables/SET-VARIABLE.md rename to i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-statements/session/variable/SET-VARIABLE.md diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-statements/session/variables/SHOW-VARIABLES.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-statements/session/variable/SHOW-VARIABLES.md similarity index 100% rename from i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-statements/session/variables/SHOW-VARIABLES.md rename to i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-statements/session/variable/SHOW-VARIABLES.md diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-statements/session/variables/UNSET-VARIABLE.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-statements/session/variable/UNSET-VARIABLE.md similarity index 100% rename from i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-statements/session/variables/UNSET-VARIABLE.md rename to i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-statements/session/variable/UNSET-VARIABLE.md diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/sql-manual/sql-statements/session/variable/SET-VARIABLE.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/sql-manual/sql-statements/session/variable/SET-VARIABLE.md index 558fb7729d2..cf126d82eda 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/sql-manual/sql-statements/session/variable/SET-VARIABLE.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/sql-manual/sql-statements/session/variable/SET-VARIABLE.md @@ -46,7 +46,7 @@ variable_assignment > 指定用户层级的变量,比如:@@your_variable_name 等以`@@`开头的变量名称 **2. `<system_var_name>`** -> 指定系统层级的变量,比如exec_mem_limit 等 +> 指定系统层级的变量,比如 exec_mem_limit 等 ## 可选参数 **1. `<effective_scope>`** diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/sql-manual/sql-statements/cluster-management/storage-management/SHOW-CACHE-HOTSPOT.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/sql-manual/sql-statements/cluster-management/storage-management/SHOW-CACHE-HOTSPOT.md index 3f37527d385..27dbe2d4549 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/sql-manual/sql-statements/cluster-management/storage-management/SHOW-CACHE-HOTSPOT.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/sql-manual/sql-statements/cluster-management/storage-management/SHOW-CACHE-HOTSPOT.md @@ -29,9 +29,9 @@ under the License. 该语句用于显示文件缓存的热点信息。 :::info 备注 -在3.0.4版本之前可以使用`SHOW CACHE HOTSPOT`语句进行缓存热度信息统计查询, -从3.0.4版本开始不再支持使用 `SHOW CACHE HOTSPOT` 语句进行缓存热度信息统计查询, -请直接访问系统表 `__internal_schema.cloud_cache_hotspot` 进行查询. +在 3.0.4 版本之前可以使用`SHOW CACHE HOTSPOT`语句进行缓存热度信息统计查询, +从 3.0.4 版本开始不再支持使用 `SHOW CACHE HOTSPOT` 语句进行缓存热度信息统计查询, +请直接访问系统表 `__internal_schema.cloud_cache_hotspot` 进行查询。 具体用法请参考 [MANAGING FILE CACHE](../../../../compute-storage-decoupled/file-cache) ::: @@ -41,12 +41,12 @@ under the License. SHOW CACHE HOTSPOT '/[<compute_group_name>/<db.table_name>]'; ``` -## 可选参数 +## 参数 | 参数名称 | 描述 | |---------------------------|--------------------------------------------------------------| -| <`compute_group_name`> | 计算组的名称。 | -| <`table_name`> | 表的名称。 | +| <compute_group_name> | 计算组的名称。 | +| <table_name> | 表的名称。 | ## 示例 1. 显示整个系统的缓存热点信息 @@ -64,4 +64,5 @@ SHOW CACHE HOTSPOT '/my_compute_group/'; ## 参考 - [MANAGING FILE CACHE](../../../../compute-storage-decoupled/file-cache) - - [WARMUP CACHE](../Database-Administration-Statements/WARM-UP-COMPUTE-GROUP.md) \ No newline at end of file + - [WARMUP CACHE](../../../sql-manual/sql-statements/cluster-management/storage-management/WARM-UP) + diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/sql-manual/sql-statements/session/variables/SET-VARIABLE.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/sql-manual/sql-statements/session/variable/SET-VARIABLE.md similarity index 100% rename from i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/sql-manual/sql-statements/session/variables/SET-VARIABLE.md rename to i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/sql-manual/sql-statements/session/variable/SET-VARIABLE.md diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/sql-manual/sql-statements/session/variables/SHOW-VARIABLES.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/sql-manual/sql-statements/session/variable/SHOW-VARIABLES.md similarity index 100% rename from i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/sql-manual/sql-statements/session/variables/SHOW-VARIABLES.md rename to i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/sql-manual/sql-statements/session/variable/SHOW-VARIABLES.md diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/sql-manual/sql-statements/session/variables/UNSET-VARIABLE.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/sql-manual/sql-statements/session/variable/UNSET-VARIABLE.md similarity index 100% rename from i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/sql-manual/sql-statements/session/variables/UNSET-VARIABLE.md rename to i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/sql-manual/sql-statements/session/variable/UNSET-VARIABLE.md diff --git a/versioned_docs/version-3.0/sql-manual/sql-statements/cluster-management/storage-management/SHOW-CACHE-HOTSPOT.md b/versioned_docs/version-3.0/sql-manual/sql-statements/cluster-management/storage-management/SHOW-CACHE-HOTSPOT.md index 5e6919c8fec..a6972a3805a 100644 --- a/versioned_docs/version-3.0/sql-manual/sql-statements/cluster-management/storage-management/SHOW-CACHE-HOTSPOT.md +++ b/versioned_docs/version-3.0/sql-manual/sql-statements/cluster-management/storage-management/SHOW-CACHE-HOTSPOT.md @@ -24,43 +24,47 @@ specific language governing permissions and limitations under the License. --> + ## Description -This statement is used to display the hotspot information of file cache. +This statement is used to display the hotspot information of the file cache. + +:::info Note +Before version 3.0.4, you could use the `SHOW CACHE HOTSPOT` statement to query cache hotspot information statistics. Starting from version 3.0.4, the use of the `SHOW CACHE HOTSPOT` statement for cache hotspot information statistics is no longer supported. Please directly access the system table `__internal_schema.cloud_cache_hotspot` for queries. For detailed usage, refer to [MANAGING FILE CACHE](../../../../compute-storage-decoupled/file-cache). -:::info note -Before version 3.0.4, the `SHOW CACHE HOTSPOT` statement can be used to query cache hotness information statistics. Starting from version 3.0.4, the `SHOW CACHE HOTSPOT` statement is no longer supported for querying cache hotness information statistics. Please directly query the system table `__internal_schema.cloud_cache_hotspot`. For specific usage, please refer to [MANAGING FILE CACHE](../../../../compute-storage-decoupled/file-cache). ::: ## Syntax + ```sql - SHOW CACHE HOTSPOT '/[<compute_group_name>/<table_name>]'; + SHOW CACHE HOTSPOT '/[<compute_group_name>/<db.table_name>]'; ``` ## Parameters -1. compute_group_name : Name of compute group. -2. table_name : Name of table. +| Parameter Name | Description | +| ---------------------- | ------------------------------ | +| `<compute_group_name>` | The name of the compute group. | +| `<table_name>` | The name of the table. | -## Example +## Examples -1. View the table creation statement of a table +1. Display the cache hotspot information for the entire system. ```sql SHOW CACHE HOTSPOT '/'; ``` -## Related Commands +2. Display the cache hotspot information for a specific compute group named `my_compute_group`. - - [WARMUP CACHE](../Database-Administration-Statements/WARM-UP-COMPUTE-GROUP.md) - -## References - - [MANAGING FILE CACHE](../../../../compute-storage-decoupled/file-cache) - -## Keywords + ```sql + SHOW CACHE HOTSPOT '/my_compute_group/'; + ``` - SHOW, CACHE, HOTSPOT +## References +- [MANAGING FILE CACHE](../../../../compute-storage-decoupled/file-cache) +- [WARMUP CACHE](../../../sql-manual/sql-statements/cluster-management/storage-management/WARM-UP) \ No newline at end of file --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org