Skip to content

Commit 504e0a9

Browse files
authored
docs: Elaborate on compaction effects on performance
1 parent dcc46c7 commit 504e0a9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/pages/product/caching/using-pre-aggregations.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -601,6 +601,12 @@ The data for `zip_code_index` would look as follows:
601601
| 88523 | 3800 |
602602
| 88524 | 5000 |
603603

604+
### Compaction
605+
606+
Whenever a newer version of pre-aggregation is just built and becomes available its performance would be suboptimal as it's pending compaction.
607+
Most of the essential compaction process usually takes several seconds to several minutes for bigger partitions after pre-aggregation creation, depending on the size of the partition and the Cube Store workers' processing power available.
608+
This compaction process is usually unnoticeable for queries that are optimal in terms of index usage, so it's always best practice to make sure all of your queries match an index.
609+
604610
## Inspecting pre-aggregations
605611

606612
Cube Store partially supports the MySQL protocol. This allows you to execute

0 commit comments

Comments
 (0)