In Adaptive Server versions 15.7 SP100 and later, you can generate a graphical query plan in HTML format for viewing in a Web browser.
In versions earlier than 15.7 SP100, analysis of complex queries evaluated text-based output provided by the set showplan and set statistics {time | IO} commands.
Use the HTML set statistics commands when a query plan is executed to generate graphical representations of query plan execution statistics. These HTML representations are on a single page, providing a comprehensive tree structure and timing diagram that offers a more intuitive and clearer description of a query plan.
The HTML output includes:
The full text of the query.
For queries using parallelism, a thread-distribution diagram can be generated, which indicates the usage of threads along the query execution.
A resource usage diagram can be generated, which displays CPU usage and wait-time distribution. CPU usage and Wait distribution is generated only for queries executed in parallel.
The following is an example of the HTML output, which includes a timing diagram.