Skip to content
Database Query Optimizer Hints When to Override and When to Trust episode artwork

Jun 19, 2026 13 min

Database Query Optimizer Hints When to Override and When to Trust

from Database Tech with Fexingo: SQL, NoSQL, and Data Storage Conversations Hosted by Fexingo

Episode 60 of Database Tech with Fexingo dives into a quiet but critical skill: knowing when to override the database query optimizer with hints, and when to let it do its job. Lucas and Luna dissect a real-world case from a mid-size e-commerce company whose PostgreSQL queries were slowing down because of a misguided index hint. They explain how modern optimizers like those in PostgreSQL 17 and SQL Server 2025 work, why statistics and cost models sometimes fail, and the three questions you should ask before adding a hint. The episode also covers a surprising scenario where a hint actually hurt performance because the optimizer's plan was already optimal. Listeners walk away with a clear mental framework: hints are a scalpel, not a sledgehammer. #QueryOptimizer #DatabaseHints #PostgreSQL #SQLServer #IndexHint #CostModel #DatabasePerformance #QueryPlan #Statistics #CardinalityEstimation #ExecutionPlan #JoinOrder #DatabaseTuning #TechPodcast #DatabaseTechWithFexingo #FexingoBusiness #BusinessPodcast #Technology Keep every episode free: buymeacoffee.com/fexingo

Episode details come from the podcast's RSS feed.

Embed this episode

Ready to play

Database Query Optimizer Hints When to Override and When to Trust

0:00 13:15

No transcript yet.

Requests help us decide what to transcribe next.

Frequently asked questions

How long is this episode of Database Tech with Fexingo: SQL, NoSQL, and Data Storage Conversations?

This episode is 13 minutes long.

When was this Database Tech with Fexingo: SQL, NoSQL, and Data Storage Conversations episode published?

This episode was published on June 19, 2026.

Can I download this Database Tech with Fexingo: SQL, NoSQL, and Data Storage Conversations episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.