Entering content frame

Procedure documentation Updating the Optimizer Statistics Locate the document in its SAP Library structure

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: SAP DB 7.4

Prerequisites

You have the DBM operator authorization AccessSQL.

You have started an SQL session.

Syntax

sql_updatestat [<tablespec>]

Reply

The system outputs an OK message.

In the event of errors, see Reply Format.

 

 

Leaving content frame