Skip navigation
Sarat Balijepalli

Sarat Balijepalli

Microsoft

18+ years of experience working on oracle and Postgres databases. Currently working as a Senior Engineering Manager leading the performance charter in Azure Postgres team.

POSETTE 2025 Talk

Overcoming Performance Hurdles in Postgres Partitioned Tables

(Livestream 3)

In this talk, you'll learn about 2 prevalent performance issues encountered with partitioned tables in Postgres. The learnings shared in this talk are based on my experience working with diverse customer workloads in Azure, but these issues are relevant for anyone using Postgres partitioned tables, particularly those of you who manage vast data volumes or high traffic.

High Query Planning Time on Large Partitioned Tables: High query planning time on tables with very large numbers of partitions (5000+), where the optimizer is not able to identify the partition key till the execution time leads to planning time greater than execution time.

LW Lock Manager Wait Events: In highly concurrent environments, queries that don't use the partition key can trigger LW Lock Manager wait events, leading to higher CPU utilization (sometimes as much as 100%) and lower TPS.

talk bubbles
Join the conversation

Use the hashtag #PosetteConf