No Picture

How PL/Python is implemented in PostgreSQL?

PL/Python is a procedural language for PostgreSQL that allows you to write stored procedures, triggers, and functions in Python. The PL/Python language is implemented as an extension module for PostgreSQL, which means that it’s not […]

No Picture
MinervaDB

How Latches are implemented in PostgreSQL?

PostgreSQL uses latches to provide synchronization between different threads accessing shared resources. Latches are lightweight and efficient mechanisms that provide mutual exclusion between threads. Here is a table describing all the PostgreSQL latches, their purpose, […]

No Picture
MinervaDB

How to implement parallel queries in PostgreSQL 15?

PostgreSQL 15 introduces a new parallel query feature called “Partitionwise Joins” which can improve the performance of queries involving large tables. Here’s how to implement parallel queries using this feature: Here’s an example query that […]

No Picture

PostgreSQL Error locking mutex 22

The error message “Error locking mutex 22” in PostgreSQL is typically caused by a problem with the system’s memory management or by a misconfiguration in the database. This error message usually occurs when PostgreSQL is […]