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

Similar Messages

  • 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?

  • Oracle Memory Issue/ performance tuning

    I have Oracle 9i running on Window 2003 server. 2 GB memory is allocated to Oralce DB( even though server has 14GB memory)
    Recently, the oracle process has been slow.. running query
    I ran the window task manager. Here is the numbers that I see
    Mem usage: 556660k
    page Faults: 1075029451
    VM size: 1174544 K
    I am not sure how to analyze this data. why the page fault is so huge. and Mem usage is half of VM size?
    How can I do the performance tuning on this box?

    I'm having a similar issue with Oracle 10g R2 64-bit on Windows 2003 x64. Performance on complicated queries is abysmal because [I think] most of the SGA is sitting in a page file, even though there is plenty of physical RAM to be had. Performance on simple queries is probably bad also, but it's not really noticable. Anyway, page faults skyrocket when I hit the "go" button on big queries. Our legacy system runs our test queries in about 5 minutes, but the new system takes at least 30 if not 60. The new system has 24 gigs of RAM, but at this point, I'm only allocating 1 gig to the SGA and 1/2 gig to the PGA. Windows reports oracle.exe has 418,000K in RAM and 1,282,000K in the page file (I rounded a bit). When I had the PGA set to 10 gigs, the page usage jumped to over 8 gigs.
    I tried adding ORA_LPENABLE=1 to the registry, but this issue seems to be independent. Interestingly, the amount of RAM taken by oracle.exe goes down a bit (to around 150,000K) when I do this. I also added "everyone" to the security area "lock pages in memory", but again, this is probably unrelated.
    I did an OS datafile copy and cloned the database to a 32-bit windows machine (I had to invalidate and recompile all objects to get this to work), and this 32-bit test machine now has the same problem.
    Any ideas?

  • Oracle 9i Database -- Performance window in Grid Control not data available

    Hi
    I have Grid Control 10.2.0.4 on Red Hat and i monitoring some Oracle 9i Instances. When i go to any of these instances to the Performance section, at begininig , ever, not data available in all the graphics.
    When i select manual refresh the graphic begin to build information. But if i close the explorer and reopen , all graphics not have any information.
    Is the situation normal for all Oracle 9i databases?
    The explanation is that Oracle 9i not have AWR ?
    Thanks

    You have too few RAM on your machine, even you could successfully create an instance, it's going to slow as hell.
    When you run DBCA to create database, instead of actually creating the database you could choose to dump the SQL scripts and files used for database creation to a directory. This way will give you a chance to modify pfile and reduce the SGA parameter. I believe the default SGA of instance created by DBCA is already beyond your RAM limit.

  • Oracle EBS Application performance tuning course

    May I know Oracle EBS r12 application performance tuning course available in Oracle University?

    Hi Azar,
    As far as I know there is no course as EBS performance Tuning course. As you know this is the complete Oracle training courses available:
    Oracle Certification All Exam | Certifications | Oracle
    As EBS is involved in multi Tier architecture, I recommend you to have a look at:
    Oracle Certification Program: Oracle Technology and Applications Certification
    Oracle Certification Program: Oracle Technology and Applications Certification
    Oracle Certification Program: Oracle Technology and Applications Certification
    Hope this helps!! and Best of Luck mate!
    Thanks &
    Best Regards

  • 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

  • Oracle 11g Database Performance

    We have Oracle 11g (11.1.0.6) database on HP-UX (IA). It’s around 200G database, and we have lot of batch job and reports running against this database. This database is performing really bad, whenever we restart the application and the database its performing good batch jobs are running for 2 hrs, the time will increase gradually and after few days same job taking more that 20 hrs some times its not even complete we manually kill it.
    So I am guessing this is related to memory (SGA) issue, we have configured automatic memory management. But I don’t know where/what to look to find the root cause. Can some one help me to find a problem?

    Database Memory Details_
    SQL> select * from V_$SGA_TARGET_ADVICE;
      SGA_SIZE SGA_SIZE_FACTOR ESTD_DB_TIME ESTD_DB_TIME_FACTOR ESTD_PHYSICAL_READS
         13312               1       267849                   1           110687043
          3328             .25      1147710              4.2849           231524088
          6656              .5       560074               2.091           149969875
          9984             .75       353321              1.3191           121279793
         16640            1.25       228583               .8534           106547348
         19968             1.5       204503               .7635           103204599
         23296            1.75       139577               .5211            94194674
         26624               2       139577               .5211            94194674
    8 rows selected.
    SQL>
    SQL>
    SQL> show sga;
    Total System Global Area 1.6034E+10 bytes
    Fixed Size                  2112960 bytes
    Variable Size            3422552640 bytes
    Database Buffers         1.2549E+10 bytes
    Redo Buffers               60190720 bytes
    SQL>
    SQL>
    SQL> show parameter;
    NAME                                 TYPE        VALUE
    memory_max_target                    big integer 15G
    memory_target                        big integer 15G
    pga_aggregate_target                 big integer 512M
    sga_target                           big integer 13G
    sga_max_size                         big integer 15G
    SQL>
    SQL>
    Memory & CPU_
    Load averages: 0.10, 0.12, 0.12
    319 processes: 263 sleeping, 56 running
    Cpu states:
    CPU   LOAD   USER   NICE    SYS   IDLE  BLOCK  SWAIT   INTR   SSYS
    0    0.07   1.6%   0.0%   1.8%  96.6%   0.0%   0.0%   0.0%   0.0%
    2    0.13   3.6%   0.0%   1.4%  95.0%   0.0%   0.0%   0.0%   0.0%
    4    0.12   7.3%   0.0%   4.0%  88.7%   0.0%   0.0%   0.0%   0.0%
    6    0.09   3.6%   0.0%   4.4%  92.1%   0.0%   0.0%   0.0%   0.0%
    avg   0.10   4.0%   0.0%   2.8%  93.2%   0.0%   0.0%   0.0%   0.0%
    System Page Size: 4Kbytes
    Memory: 16795892K (5385924K) real, 19681732K (6338872K) virtual, 1122788K free  Page# 1/6

  • Database performance tuning Question

    Please,
    The top wait event having all the time when tuning, oracle database is the following.
    enq: TX - row lock contention
    What could be the best way to pinpoint the cause of this?.
    I'm on Oracle 10g, windows server 2003.
    Thanks

    The first thing to do is check the underlying reason. If you query v$session_wait_history or v$lock when you spot a lock appearing, you can check if the request is for mode 4 or mode 6.
    Mode 6 means you are colliding on an attempt to update the data in a heap table. Mode 4 can mean many things - including a few "internal" problems, which is probably why the comment about initrans appeared - but often means you have a collision on indexes, (e.g. pending duplicates in unique indexes, conflicts in parent/child referential integrity) or colliding updates to the non-key part of IOTs.
    If you are allowed to use v$active_session_history, you can query that to find the sql_id of a session that was waiting for a lock and then be able to see the SQL that the waiting session was trying to operate - otherwise you may have to catch it waiting and check v$session for the sql_id.
    Once you have the SQL, you may have a better idea of why the lock was happening.
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    http:/www.jlcomp.demon.co.uk

  • Book for  1Z0-033 Oracle9i Database: Performance Tuning

    Hi
    are there are any recommended books for 1Z0-033 exam
    regards
    kedar

    Moreover, You can refer the Instructor Led Training (ILT) Materials which provided by Oracle Authorized Institutions i.e. SQL * International, and also, practice the Oracle's self test software questions.
    Best of luck.
    Sabdar Syed.

  • 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....

  • Database performance

    Can anyone help me? I just anted to know which are best and
    precise sites on internet where I can find info about Oracle 8i
    database performance monitoring,correction,best practises and
    prevention. Many times our database performance goes down and
    need to trouble shoot and correct the problems
    Thanks
    sandeep

    Hi sue..
    please send the papers to me also..my mail id [email protected]
    bye bye
    subbu
    The Oracle Performance and Tuning class is very good at least
    when I took it around 2 years ago.
    Oracle Performance Tuning by Mark Curry and Peter Corrigan is
    good but is probably too deep for someone new in Oracle. (It's
    too deep for me most of the time since I've worked with Oracle
    for 2.5 years now)
    I could also send you a paper that gives a fairly good
    explanation on use of V$SESSION_WAIT, V$SESSION_EVENT, and
    V$SYSTEM_WAIT. V$SESSION_WAIT tells you what application is
    wating and what is the event wait occuring.
    Let me know if you want it.

  • Invalid statement in Performance Tuning Guide

    Oracle® Database Performance Tuning Guide
    10g Release 2 (10.2)
    Part Number B14211-01
    13 The Query Optimizer
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14211/optimops.htm#sthref1324
    excerpt:
    "You can specify fast full index scans with the initialization parameter OPTIMIZER_FEATURES_ENABLE or the INDEX_FFS hint. Fast full index scans cannot be performed against bitmap indexes."
    Emphasis mine - Gints
    Here is counterexample:
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production
    CORE    10.2.0.1.0      Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    SQL> create table blah (sex varchar2(1) not null, data varchar2(4000));
    Table created.
    SQL> insert into blah select 'F', lpad('a', 4000, 'a') from user_objects where rownum<=10;
    10 rows created.
    SQL> insert into blah select 'M', lpad('a', 4000, 'a') from user_objects where rownum<=10;
    10 rows created.
    SQL> commit;
    Commit complete.
    SQL> create bitmap index sexidx on blah(sex);
    Index created.
    SQL> exec dbms_stats.gather_table_stats(user, 'blah', cascade=>true)
    PL/SQL procedure successfully completed.
    SQL>
    SQL> set autot traceonly expl
    SQL> set lines 100
    SQL> select count(*) from blah where sex = 'F';
    SQL> /
    Execution Plan
    Plan hash value: 1028317341
    | Id  | Operation                     | Name   | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT              |        |     1 |     2 |     1   (0)| 00:00:01 |
    |   1 |  SORT AGGREGATE               |        |     1 |     2 |            |          |
    |   2 |   BITMAP CONVERSION COUNT     |        |    10 |    20 |     1   (0)| 00:00:01 |
    |*  3 |    BITMAP INDEX FAST FULL SCAN| SEXIDX |       |       |            |          |
    Predicate Information (identified by operation id):
       3 - filter("SEX"='F')
    SQL> set autot off
    SQL> alter session set events '10046 trace name context forever, level 12';
    Session altered.
    SQL> select count(*) from blah where sex = 'F';
      COUNT(*)
            10
    SQL> disconn
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining optionsand here is relevant section from tkprofed trace file assuring that bitmap index fast full scan really was performed.
    select count(*)
    from
    blah where sex = 'F'
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.02          0          0          0           0
    Execute      1      0.00       0.03          0          0          0           0
    Fetch        2      0.00       0.00          0          3          0           1
    total        4      0.00       0.05          0          3          0           1
    Misses in library cache during parse: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 60 
    Rows     Row Source Operation
          1  SORT AGGREGATE (cr=3 pr=0 pw=0 time=74 us)
          1   BITMAP CONVERSION COUNT (cr=3 pr=0 pw=0 time=55 us)
          1    BITMAP INDEX FAST FULL SCAN SEXIDX (cr=3 pr=0 pw=0 time=43 us)(object id 98446)Gints Plivna
    http://www.gplivna.eu

    Hello Gints. I've reported this to the writer responsible for the Performance Tuning Guide. One of us will get back to you with the resolution.
    Regards,
    Diana

  • Performance Tuning on PL/sql

    Dear all,
    I am not sure whether I am right to post this enquiry here, please correct me if I am wrong.
    I have a sql stmt that run for a long time and caused a error of 'out of temp sapce' in oracle server. How can I tune my sql for better performance using command 'EXPLAIN PLAN'? How could I know the details information for those columns in the table 'PLAN_TABLE'?
    Best Regards,
    Marius

    Read the "Database Performance Tuning Guide and Reference" for your version of Oracle (available online, right here).
    Richard

  • Planning to start the performance tuning but....

    Friends,
    Database OS: RHEL AS 3.0
    Database: Oracle Release 9.2.0.4.0
    Number of Tables: 503
    TableSpace size - 1.8GB out of 3GB
    Max.Records in a Table - 1 Million and its increasing..
    Our DB Optimizer mode is - CHOOSE (is it RBO?)
    We are not using enterprise manager and not installed any tuning scripts like statspack etc....
    Currently we are taking user managed backup without any problem so we are continuing the same from 2004 onwards.
    Now we want want to tune our database.(We have never tuned our database)
    We would like to change our optimizer from RBO to CBO.
    Can anybody tell me the first step for the performance tuning?
    Please dont suggest me oracle doc im already studying.....its taking time....
    In the mean time......
    Step 1: Can i Analyze the table or dbms_stat package?
    We have not at all used the analyze or dbms_stat. So can i start with any of the above or do u have any other suggestions for the 1st step?
    Thanks

    our manager feels that if we tune our db the performance will be more than compared to the current one.you have a mystique manager then, ask him what kind of "feelings" does he have about my database ;) there is no place for feelings in this game, this is life cycle to be successful ; testing->reporting->analyzing->take nedded actions->re-testing->reporting->analyzing..
    so while you are surely reading the documentation;
    Oracle9i Database Performance Planning Release 2 (9.2)
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96532/toc.htm
    Oracle9i Database Performance Tuning Guide and Reference Release 2 (9.2)
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96533/toc.htm
    first thing you have to do is to setup an appropriate test environment with same os-oracle releases, parameters;
    -- some of them to check
    SELECT NAME, VALUE
      FROM v$system_parameter a
    WHERE a.NAME IN
           ('compatible', 'optimizer_features_enable',
            'optimizer_mode', 'pga_aggregate_target', 'workarea_size_policy',
            'db_file_multiblock_read_count', .. )and of course schema set and data amount. Then you run your application on load and take statspack snapshots and do the same after collecting statistics;
    -- customize for your configuration, schema level object statistics
    exec dbms_stats.gather_schema_stats( ownname =>'YOUR_SCHEMA', degree=>16, options=>'GATHER AUTO', estimate_percent=>dbms_stats.auto_sample_size, cascade=>TRUE, method_opt=>'FOR ALL COLUMNS SIZE AUTO', granularity=>'ALL');
    -- check your system stats, with sys account
    SELECT pname, pval1 FROM sys.aux_stats$ WHERE sname = 'SYSSTATS_MAIN';after you have the base report and the report after change compare the top 5 waits, the top queries which have dramatic logical I/O changes etc. At this point you go into session based tuning in order to understand why a specific query performs worser with CBO compared to RBO. You need to be able to create and read execution plans and i/o statistics at least. Here are some quick introductions;
    http://www.bhatipoglu.com/entry/17/oracle-performance-analysis-tracing-and-performance-evaluation
    http://psoug.org/reference/explain_plan.html
    http://coskan.wordpress.com/2007/03/04/viewing-explain-plan/
    and last words again goes to your manager; how does he "feel" about a 10gR2 migration? With Grid Control, AWR, ADDM and ASH performance tuning evolved a lot. Important note here, after 10g RBO is dead(unsupported).
    Best Regards,
    H.Tonguç YILMAZ
    http://tonguc.yilmaz.googlepages.com/
    Message was edited by:
    TongucY

  • Database Performance task

    Hi,
    Who takes up the task of database performance tuning....is it the BW consulant or anyother?
    Thanks

    JB
    We actually never involve in Database performance tuning!, All the time DBA will handle the
    database tuning according SAP notes. We all the time involve in loading and query perfomance issues.
    Srinivas.D

Maybe you are looking for

  • Export Release Build - Problem with Server Settings

    Hello, i have a big problem and i searched the whole day yesterday but didnt found an answer... I started a Flex Mobile and PHP Project. The Project has a Data/Services included wich loads some customer from a database (sql)... for the first a used Z

  • Recovery from computer generated "Recovery Disks".

    I have a notebook G62-340us with Win7. At bootup on the splash screen I have been getting a message that states the hard drive is going to fail etc. I replaced the drive with two new drives ( seperate occasions)  but the computer generated recovery d

  • How to open an ALV (the OO way) in Excel-View  right away?

    Dear experts, i'm creating an ALV Grid by using method set_table_for_first_display and I wonder if I can initially choose the Excel-view for it as if the user had switched over to it by using the standard "view" function. I figured that this might be

  • Yosemite doesn't reconize my audio interface

    Hi, I installed Yosemite before a got my new audio interface, Terrasoniq Phase X64 USB - USB 2.0, and I've been trying to install it since but is not working. When i go to my audio preferences my audio interface doesn't appears. What is the best thin

  • Connect iPad2 to Video Camera

    I've search on Google, but have yet to find anything that gives me the answer I'm looking for... What I'm wanting: I have a Canon Vixia HG20 video camera that I want to use for recording to it's HD, but I want to also connect my iPad2 to is as well s