Previous Topic

Next Topic

statdump Command—Print Statistics in iistats and iihistogram Catalogs

The statdump command prints statistics contained in the iistats and iihistograms catalogs of the Standard Catalog Interface.

These views contain statistical information about columns used by the Ingres Query Optimizer as it selects an efficient query processing strategy. The statistical information is typically generated by issuing the optimizedb command.

The statdump command has the following format:

statdump [SQL option flags] [-zf filename] [-zc] [-zcpk] [-zdl]
[-zn#] [-zq] [-o filename]
dbname {-rtablename {-acolumnname}}|{-xrtablename} [-help]

Note: The combination of -rtablename and -xrtablename parameters and of -xrtablename and -acolumnname parameters is not permitted.

Previous Topic

Next Topic

statdump Examples

This command prints the statistical information for all columns in the employee table in the empdata database:

statdump empdata -remployee

This command prints the information in the iistats system table only, for all columns in all tables of the empdata database:

statdump -zq empdata

This command deletes statistics for all columns in the employee table:

statdump -zdl empdata -remployee


© 2007 Ingres Corporation. All rights reserved.