ClickHouse/docs/en/engines/table-engines/log-family/tinylog.md

14 lines
930 B
Markdown
Raw Normal View History

2020-04-03 13:23:32 +00:00
---
2022-08-28 14:53:34 +00:00
slug: /en/engines/table-engines/log-family/tinylog
2020-04-03 13:23:32 +00:00
toc_priority: 34
toc_title: TinyLog
---
2022-06-02 10:55:18 +00:00
# TinyLog
2017-04-03 19:49:50 +00:00
The engine belongs to the log engine family. See [Log Engine Family](../../../engines/table-engines/log-family/index.md) for common properties of log engines and their differences.
This table engine is typically used with the write-once method: write data one time, then read it as many times as necessary. For example, you can use `TinyLog`-type tables for intermediary data that is processed in small batches. Note that storing data in a large number of small tables is inefficient.
2017-04-03 19:49:50 +00:00
Queries are executed in a single stream. In other words, this engine is intended for relatively small tables (up to about 1,000,000 rows). It makes sense to use this table engine if you have many small tables, since its simpler than the [Log](../../../engines/table-engines/log-family/log.md) engine (fewer files need to be opened).