mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-14 03:25:15 +00:00
495 B
495 B
toc_priority | toc_title |
---|---|
31 | Lazy |
Lazy
Keeps tables in RAM only expiration_time_in_seconds
seconds after last access. Can be used only with *Log tables.
It’s optimized for storing many small *Log tables, for which there is a long time interval between accesses.
Creating a Database
CREATE DATABASE testlazy ENGINE = Lazy(expiration_time_in_seconds);