> ## Documentation Index
> Fetch the complete documentation index at: https://private-7c7dfe99-postgresql-tls-support.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# ajustes de sesión mysql_*

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

export const VersionHistory = ({rows = []}) => {
  if (rows.length === 0) {
    return null;
  }
  const headers = ["Versión", "Valor predeterminado", "Comentario"];
  const border = "1px solid rgba(128, 128, 128, 0.3)";
  const cell = {
    border,
    padding: "0.25rem 0.5rem",
    textAlign: "start",
    verticalAlign: "top"
  };
  return <details className="not-prose" style={{
    border,
    borderRadius: "0.5rem",
    margin: "0.5rem 0",
    padding: "0.5rem 0.75rem",
    fontSize: "0.8125rem",
    lineHeight: "1.125rem"
  }}>
      <summary style={{
    cursor: "pointer",
    fontWeight: 600,
    opacity: 0.72
  }}>
        Historial de versiones
      </summary>
      <table style={{
    borderCollapse: "collapse",
    width: "100%",
    margin: "0.5rem 0 0"
  }}>
        <thead>
          <tr>
            {headers.map(header => <th key={header} style={{
    ...cell,
    fontWeight: 600,
    opacity: 0.72
  }}>
                {header}
              </th>)}
          </tr>
        </thead>
        <tbody>
          {rows.map((row, row_index) => <tr key={row.id ?? row_index}>
              {(row.items ?? []).map((item, item_index) => <td key={item_index} style={{
    ...cell,
    overflowWrap: "anywhere"
  }}>
                  {item?.label}
                </td>)}
            </tr>)}
        </tbody>
      </table>
    </details>;
};

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](/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="mysql_datatypes_support_level">
  ## mysql\_datatypes\_support\_level
</div>

<SettingsInfoBlock type="MySQLDataTypesSupport" default_value="decimal,datetime64,date2Date32,geometry" />

Define cómo se convierten los tipos de MySQL en los tipos correspondientes de ClickHouse. Es una lista separada por comas con cualquier combinación de `decimal`, `datetime64`, `date2Date32`, `date2String` o `geometry`. Todas las correspondencias modernas (`decimal`, `datetime64`, `date2Date32`, `geometry`) están habilitadas de forma predeterminada.

* `decimal`: convierte los tipos `NUMERIC` y `DECIMAL` a `Decimal` cuando la precisión lo permite.
* `datetime64`: convierte los tipos `DATETIME` y `TIMESTAMP` a `DateTime64` en lugar de `DateTime` cuando la precisión no es `0`.
* `date2Date32`: convierte `DATE` a `Date32` en lugar de `Date`. Tiene precedencia sobre `date2String`.
* `date2String`: convierte `DATE` a `String` en lugar de `Date`. Queda sobrescrito por `datetime64`.
* `geometry`: convierte los tipos espaciales de MySQL (`LINESTRING`, `POLYGON`, `MULTILINESTRING`, `MULTIPOLYGON`) en los tipos geométricos correspondientes de ClickHouse, y el tipo genérico `GEOMETRY` en el tipo general `Geometry`. `POINT` siempre se convierte a `Point` independientemente de esta opción. Como una columna genérica `GEOMETRY` puede contener cualquier subtipo, leer un valor cuyo subtipo no tiene equivalente en ClickHouse (`MULTIPOINT`, `GEOMETRYCOLLECTION`) genera una excepción en tiempo de lectura; las columnas declaradas como `MULTIPOINT` o `GEOMETRYCOLLECTION` se asignan a `String`.

<div id="mysql_max_rows_to_insert">
  ## mysql\_max\_rows\_to\_insert
</div>

<SettingsInfoBlock type="UInt64" default_value="65536" />

El número máximo de filas en la inserción por lotes de MySQL del motor de almacenamiento MySQL
