Skip to content

Commit 1dd8647

Browse files
authored
Merge pull request #448 from jpopelka/default-shared_buffers-and-effective_cache_size
Update description of POSTGRESQL_SHARED_BUFFERS & POSTGRESQL_EFFECTIVE_CACHE_SIZE default values
2 parents 8221a32 + 07064a1 commit 1dd8647

File tree

1 file changed

+2
-2
lines changed
  • src/root/usr/share/container-scripts/postgresql

1 file changed

+2
-2
lines changed

src/root/usr/share/container-scripts/postgresql/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,10 @@ The following environment variables influence the PostgreSQL configuration file.
9595
**`POSTGRESQL_MAX_PREPARED_TRANSACTIONS (default: 0)`**
9696
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
9797

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

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

104104

0 commit comments

Comments
 (0)