psGUpdateStatistics

Description

     From a list of tables in a segment map, psGUpdateStatistics creates a
a SQL script to update their statistics.   The tables' statistics
will be updated in the same order as they appear in the segment map.

 

Syntax

psGUpdateStatistics -Tsegment_map_file -Fnew_sql_file
-Nschema_name -Ooptions

 

Arguments

-T

Segment Map File

-F

Output SQL Script [standard output]

-N

Schema Name (optional. This argument is for documentation purposes only.)

-O

Options

 

Options

s

Sybase

o

Oracle

m

Microsoft SQL Server

i

Informix

r

Postgres

y

MySQL

l

Convert names to lower case

u

Convert names to upper case

e

Do everything to make the table more efficient

p

Stop at the first parsing problem

t

Turn tracing on

 

Environment Variables Behind the Scenes

PS_SYSMSG_FILE

Name of DBPowerSuite's messages file.

 

Notes

     The purposes of this program is to write an update statistics script
1.   which is taylored for specific vendor databases
2.   which checks for the table's existence before updating its statistics
3.   'Do everything' means different things for different databases

 

Go to DBPowerSuite 7.9 List of Programs.


Updated: Thu Jun 18 21:12:26 2009