ClickHouse/docs/en/engines/database-engines/lazy.md
2022-04-09 07:34:21 -06:00

503 B
Raw Blame History

sidebar_label sidebar_position
Lazy 20

Lazy

Keeps tables in RAM only expiration_time_in_seconds seconds after last access. Can be used only with *Log tables.

Its 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);

Original article