This is an automated email from the ASF dual-hosted git repository.
luzhijing 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 e6aabc4fe3c2 [docs](fix) Fix dev/2.1/2.0/1.2 sidebar for get profile
(#469)
e6aabc4fe3c2 is described below
commit e6aabc4fe3c2538337978894bc364833c72c8b49
Author: KassieZ <[email protected]>
AuthorDate: Tue Mar 26 10:51:29 2024 +0800
[docs](fix) Fix dev/2.1/2.0/1.2 sidebar for get profile (#469)
---
i18n/zh-CN/docusaurus-plugin-content-docs/current.json | 6 +++++-
.../query-acceleration/slow-query-analysis/get-profile.md | 7 +++----
i18n/zh-CN/docusaurus-plugin-content-docs/version-1.2.json | 6 +++++-
.../query-acceleration/slow-query-analysis/get-profile.md | 8 ++++----
.../version-2.0/query/query-analysis/get-profile.md | 7 +++----
i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1.json | 6 +++++-
.../query-acceleration/slow-query-analysis/get-profile.md | 7 +++----
sidebars.json | 7 +++++++
.../query-acceleration/slow-query-analysis/get-profile.md | 4 ++--
.../version-2.0/query/query-analysis/get-profile.md | 4 ++--
.../query-acceleration/slow-query-analysis/get-profile.md | 4 ++--
versioned_sidebars/version-1.2-sidebars.json | 11 +++++++++--
versioned_sidebars/version-2.0-sidebars.json | 5 +++--
versioned_sidebars/version-2.1-sidebars.json | 7 +++++++
14 files changed, 60 insertions(+), 29 deletions(-)
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current.json
b/i18n/zh-CN/docusaurus-plugin-content-docs/current.json
index c1e9b5381f4b..f1e0ae5ee476 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/current.json
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current.json
@@ -75,6 +75,10 @@
"message": "Doris 表分区",
"description": "The label for category Doris Partition in sidebar docs"
},
+ "sidebar.docs.category.Slow Query Analysis": {
+ "message": "分析慢查询",
+ "description": "The label for category Join Optimization in sidebar docs"
+ },
"sidebar.docs.category.Join Optimization": {
"message": "Join 优化",
"description": "The label for category Join Optimization in sidebar docs"
@@ -327,4 +331,4 @@
"message": "版本发布",
"description": "The label for category Release notes in sidebar docs"
}
-}
+}
\ No newline at end of file
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/query-acceleration/slow-query-analysis/get-profile.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/query-acceleration/slow-query-analysis/get-profile.md
index 253ffd7e289a..0347e681cd8d 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/query-acceleration/slow-query-analysis/get-profile.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/query-acceleration/slow-query-analysis/get-profile.md
@@ -22,7 +22,6 @@ specific language governing permissions and limitations
under the License.
-->
-## 获取 Profile
## 背景
@@ -84,14 +83,14 @@ under the License.
3. 获取 Profile
- 集群在多个 FE 的情况下,需要访问执行对应 Query 的 FE HTTP 界面( HTTP://FE_IP:HTTP_PORT )的
QueryProfile 页面,点击对应 Profile ID 查看对应 Profile,还可以在 Profile 界面下载对应 Profile。
+ 集群在多个 FE 的情况下,需要访问执行对应 Query 的 FE HTTP 界面 ( HTTP://FE_IP:HTTP_PORT ) 的
QueryProfile 页面,点击对应 Profile ID 查看对应 Profile,还可以在 Profile 界面下载对应 Profile。


## Doris 集群访问外网受到限制
-集群不能正常访问外网时,需要通过 API 的方式拿到对应 Profile
(HTTP://FE_IP:HTTP_PORT/API/Profile?Query_ID=),IP 和端口是指执行对应 Query 的 FE 对应 IP
和端口。此时获取对应 Query 的 Profile 步骤前两步和正常访问外网时是一样的,第三步获取 Profile 时会有差别。
+集群不能正常访问外网时,需要通过 API 的方式拿到对应 Profile
(HTTP://FE_IP:HTTP_PORT/API/Profile?Query_ID=),IP 和端口是指执行对应 Query 的 FE 对应 IP
和端口。此时获取对应 Query 的 Profile 步骤前两步和正常访问外网时是一样的,第三步获取 Profile 时会有差别。
**获取 Porfile**
@@ -120,7 +119,7 @@ under the License.
100 1211 0 1211 0 0 168k 0 --:--:-- --:--:-- --:--:--
168k
```
-- 返回的 Profile 换行符为 \ \n 分析起来很不方便, 可以在文本编辑工具中将 \ \n 替换为 \n
+- 返回的 Profile 换行符为 \ \n 分析起来很不方便,可以在文本编辑工具中将 \ \n 替换为 \n
```
[user@VM-10-6-centos profile]$ cat test.profile
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.2.json
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.2.json
index b95cef5e3236..4ef0cb1394bb 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.2.json
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.2.json
@@ -71,6 +71,10 @@
"message": "Join 优化",
"description": "The label for category Join Optimization in sidebar docs"
},
+ "sidebar.docs.category.Slow Query Analysis": {
+ "message": "分析慢查询",
+ "description": "The label for category Join Optimization in sidebar docs"
+ },
"sidebar.docs.category.Data Cache": {
"message": "数据缓存",
"description": "The label for category Data Cache in sidebar docs"
@@ -307,4 +311,4 @@
"message": "外部表",
"description": "The label for category Lakehouse.External Table in sidebar
docs"
}
-}
+}
\ No newline at end of file
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.2/query-acceleration/slow-query-analysis/get-profile.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.2/query-acceleration/slow-query-analysis/get-profile.md
index 253ffd7e289a..cb980072389e 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.2/query-acceleration/slow-query-analysis/get-profile.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-1.2/query-acceleration/slow-query-analysis/get-profile.md
@@ -22,7 +22,7 @@ specific language governing permissions and limitations
under the License.
-->
-## 获取 Profile
+
## 背景
@@ -84,14 +84,14 @@ under the License.
3. 获取 Profile
- 集群在多个 FE 的情况下,需要访问执行对应 Query 的 FE HTTP 界面( HTTP://FE_IP:HTTP_PORT )的
QueryProfile 页面,点击对应 Profile ID 查看对应 Profile,还可以在 Profile 界面下载对应 Profile。
+ 集群在多个 FE 的情况下,需要访问执行对应 Query 的 FE HTTP 界面 ( HTTP://FE_IP:HTTP_PORT ) 的
QueryProfile 页面,点击对应 Profile ID 查看对应 Profile,还可以在 Profile 界面下载对应 Profile。


## Doris 集群访问外网受到限制
-集群不能正常访问外网时,需要通过 API 的方式拿到对应 Profile
(HTTP://FE_IP:HTTP_PORT/API/Profile?Query_ID=),IP 和端口是指执行对应 Query 的 FE 对应 IP
和端口。此时获取对应 Query 的 Profile 步骤前两步和正常访问外网时是一样的,第三步获取 Profile 时会有差别。
+集群不能正常访问外网时,需要通过 API 的方式拿到对应 Profile
(HTTP://FE_IP:HTTP_PORT/API/Profile?Query_ID=),IP 和端口是指执行对应 Query 的 FE 对应 IP
和端口。此时获取对应 Query 的 Profile 步骤前两步和正常访问外网时是一样的,第三步获取 Profile 时会有差别。
**获取 Porfile**
@@ -120,7 +120,7 @@ under the License.
100 1211 0 1211 0 0 168k 0 --:--:-- --:--:-- --:--:--
168k
```
-- 返回的 Profile 换行符为 \ \n 分析起来很不方便, 可以在文本编辑工具中将 \ \n 替换为 \n
+- 返回的 Profile 换行符为 \ \n 分析起来很不方便,可以在文本编辑工具中将 \ \n 替换为 \n
```
[user@VM-10-6-centos profile]$ cat test.profile
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.0/query/query-analysis/get-profile.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.0/query/query-analysis/get-profile.md
index 253ffd7e289a..0347e681cd8d 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.0/query/query-analysis/get-profile.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.0/query/query-analysis/get-profile.md
@@ -22,7 +22,6 @@ specific language governing permissions and limitations
under the License.
-->
-## 获取 Profile
## 背景
@@ -84,14 +83,14 @@ under the License.
3. 获取 Profile
- 集群在多个 FE 的情况下,需要访问执行对应 Query 的 FE HTTP 界面( HTTP://FE_IP:HTTP_PORT )的
QueryProfile 页面,点击对应 Profile ID 查看对应 Profile,还可以在 Profile 界面下载对应 Profile。
+ 集群在多个 FE 的情况下,需要访问执行对应 Query 的 FE HTTP 界面 ( HTTP://FE_IP:HTTP_PORT ) 的
QueryProfile 页面,点击对应 Profile ID 查看对应 Profile,还可以在 Profile 界面下载对应 Profile。


## Doris 集群访问外网受到限制
-集群不能正常访问外网时,需要通过 API 的方式拿到对应 Profile
(HTTP://FE_IP:HTTP_PORT/API/Profile?Query_ID=),IP 和端口是指执行对应 Query 的 FE 对应 IP
和端口。此时获取对应 Query 的 Profile 步骤前两步和正常访问外网时是一样的,第三步获取 Profile 时会有差别。
+集群不能正常访问外网时,需要通过 API 的方式拿到对应 Profile
(HTTP://FE_IP:HTTP_PORT/API/Profile?Query_ID=),IP 和端口是指执行对应 Query 的 FE 对应 IP
和端口。此时获取对应 Query 的 Profile 步骤前两步和正常访问外网时是一样的,第三步获取 Profile 时会有差别。
**获取 Porfile**
@@ -120,7 +119,7 @@ under the License.
100 1211 0 1211 0 0 168k 0 --:--:-- --:--:-- --:--:--
168k
```
-- 返回的 Profile 换行符为 \ \n 分析起来很不方便, 可以在文本编辑工具中将 \ \n 替换为 \n
+- 返回的 Profile 换行符为 \ \n 分析起来很不方便,可以在文本编辑工具中将 \ \n 替换为 \n
```
[user@VM-10-6-centos profile]$ cat test.profile
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1.json
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1.json
index d1b06d62498e..1380b6ad9700 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1.json
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1.json
@@ -79,6 +79,10 @@
"message": "Join 优化",
"description": "The label for category Join Optimization in sidebar docs"
},
+ "sidebar.docs.category.Slow Query Analysis": {
+ "message": "分析慢查询",
+ "description": "The label for category Join Optimization in sidebar docs"
+ },
"sidebar.docs.category.Async Materialized View": {
"message": "异步物化视图",
"description": "The label for category Async Materialized View in sidebar
docs"
@@ -327,4 +331,4 @@
"message": "版本发布",
"description": "The label for category Release notes in sidebar docs"
}
-}
+}
\ No newline at end of file
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/query-acceleration/slow-query-analysis/get-profile.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/query-acceleration/slow-query-analysis/get-profile.md
index 253ffd7e289a..0347e681cd8d 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/query-acceleration/slow-query-analysis/get-profile.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/query-acceleration/slow-query-analysis/get-profile.md
@@ -22,7 +22,6 @@ specific language governing permissions and limitations
under the License.
-->
-## 获取 Profile
## 背景
@@ -84,14 +83,14 @@ under the License.
3. 获取 Profile
- 集群在多个 FE 的情况下,需要访问执行对应 Query 的 FE HTTP 界面( HTTP://FE_IP:HTTP_PORT )的
QueryProfile 页面,点击对应 Profile ID 查看对应 Profile,还可以在 Profile 界面下载对应 Profile。
+ 集群在多个 FE 的情况下,需要访问执行对应 Query 的 FE HTTP 界面 ( HTTP://FE_IP:HTTP_PORT ) 的
QueryProfile 页面,点击对应 Profile ID 查看对应 Profile,还可以在 Profile 界面下载对应 Profile。


## Doris 集群访问外网受到限制
-集群不能正常访问外网时,需要通过 API 的方式拿到对应 Profile
(HTTP://FE_IP:HTTP_PORT/API/Profile?Query_ID=),IP 和端口是指执行对应 Query 的 FE 对应 IP
和端口。此时获取对应 Query 的 Profile 步骤前两步和正常访问外网时是一样的,第三步获取 Profile 时会有差别。
+集群不能正常访问外网时,需要通过 API 的方式拿到对应 Profile
(HTTP://FE_IP:HTTP_PORT/API/Profile?Query_ID=),IP 和端口是指执行对应 Query 的 FE 对应 IP
和端口。此时获取对应 Query 的 Profile 步骤前两步和正常访问外网时是一样的,第三步获取 Profile 时会有差别。
**获取 Porfile**
@@ -120,7 +119,7 @@ under the License.
100 1211 0 1211 0 0 168k 0 --:--:-- --:--:-- --:--:--
168k
```
-- 返回的 Profile 换行符为 \ \n 分析起来很不方便, 可以在文本编辑工具中将 \ \n 替换为 \n
+- 返回的 Profile 换行符为 \ \n 分析起来很不方便,可以在文本编辑工具中将 \ \n 替换为 \n
```
[user@VM-10-6-centos profile]$ cat test.profile
diff --git a/sidebars.json b/sidebars.json
index 0f349bb18251..f62d128ddf6a 100644
--- a/sidebars.json
+++ b/sidebars.json
@@ -216,6 +216,13 @@
"query-acceleration/join-optimization/doris-join-optimization"
]
},
+ {
+ "type": "category",
+ "label": "Slow Query Analysis",
+ "items": [
+ "query-acceleration/slow-query-analysis/get-profile"
+ ]
+ },
{
"type": "category",
"label": "Async Materialized View",
diff --git
a/versioned_docs/version-1.2/query-acceleration/slow-query-analysis/get-profile.md
b/versioned_docs/version-1.2/query-acceleration/slow-query-analysis/get-profile.md
index 75f2e3d20ae3..c5e99af4f5bf 100644
---
a/versioned_docs/version-1.2/query-acceleration/slow-query-analysis/get-profile.md
+++
b/versioned_docs/version-1.2/query-acceleration/slow-query-analysis/get-profile.md
@@ -22,7 +22,7 @@ specific language governing permissions and limitations
under the License.
-->
-## Get Profile
+
## Background
@@ -112,7 +112,7 @@ When the cluster cannot access the external network
normally, it needs to obtain
- Query Profile and redirect Profile to a text
```
- template:curl -X GET -u user:password
http://fe_ip:http_port/api/profile?query_id=1b0bb22689734d30-bbe56e17c2ff21dc >
test.profile
+ template: curl -X GET -u user:password
http://fe_ip:http_port/api/profile?query_id=1b0bb22689734d30-bbe56e17c2ff21dc >
test.profile
[user@VM-10-6-centos profile]$ curl -X GET -u root:root
http://127.0.0.1:8030/api/profile?query_id=1b0bb22689734d30-bbe56e17c2ff21dc >
test.profile
% Total % Received % Xferd Average Speed Time Time Time
Current
diff --git a/versioned_docs/version-2.0/query/query-analysis/get-profile.md
b/versioned_docs/version-2.0/query/query-analysis/get-profile.md
index 75f2e3d20ae3..c5e99af4f5bf 100644
--- a/versioned_docs/version-2.0/query/query-analysis/get-profile.md
+++ b/versioned_docs/version-2.0/query/query-analysis/get-profile.md
@@ -22,7 +22,7 @@ specific language governing permissions and limitations
under the License.
-->
-## Get Profile
+
## Background
@@ -112,7 +112,7 @@ When the cluster cannot access the external network
normally, it needs to obtain
- Query Profile and redirect Profile to a text
```
- template:curl -X GET -u user:password
http://fe_ip:http_port/api/profile?query_id=1b0bb22689734d30-bbe56e17c2ff21dc >
test.profile
+ template: curl -X GET -u user:password
http://fe_ip:http_port/api/profile?query_id=1b0bb22689734d30-bbe56e17c2ff21dc >
test.profile
[user@VM-10-6-centos profile]$ curl -X GET -u root:root
http://127.0.0.1:8030/api/profile?query_id=1b0bb22689734d30-bbe56e17c2ff21dc >
test.profile
% Total % Received % Xferd Average Speed Time Time Time
Current
diff --git
a/versioned_docs/version-2.1/query-acceleration/slow-query-analysis/get-profile.md
b/versioned_docs/version-2.1/query-acceleration/slow-query-analysis/get-profile.md
index 75f2e3d20ae3..c5e99af4f5bf 100644
---
a/versioned_docs/version-2.1/query-acceleration/slow-query-analysis/get-profile.md
+++
b/versioned_docs/version-2.1/query-acceleration/slow-query-analysis/get-profile.md
@@ -22,7 +22,7 @@ specific language governing permissions and limitations
under the License.
-->
-## Get Profile
+
## Background
@@ -112,7 +112,7 @@ When the cluster cannot access the external network
normally, it needs to obtain
- Query Profile and redirect Profile to a text
```
- template:curl -X GET -u user:password
http://fe_ip:http_port/api/profile?query_id=1b0bb22689734d30-bbe56e17c2ff21dc >
test.profile
+ template: curl -X GET -u user:password
http://fe_ip:http_port/api/profile?query_id=1b0bb22689734d30-bbe56e17c2ff21dc >
test.profile
[user@VM-10-6-centos profile]$ curl -X GET -u root:root
http://127.0.0.1:8030/api/profile?query_id=1b0bb22689734d30-bbe56e17c2ff21dc >
test.profile
% Total % Received % Xferd Average Speed Time Time Time
Current
diff --git a/versioned_sidebars/version-1.2-sidebars.json
b/versioned_sidebars/version-1.2-sidebars.json
index 164b1ee8a625..87ec41116e6a 100644
--- a/versioned_sidebars/version-1.2-sidebars.json
+++ b/versioned_sidebars/version-1.2-sidebars.json
@@ -186,6 +186,13 @@
"query-acceleration/join-optimization/runtime-filter",
"query-acceleration/join-optimization/doris-join-optimization"
]
+ },
+ {
+ "type": "category",
+ "label": "Slow Query Analysis",
+ "items": [
+ "query-acceleration/slow-query-analysis/get-profile"
+ ]
}
]
},
@@ -1211,7 +1218,7 @@
"type": "category",
"label": "Release notes",
"items": [
- "releasenotes/release-1.2.8",
+ "releasenotes/release-1.2.8",
"releasenotes/release-1.2.7",
"releasenotes/release-1.2.6",
"releasenotes/release-1.2.5",
@@ -1229,4 +1236,4 @@
]
}
]
-}
+}
\ No newline at end of file
diff --git a/versioned_sidebars/version-2.0-sidebars.json
b/versioned_sidebars/version-2.0-sidebars.json
index 217c3936743a..b5b961b7a68e 100644
--- a/versioned_sidebars/version-2.0-sidebars.json
+++ b/versioned_sidebars/version-2.0-sidebars.json
@@ -233,7 +233,8 @@
"items": [
"query/query-analysis/query-profile",
"query/query-analysis/query-analysis",
- "query/query-analysis/import-analysis"
+ "query/query-analysis/import-analysis",
+ "query/query-analysis/get-profile"
]
},
{
@@ -1383,4 +1384,4 @@
]
}
]
-}
+}
\ No newline at end of file
diff --git a/versioned_sidebars/version-2.1-sidebars.json
b/versioned_sidebars/version-2.1-sidebars.json
index 6a99c6fd8329..409b97738ffc 100644
--- a/versioned_sidebars/version-2.1-sidebars.json
+++ b/versioned_sidebars/version-2.1-sidebars.json
@@ -214,6 +214,13 @@
"query-acceleration/join-optimization/doris-join-optimization"
]
},
+ {
+ "type": "category",
+ "label": "Slow Query Analysis",
+ "items": [
+ "query-acceleration/slow-query-analysis/get-profile"
+ ]
+ },
{
"type": "category",
"label": "Async Materialized View",
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]