Files
doris/docs/documentation/en/sql-reference/sql-statements/Data Manipulation/SHOW DATA_EN.md
caiconghui 9257535f91 [New Feature] Support setting replica quota in db level (#3283)
This PR is to limit the replica usage, admin need to know the replica usage for every db and 
table, be able to set replica quota for every db.

```
ALTER DATABASE db_name SET REPLICA QUOTA quota; 
```
2020-04-14 22:25:32 +08:00

1.5 KiB

SHOW DATA

Description

This statement is used to show the amount of data and the number of replica Grammar: SHOW DATA [FROM db_name[.table_name]];

Explain:

  1. If you do not specify the FROM clause, use the amount of data and the number of replica that shows the current DB subdivided into tables
  2. If the FROM clause is specified, the amount of data and the number of replica subdivided into indices under the table is shown.
  3. If you want to see the size of individual Partitions, see help show partitions

example

  1. Display the data volume, replica size, aggregate data volume and aggregate replica count of each table of default DB SHOW DATA;

  2. Display the subdivision data volume and replica count of the specified table below the specified DB SHOW DATA FROM example_db.table_name;

keyword

SHOW,DATA