ClickHouse/docs/zh/operations/table_engines/log.md
谢磊 5498ed56fd [WIP] translate about table-engines (#3731)
* init zh/operations translate

* finish table_engines about Integrations part

* add table_engine index

* finish table_engines -- For Small Data -- log、tinylog、memory

* finish table_engines -- For Small Data -- buffer,external_data
2018-12-04 19:12:56 +03:00

8 lines
699 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Log
日志与 TinyLog 的不同之处在于,"标记" 的小文件与列文件存在一起。这些标记写在每个数据块上并且包含偏移量这些偏移量指示从哪里开始读取文件以便跳过指定的行数。这使得可以在多个线程中读取表数据。对于并发数据访问可以同时执行读取操作而写入操作则阻塞读取和其它写入。Log 引擎不支持索引。同样如果写入表失败则该表将被破坏并且从该表读取将返回错误。Log 引擎适用于临时数据write-once 表以及测试或演示目的。
[Original article](https://clickhouse.yandex/docs/zh/operations/table_engines/log/) <!--hide-->