data_skipping_indices 시스템 테이블

data_skipping_indices 시스템 테이블

data_skipping_indices 시스템 테이블은 모든 테이블의 기존 데이터 스킵핑 인덱스에 대한 정보를 담고 있어요.

출처: 문서

본문

Description (설명)

모든 테이블의 기존 데이터 스킵핑 인덱스에 대한 정보를 담고 있어요.

Columns (열)

  • database (String) — 데이터베이스 이름.
  • table (String) — 테이블 이름.
  • name (String) — 인덱스 이름.
  • type (String) — 인덱스 유형.
  • type_full (String) — create 구문의 인덱스 유형 표현식.
  • expr (String) — 인덱스 계산을 위한 표현식.
  • creation (Enum8(‘Explicit’ = 0, ‘Implicit’ = 1)) — 인덱스가 암시적으로(add_minmax_index_for_numeric_columns 또는 유사한 기능으로) 생성되었는지 여부.
  • granularity (UInt64) — 블록의 granule 수.
  • data_compressed_bytes (UInt64) — 압축된 데이터의 크기(바이트).
  • data_uncompressed_bytes (UInt64) — 압축 해제된 데이터의 크기(바이트).
  • marks_bytes (UInt64) — marks의 크기(바이트).

Example (예제)

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
creation:                Explicit
granularity:             1
data_compressed_bytes:   58
data_uncompressed_bytes: 6
marks_bytes:             48

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

더 알아보기 (Learn more)