diff --git a/docs/en/operations/server-configuration-parameters/settings.md b/docs/en/operations/server-configuration-parameters/settings.md
index da42b31b78a..75ae6f3d2bc 100644
--- a/docs/en/operations/server-configuration-parameters/settings.md
+++ b/docs/en/operations/server-configuration-parameters/settings.md
@@ -1539,33 +1539,103 @@ Example
9005
```
+
## tmp_path {#tmp-path}
-Path to temporary data for processing large queries.
+Path on the local filesystem to store temporary data for processing large queries.
:::note
-The trailing slash is mandatory.
+- Only one option can be used to configure temporary data storage: `tmp_path` ,`tmp_policy`, `temporary_data_in_cache`.
+- The trailing slash is mandatory.
:::
**Example**
-``` xml
+```xml
/var/lib/clickhouse/tmp/
```
## tmp_policy {#tmp-policy}
-Policy from [storage_configuration](../../engines/table-engines/mergetree-family/mergetree.md#table_engine-mergetree-multiple-volumes) to store temporary files.
-
-If not set, [tmp_path](#tmp-path) is used, otherwise it is ignored.
+Alternatively, a policy from [storage_configuration](../../engines/table-engines/mergetree-family/mergetree.md#table_engine-mergetree-multiple-volumes) can be used to store temporary files.
:::note
-- `move_factor` is ignored.
-- `keep_free_space_bytes` is ignored.
-- `max_data_part_size_bytes` is ignored.
-- Policy should have exactly one volume with local disks.
+- Only one option can be used to configure temporary data storage: `tmp_path` ,`tmp_policy`, `temporary_data_in_cache`.
+- `move_factor`, `keep_free_space_bytes`,`max_data_part_size_bytes` and are ignored.
+- Policy should have exactly *one volume* with *local* disks.
:::
+**Example**
+
+```xml
+
+
+
+ /disk1/
+
+
+ /disk2/
+
+
+
+
+
+
+
+ disk1
+ disk2
+
+
+
+
+
+
+ tmp_two_disks
+
+
+```
+
+When `/disk1` is full, temporary data will be stored on `/disk2`.
+
+## temporary_data_in_cache {#temporary-data-in-cache}
+
+With this option, temporary data will be stored in the cache for the particular disk.
+In this section, you should specify the disk name with the type `cache`.
+In that case, the cache and temporary data will share the same space, and the disk cache can be evicted to create temporary data.
+
+:::note
+- Only one option can be used to configure temporary data storage: `tmp_path` ,`tmp_policy`, `temporary_data_in_cache`.
+:::
+
+**Example**
+
+```xml
+
+
+
+
+ local
+ /local_disk/
+
+
+
+ cache
+ local_disk
+ /tiny_local_cache/
+ 10M
+ 1M
+ 1
+ 0
+
+
+
+
+ tiny_local_cache
+
+```
+
+Cache for `local_disk` and temporary data will be stored in `/tiny_local_cache` on the filesystem, managed by `tiny_local_cache`.
+
## max_temporary_data_on_disk_size {#max_temporary_data_on_disk_size}
Limit the amount of disk space consumed by temporary files in `tmp_path` for the server.