지금 지원 담당자와 채팅
지원 담당자와 채팅

SQL Optimizer for DB2 LUW 4.3.1 - Release Notes

Run Time Mode/Repeat Test

Run Time Mode/Repeat Test 

ClosedView the Batch Run Criteria Window—Run Time Mode/Repeat Test

The Run Time Mode/Repeat Test tab of the Batch Run Criteria window is divided into two sections.

Tip: To save all settings on the Batch Run Criteria dialog for subsequent batch runs, select Save setting for the next batch run.

Run Time Mode

Run Time Mode

Description

All Records

Specify to retrieve the run time for processing all records.

First n Record(s)

Specify to retrieve the run time for processing n records where you specify the number of records retrieved.

Repeat the test run by executing

Repeat the test run by executing

Description

Run all SQL twice if original SQL runs faster than (Seconds) This option executes the SQL and index-set alternatives twice if the run time for the original SQL is greater than the value you enter in the associated field.

First one twice using the second run time and others once

This option is suitable for SQL and index-set alternatives with normal run times. The first time you access data from table, the data is cached into memory. This process takes few moments. The next time you access that data, it is already in memory so the following alternatives will run faster. So to have a comparable test, the first SQL is run twice and the time from the second run is compared to the time from the other alternatives.

All twice using the second run time

This option is suitable for SQL and index-set alternatives that are often executed and have short running time. A significant portion of the running time of this kind of SQL is affected by the caching of index and the parsing time. To eliminate these factors, you can run all alternatives twice to use only the second run for a more comparable result.

All once

This option is suitable for long-running SQL and index-set alternatives, as it is unlikely that all the entire SQL statement is still kept in memory. There is no need to run any alternative twice since the caching of the table and the parsing time are not significant to the overall running time.

 

 

관련 문서

The document was helpful.

평가 결과 선택

I easily found the information I needed.

평가 결과 선택