DBAsupport.com Forums - Powered by vBulletin
Results 1 to 8 of 8

Thread: Tuning - where to start

  1. #1
    Join Date
    Dec 2000
    Posts
    75
    To Tuning Experts,

    In general if databases run slowly, what will be some of the things to start looking into? My initial thought will be Unix monitoring, running bstat and estat, check init.ora parameters(which parameters worth tuning?), explain plan etc. Can some of you share some real life tuning experience?
    goodhealth

  2. #2
    Join Date
    Feb 2000
    Location
    Washington DC
    Posts
    1,843
    buffer cache,library cache, redolog, rbs, sort area, i/o contention, fragmentation, to name few but not limited to. It goes with where you have problem and what to fix and depends on the resources available and kinda activity on the database.

  3. #3
    Join Date
    Jul 2000
    Posts
    119
    hi , i think the best thing to start for tuning is the typical users .they are an invaluable feedback ina way system is working .. tune their sql codes first before delving into the details .then you look for the contention in memory (buffers/adaquete redo logs etc ..), and check out whether you needa have partitioning of tables/indexes in order to speed up the performance .you can always have an eye on your hardware in order to gear up with upcoming issues .
    hope that helps ..

  4. #4
    Join Date
    Jan 2001
    Posts
    126
    Hi,

    First I look at the memory allocation to various components such as OS, DB, Application, Other tools etc. I have found that these areas are handled by different groups and you tend to overallocate memory thus resulting in heavy paging at OS level.

    Having got the memory allocation for DB, then you can size your SGA, PGA and latches. Then look at RBS & Temp usage. Tune your sort areas. Finally look at the database layout and improve IO bottlenecks.

    Look at the application and optimize SQL queries.

    At the OS level look at Asynch IO configuration, UNIX file cache etc.

    Hope this helps.

    Baliga

  5. #5
    Join Date
    Apr 2000
    Location
    Baltimore, MD
    Posts
    759
    Sometimes network bottleneck can cause problems too.

  6. #6
    Join Date
    Sep 2000
    Posts
    43
    Start by getting a good book :-)
    Oracle Performance Tunning Tips and Techniques. By Oracle Press. ISBN 0-07-882434-6
    It will give answers and scripts:
    Page 4 starts Five Quick Goals to Instantly Improve Performance. It states what previous answers already told you but will also explain why and will give setting, scripts and parameters to start with.
    Alla S. Pfauntsch
    Oracle DBA
    ========================================
    "Life is what happens while you are planning something else".

  7. #7
    Join Date
    Jul 2000
    Location
    delhi,india
    Posts
    10
    Hi,
    The best place to start tuning is,of course,the sql code.This is what gives maximum results when compared to all other areas of tuning.However, a look into the various buffer caches and os parameters would also help.

    Rajesh.

  8. #8
    Join Date
    Jan 2001
    Posts
    3,134
    Just remeber D'AMICO. Sure it's an italian last name but according to Oracle ILT materieal you tune in order.
    Design (usually too late for this one)
    Application (SQL apps)
    Memory (SGA, ect..)
    In & Out
    Contention
    Operating System

    I also reccomend the oracle press Performance Tuning book bt Richard Niemiec.

    [url]http://www.bookpool.com[/url]

    Good Luck MH

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width