> ## Documentation Index
> Fetch the complete documentation index at: https://private-7c7dfe99-fix-nav-issues.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> 包含所有表中现有数据跳过索引相关信息的系统表。

# system.data_skipping_indices

<div id="description">
  ## 说明
</div>

包含所有表中现有的数据跳过索引信息。

<div id="columns">
  ## 列
</div>

* `database` ([String](/zh/reference/data-types)) — 数据库名称。
* `table` ([String](/zh/reference/data-types)) — 表名称。
* `name` ([String](/zh/reference/data-types)) — 索引名称。
* `type` ([String](/zh/reference/data-types)) — 索引类型。
* `type_full` ([String](/zh/reference/data-types)) — 来自 CREATE 语句的索引类型表达式。
* `expr` ([String](/zh/reference/data-types)) — 用于计算索引的表达式。
* `creation` ([Enum8('Explicit' = 0, 'Implicit' = 1)](/zh/reference/data-types)) — 索引是否为隐式创建 (通过 add\_minmax\_index\_for\_numeric\_columns 或类似方式)
* `granularity` ([UInt64](/zh/reference/data-types)) — 块中的粒度数。
* `data_compressed_bytes` ([UInt64](/zh/reference/data-types)) — 压缩数据的大小，以字节为单位。
* `data_uncompressed_bytes` ([UInt64](/zh/reference/data-types)) — 未压缩数据的大小，以字节为单位。
* `marks_bytes` ([UInt64](/zh/reference/data-types)) — 标记的大小，以字节为单位。

<div id="example">
  ## 示例
</div>

```sql theme={null}
SELECT * FROM system.data_skipping_indices LIMIT 2 FORMAT Vertical;
```

```text theme={null}
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
```
