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

# ajustes de sesión use_query_*

> Ajustes de sesión de ClickHouse en el grupo generado use_query_*.

export const SettingsInfoBlock = ({type, default_value, changeable_without_restart}) => {
  return <div className="not-prose" style={{
    display: "flex",
    flexWrap: "wrap",
    alignItems: "baseline",
    columnGap: "0.5rem",
    rowGap: "0.125rem",
    margin: "0.375rem 0",
    fontSize: "0.8125rem",
    lineHeight: "1.125rem"
  }}>
      <div style={{
    fontWeight: 600,
    opacity: 0.72
  }}>Tipo</div>
      <div style={{
    overflowWrap: "anywhere"
  }}>{type}</div>
      <div style={{
    fontWeight: 600,
    opacity: 0.72,
    marginInlineStart: "0.5rem"
  }}>Predeterminado</div>
      <div style={{
    overflowWrap: "anywhere"
  }}>{default_value}</div>
      {changeable_without_restart && <div style={{
    fontWeight: 600,
    opacity: 0.72,
    marginInlineStart: "0.5rem"
  }}>
          Modificable sin reiniciar
        </div>}
      {changeable_without_restart && <div style={{
    overflowWrap: "anywhere"
  }}>
          {changeable_without_restart}
        </div>}
    </div>;
};

Estos ajustes están disponibles en [system.settings](/docs/es/reference/system-tables/settings) y se generan automáticamente a partir del [código fuente](https://github.com/ClickHouse/ClickHouse/blob/master/src/Core/Settings.cpp).

<div id="use_query_cache">
  ## use\_query\_cache
</div>

<SettingsInfoBlock type="Bool" default_value="0" />

Si está habilitado, las consultas `SELECT` pueden utilizar la [caché de consultas](/docs/es/concepts/features/performance/caches/query-cache). Los parámetros [enable\_reads\_from\_query\_cache](/docs/es/reference/settings/session-settings/enable#enable_reads_from_query_cache)
y [enable\_writes\_to\_query\_cache](/docs/es/reference/settings/session-settings/enable#enable_writes_to_query_cache) controlan con más detalle cómo se usa la caché.

Valores posibles:

* 0 - Deshabilitado
* 1 - Habilitado

<div id="use_query_condition_cache">
  ## use\_query\_condition\_cache
</div>

<SettingsInfoBlock type="Bool" default_value="1" />

<VersionHistory rows={[{"id": "row-1","items": [{"label": "25.4"},{"label": "1"},{"label": "Una nueva optimización"}]}, {"id": "row-2","items": [{"label": "25.3"},{"label": "0"},{"label": "Nueva configuración."}]}]} />

Habilita la [caché de condiciones de consulta](/docs/es/concepts/features/performance/caches/query-condition-cache). La caché almacena rangos de gránulos en partes de datos que no cumplen la condición de la cláusula `WHERE`,
y reutiliza esta información como un índice efímero para consultas posteriores.

Valores posibles:

* 0 - Deshabilitado
* 1 - Habilitado
