No Picture

How to configure PostgreSQL for Statistics Collection?

PostgreSQL collects various statistics about its internal operations and the usage of database objects, which can be useful for performance tuning and troubleshooting purposes. By default, PostgreSQL enables statistics collection, but you may need to […]

No Picture
PostgreSQL Internals

PostgreSQL Locks, Latches, Enqueues and Mutex

PostgreSQL can be tuned for concurrency and performance by adjusting various configuration parameters that affect the behavior of the database system. Here are some recommended steps for tuning PostgreSQL for concurrency and performance: How to […]

No Picture
PostgreSQL Internals

What does a COMMIT do internally to PostgreSQL?

In PostgreSQL, a COMMIT statement is used to finalize a transaction and make its changes permanent in the database. When a COMMIT statement is executed, the following things happen internally in PostgreSQL: After a transaction […]

No Picture
PostgreSQL Performance

How I/O cache influence PostgreSQL performance?

How I/O cache influence PostgreSQL performance? I/O cache plays an important role in PostgreSQL performance as it can greatly reduce the number of disk I/O operations that need to be performed. The PostgreSQL server uses [...]
No Picture
PostgreSQL Performance

Tuning Linux for PostgreSQL

Tuning Linux for PostgreSQL Tuning Linux for PostgreSQL performance can involve several steps. Here are some general steps to take: Optimize kernel parameters: Make sure the kernel is configured for optimal performance for PostgreSQL. This [...]
No Picture
PostgreSQL Performance

How to tune a slow query in PostgreSQL?

How to tune a slow query in PostgreSQL? Tuning a slow query in PostgreSQL can involve several steps. Here are some general steps to take: Identify the slow query: Use the pg_stat_activity view to see [...]