SHOW DISK_USAGE
ON { <entries> | <find_expression> }
find_expression ::=
FIND ( { <type_expression> | <tag_expression> | NOT <tag_expression> } [ AND ... ] )
tag_expression ::=
TAG = 'tag_name'
type_expression ::=
TYPE = { BLOB | DEQUE | HSET | INT | INTEGER | STREAM | TAG | TS }
SHOW DISK_USAGE
will compute the persisted size of an entry on disk.
entries
The name of the entries for which the access control list should be listed.
find_expression
When your tables are tagged, you can use inline key/value lookups to perform your query over multiple tables.
To match all tables that have the tag “stocks”, you can use FIND(tag='stocks' AND type=ts)
.
Compute the persisted size on table1:
SHOW DISK_USAGE ON table1
Compute the persisted size for everything tagged with ‘nyse’:
SHOW DISK_USAGE ON FIND(tag='nyse')