Skip to content

Commit 333a152

Browse files
committed
Merge branch 'maintenance-work-mem' into 'master'
Add maintenance_work_mem for Logical mode See merge request postgres-ai/database-lab!567
2 parents 0636f40 + 8bc072c commit 333a152

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

engine/configs/config.example.logical_generic.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,8 @@ databaseConfigs: &db_configs
126126
# work_mem and all the Query Planning parameters – copy the values from the source.
127127
# Detailed guide: https://postgres.ai/docs/how-to-guides/administration/postgresql-configuration#postgresql-configuration-in-clones
128128
work_mem: "100MB"
129+
# The maximum amount of memory to be used by maintenance operations, such as VACUUM, CREATE INDEX, and ALTER TABLE ADD FOREIGN KEY.
130+
maintenance_work_mem: "500MB"
129131
# ... put Query Planning parameters here
130132

131133
# Details of provisioning – where data is located,

engine/configs/config.example.logical_rds_iam.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,8 @@ databaseConfigs: &db_configs
126126
# work_mem and all the Query Planning parameters – copy the values from the source.
127127
# Detailed guide: https://postgres.ai/docs/how-to-guides/administration/postgresql-configuration#postgresql-configuration-in-clones
128128
work_mem: "100MB"
129+
# The maximum amount of memory to be used by maintenance operations, such as VACUUM, CREATE INDEX, and ALTER TABLE ADD FOREIGN KEY.
130+
maintenance_work_mem: "500MB"
129131
# ... put Query Planning parameters here
130132

131133
# Details of provisioning – where data is located,

0 commit comments

Comments
 (0)