FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
Partial Indexes and Expression Indexes in PostgreSQL: The Query Optimization Patterns That Cut Our Mobile API P99 Latency by 80%
How-ToWeb Development

Partial Indexes and Expression Indexes in PostgreSQL: The Query Optimization Patterns That Cut Our Mobile API P99 Latency by 80%

via Dev.to WebdevSoftwareDevs mvpfactory.io3h ago

--- title : " Partial Indexes in PostgreSQL: Cut Your API P99 by 80%" published : true description : " A hands-on workshop on PostgreSQL partial indexes, expression indexes, and composite column ordering — the patterns that dropped our mobile API P99 from 200ms to 12ms." tags : postgresql, api, performance, architecture canonical_url : https://blog.mvpfactory.co/partial-indexes-postgresql-api-p99-latency --- ## What We Will Build By the end of this workshop, you will know how to replace generic B-tree indexes with surgical partial indexes, expression indexes for JSONB fields, and properly ordered composites. We will walk through the exact changes that dropped a critical mobile API endpoint from **200ms P99 to 12ms** — with real `EXPLAIN ANALYZE` output at each step. ## Prerequisites - A running PostgreSQL instance (14+) - Basic familiarity with `CREATE INDEX` and `EXPLAIN` - A table with soft deletes or status filtering (most production apps qualify) ## Step 1: Audit Your Existing Inde

Continue reading on Dev.to Webdev

Opens in a new tab

Read Full Article
2 views

Related Articles

I have blogged about the difference between code coverage and test coverage and why it matters to distinguish between these 2.
How-To

I have blogged about the difference between code coverage and test coverage and why it matters to distinguish between these 2.

Dev.to Beginners • 5h ago

The origin story of Apple’s long-running relationship with FoxConn
How-To

The origin story of Apple’s long-running relationship with FoxConn

The Verge • 5h ago

Switzerland — Best Crypto Exchange (2026)
How-To

Switzerland — Best Crypto Exchange (2026)

Dev.to Beginners • 9h ago

Cursor Your Dream, Part 2: How to Move From First Prompt to First Working App
How-To

Cursor Your Dream, Part 2: How to Move From First Prompt to First Working App

Hackernoon • 15h ago

How-To

The Difference between `let`, `var` and `const`

Medium Programming • 18h ago

Discover More Articles