No Picture
PostgreSQL Internals

PostgreSQL Index Wildcard Explained

Index wildcard is a technique used in PostgreSQL to create an index on a partial string in a column, rather than indexing the entire column. This technique can improve query performance when searching for data […]
No Picture
PostgreSQL Performance

Troubleshooting PostgreSQL Query Performance

Monitoring query latency, wait events, and locks in PostgreSQL helps identify and diagnose performance bottlenecks. Here’s a guide on how to monitor these aspects: Here’s a sample query to gather information about locks, wait events, […]
No Picture
PostgreSQL Internals

PostgreSQL Redo Undo: How Operations Are Handled

Redo and Undo are essential components of any database management system, including PostgreSQL. Redo and Undo are used to maintain the consistency and durability of the database by enabling the recovery of transactions in the […]
No Picture
PostgreSQL Performance

PostgreSQL Partial Indexes: How to Use Them

Partial indexes in PostgreSQL allow you to create an index on a subset of a table’s rows that meet a certain condition. This can be useful for improving query performance on a subset of data […]