Run GC and checkpointer separate threads.

Add checkpoint_period configuration parameter
This commit is contained in:
anastasia
2021-09-15 19:03:25 +03:00
committed by lubennikovaav
parent 98d4f9cea5
commit 6984d33b4e
5 changed files with 46 additions and 2 deletions

View File

@@ -34,6 +34,9 @@ Configuration parameter `checkpoint_distance` defines the distance
from current LSN to perform checkpoint of in-memory layers.
Default is `DEFAULT_CHECKPOINT_DISTANCE`.
Set this parameter to `0` to force checkpoint of every layer.
Configuration parameter `checkpoint_period` defines the interval between checkpoint iterations.
Default is `DEFAULT_CHECKPOINT_PERIOD`.
### Compute node
Stateless Postgres node that stores data in pageserver.