12.1. Oracle's Tuning Methodology

When tuning a newly developed database system or a system that has experienced major changes, you can follow Oracle's Tuning Methodology. This methodology prioritizes the steps to take when optimizing a database system:

PriorityTuning Focus
1Data design
2Application design
3Memory allocation
4I/O and physical structures
5Resource contention
6Underlying platform

Oracle's Tuning Methodology

A tuning method recommended by Oracle Corporation that prioritizes areas in tuning database performance. The six areas, in order of priority, are data design, application design, memory allocation, I/O and physical structures, resource contention, and underlying platform.

The tuning focus areas are as follows:

Data design This step focuses on what kinds of indexes to create and on which tables, using views and other variations on the basic table to achieve better performance, and similar considerations.

Application design This area is somewhat intertwined with data design, especially when analyzing the SQL statements that run against the tables and indexes. Application design focuses on how to use Oracle tools to write effective and efficient SQL SELECT and other DDL statements against the database tables.

Memory allocation This step is concerned with making sure that you not only have enough system memory overall but also are dividing that memory judiciously among the main Oracle memory structures. It is possible to allocate too much memory for one Oracle memory structure and potentially have an adverse performance impact on another Oracle memory structure.

I/O and physical structures This step tunes the communication between the memory structures and disk structures to reduce the amount of time it takes to retrieve data blocks from disk or to avoid disk I/O completely.

Resource contention This area analyzes the Oracle structures that control concurrent access to the various Oracle structures directly and indirectly accessible by the user. At the table level, this means locking rows versus locking the entire table, for example. At the block level, this means allowing more than one user to insert or update row data concurrently.

Underlying platform This step deals primarily with placing Oracle file objects on the appropriate physical disk devices, as well as taking advantage of multiple CPUs on a server for improving the overall throughput of queries and data loads.

Ninety percent or more of all tuning issues fall within the first three areas— data design, application design, and memory allocation—and they are the focus of this chapter.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset