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
Go From AI Idea to AI App Fast Icon
Go From AI Idea to AI App Fast

One platform to build, fine-tune, and deploy ML models. No MLOps team required.

Access Gemini 3 and 200+ models. Build chatbots, agents, or custom models with built-in monitoring and scaling.
Try 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