-
-
Notifications
You must be signed in to change notification settings - Fork 91
Closed
Milestone
Description
This is a feature request for a visualization of a PROFILE (SQL) query in the studio tool via flame-graph.
The idea is to add a tab to the query page which shows a flame-graph of a query. This may mean that a query needs to be wrapped in a PROFILE statement and resend to the server. The server JSON response then needs to be transformed such that the timings and their labels can be used to create a flame-graph.
Various projects used flame-graphs for SQL profiling, so these links maybe useful:
- http://www.brendangregg.com/flamegraphs.html
- https://github.com/spiermar/d3-flame-graph
- https://github.com/vgrippa/myflames
- https://tanelpoder.com/posts/sql-plan-flamegraph-loop-row-counts/
- https://www.p99conf.io/2023/09/21/visualizing-sql-plan-execution-time-with-flamegraphs/
Reactions are currently unavailable