No Picture
PostgreSQL Troubleshooting

How to monitor live sessions in PostgreSQL?

In PostgreSQL, you can monitor live sessions using a few different methods: You can use any of these methods to monitor live sessions in PostgreSQL, depending on your needs and the resources available to you. […]

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

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

No Picture
PostgreSQL DBA

Step-by-step PostgreSQL 12 Streaming Replication on Ubuntu

Step-by-step Installation and Configuration of Streaming Replication in PostgreSQL 12 In this post we have explained how to implement step-by-step PostgreSQL 12 Streaming Replication on Ubuntu 20.04 (Codename: focal). PostgreSQL support several types of replication solutions […]