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

# use_iceberg_* session settings

> ClickHouse session settings in the use_iceberg_* generated group.

These settings are available in [system.settings](https://clickhouse.com/docs/reference/system-tables/settings.md) and are autogenerated from [source](https://github.com/ClickHouse/ClickHouse/blob/master/src/Core/Settings.cpp).

## use\_iceberg\_manifest\_list\_partition\_pruning

Type

Bool

Default

1

Skip whole Iceberg manifest files whose partition summaries in the manifest list cannot match the query filter, without reading them. Requires [use\_iceberg\_partition\_pruning](https://clickhouse.com/docs/reference/settings/session-settings/use-iceberg.md#use_iceberg_partition_pruning) to be enabled and only helps when a manifest file holds few distinct partition values, which is what `rewriteManifests` clustered by the partition columns produces.

## use\_iceberg\_manifest\_statistics

Type

Bool

Default

0

With [`use_statistics`](https://clickhouse.com/docs/reference/settings/session-settings/use-statistics#use_statistics) enabled, estimate an Iceberg read for join reordering from the manifest files of its data files left after partition and min-max pruning by the query filter, without reading data: the rows from their `record_count`, and the number of distinct values, min/max and NULL fraction of the columns it returns from their identity partition values, value bounds and NULL counts. The filter, `PREWHERE` and row policy of the read are estimated on these statistics, as for MergeTree tables with column statistics; if no requested column has statistics, a filter that prunes no file gives no estimate, as for MergeTree tables without them. The row estimate is exact without a filter and without delete files. Pruning by the filter requires [use\_iceberg\_partition\_pruning](https://clickhouse.com/docs/reference/settings/session-settings/use-iceberg.md#use_iceberg_partition_pruning) to be enabled.

## use\_iceberg\_metadata\_files\_cache

Type

Bool

Default

1

If turned on, iceberg table function and iceberg storage may utilize the iceberg metadata files cache.

Possible values:

* 0 - Disabled
* 1 - Enabled

## use\_iceberg\_partition\_pruning

Type

Bool

Default

1

Use Iceberg partition pruning for Iceberg tables

## use\_iceberg\_table\_statistics\_ndv

Type

Bool

Default

0

With [`use_iceberg_manifest_statistics`](https://clickhouse.com/docs/reference/settings/session-settings/use-iceberg#use_iceberg_manifest_statistics) enabled, take the number of distinct values of an Iceberg column for which the manifest files give none from the table statistics in `metadata.json`: the `ndv` property of an `apache-datasketches-theta-v1` blob over that one column, as written by Spark `compute_table_stats` or Trino `ANALYZE`. Only the blobs computed from the snapshot that is read are used. The numbers drive join reordering and condition estimates only and never change query results.
