No Picture
PostgreSQL Internals

Hints and Costs in PostgreSQL

Understanding Hints and Costs in PostgreSQL Query Optimization Firstly, hints and costs are two important concepts in PostgreSQL query optimization. They help improve query performance by giving the optimizer additional information about how to execute […]

No Picture
PostgreSQL Internals

Index Wildcard in PostgreSQL

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 Performance

What do we look for in a PostgreSQL execution plan?

PostgreSQL execution plans PostgreSQL execution plans provide information on how the database intends to execute a given query. Understanding execution plans is crucial to identify performance issues and optimize query performance. Here are some of […]