Skip to content

Commit 76e4aba

Browse files
committed
fix: increase max locks for large deletes
1 parent 54058cd commit 76e4aba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

db/postgresql.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ effective_cache_size = 24GB # Assume OS uses 75% of RAM for cache
1717
work_mem = 512MB # Large work_mem for fast aggregations
1818
maintenance_work_mem = 2GB # Fast index builds and maintenance
1919
max_connections = 100 # Low to allow large work_mem per connection
20+
max_locks_per_transaction = 512 # Increased for many partitioned tables (default: 64)
2021

2122
#------------------------------------------------------------------------------
2223
# PARALLELISM SETTINGS

0 commit comments

Comments
 (0)