Linux

How System Calls are implemented in Linux Kernel?

System calls in the Linux kernel:System calls in the Linux kernel are implemented using a combination of mechanisms and algorithms to ensure efficient and secure interaction between user-level applications and the kernel. Here’s a high-level […]

No Picture
MinervaDB

How PostgreSQL uses maintenance_work_mem for VACUUM?

 In PostgreSQL, the maintenance_work_mem configuration parameter controls the amount of memory allocated for maintenance operations, including VACUUM. When running a VACUUM operation, PostgreSQL needs to sort and process data pages to reclaim disk space and improve performance. […]

No Picture
MinervaDB

Understanding WAL and WAL Writer Process in PostgreSQL

The Write-Ahead Log (WAL) is a crucial component of PostgreSQL’s transaction processing and crash recovery mechanism. It ensures the durability and consistency of data by providing a reliable way to replay transactions in the event of […]

No Picture
MinervaDB

Analyzing Index Bloat in PostgreSQL

Introduction: Index bloat can negatively impact the performance and storage efficiency of a PostgreSQL database. To identify and understand the extent of index bloat, we can use the SQL query provided below. This blog post […]