메인 콘텐츠로 건너뛰기

설명

모든 테이블에 있는 데이터 스키핑 인덱스에 대한 정보를 포함합니다.

컬럼

  • 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) — 블록 내 그래뉼 수.
  • 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
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
마지막 수정일 2026년 6월 10일