From f3e6ad93846671da0d403b8d00dbdbb51cf3a944 Mon Sep 17 00:00:00 2001 From: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Date: Sat, 15 Jun 2024 03:32:21 +0530 Subject: [PATCH 1/2] Update postgresql.conf --- blobber-files/postgresql.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blobber-files/postgresql.conf b/blobber-files/postgresql.conf index 894496e..242591e 100644 --- a/blobber-files/postgresql.conf +++ b/blobber-files/postgresql.conf @@ -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 From 522f4af954e4917535b4b153fb9648d437372b02 Mon Sep 17 00:00:00 2001 From: Hitenjain14 <57557631+Hitenjain14@users.noreply.github.com> Date: Sat, 15 Jun 2024 03:37:35 +0530 Subject: [PATCH 2/2] Update postgresql.conf --- blobber-files/postgresql.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blobber-files/postgresql.conf b/blobber-files/postgresql.conf index 242591e..4d167f6 100644 --- a/blobber-files/postgresql.conf +++ b/blobber-files/postgresql.conf @@ -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)