Chat now with support
Chat with Support

SQL Optimizer for DB2 LUW 4.4 - Installation Guide

Update Statistics

ClosedView Update Statistics Window

You can update the statistics for the tables and their indexes when you are viewing the Access Plan tab.

To update the statistics for a table

  1. Right-click the table in the Table Statistics pane. and select Update Statistics.

  2. In the Update Statistics window, select one or more tables to update.

  3. In the Table Options section, select the specific options for updating the table statistics.

Note: This table only covers unfamiliar information. It does not include all field descriptions.

Frequency value

Specify the maximum number of frequency values to collect for columns values distribution.

 

If you do not specify a value, the num_freqvalues database configuration parameter is used.

Quantile value

Specify the maximum number of quantile values to collect for columns values distribution.

 

If you do not specify a value, the num_quantiles database configuration parameter is used.

  1. Check the indexes to update for each table you have checked.

  2. In the Index Options section, select the specific options for updating the index statistics.

  3. Click the Script tab and review the RUNSTATS command.

  4. Click Execute.

Note: In order to update statistics, you must have these privileges:

SYSADM

SYSCTRL

SYSMAINT

DBADM

CONTROL privilege on the table

LOAD authority

 

Related Documents

The document was helpful.

Select Rating

I easily found the information I needed.

Select Rating