> ## 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.codecs

<div id="description">
  ## 描述
</div>

包含有关压缩和加密编解码器的信息。

你可以使用此表查看可用的压缩和加密编解码器信息

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

* `name` ([String](/zh/reference/data-types)) — 编解码器名称。
* `method_byte` ([UInt8](/zh/reference/data-types)) — 表示压缩文件中编解码器的字节值。
* `is_compression` ([UInt8](/zh/reference/data-types)) — 如果此编解码器会执行压缩，则为 True；否则，它可能只是有助于压缩的某种转换。
* `is_generic_compression` ([UInt8](/zh/reference/data-types)) — 该编解码器是通用压缩算法，如 lz4、zstd。
* `is_encryption` ([UInt8](/zh/reference/data-types)) — 该编解码器用于加密。
* `is_timeseries_codec` ([UInt8](/zh/reference/data-types)) — 该编解码器用于浮点时间序列。
* `is_experimental` ([UInt8](/zh/reference/data-types)) — 该编解码器为 Experimental。
* `description` ([String](/zh/reference/data-types)) — 该编解码器的概括性描述。

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

```sql title="Query" theme={null}
SELECT * FROM system.codecs WHERE name='LZ4'
```

```text title="Response" theme={null}
Row 1:
──────
name:                   LZ4
method_byte:            130
is_compression:         1
is_generic_compression: 1
is_encryption:          0
is_timeseries_codec:    0
is_experimental:        0
description:            Extremely fast; good compression; balanced speed and efficiency.
```
