You are on page 1of 19

Database Tuning with high Performance

Performance Tuning is the improvement of system


performance. This is typically a computer application, but the same methods can be applied to economic markets, bureaucracies or other complex systems.

Systematic tuning follows these steps:


Assess the problem Measure the performance of the system. Identify the part of the system that is critical for improving the performance. This is called the bottleneck. Modify that part of the system to remove the bottleneck. Measure the performance of the system after modification.

What Is Database Tuning ???


The database tuning process consists of tasks such as:
balancing the different types of competing resources in the database environment so that the most important applications have priority access to the resources they need to run. identifying resource bottlenecks and eliminating them. optimizing the use of existing resources within the database environment. taking advantage of database features for the types of work performed on the database.

Database Tuning Issues


Even though you may realize you have a poorly tuned database environment, you may not have the luxury to resolve the problem because
Tuning the database environment may take more time than you can afford to spend on the task. Management may not want to disrupt business operations. You may not want to risk introducing further performance degradation. The complexity of the problem may be beyond the skill level of the person assigned the problem.

The tools may not be available to identify the cause of the problem.

Resolving Tuning Issues

To resolve tuning issues, there are at least two important requirements: extensive tool expertise consistency in tuning A significant amount of a database expert's time is spent collecting and sifting through vast quantities of information. Collecting information for a normal database tuning session requires knowledge of many tools. Also, the effectiveness of the database tuning effort can vary a great deal depending on the expertise of the person doing the job. To further complicate the issue, with database tuning there often is no exact solution to a specific performance problem. The tuning recommendations produced by Oracle Expert are both consistent and accurate. Oracle Expert can sift through volumes of tuning information without missing relevant symptoms. It automates many of the repetitive and time-consuming aspects of database tuning, thus reducing the time required to get meaningful performance improvements. Finally, Oracle Expert manages the history of the collected information over time.

Types of Performance Tuning?


Oracle Expert supports the following types of performance tuning:
Instance tuning Application tuning Structure tuning

Instance Tuning*
Instance tuning optimizes the instance parameter settings. The instance tuning recommendations are based on the user load on the instance being tuned and the hardware resources available. The instance parameters you can tune are:
SGA (System Global Area) parameters

These parameters affect the total size of the instance's System Global Area.
I/O (input/output) parameters

These parameters affect the throughput or distribution of I/O for the instance.
parallel query parameters

These parameters are specific to the parallel query behavior of the instance. These parameters are relevant only when the parallel query option is installed.
sort parameters

These parameters influence how the Oracle Server performs sort operations on behalf of the user.

Application Tuning *
Application tuning evaluates a specific application or SQL statement. Application tuning consists of:
SQL tuning

During SQL tuning, Oracle Expert identifies similar statements that prevent SQL statements from being reused in the shared pool because of differences in case and/or spacing.
access methods

During access methods tuning, Oracle Expert determines the optimal indexes that should exist on a table.

Structure Tuning*
Structure tuning optimizes access to a specific table in the database. Structure tuning consists of:
sizing

Oracle Expert makes recommendations for some of the default storage parameters of a tablespace. These parameters provide default initial allocation and growth rate of segments created within that tablespace.
placement

Oracle Expert makes recommendations to ensure that separate tablespaces exist for different types of segments and that database users have been assigned appropriate default and temporary tablespaces.

Think Over It .
Tuning the database performance is not a simple task and it depends on your specific requirements, the operating system and the target hardware. There is no "one fits it all" aproach. The goal is to avoid abvious slowdowns and balance the available resources .

There Is A Solution To It ..

Leading Provider Of Sql Tuning Applications

CONFIO SOFTWARE
Confio is a leading provider of SQL tuning applications designed to improve performance as well as service levels for critical business SQL database applications.

Superior SQL Tuning


Confios award winning Ignite for SQL tuning software sends DBAs and system administrators advanced onscreen warnings to Accumulating Wait Time

Bottlenecks.

This enables administrators to respond Before Wait Time Errors Create End-user Service Failures Or Additional SQL Tuning Complications. Additionaly, Confio's SQL tuning solutions are among the fastest to install in the industry. Ignites WaitTime-based SQL tuning product is an industry leader.

SQL Tuning & The Ignite Difference


Ignite is Confio's Wait-Time based SQL tuning application specially designed for organizations with joint SQL Server & Oracle Database environments. Ignite for SQL tuning optimizes IT system performance by identifying the root causes of SQL performance problems so this leads to greater utility.

Example
Consider this scenario: You own a trucking company, and you've recently had problems in the delivery process for one of your clients. The loading at their factory goes smoothly, but once your trucks arrive at the client's warehouse, efficiency seems to fall apart. The trucks typically wait six to eight hours before workers unload the cargo. Every minute that your trucks are parked and waiting costs your company revenue. You investigate to find out why the trucks are forced to wait, and you discover something surprising: The reason they wait is because no one notifies the warehouse in advance of their arrival. As a result, when a truck arrives, the forklift that's needed for unloading is often being used for another task. So your truck has to wait until the forklift is free. Now you begin to wonder why the warehouse isn't notified, as it should be, that trucks are on their way. You investigate more and learn that the person who used to call the warehouse left the company a few months ago, and the task wasn't reassigned. So you delegate the phone call to another team member, and you persuade the warehouse to purchase a second forklift and your problem is solved. This bottleneck was pretty easy to fix. But have you ever discovered a bottleneck in your business processes? These can be harder to resolve, mostly because they're harder to identify.

What is a Bottleneck?
A bottleneck in a process occurs when input comes in faster than the next step can use it to create output.

Short-term bottlenecks These are caused by temporary problems. A good example is when key team members become ill or go on vacation. No one else is qualified to take over their projects, which causes a backlog in their work until they return. Long-term bottlenecks These occur all the time. An example would be when a company's month-end reporting process is delayed every month, because one person has to complete a series of time-consuming tasks and he can't even start until he has the final month-end figures. Identifying and fixing bottlenecks is highly important. They can cause a lot of problems in terms of lost revenue, dissatisfied customers, wasted time, poorquality products or services,