Skip to content
Why Database Query Planning Uses Cost Models episode artwork

EPISODE · Aug 25, 2026 · 8 MIN

Why Database Query Planning Uses Cost Models

from Database Tech with Fexingo: SQL, NoSQL, and Data Storage Conversations · host Fexingo

In this episode of Database Tech with Fexingo, Lucas and Luna dig into the often-overlooked cost model that sits at the heart of every query optimizer. They explain how databases estimate the cost of different query plans, why those estimates can be wildly wrong, and what happens when they are. Using the example of a simple join gone slow, they walk through the key components: table cardinality, selectivity, I/O and CPU costs, and the role of statistics and system catalogs. They also discuss how modern optimizers use adaptive techniques and why understanding cost models helps developers write better queries and design schemas that the optimizer can actually exploit. Tune in to learn why your database sometimes makes puzzling choices—and how to nudge it in the right direction with hints and better statistics. #QueryOptimizer #CostModel #DatabasePerformance #SQL #NoSQL #DataStorage #PostgreSQL #MySQL #Indexing #QueryPlanning #DatabaseInternals #TechEducation #DataEngineering #DatabaseDesign #FexingoBusiness #BusinessPodcast #TechPodcast #DatabaseTech Keep every episode free: buymeacoffee.com/fexingo

Episode metadata supplied by the publisher feed · Published Aug 25, 2026

Embed this episode

Ready to play

Why Database Query Planning Uses Cost Models

0:00 8:56

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

No similar podcasts found.

Frequently Asked Questions

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

This episode is 8 minutes long.

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

This episode was published on August 25, 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.
URL copied to clipboard!