Expand description
PROFILE statement: per-operator execution metrics.
After a profiled query executes, the results are collected into a
ProfileNode tree that mirrors the physical operator tree, annotated
with actual row counts, timing, and call counts.
Structs§
- Profile
Entry - An entry collected during physical planning, used to build the profile tree.
- Profile
Node - A node in the profile output tree, corresponding to one physical operator.
Functions§
- build_
profile_ tree - Builds a
ProfileNodetree from the logical plan and a list ofProfileEntryitems collected during physical planning. - profile_
result - Formats a
ProfileNodetree into a human-readable text representation and wraps it in aQueryResultwith a single “profile” column.