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 DBA

How pg_dump is different in PostgreSQL 16?

How pg_dump is different in PostgreSQL 16? The pg_dump command is a tool used to export data from a PostgreSQL database into a file. The tool has been included in PostgreSQL since version 7.0 and […]

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 […]