EasyManuals Logo

IBM DB2 User Manual

IBM DB2
585 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #375 background imageLoading...
Page #375 background image
Interval end
When the database server is ready to issue the TCP/IP command to return
the reply message to the client.
For IBM Data Server Driver for JDBC and SQLJ type 2 connectivity to DB2 for
z/OS: The database server elapsed time interval is the difference, in
microseconds, between these points in the JDBC driver native processing:
Interval beginning
The z/OS Store Clock (STCK) value when a JDBC driver native method
calls the RRS attachment facility to process an SQL request.
Interval end
The z/OS Store Clock (STCK) value when control returns to the JDBC
driver native method following an RRS attachment facility call to process
an SQL request.
getServerTimeMicros returns 0 if system monitoring is disabled. Calling this
method without first calling the stop method results in an SQLException.
start
Format:
public void start (int lapMode)
throws java.sql.SQLException
If the system monitor is enabled, start begins the collection of system
monitoring data for a connection. Valid values for lapMode are RESET_TIMES
or ACCUMULATE_TIMES.
Calling this method with system monitoring disabled does nothing. Calling
this method more than once without an intervening stop call results in an
SQLException.
stop
Format:
public void stop()
throws java.sql.SQLException
If the system monitor is enabled, stop ends the collection of system monitoring
data for a connection. After monitoring is stopped, monitored times can be
obtained with the getXXX methods of DB2SystemMonitor.
Calling this method with system monitoring disabled does nothing. Calling
this method without first calling start, or calling this method more than once
without an intervening start call results in an SQLException.
Related tasks
Chapter 17, “System monitoring for the IBM Data Server Driver for JDBC and
SQLJ,” on page 493
DB2TraceManager class
The com.ibm.db2.jcc.DB2TraceManager class controls the global log writer.
The global log writer is driver-wide, and applies to all connections. The global log
writer overrides any other JDBC log writers. In addition to starting the global log
writer, the DB2TraceManager class provides the ability to suspend and resume
tracing of any type of log writer. That is, the suspend and resume methods of the
DB2TraceManager class apply to all current and future DriverManager log writers,
DataSource log writers, or IBM Data Server Driver for JDBC and SQLJ-only
connection-level log writers.
Chapter 7. JDBC and SQLJ reference information 359
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IBM DB2 and is the answer not in the manual?

IBM DB2 Specifications

General IconGeneral
DeveloperIBM
Initial Release1983
LicenseProprietary
Written inC, C++
CategoryDatabase Management System (RDBMS)
Operating SystemLinux, Windows
Programming LanguagesC, C++
Data ModelsRelational
EditionsCommunity, Standard, Advanced
Key Featureshigh availability, scalability