postgresql.conf file. To find your postgresql.conf file, use SHOW.
- By editing the
postgresql.conffile and restarting Postgres. This makes the setting permanent for all sessions.postgresql.confaccepts ParadeDB’s customparadedb.*settings. - By running
SET. This temporarily changes the setting for the current session. Note that Postgres does not allow allpostgresql.confsettings to be changed withSET. For example:
Docker
When running ParadeDB in Docker, sensible default parameters are automatically configured based on the resources available to the container. For example, running a container with 4 CPUs and 8GB memory will cause the following to be appended topostgresql.conf. Be sure to adjust these parameters as you tune your deployment.
PDB_TUNE=false when you first run the ParadeDB Docker container:
Kubernetes
If ParadeDB is deployed in Kubernetes with CloudNativePG, configure these settings undercluster.postgresql.parameters in your values.yaml file. Parameter values must be strings. For example:
values.yaml