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

# alter_system_properties

<div className="kinetica-pydoc">
  <div className="dl py method">
    <div className="dt sig sig-object py" id="gpudb.GPUdb.alter_system_properties"> <span className="sig-name descname"><span className="pre">alter\_system\_properties</span></span><span className="sig-paren">(</span><span className="em sig-param"><span className="n"><span className="pre">property\_updates\_map</span></span><span className="o"><span className="pre">=</span></span><span className="default_value"><span className="pre">None</span></span></span>, <span className="em sig-param"><span className="n"><span className="pre">options</span></span><span className="o"><span className="pre">=</span></span><span className="default_value"><span className="pre">{"{"}{"}"}</span></span></span><span className="sig-paren">)</span><a href="https://github.com/kineticadb/kinetica-api-python/blob/master/gpudb/gpudb.py#L19673"><span className="viewcode-link"><span className="pre">\[source]</span></span></a></div>

    <div className="dd">
      <p>The <a className="reference internal" href="#gpudb.GPUdb.alter_system_properties" title="gpudb.GPUdb.alter_system_properties"><code className="xref py py-meth docutils literal notranslate"><span className="pre">GPUdb.alter\_system\_properties()</span></code></a> endpoint is primarily used to simplify the testing of the system and is not expected to be used during normal execution. Commands are given through the input parameter <span className="em">property\_updates\_map</span> whose keys are commands and values are strings representing integer values (for example ‘8000’) or boolean values (‘true’ or ‘false’).</p>
      <p><strong>Parameters</strong></p>

      <div className="blockquote">
        <div>
          <div className="dl">
            <div className="dt">property\_updates\_map (<span className="em">dict of str to str</span>) –</div>

            <div className="dd">
              <p>Map containing the properties of the system to be updated. Error if empty. Allowed keys are:</p>

              <ul>
                <li>
                  <p><strong>concurrent\_kernel\_execution</strong> – Enables concurrent kernel execution if the value is <span className="em">true</span> and disables it if the value is <span className="em">false</span>. Allowed values are:</p>

                  <ul className="simple">
                    <li>
                      <p>true</p>
                    </li>

                    <li>
                      <p>false</p>
                    </li>
                  </ul>
                </li>

                <li>
                  <p><strong>subtask\_concurrency\_limit</strong> – Sets the maximum number of simultaneous threads allocated to a given request, on each rank. Note that thread allocation may also be limited by resource group limits and/or system load.</p>
                </li>

                <li>
                  <p><strong>chunk\_size</strong> – Sets the number of records per chunk to be used for all new tables.</p>
                </li>

                <li>
                  <p><strong>chunk\_column\_max\_memory</strong> – Sets the target maximum data size for each column in a chunk to be used for all new tables.</p>
                </li>

                <li>
                  <p><strong>chunk\_max\_memory</strong> – Indicates the target maximum data size for all columns in a chunk to be used for all new tables.</p>
                </li>

                <li>
                  <p><strong>execution\_mode</strong> – Sets the execution\_mode for kernel executions to the specified string value. Possible values are host, device, default (engine decides) or an integer value that indicates max chunk size to exec on host.</p>
                </li>

                <li>
                  <p><strong>external\_files\_directory</strong> – Sets the root directory path where external table data files are accessed from. Path must exist on the head node.</p>
                </li>

                <li>
                  <p><strong>request\_timeout</strong> – Number of minutes after which filtering (e.g., <a className="reference internal" href="#gpudb.GPUdb.filter" title="gpudb.GPUdb.filter"><code className="xref py py-meth docutils literal notranslate"><span className="pre">GPUdb.filter()</span></code></a>) and aggregating (e.g., <a className="reference internal" href="#gpudb.GPUdb.aggregate_group_by" title="gpudb.GPUdb.aggregate_group_by"><code className="xref py py-meth docutils literal notranslate"><span className="pre">GPUdb.aggregate\_group\_by()</span></code></a>) queries will timeout. The default value is ‘20’. The minimum allowed value is ‘0’. The maximum allowed value is ‘1440’.</p>
                </li>

                <li>
                  <p><strong>max\_get\_records\_size</strong> – The maximum number of records the database will serve for a given data retrieval call. The default value is ‘20000’. The minimum allowed value is ‘0’. The maximum allowed value is ‘1000000’.</p>
                </li>

                <li>
                  <p><strong>enable\_audit</strong> – Enable or disable auditing.</p>
                </li>

                <li>
                  <p><strong>audit\_headers</strong> – Enable or disable auditing of request headers.</p>
                </li>

                <li>
                  <p><strong>audit\_body</strong> – Enable or disable auditing of request bodies.</p>
                </li>

                <li>
                  <p><strong>audit\_data</strong> – Enable or disable auditing of request data.</p>
                </li>

                <li>
                  <p><strong>audit\_response</strong> – Enable or disable auditing of response information.</p>
                </li>

                <li>
                  <p><strong>shadow\_agg\_size</strong> – Size of the shadow aggregate chunk cache in bytes. The default value is ‘10000000’. The minimum allowed value is ‘0’. The maximum allowed value is ‘2147483647’.</p>
                </li>

                <li>
                  <p><strong>shadow\_filter\_size</strong> – Size of the shadow filter chunk cache in bytes. The default value is ‘10000000’. The minimum allowed value is ‘0’. The maximum allowed value is ‘2147483647’.</p>
                </li>

                <li>
                  <p><strong>enable\_overlapped\_equi\_join</strong> – Enable overlapped-equi-join filter. The default value is ‘true’.</p>
                </li>

                <li>
                  <p><strong>enable\_one\_step\_compound\_equi\_join</strong> – Enable the one\_step compound-equi-join algorithm. The default value is ‘true’.</p>
                </li>

                <li>
                  <p><strong>kafka\_batch\_size</strong> – Maximum number of records to be ingested in a single batch. The default value is ‘1000’. The minimum allowed value is ‘1’. The maximum allowed value is ‘10000000’.</p>
                </li>

                <li>
                  <p><strong>kafka\_poll\_timeout</strong> – Maximum time (milliseconds) for each poll to get records from Kafka. The default value is ‘0’. The minimum allowed value is ‘0’. The maximum allowed value is ‘1000’.</p>
                </li>

                <li>
                  <p><strong>kafka\_wait\_time</strong> – Maximum time (seconds) to buffer records received from Kafka before ingestion. The default value is ‘30’. The minimum allowed value is ‘1’. The maximum allowed value is ‘120’.</p>
                </li>

                <li>
                  <p><strong>datalake\_table\_metadata\_cache\_enabled</strong> – Enable caching of datalake table metadata.</p>
                </li>

                <li>
                  <p><strong>datalake\_table\_metadata\_cache\_size</strong> – Maximum number of datalake table metadata entries to cache.</p>
                </li>

                <li>
                  <p><strong>datalake\_table\_metadata\_cache\_ttl</strong> – Time-to-live (seconds) for cached datalake table metadata entries.</p>
                </li>

                <li>
                  <p><strong>datalake\_table\_metadata\_cache\_snapshot\_check</strong> – When enabled, check the current datalake snapshot on cache hits and invalidate entries that have changed.</p>
                </li>

                <li>
                  <p><strong>datalake\_catalog\_connection\_cache\_size</strong> – Maximum number of cached datalake REST catalog connections.</p>
                </li>

                <li>
                  <p><strong>iceberg\_manifest\_cache\_enabled</strong> – Enable caching of parsed Iceberg manifest and manifest-list files.</p>
                </li>

                <li>
                  <p><strong>egress\_parquet\_compression</strong> – Parquet file compression type. Allowed values are:</p>

                  <ul className="simple">
                    <li>
                      <p>uncompressed</p>
                    </li>

                    <li>
                      <p>snappy</p>
                    </li>

                    <li>
                      <p>gzip</p>
                    </li>
                  </ul>

                  <p>The default value is ‘snappy’.</p>
                </li>

                <li>
                  <p><strong>egress\_single\_file\_max\_size</strong> – Max file size (in MB) to allow saving to a single file. May be overridden by target limitations. The default value is ‘10000’. The minimum allowed value is ‘1’. The maximum allowed value is ‘200000’.</p>
                </li>

                <li>
                  <p><strong>max\_concurrent\_kernels</strong> – Sets the max\_concurrent\_kernels value of the conf. The minimum allowed value is ‘0’. The maximum allowed value is ‘256’.</p>
                </li>

                <li>
                  <p><strong>system\_metadata\_retention\_period</strong> – Sets the system\_metadata.retention\_period value of the conf. The minimum allowed value is ‘1’.</p>
                </li>

                <li>
                  <p><strong>tcs\_per\_tom</strong> – Size of the worker rank data calculation thread pool. This is primarily used for computation-based operations such as aggregates and record retrieval. The minimum allowed value is ‘2’. The maximum allowed value is ‘8192’.</p>
                </li>

                <li>
                  <p><strong>tps\_per\_tom</strong> – Size of the worker rank data processing thread pool. This includes operations such as inserts, updates, and deletes on table data. Multi-head inserts are not affected by this limit. The minimum allowed value is ‘2’. The maximum allowed value is ‘8192’.</p>
                </li>

                <li>
                  <p><strong>remote\_io\_threads</strong> – Size of the worker rank IO thread pool. This is used for blocking IO operations such as reads from object storage or external file systems.</p>
                </li>

                <li>
                  <p><strong>background\_worker\_threads</strong> – Size of the worker rank background thread pool. This includes background operations such as watermark evictions catalog table updates. The minimum allowed value is ‘1’. The maximum allowed value is ‘8192’.</p>
                </li>

                <li>
                  <p><strong>log\_debug\_job\_info</strong> – Outputs various job-related information to the rank logs. Used for troubleshooting.</p>
                </li>

                <li>
                  <p><strong>enable\_thread\_hang\_logging</strong> – Log a stack trace for any thread that runs longer than a defined threshold. Used for troubleshooting. The default value is ‘true’.</p>
                </li>

                <li>
                  <p><strong>ai\_enable\_rag</strong> – Enable RAG. The default value is ‘false’.</p>
                </li>

                <li>
                  <p><strong>ai\_api\_provider</strong> – AI API provider type.</p>
                </li>

                <li>
                  <p><strong>ai\_api\_url</strong> – AI API URL.</p>
                </li>

                <li>
                  <p><strong>ai\_api\_key</strong> – AI API key.</p>
                </li>

                <li>
                  <p><strong>ai\_api\_connection\_timeout</strong> – AI API connection timeout in seconds.</p>
                </li>

                <li>
                  <p><strong>ai\_api\_embeddings\_model</strong> – AI API model name.</p>
                </li>

                <li>
                  <p><strong>telm\_persist\_query\_metrics</strong> – Enable or disable persisting of query metrics.</p>
                </li>

                <li>
                  <p><strong>telm\_force\_metrics\_duration</strong> – Capture metrics for any query exceeding this duration in seconds.</p>
                </li>

                <li>
                  <p><strong>postgres\_proxy\_idle\_connection\_timeout</strong> – Idle connection timeout in seconds.</p>
                </li>

                <li>
                  <p><strong>postgres\_proxy\_keep\_alive</strong> – Enable postgres proxy keep alive. The default value is ‘false’.</p>
                </li>

                <li>
                  <p><strong>kifs\_directory\_data\_limit</strong> – The default maximum capacity to apply when creating a KiFS directory (bytes). The minimum allowed value is ‘-1’.</p>
                </li>

                <li>
                  <p><strong>compression\_codec</strong> – The default <a className="reference external" href="/content/concepts/column_compression/">compression algorithm</a> applied to any column without a column-level or table-level default compression specified at the time it was created.</p>
                </li>

                <li>
                  <p><strong>disk\_auto\_optimize\_timeout</strong> – Time interval in seconds after which the database will apply optimizations/transformations to persisted data, such as compression. The minimum allowed value is ‘0’.</p>
                </li>

                <li>
                  <p><strong>ha\_consumer\_replay\_offset</strong> – Initializes HA replay from the given timestamp (as milliseconds since unix epoch). The minimum allowed value is ‘-1’.</p>
                </li>

                <li>
                  <p><strong>admin\_access\_only</strong> – Restricts access to system admin users only. The default value is ‘false’.</p>
                </li>
              </ul>
            </div>

            <div className="dt">options (<span className="em">dict of str to str</span>) –</div>

            <div className="dd">
              <p>Optional parameters. Allowed keys are:</p>

              <ul>
                <li>
                  <p><strong>evict\_to\_cold</strong> – If <span className="em">true</span> and evict\_columns is specified, the given objects will be evicted to cold storage (if such a tier exists). Allowed values are:</p>

                  <ul className="simple">
                    <li>
                      <p>true</p>
                    </li>

                    <li>
                      <p>false</p>
                    </li>
                  </ul>
                </li>

                <li>
                  <p><strong>persist</strong> – If <span className="em">true</span> the system configuration will be written to disk upon successful application of this request. This will commit the changes from this request and any additional in-memory modifications. Allowed values are:</p>

                  <ul className="simple">
                    <li>
                      <p>true</p>
                    </li>

                    <li>
                      <p>false</p>
                    </li>
                  </ul>

                  <p>The default value is ‘true’.</p>
                </li>
              </ul>

              <p>The default value is an empty dict ( {"{"}{"}"} ).</p>
            </div>
          </div>
        </div>
      </div>

      <p><strong>Returns</strong></p>

      <div className="blockquote">
        <div>
          <p>A dict with the following entries–</p>

          <div className="dl simple">
            <div className="dt">updated\_properties\_map (<span className="em">dict of str to str</span>) –</div>

            <div className="dd">
              <p>Map of values updated; for speed tests, a map of values measured to the measurement.</p>
            </div>

            <div className="dt">info (<span className="em">dict of str to str</span>) –</div>

            <div className="dd">
              <p>Additional information.</p>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
