Chatee ahora con Soporte
Chat con el soporte

SQL Optimizer for DB2 LUW 4.4.1 - Release Notes

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

 

Documentos relacionados

The document was helpful.

Seleccionar calificación

I easily found the information I needed.

Seleccionar calificación