Updating Statistics

Description

Updates statistical information such as the number of objects, the number of pages to access, and the distribution of attribute values.

Syntax

cubrid optimizedb options database_name

options : [{-n|--class-name=} name]

Options

Updating the query statistics of the target database

The following example shows how to update the query statistics information of all classes in the database.

cubrid optimizedb testdb

Updating the query statistics of a specific class in the database (-n or --class-name)

The following example shows how to update the query statistics information of the given class by using the -n option.

cubrid optimizedb -n event_table testdb