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
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
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