No Picture
MinervaDB

How PostgreSQL uses maintenance_work_mem for VACUUM?

In PostgreSQL, the maintenance_work_mem configuration parameter controls how much memory the system allocates for maintenance operations, including VACUUM. When you run a VACUUM operation, PostgreSQL sorts and processes data pages. This process helps reclaim disk […]

No Picture
MinervaDB

Analyzing Index Bloat in PostgreSQL

Introduction: Index bloat can significantly impact the performance and storage efficiency of a PostgreSQL database. Therefore, to identify and understand the extent of index bloat, we can use the SQL query provided below. In this […]

No Picture
MinervaDB

How does PostgreSQL I/O Work?

In PostgreSQL, I/O (Input/Output) refers to the process of reading and writing data to and from storage devices, such as hard disks or SSDs. PostgreSQL manages I/O operations to efficiently store and retrieve data. Here’s […]

No Picture
MinervaDB

How to implement Encryption-at-Rest for PostgreSQL in Kubernetes?

Implementing encryption-at-Rest for PostgreSQL in Kubernetes involves configuring encryption for the persistent storage where PostgreSQL data resides. Below is a step-by-step explanation of how to achieve this, along with a real-world example: apiVersion: apps/v1kind: Deploymentmetadata:name: […]