Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set random page cost to 1.1 #140

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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
4 changes: 2 additions & 2 deletions blobber-files/postgresql.conf
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ max_connections = 450 # (change requires restart)
# - Memory -

#1/4 RAM
shared_buffers = 2GB # min 128kB 1/4 RAM
shared_buffers = 16GB # min 128kB 1/4 RAM
# (change requires restart)
#huge_pages = try # on, off, or try
# (change requires restart)
Expand Down Expand Up @@ -314,7 +314,7 @@ min_wal_size = 2GB
# - Planner Cost Constants -

#seq_page_cost = 1.0 # measured on an arbitrary scale
#random_page_cost = 4.0 # same scale as above
random_page_cost = 1.1 # same scale as above
#cpu_tuple_cost = 0.01 # same scale as above
#cpu_index_tuple_cost = 0.005 # same scale as above
#cpu_operator_cost = 0.0025 # same scale as above
Expand Down