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.

6<br />

Chapter 6 - The Client Optimizer: <strong>pureQuery</strong> for Existing<br />

JDBC Applications<br />

In this chapter, you will learn how to optimize existing JDBC applications by using the<br />

<strong>pureQuery</strong> Client Optimizer.<br />

6.1 Client Optimizer: The big picture<br />

The <strong>pureQuery</strong> Client Optimizer can help you enhance the performance, security, and<br />

maintainability of your existing applications, usually without changing the source code. The<br />

Client Optimizer, also known as “<strong>pureQuery</strong> for existing applications,” lets you optimize<br />

applications at the runtime level. You can use it to optimize JDBC applications, as well as<br />

applications developed using persistence frameworks that are based on JDBC.<br />

Figure 9.1 shows some of the many benefits that the <strong>pureQuery</strong> Client Optimizer provides<br />

for JDBC applications.<br />

Static SQL<br />

Captured-only SQL<br />

JDBC<br />

Application<br />

<strong>pureQuery</strong><br />

Client Optimizer<br />

SQL Replacement<br />

SQL Literal Substitution<br />

Easy identification of the places in your application<br />

that execute particular SQL statements<br />

Figure 6.1 - Some of the benefits of using the Client Optimizer<br />

Static SQL: With the Client Optimizer, you can convert dynamically-executed SQL into<br />

static SQL packages. Doing so will help you deliver consistent performance and an<br />

enhanced security model with your application. For a brief description of static SQL and its<br />

powerful benefits, see Appendix C.

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

Saved successfully!

Ooh no, something went wrong!