ClickHouse/docs/en/engines/table-engines/special/set.md
gyuton 0d1fcd2f96
DOCSUP-3227: Documented the persistent setting (#16579)
* added description of disable_set_and_join_persistency setting.

* Changed setting name to persistent, added references about persistent to join table engine and set table engine

* Resolved conflict.

* Added reviewers suggestions

* Added translation for Russian.

* Fixed typos

* Update docs/en/operations/settings/settings.md

Fixed minor stuff.

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Update settings.md

Updated translation.

* Fixed description and translation

* Fixed letter cases

Co-authored-by: George <gyuton@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-11-06 14:23:04 +03:00

1.1 KiB
Raw Blame History

toc_priority toc_title
39 Set

Set Table Engine

A data set that is always in RAM. It is intended for use on the right side of the IN operator (see the section “IN operators”).

You can use INSERT to insert data in the table. New elements will be added to the data set, while duplicates will be ignored. But you cant perform SELECT from the table. The only way to retrieve data is by using it in the right half of the IN operator.

Data is always located in RAM. For INSERT, the blocks of inserted data are also written to the directory of tables on the disk. When starting the server, this data is loaded to RAM. In other words, after restarting, the data remains in place.

For a rough server restart, the block of data on the disk might be lost or damaged. In the latter case, you may need to manually delete the file with damaged data.

Limitations and Settings

When creating a table, the following settings are applied:

Original article