Performance tuning in database side

Hi All,
I have a query which consumes 2 hours to run. Since, it is a vendor query, am not supposed to tune the query part.
Response time needs to be reduced. So far, i have done the below analysis.
1) All the indexes are working fine
2) Cost is high while sorting. Hence, tried to increase the sort_area_size in the session level. no benefit.
3) cursor_sharing set to similar at session level. But no benefits. Default was exact.
Anyone could help me what parameters need to be altered in v$parameter
My DB is 9.2.0.8.0
Thanks in advance
Regards
A.Gopal

Before you do anything, I suggest proper root cause analysis.
Will this sort_area_size setting at session level will be useful? See template tuning threads:
[url https://forums.oracle.com/forums/thread.jspa?threadID=863295]How to post a SQL tuning request
[url https://forums.oracle.com/forums/thread.jspa?messageID=1812597]When your query takes too long
Only by knowing where the time is going and why can anyone suggest a course of action that is relevant.
Do an extended trace (event 10046) at level 12 and run the trace file through tkprof.
Identify waits and any significant differences between estimates and actuals.
If your actual execution metrics indicate that you are spending excessive time sorting or on temp space usage THEN you can consider changing sort_area_size parameters, etc.
All the indexes are working fineWhat is this meant to mean?
If you don't know anything about your execution plan or where time is spent in the query, how can you judge the effectiveness of the indexes?
Edited by: Dom Brooks on Nov 21, 2012 3:02 PM

Similar Messages

  • Performance tuning of database using DBACOCKPIT

    Hiii Experts,
    I have installed new server with OS:- Windows server 2012 and DB:- Sybase ASE 15.07.
    Now I want to perform performance tuning of SAP and Database, so for that I have configured
    DBACOCKPIT but I could not change the parameter values so could you tell me how to change
    parameter values and how to use DBACOCKPIT  for performance tuning.
    Thank you,
    Regards,
    Omkar M.

    DBA_Guide wrote:
    Reports running slow, not sure if database is using Start transformation for the Datawarehouse  Database.
    Used hint  */+ STAR_TRANSFORMATION */, still no performance increase.
    Checked database parameter -
    SQL> show parameter star;
    NAME                                 TYPE        VALUE
    dg_broker_start                      boolean     FALSE
    fast_start_io_target                 integer     0
    fast_start_mttr_target               integer     0
    fast_start_parallel_rollback         string      LOW
    log_archive_start                    boolean     FALSE
    star_transformation_enabled          string      TRUE
    Any Help is appreciated.
    Thanks!
    If star transformation was not the cause of the slowness, of course it won't make it faster.
    I bet you any number of other different hints will result in no change in performance.
    This is like replacing gas tank on your car with a LARGER tank & filling it with more gasoline to make the car go faster.
    The amount of gasoline is not a factor that limits the speed of your car.

  • Looking for book about performance tuning 11g database

    Hi,
    I am looking for books about performance tuning oracle 11g. The documents from OTN 2 days 11g performance tuning and performance tuning guide are not really study material.
    Has someone idea?
    greeting,
    Max

    Hi,
    http://astore.amazon.com/oraclebooks-20/detail/1590599683 {Part IV Database Tuning }
    Greetings,
    Sim

  • Performance tuning  - Is database using Star Transformation?

    Reports running slow, not sure if database is using Start transformation for the Datawarehouse  Database.
    Used hint  */+ STAR_TRANSFORMATION */, still no performance increase.
    Checked database parameter -
    SQL> show parameter star;
    NAME                                 TYPE        VALUE
    dg_broker_start                      boolean     FALSE
    fast_start_io_target                 integer     0
    fast_start_mttr_target               integer     0
    fast_start_parallel_rollback         string      LOW
    log_archive_start                    boolean     FALSE
    star_transformation_enabled          string      TRUE
    Any Help is appreciated.
    Thanks!

    DBA_Guide wrote:
    Reports running slow, not sure if database is using Start transformation for the Datawarehouse  Database.
    Used hint  */+ STAR_TRANSFORMATION */, still no performance increase.
    Checked database parameter -
    SQL> show parameter star;
    NAME                                 TYPE        VALUE
    dg_broker_start                      boolean     FALSE
    fast_start_io_target                 integer     0
    fast_start_mttr_target               integer     0
    fast_start_parallel_rollback         string      LOW
    log_archive_start                    boolean     FALSE
    star_transformation_enabled          string      TRUE
    Any Help is appreciated.
    Thanks!
    If star transformation was not the cause of the slowness, of course it won't make it faster.
    I bet you any number of other different hints will result in no change in performance.
    This is like replacing gas tank on your car with a LARGER tank & filling it with more gasoline to make the car go faster.
    The amount of gasoline is not a factor that limits the speed of your car.

  • Can i use "Oracle Database 12c: Performance Management and Tuning " training for getting certification on "Oracle Database 11g: Performance Tuning 1Z0-054"

    i have taken "Oracle Database 12c: Performance Management and Tuning new" training from oracle university. Now i would like to get certified on "Oracle Database 11g: Performance Tuning 1Z0-054" exam. Is it possible ?

    I essentially endorse and refer you to Matthews' and John's post above.
    I would differ with slightly with Matthew because my guess is you would often be able to use like for like 12c training for an 11g certification ( I believe there are precedents).  BEFORE ANYONE ASKS THE OTHER WAY DOESN'T HAPPEN.
    .... but totally concur with Matthew you would ill advised to procede on that basis without one of:
    - This being advertised as possible on the website : e.g. https://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=654&get_params=p_id:169 ... option 2 show courses.
    - Confirmation from Brandye
    - Confirmation from an Oracle Certification Support Web Ticket ( http://education.oracle.com/pls/eval-eddap-dcd/OU_SUPPORT_OCP.home?p_source=OCP )
    ... The more common (and in my opinion usually better) way would be get your 11g DBA OCP ( or higher first) and then take the 1z0-054.  I am almost certain they will accept your 12c course for the 11g DBA OCP.
    If you are choosing the route of not being a 11g (or 12c ) DBA OCP first but are on option 2 and relying on the course for certification then the issue is more in the balance and you are even more strongly advised to get confirmation before proceding (remember if the rules need to be changed for you only then any profit out of the exam is lost).
    In general my understanding is Oracle would prefer to encourage people to train on the latest version of product that is available for training  and will prefer to avoid restrictions which would cause you to train at a lower version.  ( This is simply my guess at Oracle University Policy ... personal opinion only).
    Having said all I have said I'd encourage you to go with the advice of the earlier two posts.

  • Oracle 11 G database performance tuning

    How to indexing the oracle 11G database?
    Thanks in advance.

    Your question is like if you ask "Tell me how to fix a car". As you know people spend years learning how to fix different problems with cars; the same applies to database performance tuning. There is no way to answer this question in one post. Please ask a more specific question in an apropriate (database related) forum.
    cheers

  • Oracle Database 10g: Performance Tuning guide

    Oracle Database 10g: Performance Tuning guide
    can any one help me where i can get above mentioned guide
    thanx in Advance
    regards,

    There's this wonderful website called Google: http://www.google.com. If you type in the exact same thing as this thread title, the first results listed will no doubt shock, surprise and amaze you ...
    Enjoy !!
    Cheers
    Richard Foote
    http://richardfoote.wordpress.com/

  • Database performance tuning

    i have a very large database consisting of around 300,000,000 records with 38 columns in each record.
    i need help in tuning the database so that query results don't take more than a few seconds.
    the data is the log of events occuring in the SMSC server.
    there are about 10,000,000 events daily.
    Search criteria is usually time range and the mobile numbers.
    Please advise on the sql and table structure to be used for best performance.presently using composite partitioning with range partitioning based on time( one partition for each day). query with 1 day range takes about 70-80 seconds.
    i'm using java servlets and jdbc for accessing the database.
    there's no problem in inserting data.

    Hi
    Thanks for your replies.
    The table structure is as follows :
    LOGGING_TIME DATE
    LOG_TYPE NUMBER
    SUC_INDICATOR NUMBER
    ORIG_IW_TYPE NUMBER
    ORIG_TYPE NUMBER
    ORIG_ADDR VARCHAR2(21)
    ORIG_ADDR_LEN NUMBER
    DEST_IW_TYPE NUMBER
    DEST_TYPE NUMBER
    DEST_ADDR VARCHAR2(21)
    DEST_ADDR_LEN NUMBER
    SMS_CENTRE VARCHAR2(21)
    INCOMING_TIME DATE
    TIME DATE
    ERROR_CAUSE NUMBER
    ERROR_ORIGINATOR NUMBER
    NO_OF_ATTEMPTS NUMBER
    TARIFF_CLASS NUMBER
    MSG_LEN NUMBER
    PID NUMBER
    SR_REQUEST NUMBER
    DEFERRED_DEL NUMBER
    SERV_DESC NUMBER
    REF_NR NUMBER
    MAX_NR NUMBER
    SEQ_NR NUMBER
    SP_MSG_IND NUMBER
    DCS NUMBER
    ACCESS_METHOD NUMBER
    PRIORITY NUMBER
    SENDER_CHG_TYPE NUMBER
    RECIPIENT_CHG_TYPE NUMBER
    SENDER_PREPAID_STATUS NUMBER
    RECIPIENT_PREPAID_STATUS NUMBER
    CHARGED_PARTY NUMBER
    VMSC VARCHAR2(21)
    ORIG_IMSI VARCHAR2(21)
    CONSO_MSG VARCHAR2(10)
    I have used composite partitioning with range partition based on logging_time and one day for each partition.there are 32 subpartitions.
    I have created a local partitioned index on columns logging_time,orig_addr and dest_addr respectively as they are the most commonly used in queries.
    query : select /*+ parallel_index(event_logs, event_logs_ind2)*/ * from event_logs where (logging_time>=?) and (logging_time<?) and (orig_addr like ?) and (log_type like ?) and (dest_addr like ?) order by logging_time
    execution plan is as follows:
    select statement
    partition range(iterator)
         sort(order by)
         partition hash(all)
              table access(by local index rowid) of "smsevent.event_logs"
              index(range scan) of "smsevent.event_logs_ind"(non-unique)
    I tried to make this more readable but the white spaces are getting removed from the posted message.
    looking forward to a quick response

  • Check the database ( Performance , tuning ,  . . . . . . . , etc  )

    Dears,,
    If i have running database and i need to make check health for it for performance , tuning , . . . , etc
    Is there any steps or advisors or documentations to go ahead with them enable me to check the database health.
    Thanks & Regards,,

    Eng.Mohammed wrote:
    Dears,,
    If i have running database and i need to make check health for it for performance , tuning , . . . , etc
    Is there any steps or advisors or documentations to go ahead with them enable me to check the database health.
    Thanks & Regards,,
    One way to check for performance issues is to see if your telephone is ringing. If no one is calling to complain, then you don't have any problems.
    I'm only half joking. Which means I am half serious. While you shouldn't take a completely cavalier attitude toward performance, neither do you want to fall victim to Compulsive Tuning Disorder.
    Start with the 2-Day DBA manual. Follow up with the tuning guide. Both at tahiti.oracle.com
    And remember, no matter how much effort you put into tuning, there will always be a "Top Five" wait events. Is it worth 40 man hours of effort to get a 75% reduction in average response time? Really? Even if the average response time is already 0.5 seconds? Is the user going to be able to perceive that 0.38 seconds improvement?

  • Dates for "Oracle Database 11g: Performance Tuning" exam

    Hi!
    Today Oracle posted info about the new Oracle Database 11g Performance Tuning exam needed for the new expert certification:
    http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=41&p_exam_id=1Z0_054#2
    It says that pre-registration for the beta exam starts today, however, it does not say when the beta phase starts and ends. Does anyone know?
    Thanks,
    Marcus

    Hello Hussein
    Yes true, I remember it for the OCE and Linux exams they rescheduled the end date several times. As far as I know it is related to the number of participants and the given feedback.
    I've also participated to several other exams, and I must admit that it is a long and hard process to get through. When I got the feedback 10 weeks after the beta period closure, I had to review nearly all the topics to get the exams passed the second time. But this it is a cheap and good exam preparation.
    What about you Hussein? Do you think that's trivial?
    Cheers,
    Hub

  • Oracle Database 11g: Performance Tuning exam 1Z0-054

    Hi,
    I want to take the certification Oracle Database 11g: Performance Tuning exam 1Z0-054 and want to write the exam.
    To earn the OCE credentials, I know that we need to take training from Oracle University. I am not an OCP currently.
    Can I write the exam now and later take the course to meet the certification requirements? I know it is not the right way, but I can not pay $3000 for the course as of now. I can write the exam through self study. I want to check if I can take the exam now and later take the course.
    Is it mandatory to take the course before taking the exam?
    Thanks,
    naveen.

    Naveen Kumar C wrote:
    Hi,
    y
    I want to take the certification Oracle Database 11g: Performance Tuning exam 1Z0-054 and want to write the exam.
    To earn the OCE credentials, I know that we need to take training from Oracle University. I am not an OCP currently.
    Can I write the exam now and later take the course to meet the certification requirements? I know it is not the right way, but I can not pay $3000 for the course as of now. I can write the exam through self study. I want to check if I can take the exam now and later take the course.
    Is it mandatory to take the course before taking the exam?
    Thanks,
    naveen.Indeed you can take the exam now, and subsequently earn the 11g PERFTUNE OCE credential when you either:
    1) complete, submit and get verified the OU authorised 11g perftune course (possible but seems a little cart before horse).
    or
    2) Become 11g DBA OCP.

  • Beta Testing Continues for "Oracle Database 11g: Performance Tuning" Exam

    !http://blogs.oracle.com/certification/2009-0204-1123.gif!
    The beta period continues for the <strong>Oracle Database 11g: Performance Tuning certification exam (1Z1-054)</strong>, which is a single exam requirement for Oracle 11g DBA OCPs to earn the Oracle Database 11g Performance Tuning Certified Expert (OCE) certification. Read more on the <a href="http://bit.ly/UGJh4">Oracle Certification Blog</a>.</p>

    Hello Hussein
    Yes true, I remember it for the OCE and Linux exams they rescheduled the end date several times. As far as I know it is related to the number of participants and the given feedback.
    I've also participated to several other exams, and I must admit that it is a long and hard process to get through. When I got the feedback 10 weeks after the beta period closure, I had to review nearly all the topics to get the exams passed the second time. But this it is a cheap and good exam preparation.
    What about you Hussein? Do you think that's trivial?
    Cheers,
    Hub

  • Beta Testing Ends For "Oracle Database 11g: Performance Tuning" Exam

    !http://blogs.oracle.com/certification/2009-0204-1122.gif!
    <p>The beta period ended on Aug 31, 2009 for the <strong>Oracle Database 11g: Performance Tuning</strong> certification exam (1Z1-054), which is a single exam requirement for Oracle 11g DBA OCPs to earn the Oracle Database 11g Performance Tuning Certified Expert (OCE) certification.</p>
    <p align="justify">Full details are posted on the Oracle Certification Blog.</p>

    Hello Hussein
    Yes true, I remember it for the OCE and Linux exams they rescheduled the end date several times. As far as I know it is related to the number of participants and the given feedback.
    I've also participated to several other exams, and I must admit that it is a long and hard process to get through. When I got the feedback 10 weeks after the beta period closure, I had to review nearly all the topics to get the exams passed the second time. But this it is a cheap and good exam preparation.
    What about you Hussein? Do you think that's trivial?
    Cheers,
    Hub

  • NOW LIVE: Oracle Database 11g - Performance Tuning Exam (1Z0-054)

    !http://blogs.oracle.com/certification/ORC-0128.jpg!
    The new *"Oracle Database 11g: Performance Tuning" certification exam (1Z0-054)* is now live, which is a single exam requirement for Oracle 11g DBA OCPs to earn the Oracle Database 11g Performance Tuning Certified Expert (OCE) certification.</p>
    <p align="justify">This certification endorses those database administrators, support engineers, and technical consultants who have demonstrated their knowledge and skills using Oracle Database 11g automatic tuning features, including SQL Tuning Advisor, SQL Access Advisor, Automatic Workload Repository and Automatic Database Diagnostic Monitor.</p>
    <p align="justify">Candidates taking this exam at test centers will now receive their exam scores and pass/fail status immediately at the completion of their exam. Score reports have just been shipped to those candidates who participated in the beta period. If you participated in beta testing and did not yet receive your score report, please contact [email protected]</p>
    <p align="justify"><strong>QUICK LINKS</strong></p>
    <ul><li>Certification Track: Oracle Database 11g Performance Tuning Certified Expert (OCE)</li>
    <li>Certification Exam: 1Z0-054 &ndash; Oracle Database 11g: Performance Tuning</li>
    <li>Stay Up To Date: Oracle Certification Blog | Oracle Certification Website</li>
    </ul>

    Naveen Kumar C wrote:
    Hi,
    y
    I want to take the certification Oracle Database 11g: Performance Tuning exam 1Z0-054 and want to write the exam.
    To earn the OCE credentials, I know that we need to take training from Oracle University. I am not an OCP currently.
    Can I write the exam now and later take the course to meet the certification requirements? I know it is not the right way, but I can not pay $3000 for the course as of now. I can write the exam through self study. I want to check if I can take the exam now and later take the course.
    Is it mandatory to take the course before taking the exam?
    Thanks,
    naveen.Indeed you can take the exam now, and subsequently earn the 11g PERFTUNE OCE credential when you either:
    1) complete, submit and get verified the OU authorised 11g perftune course (possible but seems a little cart before horse).
    or
    2) Become 11g DBA OCP.

  • Oracle Database 11g: Performance Tuning-Certification

    Dear All!
    I want to take exam 1z0-054 for
    "Oracle Database 11g: Performance Tuning".
    I've completed an Oracle authorized couse of "Oracle Database 11g: Performance Tuning DBA" in 2008,which is one of requirements to get that certificate.
    Please any info regarding to expiration of complilation of courses?
    If I pass 1z0-054 exam ,will the above mentioned couse considered?
    And the last one, Are there possibilities to see or load the info of the couses I've completed , to my Oracle site acount.
    Thanks in advance!
    Best regards

    Try posting this type of question in the Certification forum:
    Oracle Certification Program

Maybe you are looking for

  • Non app store items not showing up in launchpad

    Non-App store apps located in the Applications folder are not showing up in Launchpad (Example: Pixelmator).

  • W520 battery died after 6.5 months. Not a recalled unit

    Is there a way to resurrect a dead battery that failed way too soon? Seems it's the chip that has the problem. I bought a second battery from Amazon to "back up" my original battery sent in the machine at purchase late October 2011. I have a 427637U

  • HT2506 How do I get Adobe Acrobat to see/print pdf forms I've filled out in Preview

    I've been working in Preview and filling out Adobe Acrobat created forms according to instructions from the help in Preview.  However, whent these filled forms are submitted to someone and opened in Adobe Acrobat, they can neither see what I've fille

  • Question related smf service config

    Hello, I'm trying to create some smf manifests which should start some java vm which represents a whole application. There are for example a vm which is the jndi, a vm which works as jms and a "first" app which is called "manager". So I created a man

  • PC and Mac user...what to do?

    I just got an Ipod Nano and my main computer now is a Mac where I have all my Itunes music. However, I will be switching over to a PC shortly and will be using that to sync my Ipod moving forward. The question is...how can I get all the music that is