Exploring oracle Peformance tuning

Hi all, iam 6 month old to oracle arena...
I am passionate to learn oracle performance tuning. I couldnt able to understand concepts in oracle books..i need a proper flow of learning guide..learning tuning will give me upper hand in analysing behaviour of oracle architecture.
Please, help me in providing good articles or materials which would give me good learning flow of it...
Currently im following sir burleson blog but need more to learn about tuning...
thanks in advance....
[email protected]

sybrand_b wrote:
Please note there is a fundamental difference between the tuning approach of Donald K Burleson and people like Jonathan Lewis, Tom Kyte, and many others.
Typically Donald Burleson favors generic measures like expanding memory, or replacing 'normal' drives by Solid State Devices. Also the findings of Mr. Burleson have often been demonstrated to be incorrect by Tom Kyte and Jonathan Lewis. You can easily find various flame wars between Mr Burleson and Messrs Kyte and Lewis.
As a newbie, it's easy to be fooled by the posts and recommendations of Mr Burleson, since he's really visible, and seems to have very strong opinions.
After attending a few courses on the matter, one tend to find that it's rather much noise, and not much substance (and truth) in the ''best practices'' published by Burleson.
Of course you can speed up the database with SSD-disks, but you can just as easily gain the same performance increase by tweaking and tuning instance parameters and workload.
I myself attended the course "Oracle Database 11g: Performance Tuning DBA":
http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getcoursedesc?dc=D50317GC20
and highly recommend it.
Good luck in your tuning.
//Johan

Similar Messages

  • Is there any certification for oracle performance tuning..?

    Hi All,
    Do we have any certification for oracle performance tuning.
    Let me know if it is.
    Thanks,
    Ritesh

    See http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=287
    HTH
    Srini

  • How to download the ORACLE INDEX TUNING

    Hi,
    I am using Oracle 10g. i want to know how to download the ORACLE INDEX TUNING .
    Thank u...!

    Hi,
    Thank u for u r reply. I am asking about the Oracle Index tuning Wizard 9.2.0.1.0 Production. In the Oracle tuning book it has give this. That's why i am asking about the how to download the Oracle Index tuning Wizard 9.2.0.1.0 Production. Or where we will find this in oracle 10g.

  • Inputs to setup an Oracle performance tuning Lab.

    Hi All,We are planning to setup a Performance tuning lab at our unit.The key areas which needs to be addresses for this lab is 1)Architecture of the Database 2)Having Large volume of data 3)Producing high volume transactions.
    Request you to provide your valuable inputs on how to setup the lab.

    user11266214 wrote:
    Hi All
    Thanks for your responses.We are not doing the load testing.We have a linux server on which Oracle 11g running.We would like to simulate the real time work environment on which we train people to perform the performance tuning tasks.Performance tuning tasks comprise of Server tuning,Oracle parameter tuning and SQL tuning.
    Request you to provide inputs on the approach we need to take up for setting up such kind of lab.
    Thanks in anticipation.Swingbench as said before

  • Moderator: let's create Oracle 8i Tuning forum

    I've just made a bunch of posts that I felt were off-topic to Linux, but I had nowhere else to post them. Why don't you create a new Oracle 8i Tuning forum area, so that people with differnt platforms can share ideas?
    null

    well how do try to make your database?? with dbca or just manually with runing some scripts??
    protocol adapter error means to me that you have to set your oracle_sid properly
    before starting making your database to do that just type at the command prompt c:\ set oracle_sid=<your sid> if you chose kabul as database name just type set oracle_sid=kabul and then click on enter
    when you finish creating your database run the NET8 configuration assistant to make a listener ,tnsnames.ora and a sqlnet.ora and then you can connect to your database !!
    good luck !!
    Mo.Mengad

  • Oracle Performance Tuning

    Hi,
    Our organization recently also encounter Oracle DB performance issue, whereby I am searching for information for us to going into diagnostic the problem and finding the root cause of this performance problem.
    I had read through this old article where I found a number of points being highlighted was a good start for us, and just about this port, we would like to understand what in details of AIX 5.3 and asynch I/O turned-on had to do with Oracle DB performance, unfortunately the URL given in the article (possible due to the twas back in 2006), is no longer valid (http://www.oracle.com/technology/pub/articles/lewis_cbo.html), I tried that but the pages being redirected to (http://www.oracle.com/technetwork/articles/index.html).
    May I know, would you able to provide me the new URL path for the mentiened AIX 5.3 asynch I/O turned-on related information?
    Our environment:
    1) OS AIX 5.3
    2) Oracle DB 10g
    (If I have the AWR Report, would it be better possition for you to help us?)
    Thank you in advanced.
    Best Regards,
    KaiLoon Kok
    Edited by: 991132 on Feb 28, 2013 11:19 PM

    Hi,
    performance tuning is a very large argument and the causes of degradation may be many.
    There are several consideration that You have to do like:
    - which kind of application is running on the DB
    - which kind of optimizer is used
    - the striping of the data files across the disks
    - the dimension of the DB block
    - the waits that DB encounters
    - many other things like SORT_AREA_SIZE, HASH_AREA_SIZE, etc.
    To begin Yr analysis use the utlbstat.sql and utlestat.sql scripts provided in the $ORACLE_HOM/rdbms/admin directory and check the conditions of the DB.
    Increasing the SGA, like You've done, may not be the solution, somtimes it may instead decrease the overall performances.
    Also check in wich case the DB is slow, ex. executing some particular procedure, excuting a particular query, ....
    Try to identify the better the DB and then try to resubmit Yr problem.
    Bye Max
    null

  • Oracle Performance Tuning Certification

    Hi Guys
    I am going for 10g OCP then maybe 11g Tuning Expert Certification.
    1. I look at the prerequisites of 10g Performance Tuning course:
    Required Prerequisites:
    * Knowledge of Database Administration
    * Oracle Database 10g: Administration Workshop I Release 2
    * Oracle Database 10g: Administration Workshop II
    * Oracle Database 10g: New Features for Administrators Release 2
    Does this mean that it is COMPULSORY that I take the 3 courses above first before I can take the Performance tuning course? This cost a lot of $$$! ; o
    2. Where can I get 11gTuning Expert Certification practice questions? From the 11g Performance Tuning course? Couldn't find it in SelfTestSoftware....
    Advance thanks!

    user8092567 wrote:
    Hi,
    Exam # 1Z0-044 does not exist.
    Why there is no Oracle exam for Performance Tuning for 10g?
    There is one for 9i and there will be one for 11g (currently it is in beta).
    Lorrys,
    I guess this needs to be corrected a bit. 9i exam is a part of teh OCP track, its not an individual exam which you may clear and would be awarded an certification for it. OCE is itself is an certification track and unlikely OCP, it doesn't need multiple exams to be cleared. You just have to clear one exam and youwould be awarded teh certification. Now, about the 10g exam of PT OCE not being there and given in 11g, it should make sense as 11g is already out and there is no point in launchnig a NEW certification track for a previous version. So that's why 11g PT is launched for the newest release, which is 11g.
    That said, I am not from Oracle so its just my own opinion about your comment.
    HTH
    Aman....

  • Oracle SQL Tuning

    Hi,
    Can somebody explain me about the basics of tuning or any good resource online for absolute beginners.
    Concepts of Explain Plan, Hints, indexes etc...
    I ve come across some terminolgy like,
    Driving table,
    The order of the table in the from clause
    The order of the joins in the where clause.
    When and where to use hints.
    which one is a candidate for an hint
    Explain plan explained, like nested loops, hash join, merge, etc,,, with some examples on how it works...
    How to judge on the costs section of the explain plan...
    Any help is appreciated...
    Thanks!

    That's a very broad question. I've always found the online Oracle documentation to be the best available answer to most questions and doubts that I come across.
    Regarding your particular doubts, I'd say you should take a look at the concepts book, the SQL reference and maybe the Performance Tuning guide for info on explain plans and the sort.
    Concepts - http://download.oracle.com/docs/cd/E11882_01/server.112/e10713.pdf
    SQL - http://download.oracle.com/docs/cd/E11882_01/server.112/e10592.pdf
    Performance Tuning - http://download.oracle.com/docs/cd/E11882_01/server.112/e10821.pdf
    The developer book may also be very useful as well as the PL/SQL reference. Just take a look at below for the complete list of books:
    http://www.oracle.com/pls/db112/portal.portal_db?selected=4&frame=#essentials
    It will take you a lot of effort and patience to go through those but it certainly pays off.

  • Best Oracle SQL Tuning Books

    All,
    I am new in SQL Tuning. Can anyone suggests any good book / pdfs / links to start the work in tuning.
    Regards
    ND

    Besides the documentation that BluShadow provided I would suggest the following books:
    Cost-Based Oracle Fundamentals (ISBN-13 978-1590596364)
    Troubleshooting Oracle Performance (ISBN-13 978-1590599174)
    Optimizing Oracle Performance (ISBN-13 978-0596005276)
    Expert Oracle Database Architecture (ISBN-13 978-1590595305)

  • LEARNING ORACLE PERFROMANCE TUNING

    Hi everyone,
    Can any one guide me how to learn Performance tuning with examples becoz when i follow the oracle doc's.It is little bit diffcult for me to understand.
    Regards,
    Vikas Kohli
    Edited by: Vikas Kohli on Aug 30, 2011 3:40 PM

    Hi,
    We will increase the database performance by tuning sql queries, instance memories, by reading awr report.
    In sql tuining, have to tune sql quries based on how much response time is taking to get output and how much cpu is using. this we will check by enabling autotrace for query. oracle will choose the best execution plan of sql statement base on statistics that are available on the objects.
    In memory tuning buffer cache, redo buffer, shared pool memories has to tune to reside the data in the buffer cache without waiting for free buffers.
    In 10g and 11g oracle only automatically adjust the memories with the limit of sga_target parameter value. Even though we want we can tune memories manually.
    AWR report mainly gives information about health of the database. how database is performing. that means how the database is responding to users. how sql statements are getting result. where that statements waiting to get result. is that waiting for buffer cache, or waiting to get data from disk, is that is reading lots of indexes etc. like that.
    I hope you will get clear idea now.
    thanks

  • Seeks Advise on Selecting the Oracle DB Tuning Tools

    I could not find the most relevant discussion group, so I picked this one since it seemed the closest. Please ingore this if you find it out of place here.
    We would like to hear about your recommendations and experiences with various DB tuning tools available in the market. There is already a product from Oracle, Oracle Tuning, Diagnostics, and Change Management Packs, which is bundled with the Enterprise Manager V21. Are you aware of similar rival products? And how would you rank them?
    We are looking to pick a product and we highly appreciate to receive you feedback.
    Thanks you very much in advance.
    Adam Tadj
    [email protected]
    null

    One of the products I have very good experiences with is Precise SQL.
    You can analyze certain performance issues (I/O, memory, etc) up to statement level. Another nice feature is that it can predict, based on a performance warehouse, how certain changes will affect the performance on your database even before you apply them.
    What I really liked the most about this product is the minimum impact it has on your database. It doen't use the Oracle v$views, but it reads the SGA without using Oracle.
    You can find some information on www.precise.com
    Cheers
    null

  • Oracle query tuning : query with Order-by clause

    Hi
    I am having a query in my database :
    SELECT * FROM SAPR3.HRP1001 WHERE "MANDT" = 990
    ORDER BY
    "MANDT" , "OTYPE" , "OBJID" , "PLVAR" , "RSIGN" , "RELAT" , "ISTAT" , "PRIOX" , "BEGDA" , "ENDDA" ,"VARYF" , "SEQNR" ;
    Autotrace output is :
    Execution Plan
    0 SELECT STATEMENT Optimizer=CHOOSE (Cost=4649 Card=171895 Byt
    es=22862035)
    1 0 SORT (ORDER BY) (Cost=4649 Card=171895 Bytes=22862035)
    2 1 TABLE ACCESS (FULL) OF 'HRP1001' (Cost=1170 Card=171895
    Bytes=22862035)
    Statistics
    0 recursive calls
    5 db block gets
    12157 consistent gets
    11543 physical reads
    0 redo size
    38253080 bytes sent via SQL*Net to client
    376841 bytes received via SQL*Net from client
    34201 SQL*Net roundtrips to/from client
    0 sorts (memory)
    1 sorts (disk)
    512992 rows processed
    Since it is a issue with order by , it seems a PGA memory issue. there is 12GB PGA available but only 3GB gets allocated. pga_aggregate target is set in the DB. There is a index created for al the columns on order by, but it is not getting used.
    pleas suggest me as I am running into major problems, i can post the output of any query u require from my side. Any help wil be highly apprciated.
    Rishi

    > The query was alwasy spilling over to the One-Parse execution . It can be seen thru ST04N ->resource consumption-> sql work area trace.
    >
    > An undocumented oracle parameter smmmax_size was set which allowed for more usage of physical memory by single process and there was no spillover to the TEMP tablespaces.
    >
    > Also the File read time was analysed from Unix level ( From SAP thru ST04 ->filesystem wait s-> Avg rd (ms) and Ang writes (ms) which showed that reading from the File was not happening well. )
    Hi Rishi,
    the provided execution statistics prove the opposite:
    >Statistics
    >...
    >0 sorts (memory)
    > 1 sorts (disk)
    >512992 rows processed
    This indeed was a single-pass sort, which means it had to use the temp tablespace for one pass of the sorting/grouping.
    Remember that Oracle distinguishes three kinds of sorts: 1. "in memory", 2. "single-pass" and 3. "multi-pass".
    Only the first one won't need to spill out data to the disks. The others do this by definition.
    BTW: the file read times in ST04 are aquired through Oracle V$ views and not directly from the OS - that can make a big difference sometimes.
    regards,
    Lars

  • Peformance tuning

    hi experts
    i have got stuck in performance tuning osf one query
    how can i tune this query by breaking it into two parts
      SELECT a~vguid
             b~vbeln
             b~posnr
             b~charg
             b~bwtar
             c~kunnr
             b~kwmeng
             INTO TABLE i_sales
             FROM vlccuorder AS a
             INNER JOIN vbap AS b
             ON ( avbeln EQ bvbeln
             AND  aposnr EQ bposnr )
             INNER JOIN vbak AS c
             ON ( bvbeln EQ cvbeln )
             JOIN lqua AS d
             ON ( bcharg EQ dcharg )
             WHERE b~vbeln IN s_vbeln
               AND c~kunnr IN s_kunnr
               AND d~werks IN s_werks
                AND c~auart EQ 'ZOR'
                AND b~abgru EQ space.
    wherin primary key fields of tables are:
    a)vlccuorder is  vguid
    b)vbap  is vbeln and posnr
    c)vbak  is vbeln
    thanks in advance.

    with such low numbers I don't think the sql needs breaking up. I think it's just innefficient because the joins to LQUA is not specified at a low enough level AND does not specify the material, only the batch(CHARG) so hitting this table will be very inefficient. I also think it should be restructured to work down the hierarchy from top to bottom.
    This might be better:
    SELECT vlccvguid vbapvbeln vbapposnr vbapcharg
    vbapbwtar vbakkunnr vbap~kwmeng
    INTO corresponding fields of TABLE i_sales
    FROM
    vlccuorder AS vlcc
    INNER JOIN vbap
    ON ( vlccvbeln EQ vbapvbeln
    AND vlccposnr EQ vbapposnr )
    INNER JOIN vbak
    ON ( vbapvbeln EQ vbakvbeln )
    JOIN lqua
    ON ( vbapcharg EQ lquacharg )
    WHERE vbap~vbeln IN s_vbeln
    AND vbak~kunnr IN s_kunnr
    AND lqua~werks IN s_werks
    AND vbak~auart EQ 'ZOR'
    AND vbap~abgru EQ space.
    FROM vbak
    JOIN vbap
    ON ( vbapvbeln EQ vbakvbeln )
    join vlccuorder as vlcc
    ON ( vlccvbeln EQ vbapvbeln
    AND vlccposnr EQ vbapposnr )
    JOIN lqua
    ON ( lquamatnr eq vbapmatnr
    and lquawerks eq vbapwerks
    and lquacharg EQ vbapcharg )
    WHERE vbak~vbeln IN s_vbeln
      AND vbak~kunnr IN s_kunnr
      AND vbak~auart EQ 'ZOR'
      AND vbap~abgru EQ space.
      AND vbap~werks IN s_werks.

  • Peformance tuning of query using bitmap indexes

    Hello guys
    I just have a quick question about tuning the performance of sql query using bitmap indexes..
    Currently, there are 2 tables, date and fact. Fact table has about 1 billion row and date dim has about 1 million. These 2 tables are joined by 2 columns:
    Date.Dateid = Fact.snapshot.dates and Date.companyid = fact.companynumber
    I have query that needs to be run as the following:
    Select dates.dayofweek, dates,dates, fact.opened_amount from dates, facts
    where Date.Dateid = Fact.snapshot.dates and Date.companyid = fact.companynumber and dates.dayofweek = 'monday'.
    Currently this query is running forever. I think it is joining that takes a lot of time. I have created bitmap index on dayofweek column because it's low on distinctive rows. But it didn't seem to speed up with the performance..
    I'd like to know what other indexes will be helpful for me.. I am thinking of creating another one for companynumber since it also have low distinctive records.
    Currently the query is being generated by frontend tools like OBIEE so I can't change the sql nor can't I purge data or create smaller table, I have to what with what I have..
    So please let me know your thoughts in terms of performance tunings.
    Thanks

    The explain plan is:
    Row cost Bytes
    Select statement optimizer 1 1
    nested loops 1 1 299
    partition list all 1 0 266
    index full scan RD_T.PK_FACTS_SNPSH 1 0 266
    TABLE ACCESS BY INDEX ROWID DATES_DIM 1 1 33
    INDEX UNIQUE SCAN DATES_DIM_DATE 1 1
    There is no changes nor wait states, but query is taking 18 mins to return results. When it does, it returns 1 billion rows, which is the same number of rows of the fact table....(strange?)That's not a bitmap plan. Plans using bitmaps should have steps indicating bitmap conversions; this plan is listing ordinary btree index access. The rows and bytes on the plan for the volume of data you suggested have to be incorrect. (1 row instead of 1B?????)
    What version of the data base are you using?
    What is your partition key?
    Are the partioned table indexes global or local? Is the partition key part of the join columns, and is it indexed?
    Analyze the tables and all indexes (use dbms_stats) and see if the statistics get better. If that doesn't work try the dynamic sampling hint (there is some overhead for this) to get statistics at runtime.
    I have seen stats like the ones you listed appear in 10g myself.
    Edited by: riedelme on Oct 30, 2009 10:37 AM

  • Freeware for Proactive Oracle DB tuning

    All,
    Can someone please recommend freeware that I can use for monitoring the Oracle database. I need something that can detect bottlenecks as they are developing so that problems can be 'nipped in the bud'. Any good suggestions will be appreciated. (....something similar to OEM, Quest Foglight & Performance Analysis etc).
    Thanks in advance.

    Nicolas,
    ....Thanks, ur contribution is actually helpful, and I've marked it as such, but if u've ever used Performance Analysis by Quest, u'll know u can actually detect bottlenecks as they begin to 'gather momentum'(pro-active), not after they've become proper bottlenecks. There's a reason why organizations pay for software like PA by Quest, and all I need to ascertain is that there isn't a freeware version of such tools before I go spending.

Maybe you are looking for