Entering content frame

 Updating the Optimizer Statistics 

Use

You update the statistics for the Optimizer.

These statistics enable the Optimizer to choose the best strategy for retrieving data. Obsolete statistics impair the performance of the database instance.

You can update all the statistics or restrict the update function to a set of statistics using a table specification <tablespec>.

See also: Optimizer

Prerequisites

You have the DBM operator authorization AccessSQL.

You have started an SQL session.

Syntax

sql_updatestat [<tablespec>]

Reply

The system displays an OK message.

In the event of errors, see Reply Format.

 

Leaving content frame