Skip to content

Commit

Permalink
Pg logs production and staging
Browse files Browse the repository at this point in the history
  • Loading branch information
Rub21 committed Jul 23, 2024
1 parent db6efd8 commit a3a68b9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
8 changes: 5 additions & 3 deletions values.production.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,12 @@ osm-seed:
min_wal_size = 512MB
random_page_cost = 1.1
effective_cache_size = 20GB
log_min_duration_statement = 10000
log_min_duration_statement = 3000
log_connections = on
log_disconnections = on
log_duration = on
log_duration = off
log_lock_waits = on
log_statement = 'all'
log_statement = 'none'
log_timezone = 'Etc/UTC'
datestyle = 'iso, mdy'
timezone = 'Etc/UTC'
Expand All @@ -117,6 +117,8 @@ osm-seed:
parallel_setup_cost = 1000
min_parallel_table_scan_size = 4MB
min_parallel_index_scan_size = 512kB
session_preload_libraries = 'auto_explain'
auto_explain.log_min_duration = '3s'
# ====================================================================================================
# Variables for osm-seed website
# ====================================================================================================
Expand Down
6 changes: 3 additions & 3 deletions values.staging.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,12 @@ osm-seed:
min_wal_size = 80MB
random_page_cost = 1.1
effective_cache_size = 6GB
log_min_duration_statement = 10000
log_min_duration_statement = 3000
log_connections = on
log_disconnections = on
log_duration = on
log_duration = off
log_lock_waits = on
log_statement = 'all'
log_statement = 'none'
log_timezone = 'Etc/UTC'
datestyle = 'iso, mdy'
timezone = 'Etc/UTC'
Expand Down

0 comments on commit a3a68b9

Please sign in to comment.