No Picture
PostgreSQL Performance

Analyzing PostgreSQL with strace

Analyzing PostgreSQL with strace strace is a powerful Linux tool that allows you to trace system calls and signals of a running process. It can be used to analyze the behavior of a PostgreSQL server [...]
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 [...]
No Picture
PostgreSQL Internals

Find When was a table last changed in PostgreSQL?

Find When was a table last changed in PostgreSQL? In PostgreSQL, you can use the pg_class system catalog table to determine when a table was last changed. The pg_class table contains metadata about all tables [...]
No Picture
PostgreSQL Performance

How PostgreSQL Vacuum works?

How does PostgreSQL Vacuum work? In PostgreSQL, the vacuum process is responsible for reclaiming space from deleted or updated rows in tables. The vacuum process works by scanning the table and removing any rows that […]