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: […]

No Picture
MinervaDB

PostgreSQL Query Optimizer: Troubleshooting Unconsidered Hints

PostgreSQL’s query optimizer (or planner) creates optimal execution plans for SQL queries by evaluating multiple possible plans and selecting the fastest one. [^1] Understanding PostgreSQL’s Approach to Optimizer Hints PostgreSQL takes a deliberately cautious approach […]

No Picture
MinervaDB

How to have PostgreSQL execution plan with run-time?

In PostgreSQL, you can obtain the execution plan with runtime information using the EXPLAIN (ANALYZE, VERBOSE) command. This command provides a detailed execution plan along with actual runtime information, including the number of rows processed, […]