In a previous article we saw how to set up PostgreSQL Native Streaming Replication. This time we will see how to install and configure repmgr (Replication Manager), to automate cluster management and easily… read more
How to do Connection Pooling in PostgreSQL with PgBouncer
In PostgreSQL, each new connection from an application or user creates a separate process in the operating system. When there are few connections, everything works smoothly. But when we have hundreds or thousands of simultaneous connections from applications, the database… read more
How to Backup & Restore in PostgreSQL using Barman
As we have seen in previous articles, in older versions of PostgreSQL before version 17 there was no native ability for block level backup, as a result we could not do differential and incremental backups and we would have to take every… read more
How do we find which queries are currently running in a PostgreSQL database?
As we have seen in corresponding articles for SQL Server and Oracle Database, monitoring active queries in real time is a key tool in the hands of a DBA for identifying bottlenecks, long-running queries and blocking sessions. In PostgreSQL… read more
What is TimescaleDB (Tiger Data) and how do we manage Time-Series data in PostgreSQL?
In modern database environments, we are increasingly called upon to store and analyze Time-Series data. Such data include, for example, sensor measurements (IoT), system monitoring metrics (CPU, RAM), application logs, or financial… read more
How do we use pgvector in PostgreSQL for AI and Vector Search?
Modern artificial intelligence applications and Large Language Models are based on data called vectors (or embeddings). PostgreSQL, thanks to its flexibility, can be transformed into a full vector database with the help of pgvector.… read more
How to enable Native Steaming Replication in PostgreSQL
When managing critical databases, High Availability and Disaster Recovery are a must. But before we look at complex replication tools, it's worth seeing how PostgreSQL's native Physical Streaming Replication works directly with a Primary and a Standby... read more
How to Partition an Existing Table in PostgreSQL and How to Maintain It
After seeing similar practices in SQL Server, it's time to move on to PostgreSQL and see how we can partition an existing table that is already full of data, how we check existing partitions, how we automate the creation... read more
How can we monitor performance (Oracle AWR type) in PostgreSQL with a report using the pg_profile extension?
When managing PostgreSQL databases in production environments, one of the biggest challenges is identifying which queries and processes are consuming the most resources. Although PostgreSQL has great tools like pg_stat_statements, we often need historical… read more
