ClickHouse/docs/en/operations/caches.md

31 lines
959 B
Markdown
Raw Normal View History

2021-01-16 20:00:00 +00:00
---
sidebar_position: 65
sidebar_label: Caches
2021-01-16 20:00:00 +00:00
---
2022-06-02 10:55:18 +00:00
# Cache Types
2021-01-16 20:00:00 +00:00
2022-05-31 15:46:53 +00:00
When performing queries, ClickHouse uses different caches.
2021-01-16 20:00:00 +00:00
Main cache types:
2021-01-16 20:00:00 +00:00
- `mark_cache` — Cache of marks used by table engines of the [MergeTree](../engines/table-engines/mergetree-family/mergetree.md) family.
- `uncompressed_cache` — Cache of uncompressed data used by table engines of the [MergeTree](../engines/table-engines/mergetree-family/mergetree.md) family.
Additional cache types:
- DNS cache.
- [Regexp](../interfaces/formats.md#data-format-regexp) cache.
- Compiled expressions cache.
- [Avro format](../interfaces/formats.md#data-format-avro) schemas cache.
- [Dictionaries](../sql-reference/dictionaries/index.md) data cache.
- Schema inference cache.
2021-01-16 20:00:00 +00:00
2021-01-21 20:56:29 +00:00
Indirectly used:
- OS page cache.
2021-01-16 20:00:00 +00:00
2021-01-22 06:53:11 +00:00
To drop cache, use [SYSTEM DROP ... CACHE](../sql-reference/statements/system.md) statements.
[Original article](https://clickhouse.com/docs/en/operations/caches/) <!--hide-->