Skip to content

Commit

Permalink
feat: doc desc
Browse files Browse the repository at this point in the history
  • Loading branch information
facetosea committed Mar 6, 2025
1 parent 17e0008 commit 901496f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
9 changes: 5 additions & 4 deletions docs/en/14-reference/03-taos-sql/24-show.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,11 @@ Displays created indexes.
## SHOW LOCAL VARIABLES

```sql
SHOW LOCAL VARIABLES;
SHOW LOCAL VARIABLES [like pattern];
```

Displays the runtime values of configuration parameters for the current client.
You can use the like pattern to filter by name.

## SHOW MNODES

Expand Down Expand Up @@ -320,11 +321,11 @@ Displays information about all users in the current system, including user-defin
## SHOW CLUSTER VARIABLES (before version 3.0.1.6 it was SHOW VARIABLES)

```sql
SHOW CLUSTER VARIABLES;
SHOW DNODE dnode_id VARIABLES;
SHOW CLUSTER VARIABLES [like pattern];
SHOW DNODE dnode_id VARIABLES [like pattern];
```

Displays the runtime values of configuration parameters that need to be the same across nodes in the current system, or you can specify a DNODE to view its configuration parameters.
Displays the runtime values of configuration parameters that need to be the same across nodes in the current system, or you can specify a DNODE to view its configuration parameters. And you can use the like pattern to filter by name.

## SHOW VGROUPS

Expand Down
9 changes: 5 additions & 4 deletions docs/zh/14-reference/03-taos-sql/24-show.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,10 @@ SHOW INDEXES FROM [db_name.]tbl_name;
## SHOW LOCAL VARIABLES

```sql
SHOW LOCAL VARIABLES;
SHOW LOCAL VARIABLES [like pattern];
```

显示当前客户端配置参数的运行值。
显示当前客户端配置参数的运行值,可使用 like pattern 根据 name 进行过滤

## SHOW MNODES

Expand Down Expand Up @@ -322,11 +322,12 @@ SHOW USERS;
## SHOW CLUSTER VARIABLES(3.0.1.6 之前为 SHOW VARIABLES)

```sql
SHOW CLUSTER VARIABLES;
SHOW DNODE dnode_id VARIABLES;
SHOW CLUSTER VARIABLES [like pattern];;
SHOW DNODE dnode_id VARIABLES [like pattern];;
```

显示当前系统中各节点需要相同的配置参数的运行值,也可以指定 DNODE 来查看其的配置参数。
可使用 like pattern 根据 name 进行过滤。

## SHOW VGROUPS

Expand Down

0 comments on commit 901496f

Please sign in to comment.