摘要:
A computer program product and system are disclosed for parsing a problem SQL statement into query clauses, formatting these query clauses into a hierarchical tree structure, generating performance statistics for clauses that have associated performance statistics and displaying the formatted SQL statement with each clause contained on a separate display line annotated with its corresponding associated performance statistics on the same display line and with the hierarchical tree structure represented by indention levels of the separate display lines.