On the SQL tab of SQL Optimizer window, select the SQL or index-set alternative for which you would like the run time.
To retrieve the time for the first record
To terminate the run time process for the first record
To retrieve the time for the all the records
To terminate the execution to retrieve the run time for all the records
All run time information is displayed in the SQL Run Time pane of the SQL Optimizer window.
When you log on to SQL Optimizer, it connects to the database and maintains this database connection throughout the application execution. Another database session is required for run time processing. This connection is established when the Run for First Record, Run for All Records, or Batch Run function is initiated and then dropped after the performance figures are acquired.