未验证 提交 d329befc 编写于 作者: C Chait Diwadkar 提交者: GitHub

docs:cdiwadkar16-patch-4-35 - minor

Rephrasing in some places.
上级 46f728be
...@@ -3,7 +3,7 @@ sidebar_label: Connections & Tasks ...@@ -3,7 +3,7 @@ sidebar_label: Connections & Tasks
title: Manage Connections and Query Tasks title: Manage Connections and Query Tasks
--- ---
A system operator can use TDengine CLI to show the connections, ongoing queries, stream computing, and can close connection or stop ongoing query task or stream computing. A system operator can use the TDengine CLI to show connections, ongoing queries, stream computing, and can close connections or stop ongoing query tasks or stream computing.
## Show Connections ## Show Connections
...@@ -13,7 +13,7 @@ SHOW CONNECTIONS; ...@@ -13,7 +13,7 @@ SHOW CONNECTIONS;
One column of the output of the above SQL command is "ip:port", which is the end point of the client. One column of the output of the above SQL command is "ip:port", which is the end point of the client.
## Close Connections Forcedly ## Force Close Connections
```sql ```sql
KILL CONNECTION <connection-id>; KILL CONNECTION <connection-id>;
...@@ -27,9 +27,9 @@ In the above SQL command, `connection-id` is from the first column of the output ...@@ -27,9 +27,9 @@ In the above SQL command, `connection-id` is from the first column of the output
SHOW QUERIES; SHOW QUERIES;
``` ```
The first column of the output is query ID, which is composed of the corresponding connection ID and the sequence number of the current query task started on this connection, in format of "connection-id:query-no". The first column of the output is query ID, which is composed of the corresponding connection ID and the sequence number of the current query task started on this connection. The format is "connection-id:query-no".
## Close Queries Forcedly ## Force Close Queries
```sql ```sql
KILL QUERY <query-id>; KILL QUERY <query-id>;
...@@ -43,9 +43,9 @@ In the above SQL command, `query-id` is from the first column of the output of ` ...@@ -43,9 +43,9 @@ In the above SQL command, `query-id` is from the first column of the output of `
SHOW STREAMS; SHOW STREAMS;
``` ```
The first column of the output is stream ID, which is composed of the connection ID and the sequence number of the current stream started on this connection, in the format of "connection-id:stream-no". The first column of the output is stream ID, which is composed of the connection ID and the sequence number of the current stream started on this connection. The format is "connection-id:stream-no".
## Close Continuous Query Forcedly ## Force Close Continuous Query
```sql ```sql
KILL STREAM <stream-id>; KILL STREAM <stream-id>;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册