Return how long each statement takes inside a stored procedure or a UDF as part of EXPLAIN ANALYZE. #124169
Labels
A-sql-udf
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
T-sql-queries
SQL Queries Team
Right now we return an aggregate latency on how long a UDF/Stored Procedure takes to execute. We should improve explain analyze to show how long each statement inside a stored procedure/UDF takes to execute. This would make debugging slow UDFs/Stored Procedures easier and help narrow down the slow statement.
Jira issue: CRDB-38741
The text was updated successfully, but these errors were encountered: