diff --git a/documentation/concepts/out-of-order-data.md b/documentation/concepts/out-of-order-data.md index c8458c280..23c4cf97c 100644 --- a/documentation/concepts/out-of-order-data.md +++ b/documentation/concepts/out-of-order-data.md @@ -153,6 +153,11 @@ filesystem overhead. The target remains 30 to 80 million rows per partition. See [Choosing a partition interval](/docs/concepts/partitions/#choosing-a-partition-interval). +### WAL apply block size + +Larger [WAL apply blocks](/docs/configuration/wal/#adaptive-wal-apply-blocks) +reduce the number of O3 merges. + ### O3 memory page size The `cairo.o3.column.memory.size` configuration controls how much memory the diff --git a/documentation/concepts/write-ahead-log.md b/documentation/concepts/write-ahead-log.md index 10b0e1302..99cfe36a1 100644 --- a/documentation/concepts/write-ahead-log.md +++ b/documentation/concepts/write-ahead-log.md @@ -105,6 +105,11 @@ When data is written to a WAL table: This decouples the commit (fast) from storage application (background), enabling high write throughput. +WAL apply sorts and commits many WAL transactions together as one block; +larger blocks reduce out-of-order merges but use more memory per block. +[Adaptive blocks](/docs/configuration/wal/#adaptive-wal-apply-blocks) are enabled +by default and grow within a memory budget. +