A flamegraph generator for Postgres EXPLAIN ANALYZE output. The pg_flame program reads a JSON query plan from standard input and writes the flamegraph HTML to standard output. Therefore you can pipe and direct input and output however you desire. Flamegraphs were invented by Brendan Gregg to visualize CPU consumption per code-path of profiled software. They are useful visualization tools in many types of performance investigations. Flamegraphs have been used to visualize Oracle database query plans and query executions, proving useful for debugging slow database queries. Pg_flame is an extension of that work for Postgres query plans. It generates a visual hierarchy of query plans. This visualization identifies the relative time of each part of a query plan.

Features

  • Multi-step with SQL file
  • Generate the flamegraph HTML.
  • Build a binary from the source code
  • Try the demo
  • You can install via Homebrew
  • Reads a JSON query plan from standard input

Project Samples

Project Activity

See All Activity >

Categories

Database

License

Apache License V2.0

Follow pg_flame

pg_flame Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of pg_flame!

Additional Project Details

Programming Language

Go

Related Categories

Go Database Software

Registered

2022-07-23