-
Notifications
You must be signed in to change notification settings - Fork 926
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jose Baroni
committed
Feb 8, 2024
1 parent
6e5ceaa
commit aeb151e
Showing
1 changed file
with
13 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,26 @@ | ||
listen_addresses = '*' | ||
max_connections = 250 | ||
max_connections = 100 | ||
superuser_reserved_connections = 3 | ||
unix_socket_directories = '/var/run/postgresql' | ||
shared_buffers = 512MB | ||
shared_buffers = 200MB | ||
work_mem = 4MB | ||
maintenance_work_mem = 256MB | ||
effective_cache_size = 1GB | ||
wal_buffers = 64MB | ||
effective_cache_size = 200MB | ||
wal_buffers = 128MB | ||
checkpoint_completion_target = 0.9 | ||
random_page_cost = 4.0 | ||
effective_io_concurrency = 10 | ||
random_page_cost = 2.0 | ||
effective_io_concurrency = 3 | ||
autovacuum = on | ||
log_statement = 'none' | ||
log_duration = off | ||
log_lock_waits = off | ||
log_error_verbosity = terse | ||
log_min_messages = panic | ||
log_min_error_statement = panic | ||
synchronous_commit=off | ||
max_wal_size=8GB | ||
checkpoint_timeout=500 | ||
|
||
# blz, to apelando, mas ainda é persistente... deixa durabilidade pro meu trampo kek | ||
# caso ache muita apelacao, só remover essas 2 linhas | ||
synchronous_commit=off | ||
fsync=off |