16.10.2015 Views

Getting Startedwith pureQuery

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 8 – Extended Insight 163<br />

• ResultSet processing time (aggregated application time from query execution<br />

through ResultSet close for a particular query and client user)<br />

• Driver time (aggregated, accumulated time spent in the IBM driver for a particular<br />

statement and client user - includes open, fetch and close cursor times for queries,<br />

and execute time for non-queries)<br />

• Network time (aggregated, accumulated time spent in the network per statement<br />

and client user)<br />

• Server time (aggregated, accumulated execution time reported by the server for a<br />

particular statement and client user)<br />

Additional detailed information is also available about each client, such as a breakdown of<br />

transaction times for the client, information about negative SQL codes, and certain<br />

Websphere Application Server statistics, such as connection pool wait times (minimum<br />

level of WAS required). See the OPM documentation for the complete set of information<br />

available for client monitored workloads.<br />

8.4.2 Monitoring <strong>pureQuery</strong> Applications associated with <strong>pureQuery</strong>Xml<br />

Several types of applications are associated with application metadata in the form of<br />

<strong>pureQuery</strong>Xml. These include <strong>pureQuery</strong> annotated method style applications,<br />

applications resulting from any <strong>pureQuery</strong> integrated tooling that generates <strong>pureQuery</strong>Xml<br />

(such as Data Web Service (DWS) applications or WAS/JPA <strong>pureQuery</strong> applications), and<br />

Client-Optimized JDBC or CLI applications. See Chapter 11 , Chapter 16 , and Chapter 6<br />

for more information about creating these types of applications.<br />

Extended Insight collects the same statistics for <strong>pureQuery</strong> applications associated with<br />

<strong>pureQuery</strong>XML, as it does for plain JDBC or CLI applications. In addition, for most<br />

applications associated with <strong>pureQuery</strong>Xml, Extended Insight also identifies the<br />

<strong>pureQuery</strong>Xml element associated with the executing statement. This means that when<br />

the <strong>pureQuery</strong>Xml is registered with OPM and Extended Insight monitoring is enabled, a<br />

DBA can use the monitoring tools to easily identify additional information about a<br />

<strong>pureQuery</strong> statement associated with <strong>pureQuery</strong>Xml. For generated or tooling-produced<br />

<strong>pureQuery</strong>Xml, this information includes:<br />

• Source class<br />

• Source timestamp (version)<br />

• Source line of code containing the given SQL string<br />

For client optimized applications executing or loading captured SQL from <strong>pureQuery</strong>Xml<br />

(see Chapter 6 for the variety of configurations under which <strong>pureQuery</strong> Client Optimization<br />

executes captured SQL), this information includes:<br />

• <strong>pureQuery</strong>Xml file version

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!