Skip to main content
Edit this page

data_skipping_indices

全てのテーブルに存在するデータスキッピングインデックスに関する情報を含みます。

カラム:

  • database (String) — データベース名。
  • table (String) — テーブル名。
  • name (String) — インデックス名。
  • type (String) — インデックスタイプ。
  • type_full (String) — 作成文からのインデックスタイプ式。
  • expr (String) — インデックス計算のための式。
  • granularity (UInt64) — ブロック内のグラニュール数。
  • data_compressed_bytes (UInt64) — 圧縮されたデータのサイズ(バイト単位)。
  • data_uncompressed_bytes (UInt64) — 解凍されたデータのサイズ(バイト単位)。
  • marks_bytes (UInt64) — マークのサイズ(バイト単位)。

SELECT * FROM system.data_skipping_indices LIMIT 2 FORMAT Vertical;
Row 1:
──────
database: default
table: user_actions
name: clicks_idx
type: minmax
type_full: minmax
expr: clicks
granularity: 1
data_compressed_bytes: 58
data_uncompressed_bytes: 6
marks: 48

Row 2:
──────
database: default
table: users
name: contacts_null_idx
type: minmax
type_full: minmax
expr: assumeNotNull(contacts_null)
granularity: 1
data_compressed_bytes: 58
data_uncompressed_bytes: 6
marks: 48