Implementing SSL for PostgreSQL: A Step-by-Step Guide

In the previous blog, we explored the importance of securing data at rest, focusing on encryption methods and best practices to protect sensitive information stored within PostgreSQL databases. As we continue our journey toward comprehensive data security, we now turn our attention to securing data in transit. Ensuring that data transmitted between clients and the … Read more

PostgreSQL 14 – In progress transaction in logical replication

Per PostgreSQL 14 release notes “When using logical replication, PostgreSQL can now stream in-progress transactions to subscribers, with significant performance benefits for applying large transactions on subscribers. PostgreSQL 14 also adds several other performance enhancements to the logical decoding system that powers logical replication.” What is in-progress transactions streaming? As per the logical replication architecture, … Read more

PostgreSQL Timelines and History File – Master Guide

“TIMELINES ARE THE DIVERGENT POINTS” Let’s assume you did a point in time recovery after a wrong transaction, PostgreSQL branches to a new timeline and continue with the operations. But what happens after you perform a point in time recovery, realized you made a mistake again? That’s where recovery_target_timeline comes into picture. In this post … Read more

ROOT User Approach – How to Install and Configure PostgreSQL 13 in UBUNTU 14

How to install PostgreSQL 13 in UBUNTU From Repository PostgreSQL can be installed by means of two ways Installing from source Installing binary packages Each method has its own advantages and disadvantages, however, we will limit this post to learn how to install PostgreSQL using binaries packages. Follow the steps here to get the automated … Read more

ROOT User Approach – How to Install and Configure PostgreSQL 13 in RHEL 7 –

How to install PostgreSQL 13 in REHL 7 From Repository PostgreSQL can be installed by means of two ways Installing from source Installing binary packages Each method has its own advantages and disadvantages, however, we will limit this post to learn how to install PostgreSQL using binaries packages. Follow the steps here to get the … Read more

PostgreSQL 13 – New Features [Master Guide]

PostgreSQL 13

PostgreSQL 13 Beta 1 has been released for testing. postgres=# show server_version_num; server_version_num ——————– 130000 (1 row) PostgreSQL 13 New Features More than 160 new features have been added in PostgreSQL 13 compared to its previous versions. This is a multi-post series on PostgreSQL 13 NF, so I would recommend you to subscribe to the … Read more

PostgreSQL Extension – Master Note

PostgreSQL Extensions

PostgreSQL is an open-source database management system. It is a great way to learn to program, design and debug. One of the main features of PostgreSQL is Extensions. Extensions of PostgreSQL can be an as small extension as pg_fincore, used to understand the OS cache of your PostgreSQL pages to the large projects like PostGIS … Read more

Case study on table conflict issues during PostgreSQL vacuum

stopping truncate due to lock request

PostgreSQL Vacuum is a vast subject. There are many things that can be discussed in vacuuming. But in this post, I am going to touch something interesting. Before we begin, I have a question for you. Is vacuum table_name releases space to disk? And if your answer is NO, then you are wrong. The answer is … Read more

Everything You Need to Know About PostgreSQL Locks

PostgreSQL locks

In the context of transaction processing, Isolation plays a significant role. Isolation is the property that controls how and when changes are made and when they must be visible to each other, users, and systems. PostgreSQL achieves Isolation by multi-version concurrency control architecture. Multi-version concurrency control is a technique to allow multiple sessions to access … Read more