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 6 – The Client Optimizer: <strong>pureQuery</strong> for Existing Applications 101<br />

ascending or descending order to view which statements take the most time to execute, for<br />

example.<br />

Once you have identified which statements take the longest to execute or any other<br />

statement that you believe needs optimizing you can easily replace a poorly performing<br />

statement with an optimized one using the <strong>pureQuery</strong>XML Editor. Developers can take<br />

certain steps to improve application performance during the development stage to avoid<br />

expensive or risky changes during the production stage.<br />

With Optim Query Tuner, which easily integrates with ODS, you can easily get advice on<br />

writing more efficient SQL or get enough information to ask for new indexes or statistics<br />

from the database administrator. Save the performance metrics, replace your SQL with<br />

better performing one and re-run your application and compare the new results with the old<br />

ones.<br />

5.6 Review Questions<br />

1. Which of the following information can be seen in the SQL Outline pertaining to the<br />

execution a SQL Statement?<br />

A. Number of Times Run<br />

B. Total Time<br />

C. Max Time<br />

D. all of the above<br />

2. Performance metrics for the execution of SQL statements can be gathered for which of<br />

the following types of applications?<br />

A. JPA<br />

B. JDBC<br />

C. Hibernate<br />

D. all of the above<br />

3. Under which Configuration within ODS must a user run their application in order to<br />

gather the performance metrics?<br />

A. Java Application<br />

B. PureQuery<br />

C. Eclipse Application<br />

D. Java Applet<br />

4. In which of the following ways can you optimize your application for performance<br />

through ODS?<br />

A. replace poorly performing SQL through the <strong>pureQuery</strong>XML Editor

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

Saved successfully!

Ooh no, something went wrong!