Skip to content
This repository has been archived by the owner on Aug 16, 2021. It is now read-only.

Experiment script #1

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions config/c5.18xlarge
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
shared_buffers = 34GB
effective_cache_size = 110GB
maintenance_work_mem = 1GB
work_mem = 256MB
synchronous_commit = off
max_connections = 1000
bgwriter_delay = 10ms
bgwriter_lru_maxpages = 1000
bgwriter_lru_multiplier = 10.0
checkpoint_timeout = 1h
max_wal_size = 8GB
min_wal_size = 2GB
checkpoint_completion_target = 0.9

14 changes: 14 additions & 0 deletions config/c5.9xlarge
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
shared_buffers = 8GB
effective_cache_size = 50GB
maintenance_work_mem = 1GB
work_mem = 128MB
synchronous_commit = off
max_connections = 500
bgwriter_delay = 10ms
bgwriter_lru_maxpages = 1000
bgwriter_lru_multiplier = 10.0
checkpoint_timeout = 1h
max_wal_size = 8GB
min_wal_size = 2GB
checkpoint_completion_target = 0.9

12 changes: 12 additions & 0 deletions config/ec2.memory.map
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
r3.large 15.25
r3.xlarge 30.5
r3.2xlarge 61
r3.4xlarge 122
r3.8xlarge 244
r4.large 15.25
r4.xlarge 30.5
r4.2xlarge 61
r4.4xlarge 122
r4.8xlarge 244
r4.16xlarge 488

16 changes: 16 additions & 0 deletions config/i3.16xlarge
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
shared_buffers = 64GB
effective_cache_size = 424GB
maintenance_work_mem = 2GB
work_mem = 128MB
synchronous_commit = off
max_connections = 1000
bgwriter_delay = 10ms
bgwriter_lru_maxpages = 1000
bgwriter_lru_multiplier = 10.0
checkpoint_timeout = 1h
max_wal_size = 8GB
min_wal_size = 2GB
checkpoint_completion_target = 0.9
stats_temp_directory='/run/postgresql'


15 changes: 15 additions & 0 deletions config/i3.8xlarge
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
shared_buffers = 48GB
effective_cache_size = 200GB
maintenance_work_mem = 1GB
work_mem = 64MB
synchronous_commit = off
max_connections = 500
bgwriter_delay = 10ms
bgwriter_lru_maxpages = 1000
bgwriter_lru_multiplier = 10.0
checkpoint_timeout = 1h
max_wal_size = 8GB
min_wal_size = 2GB
checkpoint_completion_target = 0.9
stats_temp_directory='/run/postgresql'

17 changes: 17 additions & 0 deletions config/m4.16xlarge
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
shared_buffers = 64GB
effective_cache_size = 192GB
maintenance_work_mem = 2GB
work_mem = 512MB
synchronous_commit = off
max_connections = 1000
bgwriter_delay = 10ms
bgwriter_lru_maxpages = 1000
bgwriter_lru_multiplier = 10.0
checkpoint_timeout = 1h
max_wal_size = 8GB
min_wal_size = 2GB
checkpoint_completion_target = 0.9
stats_temp_directory='/run/postgresql'
random_page_cost = 1


33 changes: 33 additions & 0 deletions config/r3.large
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
listen_addresses = '*'
shared_buffers = 4GB
effective_cache_size = 12GB
maintenance_work_mem = 256MB
work_mem = 32MB
synchronous_commit = off
max_connections = 500
bgwriter_delay = 10ms
bgwriter_lru_maxpages = 1000
bgwriter_lru_multiplier = 10.0
checkpoint_timeout = 1h
max_wal_size = 8GB
min_wal_size = 2GB
checkpoint_completion_target = 0.9
stats_temp_directory='/run/postgresql'
log_min_messages = notice
log_min_error_statement = notice
log_min_duration_statement = 0
log_checkpoints = on
log_connections = on
log_disconnections = on
log_line_prefix = '%t [%p]: [%l-1] db=%d,user=%u (%a,%h) '
log_lock_waits = on
log_replication_commands = on
log_temp_files = 0
auto_explain.log_min_duration = '100ms'
auto_explain.log_analyze = on
auto_explain.log_verbose = on
auto_explain.log_buffers = on
auto_explain.log_format = 'text'
auto_explain.log_timing = off
auto_explain.log_triggers = on
auto_explain.log_nested_statements = on
17 changes: 17 additions & 0 deletions config/r4.large
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
listen_addresses = '*'
shared_buffers = 4GB
effective_cache_size = 12GB
maintenance_work_mem = 256MB
work_mem = 32MB
synchronous_commit = off
max_connections = 500
bgwriter_delay = 10ms
bgwriter_lru_maxpages = 1000
bgwriter_lru_multiplier = 10.0
checkpoint_timeout = 1h
max_wal_size = 8GB
min_wal_size = 2GB
checkpoint_completion_target = 0.9
stats_temp_directory='/run/postgresql'


15 changes: 15 additions & 0 deletions config/t2.micro
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
shared_buffers = 256MB
effective_cache_size = 750MB
maintenance_work_mem = 100MB
work_mem = 16MB
synchronous_commit = off
max_connections = 50
bgwriter_delay = 10ms
bgwriter_lru_maxpages = 1000
bgwriter_lru_multiplier = 10.0
checkpoint_timeout = 1h
max_wal_size = 2GB
min_wal_size = 1GB
checkpoint_completion_target = 0.9


14 changes: 14 additions & 0 deletions config/x1.16xlarge
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
shared_buffers = 128GB
effective_cache_size = 900GB
maintenance_work_mem = 2GB
work_mem = 256MB
synchronous_commit = off
max_connections = 1000
bgwriter_delay = 10ms
bgwriter_lru_maxpages = 1000
bgwriter_lru_multiplier = 10.0
checkpoint_timeout = 1h
max_wal_size = 8GB
min_wal_size = 2GB
checkpoint_completion_target = 0.9

16 changes: 16 additions & 0 deletions config/x1.32xlarge
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
shared_buffers = 256GB
effective_cache_size = 900GB
maintenance_work_mem = 2GB
work_mem = 256MB
synchronous_commit = on
max_connections = 1000
bgwriter_delay = 10ms
bgwriter_lru_maxpages = 1000
bgwriter_lru_multiplier = 10.0
checkpoint_timeout = 1h
max_wal_size = 8GB
min_wal_size = 2GB
checkpoint_completion_target = 0.9



16 changes: 16 additions & 0 deletions config/x1e.16xlarge
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
shared_buffers = 64GB
effective_cache_size = 912GB
maintenance_work_mem = 1GB
work_mem = 64MB
synchronous_commit = off
max_connections = 500
bgwriter_delay = 10ms
bgwriter_lru_maxpages = 1000
bgwriter_lru_multiplier = 10.0
checkpoint_timeout = 1h
max_wal_size = 8GB
min_wal_size = 2GB
checkpoint_completion_target = 0.9
stats_temp_directory='/run/postgresql'


16 changes: 16 additions & 0 deletions config/x1e.32xlarge
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
shared_buffers = 64GB
effective_cache_size = 912GB
maintenance_work_mem = 1GB
work_mem = 64MB
synchronous_commit = off
max_connections = 500
bgwriter_delay = 10ms
bgwriter_lru_maxpages = 1000
bgwriter_lru_multiplier = 10.0
checkpoint_timeout = 1h
max_wal_size = 8GB
min_wal_size = 2GB
checkpoint_completion_target = 0.9
stats_temp_directory='/run/postgresql'


16 changes: 16 additions & 0 deletions config/x1e.4xlarge
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
shared_buffers = 48GB
effective_cache_size = 200GB
maintenance_work_mem = 1GB
work_mem = 64MB
synchronous_commit = off
max_connections = 500
bgwriter_delay = 10ms
bgwriter_lru_maxpages = 1000
bgwriter_lru_multiplier = 10.0
checkpoint_timeout = 1h
max_wal_size = 8GB
min_wal_size = 2GB
checkpoint_completion_target = 0.9
stats_temp_directory='/run/postgresql'


16 changes: 16 additions & 0 deletions config/x1e.8xlarge
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
shared_buffers = 64GB
effective_cache_size = 912GB
maintenance_work_mem = 1GB
work_mem = 64MB
synchronous_commit = off
max_connections = 500
bgwriter_delay = 10ms
bgwriter_lru_maxpages = 1000
bgwriter_lru_multiplier = 10.0
checkpoint_timeout = 1h
max_wal_size = 8GB
min_wal_size = 2GB
checkpoint_completion_target = 0.9
stats_temp_directory='/run/postgresql'


Loading