This application measures database server response time.
To test SQL Server, execute this command. Type the entire command on a single line:
java -classpath tcutility.jar;sqljdbc.jar
teamconnect.jdbc.JdbcLatencyTest arg0 arg1 arg2 arg3 arg4 arg5
To test Oracle:
java -classpath tcutility.jar;ojdbc5.jar
teamconnect.jdbc.JdbcLatencyTestarg0 arg1 arg2 arg3 arg4 arg5
The argument definitions are:
•0: JDBC URL (e.g., jdbc:sqlserver://10.0.0.127;databaseName=TEST_DB or jdbc:oracle:thin:@10.0.0.127:1521:test_db
•1: class name for database driver (e.g. oracle.jdbc.OracleDriver or com.microsoft.sqlserver.jdbc.SQLServerDriver)
•2: Database username
•3: Database password
•4: Number of iterations in the test
•5: Text of the SQL query (e.g. select * from Y_USER)
The output from the app states the time, in microseconds, required to execute this simple query. Expected acceptable range for this query is 0.6 to 0.8 seconds. Longer times may indicate a database issue that should be resolved before installation.