No Picture
PostgreSQL Internals

How to use pg_largeobject in PostgreSQL?

The pg_largeobject system table in PostgreSQL is used to store and manage large binary objects (BLOBs) of binary data. To use pg_largeobject, you need to perform the following steps: For example, the following code shows […]
No Picture
PostgreSQL Performance

PostgreSQL Slow Query: How to Tune It

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