> ## Documentation Index
> Fetch the complete documentation index at: https://clickhouse.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# index_granularity_* MergeTree テーブル設定

> index_granularity_* の生成グループに含まれる ClickHouse MergeTree テーブル設定。

これらの設定は [system.merge\_tree\_settings](https://clickhouse.com/docs/ja/reference/system-tables/merge_tree_settings.md) で参照でき、ClickHouse のソースから自動生成されています。

## index\_granularity

型

UInt64

デフォルト値

8192

索引の mark 間に含められるデータ行の最大数。つまり、1 つの主キー値に対応する行数です。

## index\_granularity\_bytes

型

UInt64

デフォルト値

10485760

データgranuleの最大サイズ (バイト単位) 。

granuleのサイズを行数のみで制限するには、`0` に設定します (非推奨) 。
