Table Of Contents

6.15. Show disk usage

6.15.1. Synopsis

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 }

6.15.2. Description

SHOW DISK_USAGE will compute the persisted size of an entry on disk.

6.15.3. Parameters

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).

6.15.4. Examples

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')
arrow_backPrevious
6.14. Show grants
Next arrow_forward
7. API Reference