Ensure GDK PostgreSQL uses a consistent set of defaults
To ensure development environments are a bit more consistent GDK should apply the following defaults for PostgreSQL (instead of the ones provided by PostgreSQL itself):
-
random_page_cost
:1
-
work_mem
:16MB
-
maintenance_work_mem
: at least64MB
-
shared_buffers
: at least256MB
These settings are still pretty far from production, but they are much more reasonable than the very limited defaults of PostgreSQL. See https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/12355 for more information.