Knowledge Base
v5.12.0
Search this version
Knowledge Base
Knowledge Base
Configuration & Setup
Error & Troubleshooting
Testing & Upgrade
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
How to turning the performance of PostgreSQL server
Copy Markdown
Open in ChatGPT
Open in Claude
The requirement to have high PostgreSQL performance: high RAM and the storage with high speed
To optimize the performance of PostgreSQL, the configuration file (postgresql.conf) can be modified with below setting:
Location of postgresql.conf (refer to: Open Connection On PostgreSQL Server)
Memory Settings:
- shared_buffers: amount of memory dedicated to caching data. Set to 25-40% of available RAM.
- work_mem: Allocate enough memory for sorting and hashing operations. A starting point can be 4-16 MB
- maintenance_work_mem: Use a larger value (e.g., 64-512 MB) for maintenance operations like vacuuming and index creation
- effective_cache_size: Set to 50-75% of total system memory
- autovacuum_vacuum_threshold: Use a large value (e.g. 100000) for less redundant vacuum execution
- autovacuum_vacuum_scale_factor: Set to 0 to ensure that auto-vacuum can execute properly and reduce storage space usage
Other settings:
- max_connections: The maximum number connection to PostgreSQL server at same time
Helping Tool :
- Use pgTune (https://pgtune.leopard.in.ua/) to generate optimized configuration settings based on your server specifications
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on
Was this page helpful?
Next to read:
How to obtain MetaDefender ICAP Server trial license?Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message
