Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
ClickHouse launches Claude-powered Agents and House Mates partner program at Open House 2026 Read more →
通过内存中的索引将字典数据存储到 SSD:ssd_cache 或 complex_key_ssd_cache 类型
cache
LAYOUT(SSD_CACHE(BLOCK_SIZE 4096 FILE_SIZE 16777216 READ_BUFFER_SIZE 1048576 PATH '/var/lib/clickhouse/user_files/test_dict'))
<layout> <ssd_cache> <!-- 基本读取块大小(以字节为单位)。建议与 SSD 的页大小相同。 --> <block_size>4096</block_size> <!-- 缓存文件的最大大小(以字节为单位)。 --> <file_size>16777216</file_size> <!-- 用于从 SSD 读取元素的 RAM 缓冲区大小(以字节为单位)。 --> <read_buffer_size>131072</read_buffer_size> <!-- 刷新到 SSD 前,用于聚合元素的 RAM 缓冲区大小(以字节为单位)。 --> <write_buffer_size>1048576</write_buffer_size> <!-- 缓存文件的存储路径。 --> <path>/var/lib/clickhouse/user_files/test_dict</path> </ssd_cache> </layout>
ssd_cache
此页面对您有帮助吗?