psOTestReconnects

Description

     This program tests how well the ODBC driver can recover from
a down database.  This program will create a single test table
in your database called 'PSTEST'.   It will attempt to insert,
select and delete rows from this table.   To test the ODBC
drivers ability to recover, log into your database using
the database's own SQL-session program, and kill this programs
connection.   Then look at this program's log to see how well
it reconnected.

 

Syntax

psOTestReconnects -Sdsn -Vserver -Uusername -Ppassword -Aother_attributes
-Itest_table.sql -Xnumber_of_loops -Rnumber_of_test_rows -Tsleep_time
-Flog_file -Ooptions

 

Arguments

-S

ODBC Data Source Name

-V

ODBC Server Name

-U

ODBC User Name

-P

ODBC User Password

-A

ODBC Other Connection Attributes

-I

Test Table Creation SQL Script Name [See below for default.]

-X

Number of times to execute the algorithm on each thread [10]

-R

Number of rows to insert [1000]

-T

Sleep time between transactions in seconds [0]

-F

Log file

-O

Options

 

Options

m

Use Merant ODBC drivers

a

Send application name to data source

t

Use login and results time outs

p

Prepare statements

 

Environment Variables Behind the Scenes

ODBC_DSN

When -S is not specified.

ODBC_SERVER

When -V is not specified.

ODBC_USER

When -U is not specified.

ODBC_PASS

When -P is not specified.

ODBC_ATTR

When -A is not specified.

PS_SYSMSG_FILE

Name of the tool's messages file.

PS_SYSPARAM_FILE

Name of the system parameter file

 

Notes

     I will default the Test Table Creation Script to:
/disk2/ceccareb/PS/dbaccess/sql/oracle/test_table.sql

 

Go to DBPowerSuite 7.9 List of Programs.


Updated: Thu Jun 18 21:12:26 2009