Update 24-show.md

This commit is contained in:
wade zhang 2023-08-22 13:57:14 +08:00 committed by GitHub
parent 2054640d9e
commit b5bd8f7c23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -22,6 +22,14 @@ SHOW CLUSTER;
Shows information about the current cluster. Shows information about the current cluster.
## SHOW CLUSTER ALIVE
```sql
SHOW CLUSTER ALIVE;
```
It is used to check whether the cluster is available or not. Return value: 0 means unavailable, 1 means available, 2 means partially available (some dnodes are offline, the other dnodes are available)
## SHOW CONNECTIONS ## SHOW CONNECTIONS
```sql ```sql