ClickHouse/docs/en/table_engines/log.rst

6 lines
691 B
ReStructuredText
Raw Normal View History

2017-04-03 19:49:50 +00:00
Log
----
2017-04-26 17:26:17 +00:00
Log differs from TinyLog in that a small file of "marks" resides with the column files. These marks are written on every data block and contain offsets - where to start reading the file in order to skip the specified number of rows. This makes it possible to read table data in multiple threads. For concurrent data access, the read operations can be performed simultaneously, while write operations block reads and each other.
The Log engine does not support indexes. Similarly, if writing to a table failed, the table is broken, and reading from it returns an error. The Log engine is appropriate for temporary data, write-once tables, and for testing or demonstration purposes.