Skip to content

Commit

Permalink
Refactor continuous aggregate materialization code
Browse files Browse the repository at this point in the history
In addition to the code reorganization and simplification we changed
it by splitting the query execution in multiple steps taking advantage
of `SPI_prepare`, `SPI_execute_plan` and `SPI_freeplan`:
* create_materialization_plan(PlanType)
* execute_materialization_plan(PlanType)
* free_materialization_plan(PlanType)

This PR is in preparation for a following PR to execute the
materialization in small batches to alleviate the I/O spikes when
reading and writing many buckets.
  • Loading branch information
fabriziomello committed Dec 11, 2024
1 parent c205899 commit 63f7cc8
Showing 1 changed file with 398 additions and 345 deletions.
Loading

0 comments on commit 63f7cc8

Please sign in to comment.