Skip to content
How to Debug Slow Queries with Flame Graphs episode artwork

EPISODE · Jul 23, 2026 · 8 MIN

How to Debug Slow Queries with Flame Graphs

from The Software Engineering Podcast with Fexingo: Code, Architecture, and Engineering Best Practices · host Fexingo

In this episode of The Software Engineering Podcast, Lucas and Luna dive into the practical use of flame graphs for diagnosing slow database queries. They walk through a real case where a Node.js service was timing out, and how a senior engineer used a flame graph to pinpoint the bottleneck—a missing index that caused a full table scan on a 10-million-row table. The conversation covers when to use flame graphs over traditional EXPLAIN plans, how to read the x-axis and y-axis, and why the 'wide bars' often point to the real culprit. They also discuss open-source tools like Brendan Gregg's FlameGraph and async-profiler, and share tips for integrating flame graphs into your observability stack. If you've ever stared at a slow query log without knowing where to start, this episode gives you a concrete technique to try Monday morning. #FlameGraphs #DatabasePerformance #QueryOptimization #BackendEngineering #NodeJS #PostgreSQL #PerformanceDebugging #Observability #Indexing #OpenSource #SoftwareEngineering #Technology #FexingoBusiness #BusinessPodcast #SQL #Profiling #BrendanGregg #asyncProfiler Keep every episode free: buymeacoffee.com/fexingo

Episode metadata supplied by the publisher feed · Published Jul 23, 2026

Embed this episode

Ready to play

How to Debug Slow Queries with Flame Graphs

0:00 8:54

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 The Software Engineering Podcast with Fexingo: Code, Architecture, and Engineering Best Practices?

This episode is 8 minutes long.

When was this The Software Engineering Podcast with Fexingo: Code, Architecture, and Engineering Best Practices episode published?

This episode was published on July 23, 2026.

Can I download this The Software Engineering Podcast with Fexingo: Code, Architecture, and Engineering Best Practices episode?

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