From: Toine Siebelink Date: Tue, 19 Mar 2024 16:13:04 +0000 (+0000) Subject: Merge "Update deployment docs for Postgres shared_buffers value" X-Git-Tag: 3.4.7~9 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=a631e076e80941687467547d475a2b0d66e142c2;hp=e79c1d9991b47e0a944fba27286cd87d5b0f5be4;p=cps.git Merge "Update deployment docs for Postgres shared_buffers value" --- diff --git a/docs/deployment.rst b/docs/deployment.rst index de276ce28..ba8fcd934 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 +`_, 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 `_.