> For the complete documentation index, see [llms.txt](https://mariadb.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mariadb.com/docs/server/security/limiting-size-of-created-disk-temporary-files-and-tables.md).

# Limiting Size of Created Disk Temporary Files and Tables

{% columns %}
{% column %}
{% content-ref url="/pages/16bDgbNw6ejTcM04EhsP" %}
[Limiting Size of Created Disk Temporary Files and Tables Overview](/docs/server/security/limiting-size-of-created-disk-temporary-files-and-tables/limiting-size-of-created-disk-temporary-files-and-tables-overview.md)
{% endcontent-ref %}
{% endcolumn %}

{% column %}
Overview of the feature introduced in MariaDB 11.5 to limit disk space used by temporary files and internal on-disk temporary tables to prevent disk exhaustion.
{% endcolumn %}
{% endcolumns %}

{% columns %}
{% column %}
{% content-ref url="/pages/ar6R8LlzEyURdhI0kYHR" %}
[max\_tmp\_session\_space\_usage System Variable](/docs/server/security/limiting-size-of-created-disk-temporary-files-and-tables/max_tmp_session_space_usage-system-variable.md)
{% endcontent-ref %}
{% endcolumn %}

{% column %}
Documentation for the system variable that restricts the maximum total size of temporary files and tables allowed for an individual user session.
{% endcolumn %}
{% endcolumns %}

{% columns %}
{% column %}
{% content-ref url="/pages/eo2xxO8gLHlXlMlZGkeW" %}
[max\_tmp\_total\_space\_usage System Variable](/docs/server/security/limiting-size-of-created-disk-temporary-files-and-tables/max_tmp_total_space_usage-system-variable.md)
{% endcontent-ref %}
{% endcolumn %}

{% column %}
Reference for the global system variable that defines the maximum cumulative disk space all user connections can consume for temporary files and tables.
{% endcolumn %}
{% endcolumns %}
