summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToine Siebelink <toine.siebelink@est.tech>2024-03-19 16:13:04 +0000
committerGerrit Code Review <gerrit@onap.org>2024-03-19 16:13:04 +0000
commita631e076e80941687467547d475a2b0d66e142c2 (patch)
treeb3d247af27f622b5ba9db6d1afe6eb02b9435069
parente79c1d9991b47e0a944fba27286cd87d5b0f5be4 (diff)
parent1ace2e651edb89d042bfbc80861dedfc83f44caf (diff)
Merge "Update deployment docs for Postgres shared_buffers value"
-rw-r--r--docs/deployment.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/deployment.rst b/docs/deployment.rst
index de276ce28f..ba8fcd9347 100644
--- a/docs/deployment.rst
+++ b/docs/deployment.rst
@@ -12,6 +12,13 @@ CPS Deployment
.. contents::
:depth: 2
+Database configuration
+======================
+CPS uses PostgreSQL database. As per the `PostgreSQL documentation on resource consumption
+<https://www.postgresql.org/docs/current/runtime-config-resource.html#GUC-SHARED-BUFFERS>`_, the *shared_buffers*
+parameter should be set between 25% and 40% of total memory. It has a default value of 128 megabytes, so this should be
+set appropriately. For example, given a database with 2GB of memory, 512MB is a recommended value.
+
CPS OOM Charts
==============
The CPS kubernetes chart is located in the `OOM repository <https://github.com/onap/oom/tree/master/kubernetes/cps>`_.