+ All Categories
Home > Documents > Database Tunning With High Perforemance

Database Tunning With High Perforemance

Date post: 07-Apr-2018
Category:
Upload: krutika-soparawala
View: 223 times
Download: 0 times
Share this document with a friend

of 19

Transcript
  • 8/3/2019 Database Tunning With High Perforemance

    1/19

    Database Tuning with

    high Performance

  • 8/3/2019 Database Tunning With High Perforemance

    2/19

    Performance Tuningis the improvement of systemperformance. This is typically a computer application,but the same methods can be applied to economicmarkets, bureaucracies or other complex systems.

  • 8/3/2019 Database Tunning With High Perforemance

    3/19

    Systematic tuning follows these steps:

    Assess the problem Measure the performance of the system.

    Identify the part of the system that is critical for improvingthe performance. This is called the bottleneck.

    Modify that part of the system to remove the bottleneck. Measure the performance of the system after

    modification.

  • 8/3/2019 Database Tunning With High Perforemance

    4/19

    What Is Database Tuning ???The database tuning process consists of taskssuch as:balancing the different types of competing

    resources in the database environment so that the

    most important applications have priority access tothe resources they need to run.

    identifying resource bottlenecks and eliminatingthem.

    optimizing the use of existing resources within thedatabase environment.

    taking advantage of database features for the typesof work performed on the database.

  • 8/3/2019 Database Tunning With High Perforemance

    5/19

    Database Tuning IssuesEven though you may realize you have a poorly tuneddatabase environment, you may not have the luxury toresolve 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 identifythe cause of the problem.

  • 8/3/2019 Database Tunning With High Perforemance

    6/19

    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 siftingthrough vast quantities of information. Collecting information for a normaldatabase tuning session requires knowledge of many tools.

    Also, the effectiveness of the database tuning effort can vary a great dealdepending on the expertise of the person doing the job. To further complicatethe issue, with database tuning there often is no exact solution to a specificperformance problem.

    The tuning recommendations produced by Oracle Expert are both consistentand accurate. Oracle Expert can sift through volumes of tuning information

    without missing relevant symptoms. It automates many of the repetitive andtime-consuming aspects of database tuning, thus reducing the time requiredto get meaningful performance improvements. Finally, Oracle Expert managesthe history of the collected information over time.

  • 8/3/2019 Database Tunning With High Perforemance

    7/19

    Types of Performance Tuning?Oracle Expert supports the following typesof performance tuning:

    Instance tuning Application tuning

    Structure tuning

  • 8/3/2019 Database Tunning With High Perforemance

    8/19

    Instance Tuning* Instance tuning optimizes the instance parameter settings. The instance

    tuning recommendations are based on the user load on the instance beingtuned and the hardware resources available. The instance parameters you cantune 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.

  • 8/3/2019 Database Tunning With High Perforemance

    9/19

    Application Tuning * Application tuning evaluates a specific application

    or SQL statement. Application tuning consists of: SQL tuning

    During SQL tuning, Oracle Expert identifies similarstatements that prevent SQL statements from beingreused in the shared pool because of differences incase and/or spacing. access methods

    During access methods tuning, Oracle Expertdetermines the optimal indexes that should exist ona table.

  • 8/3/2019 Database Tunning With High Perforemance

    10/19

    Structure Tuning* Structure tuning optimizes access to a specific table inthe database. Structure tuning consists of:

    sizing

    Oracle Expert makes recommendations for some of thedefault storage parameters of a tablespace. These

    parameters provide default initial allocation and growthrate of segments created within that tablespace. placement

    Oracle Expert makes recommendations to ensure thatseparate tablespaces exist for different types of segments

    and that database users have been assigned appropriatedefault and temporary tablespaces.

  • 8/3/2019 Database Tunning With High Perforemance

    11/19

    Think Over It .

    Tuning the database performance is not asimple task and it depends on your specificrequirements, the operating system and the

    target hardware. There is no "one fits it all"aproach. The goal is to avoid abviousslowdowns and balance the available

    resources .

  • 8/3/2019 Database Tunning With High Perforemance

    12/19

    There Is A SolutionTo It ..

  • 8/3/2019 Database Tunning With High Perforemance

    13/19

    Leading Provider OfSqlTuning Applications

  • 8/3/2019 Database Tunning With High Perforemance

    14/19

    CONFIO SOFTWARE

    Confio is a leading provider ofSQL tuningapplications designed to improveperformance

    as well as service levels

    for critical business

    SQL database applications.

  • 8/3/2019 Database Tunning With High Perforemance

    15/19

    Superior SQL TuningConfios award winning Ignite for SQL tuning softwaresends DBAs and system administrators advanced on-screen warnings toAccumulating Wait TimeBottlenecks.

    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 amongthe fastest to install in the industry.Ignites Wait-Time-based SQL tuning product is an industry leader.

  • 8/3/2019 Database Tunning With High Perforemance

    16/19

    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 byidentifying the root causes of SQL performance problemsso this leads to greater utility.

  • 8/3/2019 Database Tunning With High Perforemance

    17/19

    Example

    Consider this scenario: You own a trucking company, and you've recently had problemsin 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. Thetrucks typically wait six to eight hours before workers unload the cargo. Every minutethat 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 oftheir arrival. As a result, when a truck arrives, the forklift that's needed for unloading isoften 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 trucksare on their way. You investigate more and learn that the person who used to call thewarehouse 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 topurchase a second forklift and your problem is solved.

    This bottleneck was pretty easy to fix. But have you ever discovered a bottleneck in yourbusiness processes? These can be harder to resolve, mostly because they're harder toidentify.

  • 8/3/2019 Database Tunning With High Perforemance

    18/19

    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 goodexample is when key team members become ill or go on vacation. No one elseis 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 hecan't even start until he has the final month-end figures.

    Identifying and fixing bottlenecks is highly important. They can cause a lot ofproblems in terms of lost revenue, dissatisfied customers, wasted time, poor-

    quality products or services,

  • 8/3/2019 Database Tunning With High Perforemance

    19/19


Recommended