psEstimateSpace

Syntax

psEstimateSpace -Sserver -Uusername -Ppassword -Ddatabase
-Kpage_size_in_kilobytes -Tinput_table_list -Foutput_report_file

 

Arguments

-S

Sybase Server Name

-U

Sybase User Name

-P

Sybase User Password

-D

Sybase Database

-T

Table List File used for Input

-K

Page size in KB [2]

-F

File name containing space requirements report

 

Environment Variables Behind the Scenes

DSQUERY

When -S is not specified

SYB_USER

When -U is not specified

SYB_PASS

When -P is not specified

SYB_DATABASE

When -D is not specified

PS_SYSMSG_FILE

Name of the tool's messages file

 

Notes

     This program reads a text file containing a list of tables.
The text file contains up to 10 columns:
 1.  template table name
 2.  template table owner
 3.  target table/clustered index segment
 4.  non-clustered indices segment
 5.  image/text segment
 6.  estimated number of rows
 7.  extrapolation technique (Max, Half or Avg) [Max]
 8.  rows to sample when extrapolation technique is Avg [100]
 9.  fill factor [0]
10.  ps_int16 table description making template table name more specific
     Check the demo directory for an example text file:
/disk2/ceccareb/PS/dbaccess/demo/psEstimateSpace
     You can generate this text file by running psEstimateSpaceFile.
psEstimateSpaceFile will make a list of the current tables in the
database following the 9 column format.

 

Go to DBPowerSuite 7.9 List of Programs.


Updated: Thu Jun 18 21:12:26 2009