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

You Might Also Like
Powerful small business accounting software Icon
Powerful small business accounting software

For small businesses looking for desktop accounting software

With AccountEdge, business owners can organize, process, and report on their financial information so they can focus on their business. Features include: accounting, integrated payroll, sales and purchases, contact management, inventory tracking, time billing, and more.
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