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

# promql_* session settings

> ClickHouse session settings in the promql_* 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).

## promql\_database

Private preview

Specifies the database name used by the 'promql' dialect. Empty string means the current database.

## promql\_evaluation\_time

Private preview

**Aliases**: `evaluation_time`

Type

DoubleAuto

Default

auto

Sets the evaluation time to be used with promql dialect, as a Unix timestamp in seconds with an optional fraction. 'auto' means the current time.

## promql\_max\_points\_per\_series

Private preview

Type

UInt64

Default

11000

Maximum resolution of a range query in the Prometheus HTTP API (`/api/v1/query_range`). As in Prometheus, the query is rejected if `(end - start) / step` is greater than this value. 0 means no limit. The [prometheusQueryRange](https://clickhouse.com/docs/reference/functions/table-functions/prometheusQueryRange.md) table function is not limited.

## promql\_push\_down\_label\_matchers

Private preview

Type

Bool

Default

1

Copies the label matchers of one side of a PromQL binary operator to the selectors of the other side for the labels the operator matches series by, so `b / on(job) a{job="x"}` reads only the series of `b` with `job="x"`.
A matcher is not copied where the series it filters out could make Prometheus report duplicate series: into the "one" side of the operator unless it is an aggregation by the matched labels, into an operator between two vectors other than `and` and `unless`, and through a function over a range or an operator with a scalar unless its input is one metric selected by name.
A comparison without `bool` keeps the metric name, so matchers always go through it. Other functions and the unary minus stop the matchers.
A copied matcher turns a selector of a whole metric into a filtered one, which can be slower on a [TimeSeries](https://clickhouse.com/docs/reference/engines/table-engines/integrations/time-series.md) table with an `id` clustered by metric (the default) if the matcher keeps most series of the metric. Disable the setting for such queries.

## promql\_table

Private preview

Specifies the name of a TimeSeries table used by the 'promql' dialect.
