Merge pull request #59609 from ClickHouse/docs-cloud-memory-table-engine

[Docs] Specify Memory table engine usage on cloud
This commit is contained in:
Alexey Milovidov 2024-02-13 02:06:08 +01:00 committed by GitHub
commit 31c5f1ec10
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,6 +6,12 @@ sidebar_label: Memory
# Memory Table Engine
:::note
When using the Memory table engine on ClickHouse Cloud, data is not replicated across all nodes (by design). To guarantee that all queries are routed to the same node and that the Memory table engine works as expected, you can do one of the following:
- Execute all operations in the same session
- Use a client that uses TCP or the native interface (which enables support for sticky connections) such as [clickhouse-client](/en/interfaces/cli)
:::
The Memory engine stores data in RAM, in uncompressed form. Data is stored in exactly the same form as it is received when read. In other words, reading from this table is completely free.
Concurrent data access is synchronized. Locks are short: read and write operations do not block each other.
Indexes are not supported. Reading is parallelized.