17. SHOW DISK_USAGE#

17.1. Synopsis#

SHOW DISK_USAGE

  ON { <entries> | <find_expression> }

find_expression ::=
  FIND (
    { TAG = <tag_value> | NOT TAG = <tag_value>
      | PREFIX = 'prefix' | SUFFIX = 'suffix' | TYPE = TS }
    [ AND ... ] [ , RECURSIVE = { TRUE | FALSE } ]
  )

tag_value ::= { 'text' | $table } [ || ... ]

17.2. Description#

SHOW DISK_USAGE returns the persisted size of an entry on disk.

17.3. Parameters#

entries

The names of the entries whose disk usage QuasarDB returns.

find_expression

Selects multiple entries with a key/value lookup. For more information, refer to key/value lookups.

17.4. Examples#

Return the persisted size of table1:

SHOW DISK_USAGE ON table1

Return the persisted size of entries that have the nyse tag:

SHOW DISK_USAGE ON FIND(tag='nyse')