-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed
Description
Currently, the show data does not support sorting. When the number of tables increases, it is inconvenient to manage. Need to support sorting
syntax:
SHOW DATA [FROM db_name[.table_name]] [ORDER BY ...];
like:
mysql> show data order by ReplicaCount desc,Size asc;
+-----------+-------------+--------------+
| TableName | Size | ReplicaCount |
+-----------+-------------+--------------+
| table_c | 3.102 KB | 40 |
| table_d | .000 | 20 |
| table_b | 324.000 B | 20 |
| table_a | 1.266 KB | 10 |
| Total | 4.684 KB | 90 |
| Quota | 1024.000 GB | 1073741824 |
| Left | 1024.000 GB | 1073741734 |
+-----------+-------------+--------------+
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels