Skip to content

Commit

Permalink
Merge pull request sclorg#448 from jpopelka/default-shared_buffers-an…
Browse files Browse the repository at this point in the history
…d-effective_cache_size

Update description of POSTGRESQL_SHARED_BUFFERS & POSTGRESQL_EFFECTIVE_CACHE_SIZE default values
  • Loading branch information
phracek authored Jul 18, 2022
2 parents 8221a32 + 07064a1 commit 1dd8647
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/root/usr/share/container-scripts/postgresql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,10 @@ The following environment variables influence the PostgreSQL configuration file.
**`POSTGRESQL_MAX_PREPARED_TRANSACTIONS (default: 0)`**
Sets the maximum number of transactions that can be in the "prepared" state. If you are using prepared transactions, you will probably want this to be at least as large as max_connections

**`POSTGRESQL_SHARED_BUFFERS (default: 32M)`**
**`POSTGRESQL_SHARED_BUFFERS (default: 1/4 of memory limit or 32M)`**
Sets how much memory is dedicated to PostgreSQL to use for caching data

**`POSTGRESQL_EFFECTIVE_CACHE_SIZE (default: 128M)`**
**`POSTGRESQL_EFFECTIVE_CACHE_SIZE (default: 1/2 of memory limit or 128M)`**
Set to an estimate of how much memory is available for disk caching by the operating system and within the database itself


Expand Down

0 comments on commit 1dd8647

Please sign in to comment.