mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-16 12:44:42 +00:00
8623cb232c
* CLICKHOUSE-4063: less manual html @ index.md * CLICKHOUSE-4063: recommend markdown="1" in README.md * CLICKHOUSE-4003: manually purge custom.css for now * CLICKHOUSE-4064: expand <details> before any print (including to pdf) * CLICKHOUSE-3927: rearrange interfaces/formats.md a bit * CLICKHOUSE-3306: add few http headers * Remove copy-paste introduced in #3392 * Hopefully better chinese fonts #3392 * get rid of tabs @ custom.css * Apply comments and patch from #3384 * Add jdbc.md to ToC and some translation, though it still looks badly incomplete * minor punctuation * Add some backlinks to official website from mirrors that just blindly take markdown sources * Do not make fonts extra light * find . -name '*.md' -type f | xargs -I{} perl -pi -e 's//g' {} * find . -name '*.md' -type f | xargs -I{} perl -pi -e 's/ sql/g' {} * Remove outdated stuff from roadmap.md * Not so light font on front page too * Refactor Chinese formats.md to match recent changes in other languages
22 lines
1.3 KiB
Markdown
22 lines
1.3 KiB
Markdown
# TinyLog
|
|
|
|
The simplest table engine, which stores data on a disk.
|
|
Each column is stored in a separate compressed file.
|
|
When writing, data is appended to the end of files.
|
|
|
|
Concurrent data access is not restricted in any way:
|
|
|
|
- If you are simultaneously reading from a table and writing to it in a different query, the read operation will complete with an error.
|
|
- If you are writing to a table in multiple queries simultaneously, the data will be broken.
|
|
|
|
The typical way to use this table is write-once: first just write the data one time, then read it as many times as needed.
|
|
Queries are executed in a single stream. In other words, this engine is intended for relatively small tables (recommended up to 1,000,000 rows).
|
|
It makes sense to use this table engine if you have many small tables, since it is simpler than the Log engine (fewer files need to be opened).
|
|
The situation when you have a large number of small tables guarantees poor productivity, but may already be used when working with another DBMS, and you may find it easier to switch to using TinyLog types of tables.
|
|
**Indexes are not supported.**
|
|
|
|
In Yandex.Metrica, TinyLog tables are used for intermediary data that is processed in small batches.
|
|
|
|
|
|
[Original article](https://clickhouse.yandex/docs/en/operations/table_engines/tinylog/) <!--hide-->
|