ClickHouse/docs/en/operations/system-tables/data_skipping_indices.md
sevirov 601ed5046a
Update docs/en/operations/system-tables/data_skipping_indices.md
Co-authored-by: Dmitry Novik <d1mas1k4@yandex.ru>
2021-07-11 12:17:37 +03:00

1.1 KiB

system.data_skipping_indices

Contains information about existing data skipping indices in all the tables.

Columns:

  • database (String) — Database name.
  • table (String) — Table name.
  • name (String) — Index name.
  • type (String) — Index type.
  • expr (String) — Expression for the index calculation.
  • granularity (UInt64) — The number of granules in the block.

Example

SELECT * FROM system.data_skipping_indices LIMIT 2 FORMAT Vertical;
Row 1:
──────
database:    default
table:       user_actions
name:        clicks_idx
type:        minmax
expr:        clicks
granularity: 1

Row 2:
──────
database:    default
table:       users
name:        contacts_null_idx
type:        minmax
expr:        assumeNotNull(contacts_null)
granularity: 1