blacksteel: use postgresql_16
This commit is contained in:
parent
538fffeee5
commit
cf1c1e506d
1 changed files with 2 additions and 2 deletions
|
@ -85,8 +85,8 @@
|
||||||
|
|
||||||
services.postgresql = {
|
services.postgresql = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
package = pkgs.postgresql_16;
|
||||||
settings = {
|
settings = {
|
||||||
# https://pgtune.leopard.in.ua/
|
|
||||||
max_connections = 200;
|
max_connections = 200;
|
||||||
shared_buffers = "4GB";
|
shared_buffers = "4GB";
|
||||||
effective_cache_size = "12GB";
|
effective_cache_size = "12GB";
|
||||||
|
@ -94,7 +94,7 @@
|
||||||
checkpoint_completion_target = 0.9;
|
checkpoint_completion_target = 0.9;
|
||||||
wal_buffers = "16MB";
|
wal_buffers = "16MB";
|
||||||
default_statistics_target = 100;
|
default_statistics_target = 100;
|
||||||
random_page_cost = "1.1";
|
random_page_cost = 1.1;
|
||||||
effective_io_concurrency = 200;
|
effective_io_concurrency = 200;
|
||||||
work_mem = "5242kB";
|
work_mem = "5242kB";
|
||||||
huge_pages = "off";
|
huge_pages = "off";
|
||||||
|
|
Loading…
Reference in a new issue