-PKG postgresql15-server
+PKG postgresql15-server postgresql15-contrib
SYSRC postgresql_enable=YES
SYSRC postgres_exporter_enable=YES
SERVICE postgresql initdb
# defaults to 'localhost'; use '*' for all
# (change requires restart)
#port = 5432 # (change requires restart)
-max_connections = 100 # (change requires restart)
+max_connections = 300 # (change requires restart)
#superuser_reserved_connections = 3 # (change requires restart)
#unix_socket_directories = '/tmp' # comma-separated list of directories
# (change requires restart)
# - Memory -
-shared_buffers = 128MB # min 128kB
+shared_buffers = 512MB # min 128kB
# (change requires restart)
#huge_pages = try # on, off, or try
# (change requires restart)
#local_preload_libraries = ''
#session_preload_libraries = ''
-#shared_preload_libraries = '' # (change requires restart)
+shared_preload_libraries = 'pg_stat_statements' # (change requires restart)
#jit_provider = 'llvmjit' # JIT library to use
# - Other Defaults -
#dynamic_library_path = '$libdir'
#gin_fuzzy_search_limit = 0
+pg_stat_statements.track = all
#------------------------------------------------------------------------------