Oracle 11g Performance tunning

Hi Guru's
I am new to Performance tunning, can u please guide me from where to start performance tuning so that i study and do the practical as well.
I know how to run AWR and ADDM but i want to konw what are the sequence i follow to learn and do performance tunning.
Thanks in advance

best would be to start with http://docs.oracle.com/cd/E11882_01/server.112/e16638/toc.htm
Regards
Karan

Similar Messages

  • Oracle 11g performace tunning  book

    Please suggest the  good book for oracle 11g performace tunning ,
    which gives the complete idea of performance tunning.

    888412 wrote:
    Please suggest the  good book for oracle 11g performace tunning ,
    which gives the complete idea of performance tunning.
    Define what do you mean by "complete" . If you are willing to read just one book to read all about Performance Tuning, well guess what, there isn't any. Every book that you are going to read from a good author, like the one suggested by Martin , is going to be useful . And just so you know, 12c is the latest release.
    HTH
    Aman....

  • Oracle apps performance tunning

    Hey
    could u any one tell me where i will get the Oracle Apps Performance
    Tunning on Module wise like OM/AP/AR.
    how to verify that my oracle Apps[11.5.10] instance running fine on linux based !!
    i need check list Oracle Apps Performance !!

    best would be to start with http://docs.oracle.com/cd/E11882_01/server.112/e16638/toc.htm
    Regards
    Karan

  • Newbie question about Oracle 11G performance

    I have a situation where a newer better faster server running Oracle 11gR1 is running considerably slower than an older slower server running Oracle 10gR2.
    Both of these servers have the same web applications and same dumpfiles loaded into them.
    I personally installed the Oracle 11g on the new server, however, I didn't install the 10gR2 on the older server, some one else did...
    I have checked what I think are the basics: the tables are not missing constraints, the automatic memory management is enabled.
    I know this is a really broad question.
    Newer server:
    Quad-Core AMD Opteron Processor 2352 2.10 GHz (2 processors)
    16 GB memory
    Windows Server 2008, 64 bit
    Raid 5
    Older Server:
    Intel Xeon 1.8 GHz (2 processors)
    4 GB memory
    Windows Server 2003, 32 bit
    Raid 5

    Hi Derik,
    I know this is a really broad question. No, it happens all the time! Here is a similar issue:
    http://blog.tuningknife.com/2008/09/26/oracle-11g-performance-issue/
    +"In the end, nothing I tried could dissuade 11g from emitting the “PARSING IN CURSOR #d+” message for each insert statement. I filed a service request with Oracle Support on this issue and they ultimately referred the issue to development as a bug. Note that Support couldn’t reproduce the slowness I was seeing, but their trace files did reflect the parsing messages I observed."+
    I would:
    1 - Start by examining historical SQL execution plans (stats$sql_plan or dba_hist_sql_plan). Try to isolate the exact nature of the decreased performance.
    Are different indexes being used? Are you geting more full-table scans?
    2 - Migrate-in your old 10g CBO statistics
    3 - Confirm that all init.ora parms are identical
    4 - Drill into each SQL with a different execution plan . . .
    Raid 5 Don't believe that crap that all RAID-5 is evil. . . .
    http://www.dba-oracle.com/t_raid5_acceptable_oracle.htm
    But at the same time, consider using the Oracle standard, RAID-10 . . .
    Hope this helps . . .
    Donald K. Burleson
    Oracle Press author
    Author of "Oracle Tuning: The Definitive Reference"
    http://www.rampant-books.com/t_oracle_tuning_book.htm
    "Time flies like an arrow; Fruit flies like a banana".

  • Oracle  11g Performance tuning approach ?

    Hello Experts,
    Is it the right forum to follow oracle performance tuning discussions ? If not, let me know what will be the forum to pick up some thread on this subject.
    I am looking for performance tuning approach for oracle 11g. I learned there are some new items in 11g in this regard. For persons, who did tuning in earlier versions of Oracle,
    what will be the best way adopt to 11 g?
    I reviewed the 11g performance tuning guide, but I am looking for some white papers/blogs with case studies and practical approaches. I hope that you have used them.
    What are the other sources to pick up some discussions?
    Do you mind, share your thoughts?
    Thanks in advance.
    RI

    The best sources of information on performance tuning are:
    1. Jonathan Lewis: http://jonathanlewis.wordpress.com/all-postings/
    2. Christian Antognini: http://www.antognini.ch/
    3. Tanel Poder: http://blog.tanelpoder.com/
    4. Richard Foote: http://richardfoote.wordpress.com/
    5. Cary Millsap: http://carymillsap.blogspot.com/
    and a few dozen others whose blogs you will find cross-referenced in those above.

  • Oracle 11g performance issue ( BITMAP CONVERSION TO ROWIDS)

    I have two instance of oracle 11g.
    in both instance i fired same query.
    one instance returns the result in 1sec but other instance returns the result in 10 sec
    following is explain plan for bot instance
    instance 1
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 1 | 143 | 59 (2)| 00:00:01 |
    | 1 | HASH GROUP BY | | 1 | 143 | 59 (2)| 00:00:01 |
    | 2 | VIEW | VM_NWVW_2 | 1 | 143 | 59 (2)| 00:00:01 |
    | 3 | HASH UNIQUE | | 1 | 239 | 59 (2)| 00:00:01 |
    | 4 | NESTED LOOPS | | | | | |
    | 5 | NESTED LOOPS | | 1 | 239 | 58 (0)| 00:00:01 |
    PLAN_TABLE_OUTPUT
    | 6 | NESTED LOOPS | | 1 | 221 | 57 (0)| 00:00:01 |
    | 7 | NESTED LOOPS | | 1 | 210 | 55 (0)| 00:00:01 |
    | 8 | NESTED LOOPS | | 1 | 184 | 54 (0)| 00:00:01 |
    | 9 | NESTED LOOPS | | 1 | 158 | 53 (0)| 00:00:01 |
    | 10 | NESTED LOOPS | | 1 | 139 | 52 (0)| 00:00:01 |
    | 11 | NESTED LOOPS | | 1 | 105 | 50 (0)| 00:00:01 |
    |* 12 | INDEX RANGE SCAN | year_field | 1 | 29 | 2 (0)| 00:00:01 |
    | 13 | SORT AGGREGATE | | 1 | 8 | | |
    | 14 | INDEX FULL SCAN (MIN/MAX)| idx_bf_creation_date | 1 | 8 | 2 (0)| 00:00:01 |
    |* 15 | TABLE ACCESS BY INDEX ROWID| OHRT_bugs_fact | 1 | 76 | 48 (0)| 00:00:01 |
    |* 16 | INDEX RANGE SCAN | idx_bf_creation_date | 76 | | 1 (0)| 00:00:01 |
    PLAN_TABLE_OUTPUT
    |* 17 | TABLE ACCESS BY INDEX ROWID | OHRT_all_time_dimension | 1 | 34 | 2 (0)| 00:00:01 |
    |* 18 | INDEX UNIQUE SCAN | unique_alltime_bug_instance_id | 1 | | 1 (0)| 00:00:01 |
    | 19 | TABLE ACCESS BY INDEX ROWID | OHRT_all_time_dimension | 1 | 19 | 1 (0)| 00:00:01 |
    |* 20 | INDEX UNIQUE SCAN | unique_alltime_bug_instance_id | 1 | | 1 (0)| 00:00:01 |
    |* 21 | INDEX RANGE SCAN | bugseverity_instance_id_ref_id | 1 | 26 | 1 (0)| 00:00:01 |
    |* 22 | INDEX UNIQUE SCAN | unique_alltime_bug_instance_id | 1 | 26 | 1 (0)| 00:00:01 |
    | 23 | INLIST ITERATOR | | | | | |
    |* 24 | TABLE ACCESS BY INDEX ROWID | OHMT_ANL_BUCKET | 1 | 11 | 2 (0)| 00:00:01 |
    |* 25 | INDEX UNIQUE SCAN | SYS_C0053213 | 5 | | 1 (0)| 00:00:01 |
    |* 26 | INDEX RANGE SCAN | FK_BUCKET_TYPE | 6 | | 0 (0)| 00:00:01 |
    |* 27 | TABLE ACCESS BY INDEX ROWID | OHMT_ANL_BUCKET | 1 | 18 | 1 (0)| 00:00:01 |
    instance 2
    Plan
    SELECT STATEMENT ALL_ROWS Cost: 22 Bytes: 142 Cardinality: 1
    32 HASH GROUP BY Cost: 22 Bytes: 142 Cardinality: 1
    31 VIEW VIEW SYS.VM_NWVW_2 Cost: 22 Bytes: 142 Cardinality: 1
    30 HASH UNIQUE Cost: 22 Bytes: 237 Cardinality: 1
    29 NESTED LOOPS
    27 NESTED LOOPS Cost: 21 Bytes: 237 Cardinality: 1
    25 NESTED LOOPS Cost: 20 Bytes: 219 Cardinality: 1
    21 NESTED LOOPS Cost: 18 Bytes: 208 Cardinality: 1
    19 NESTED LOOPS Cost: 17 Bytes: 183 Cardinality: 1
    17 NESTED LOOPS Cost: 16 Bytes: 157 Cardinality: 1
    14 NESTED LOOPS Cost: 15 Bytes: 138 Cardinality: 1
    11 NESTED LOOPS Cost: 13 Bytes: 104 Cardinality: 1
    3 INDEX RANGE SCAN INDEX REPORTSDB.year_field Cost: 2 Bytes: 29 Cardinality: 1
    2 SORT AGGREGATE Bytes: 8 Cardinality: 1
    1 INDEX FULL SCAN (MIN/MAX) INDEX REPORTSDB.idx_bf_creation_date Cost: 3 Bytes: 8 Cardinality: 1
    10 TABLE ACCESS BY INDEX ROWID TABLE REPORTSDB.OHRT_bugs_fact Cost: 13 Bytes: 75 Cardinality: 1
    9 BITMAP CONVERSION TO ROWIDS
    8 BITMAP AND
    5 BITMAP CONVERSION FROM ROWIDS
    4 INDEX RANGE SCAN INDEX REPORTSDB.idx_OHRT_bugs_fact_2product Cost: 2 Cardinality: 85
    7 BITMAP CONVERSION FROM ROWIDS
    6 INDEX RANGE SCAN INDEX REPORTSDB.idx_bf_creation_date Cost: 2 Cardinality: 85
    13 TABLE ACCESS BY INDEX ROWID TABLE REPORTSDB.OHRT_all_time_dimension Cost: 2 Bytes: 34 Cardinality: 1
    12 INDEX UNIQUE SCAN INDEX (UNIQUE) REPORTSDB.unique_alltime_bug_instance_id Cost: 1 Cardinality: 1
    16 TABLE ACCESS BY INDEX ROWID TABLE REPORTSDB.OHRT_all_time_dimension Cost: 1 Bytes: 19 Cardinality: 1
    15 INDEX UNIQUE SCAN INDEX (UNIQUE) REPORTSDB.unique_alltime_bug_instance_id Cost: 1 Cardinality: 1
    18 INDEX UNIQUE SCAN INDEX (UNIQUE) REPORTSDB.unique_alltime_bug_instance_id Cost: 1 Bytes: 26 Cardinality: 1
    20 INDEX RANGE SCAN INDEX REPORTSDB.bugseverity_instance_id_ref_id Cost: 1 Bytes: 25 Cardinality: 1
    24 INLIST ITERATOR
    23 TABLE ACCESS BY INDEX ROWID TABLE OPSHUB.OHMT_ANL_BUCKET Cost: 2 Bytes: 11 Cardinality: 1
    22 INDEX UNIQUE SCAN INDEX (UNIQUE) OPSHUB.SYS_C0040939 Cost: 1 Cardinality: 5
    26 INDEX RANGE SCAN INDEX OPSHUB.FK_BUCKET_TYPE Cost: 0 Cardinality: 6
    28 TABLE ACCESS BY INDEX ROWID TABLE OPSHUB.OHMT_ANL_BUCKET Cost: 1 Bytes: 18 Cardinality: 1
    in both explain plan only difference is
    9 BITMAP CONVERSION TO ROWIDS
    8 BITMAP AND
    5 BITMAP CONVERSION FROM ROWIDS
    but is bitmap degrading performance lot?
    or suggest me what other parameter i can see so 2nd instance gives me better performace.

    I see more differences.
    In plan 1:
    * 16      INDEX RANGE SCAN      idx_bf_creation_date      76           1 (0)     00:00:01
    in Plan 2:
    1 INDEX FULL SCAN (MIN/MAX) INDEX REPORTSDB.idx_bf_creation_date Cost: 3 Bytes: 8 Cardinality: 1
    So this is not about "bitmap" good/bad, it about the access strategy which changed due to differences in data statistics etc. To analyze more, I'd help a LOT if those plans would be formated in a good and same way, use around it to do so.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Oracle 11g Performance Issue

    We have Oracle 11g (11.1.0.6) on HP-UX environment with CC&B application. It was working fine and after we upgrade the database to 11.1.0.7 last week, since then the database performance is really slow. After we upgrade the database we notice that xdb component became invalid.
    We are not sure how to investigate this issue, any help would be appreciated.

    WORKLOAD REPOSITORY report for
    DB Name         DB Id    Instance     Inst Num Startup Time    Release     RAC
    CCBPROD       3218377102 ccbprod             1 10-Jan-12 20:26 11.1.0.7.0  NO
    Host Name        Platform                         CPUs Cores Sockets Memory(GB)
    huccbhp5         HP-UX IA (64-bit)                   4     4       2      23.97
                  Snap Id      Snap Time      Sessions Curs/Sess
    Begin Snap:     43912 11-Jan-12 10:00:31       157      96.1
      End Snap:     43913 11-Jan-12 11:00:35       186     101.3
       Elapsed:               60.08 (mins)
       DB Time:              653.40 (mins)
    Cache Sizes                       Begin        End
    ~~~~~~~~~~~                  ---------- ----------
                   Buffer Cache:    12,160M    12,096M  Std Block Size:         8K
               Shared Pool Size:       704M       704M      Log Buffer:    58,764K
    Load Profile              Per Second    Per Transaction   Per Exec   Per Call
    ~~~~~~~~~~~~         ---------------    --------------- ---------- ----------
          DB Time(s):               10.9                0.5       0.02       0.02
           DB CPU(s):                3.6                0.2       0.01       0.01
           Redo size:          529,539.6           24,544.1
       Logical reads:          155,545.5            7,209.5
       Block changes:            2,047.0               94.9
      Physical reads:              204.6                9.5
    Physical writes:               96.0                4.5
          User calls:              698.7               32.4
              Parses:               77.8                3.6
         Hard parses:                0.1                0.0
    W/A MB processed:          406,873.3           18,858.5
              Logons:                0.4                0.0
            Executes:              456.1               21.1
           Rollbacks:               19.6                0.9
        Transactions:               21.6
    Instance Efficiency Percentages (Target 100%)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                Buffer Nowait %:  100.00       Redo NoWait %:   99.97
                Buffer  Hit   %:   99.87    In-memory Sort %:  100.00
                Library Hit   %:   99.93        Soft Parse %:   99.89
             Execute to Parse %:   82.95         Latch Hit %:   99.99
    Parse CPU to Parse Elapsd %:    0.01     % Non-Parse CPU:   99.93
    Shared Pool Statistics        Begin    End
                 Memory Usage %:   89.78   90.02
        % SQL with executions>1:   86.04   84.87
      % Memory for SQL w/exec>1:   86.22   86.03
    Top 5 Timed Foreground Events
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                               Avg
                                                              wait   % DB
    Event                                 Waits     Time(s)   (ms)   time Wait Class
    virtual circuit wait              2,170,696      15,761      7   40.2 Network
    DB CPU                                           13,115          33.5
    db file sequential read             362,802       6,304     17   16.1 User I/O
    enq: TX - row lock contention           115       1,118   9721    2.9 Applicatio
    log file sync                         8,183         818    100    2.1 Commit
    Host CPU (CPUs:    4 Cores:    4 Sockets:    2)
    ~~~~~~~~         Load Average
                   Begin       End     %User   %System      %WIO     %Idle
                    3.28      3.93      93.1       2.3       2.8       4.6
    Instance CPU
    ~~~~~~~~~~~~
                  % of total CPU for Instance:  91.1
                  % of busy  CPU for Instance:  95.4
      %DB time waiting for CPU - Resource Mgr:   0.0
    Memory Statistics
    ~~~~~~~~~~~~~~~~~                       Begin          End
                      Host Mem (MB):     24,545.7     24,545.7
                       SGA use (MB):     13,312.0     13,312.0
                       PGA use (MB):        935.9        949.3
        % Host Mem used for SGA+PGA:        58.05        58.05

  • Which tool is used for Oracle 11g performance tuning?

    Hi all
    I used statspack for 9i's performance tuning.
    But with 11g R2 now I want to know which way are you using to do performance tuning?
    Statspack? OSW? RDA? ADDM? Or other ways?
    Thank you.

    schavali wrote:
    I would start with Automatic Workload Repository (AWR) reports to identify the bottleneck
    MOS Doc 390374.1 - Oracle Performance Diagnostic Guide (OPDG)
    MOS Doc 748642.1 - What is AWR( Automatic workload repository ) and How to generate the AWR report?
    HTH
    SriniThanks for your answer.
    To read the MOS documents I need a Oracle Customer ID , is that right ?
    (Where to get that ID ? Our company bought Oracle 10g without any Customer IDs in it )
    Best Wishes.

  • Oracle 11g Performance (DW or OLTP)

    Hi
    I have a what I consider a large oracle database, that I'm having performance problems with. It is designed as a star schema with a very large fact table (15 billion records) and one of the dimensions has 1 Billion records. The data is being inserted is split 10/90 between batch and single inserts and that table space is defined as 8k. Currently there are 100Million inserts a day into the fact table and we would like to tripple that load. Select response takes hours, the raw space being used is 6TB including all the index overhead.
    Does anyone have any advise? It this database considered OLTP or DW? The fact table (PARAMETER_VALUE) average row size is 46 bytes.
    This is my fact table
    CREATE TABLE PARAMETER_VALUE
    PARAMETER_VALUE_KEY NUMBER NOT NULL,
    PARAMETER_TYPE_KEY NUMBER NOT NULL,
    PARAMETER_VALUE_TIMESTAMP TIMESTAMP(6) NOT NULL,
    TEST_EVENT_KEY NUMBER,
    DEVICE_KEY NUMBER,
    RESOURCE_KEY NUMBER,
    RAW_RESOURCE_KEY NUMBER,
    PARAMETER_VALUE_CHAR VARCHAR2(2000 BYTE),
    PARAMETER_VALUE_NUMBER NUMBER,
    PARAMETER_VALUE_HEX RAW(2000),
    PARAMETER_DATA_QUALITY CHAR(1 BYTE) DEFAULT 'G' NOT NULL,
    CONSTRAINT CKC_PARAMETER_DATA_QU_PARAMETE
    CHECK (PARAMETER_DATA_QUALITY in ('G','B','Q')),
    CONSTRAINT CKT_PARAMETER_VALUE
    CHECK ((DECODE(RESOURCE_KEY,NULL,0,1) + DECODE(DEVICE_KEY,NULL,0,1) + DECODE(RAW_RESOURCE_KEY,NULL,0,1) ) = 1),
    CONSTRAINT CKT_PARAMETER_VALUE_VALUE
    CHECK ((DECODE(parameter_value_char,NULL,0,1) + DECODE(parameter_value_number,NULL,0,1) + DECODE(parameter_value_hex,NULL,0,1) ) = 1),
    CONSTRAINT PARAMETER_VALUE_PK
    PRIMARY KEY
    (PARAMETER_VALUE_KEY)
    USING INDEX
    TABLESPACE HPS_STG_INDEX,
    CONSTRAINT PARAMETER_VALUE_AK
    UNIQUE (PARAMETER_VALUE_TIMESTAMP, PARAMETER_TYPE_KEY, RESOURCE_KEY, DEVICE_KEY, RAW_RESOURCE_KEY)
    USING INDEX LOCAL,
    CONSTRAINT PARM_VALUE_DEVICE_FK
    FOREIGN KEY (DEVICE_KEY)
    REFERENCES HPS_STG.DEVICE (DEVICE_KEY),
    CONSTRAINT PARM_VALUE_NETWORK_RESOURCE_FK
    FOREIGN KEY (RESOURCE_KEY)
    REFERENCES HPS_STG.NETWORK_RESOURCE (RESOURCE_KEY),
    CONSTRAINT PARM_VALUE_NR_RAW_FK
    FOREIGN KEY (RAW_RESOURCE_KEY)
    REFERENCES HPS_STG.NETWORK_RESOURCE_RAW (RAW_RESOURCE_KEY),
    CONSTRAINT PARM_VALUE_PARM_TYPE_FK
    FOREIGN KEY (PARAMETER_TYPE_KEY)
    REFERENCES HPS_STG.PARAMETER_TYPE (PARAMETER_TYPE_KEY),
    CONSTRAINT PARM_VALUE_TEST_EVENT_FK
    FOREIGN KEY (TEST_EVENT_KEY)
    REFERENCES HPS_STG.TEST_EVENT (TEST_EVENT_KEY)
    DEFERRABLE INITIALLY IMMEDIATE
    TABLESPACE HPS_STG_DATA
    PARTITION BY RANGE (PARAMETER_VALUE_TIMESTAMP)
    SUBPARTITION BY HASH (PARAMETER_TYPE_KEY)
    SUBPARTITION TEMPLATE
    (SUBPARTITION SP01 TABLESPACE HPS_STG_DATA,
    SUBPARTITION SP02 TABLESPACE HPS_STG_DATA,
    SUBPARTITION SP03 TABLESPACE HPS_STG_DATA,
    SUBPARTITION SP04 TABLESPACE HPS_STG_DATA,
    SUBPARTITION SP05 TABLESPACE HPS_STG_DATA,
    SUBPARTITION SP06 TABLESPACE HPS_STG_DATA,
    SUBPARTITION SP07 TABLESPACE HPS_STG_DATA,
    SUBPARTITION SP08 TABLESPACE HPS_STG_DATA,
    SUBPARTITION SP09 TABLESPACE HPS_STG_DATA,
    SUBPARTITION SP10 TABLESPACE HPS_STG_DATA
    INTERVAL( NUMTOYMINTERVAL(1,'MONTH'))
    PARTITION PARAMETER_TIME_PART_01 VALUES LESS THAN (TIMESTAMP' 2008-11-01 00:00:00')
    COMPRESS FOR DIRECT_LOAD OPERATIONS
    TABLESPACE HPS_STG_DATA
    ( SUBPARTITION PARAMETER_TYPE_PART_01_SP01 TABLESPACE HPS_STG_DATA,
    SUBPARTITION PARAMETER_TYPE_PART_01_SP02 TABLESPACE HPS_STG_DATA,
    SUBPARTITION PARAMETER_TYPE_PART_01_SP03 TABLESPACE HPS_STG_DATA,
    SUBPARTITION PARAMETER_TYPE_PART_01_SP04 TABLESPACE HPS_STG_DATA,
    SUBPARTITION PARAMETER_TYPE_PART_01_SP05 TABLESPACE HPS_STG_DATA,
    SUBPARTITION PARAMETER_TYPE_PART_01_SP06 TABLESPACE HPS_STG_DATA,
    SUBPARTITION PARAMETER_TYPE_PART_01_SP07 TABLESPACE HPS_STG_DATA,
    SUBPARTITION PARAMETER_TYPE_PART_01_SP08 TABLESPACE HPS_STG_DATA,
    SUBPARTITION PARAMETER_TYPE_PART_01_SP09 TABLESPACE HPS_STG_DATA,
    SUBPARTITION PARAMETER_TYPE_PART_01_SP10 TABLESPACE HPS_STG_DATA ),
    This is my very large dimension table
    CREATE TABLE TEST_EVENT
    TEST_EVENT_KEY NUMBER NOT NULL,
    EVENT_NAME VARCHAR2(32 BYTE) NOT NULL,
    EVENT_TYPE VARCHAR2(32 BYTE),
    EVENT_START_TIMESTAMP TIMESTAMP(6) NOT NULL,
    EVENT_END_TIMESTAMP TIMESTAMP(6),
    EVENT_DATA_QUALITY CHAR(1 BYTE) DEFAULT 'G' NOT NULL,
    CONSTRAINT CKC_EVENT_DATA_QUALITY
    CHECK (EVENT_DATA_QUALITY in ('G','B','Q')),
    CONSTRAINT TEST_EVENT_PK
    PRIMARY KEY
    (TEST_EVENT_KEY)
    USING INDEX
    TABLESPACE HPS_STG_TEST_EVENT_INDEX
    TABLESPACE HPS_STG_TEST_EVENT_DATA
    PARTITION BY RANGE (EVENT_START_TIMESTAMP)
    INTERVAL( NUMTOYMINTERVAL(1,'MONTH'))
    PARTITION TEST_EVENT_PART_01 VALUES LESS THAN (TIMESTAMP' 2009-01-01 00:00:00')
    COMPRESS FOR ALL OPERATIONS
    TABLESPACE HPS_STG_DATA,
    Would reference partition help? Would 32K tablespace help? I'm experiencing a lot or ITL waits on the Fact table.

    A good starting point would be to read Tim Gorman's paper about scaling to infinity. It seems likely that you will want to figure out a way that new data finds its way into your DW through some variety of partition exchange. Even if that is not the case, Tim's excellent paper should help you to frame your thinking on the subject in a useful way.
    Good luck,
    mwf

  • Studying for Oracle 11g Performance and Tuning exam - 1Z0-054

    Hello all,
    I want to attend to this exam and I'm looking for interesting and usefull studying path. Sure manuals on tahiti are needed.
    Neither sefltestsoftware not Testking has released a proficiency test for this exam. I was only able to find a test from Braindumps here (http://www.exam4test.net/1Z1-054) but not sure this is a serious material.
    Any hints about this material and / or any other suggestions?
    Thanks
    Stefano

    Hi Stefano
    Seems that our friends from Certguard aren't sure that this a legal provider, but the look and feel would say to avoid that site.
    Try the http://www.certguard.com/braindump-quiz.asp it matches very well to the site or?
    Besides that while looking on the domain i found that
    Domains being linked from exam4test.com
    * Traffic rank 252963. test-inside.com
    * Traffic rank 940584. exam4test.net
    and those sites aren't clean.
    Edited by: Hub on May 18, 2010 11:38 PM

  • [1Z0-054] Oracle 11g Performance and Tuning

    Hi all,
    does anyone has already taken this exam? I just want to know which study materials you've used and also if there's any online testing software.
    I've downloaded ucertify test for this exam but I'm not sure that is a great and affordable testing tools...
    Thanks
    Steve

    Some people have given more positive opinion on some more recent Ucertify practice tests than this on this forum.
    I would not completely write off Ucertify practice tests .... but if you buy them:
    They may not have same quality as SelfTestSoftware
    They may not represent value for money.
    They probably give full topic coverage.
    They could even have incorrect answers for all I know.
    However they may help you identify some weak areas.
    If you buy expecting a 5*Hotel you may be disappointed, if you buy expecting a room with a hammock and cockroaches you may be happy about it.
    (Please note I have not bought the tests .... it is only from feedback to this forum).

  • Performance Tunning in oracle 11g

    Hi everybody,
    My oracle version is 11.2.0.2 and OS :RHEL 5.5;64 bit each.As far i know,in 11g most tunning issues are handled by oracle itself.But still there are many issues that a dba should consider.Recently my system begin to response slowly,and i need to investigate the reason and come up with the solution as per management instruction.But i am confuse where and how to start...??
    So..my request to experience people pls give some guidance what are issues/tools i would start with??
    Another think...i m using toad 9.5,32 bit.Is it possioble to get proper message for 11g incase of generating different tunning reports.
    Thanks and Regards,

    user8983130 wrote:
    Hi everybody,
    My oracle version is 11.2.0.2 and OS :RHEL 5.5;64 bit each.As far i know,in 11g most tunning issues are handled by oracle itself.But still there are many issues that a dba should consider.Recently my system begin to response slowly,and i need to investigate the reason and come up with the solution as per management instruction.But i am confuse where and how to start...??
    So..my request to experience people pls give some guidance what are issues/tools i would start with??
    Another think...i m using toad 9.5,32 bit.Is it possioble to get proper message for 11g incase of generating different tunning reports.
    Thanks and Regards,what does AWR show as most recourse intensive SQL?
    Those are the statements that need examination.

  • Performance tunning in oracle

    Hi friends,
    I am himansu, i am facing a problem during performance tunning of query in oracle , please guide me how to tune a query which will give better performance.

    907977 wrote:
    Hi friends,
    I am himansu, i am facing a problem during performance tunning of query in oracle , please guide me how to tune a query which will give better performance.Welcome to OTN
    Please post your thread at SQL, PL/SQL. PL/SQL
    and provide your sql query.
    Hope this will help you.

  • Oracle 11g advantages for performance

    Hello,
    I am doing test of Client side result set cache on oracle 11 g rel2 ,O/S- RHEL
    i am doing test as below on 2 Oracle 11g rel2 test servers on RHEL
    one oracle 11g rel2 instance is used as server1,from other oracle 11g rel2 server2, i am running queries connecting to server1 through sqlplus,listener(tnsnames )
    i run query few times without any client cache settings then
    i have set init.ora paras for oracle 11g rel2 for client result cache,cache size/cache lag
    i run the same query few times
    in both the cases after each run i am noting statistics
    select * from V$RESULT_CACHE_OBJECTS;
    select * from V$CLIENT_RESULT_CACHE_STATS;
    select * from gv$cpool_conn_info;
    also autotrace,plan etc
    but after using cache this views are getting poplulated ,autiotrace plan shows cache is used
    but i cant see any improvement in performance after using client cache like speed,reduce network trip, etc
    in fact without using cache/with no hint ,query executes faster
    let me know if i am missing something,i believe sqlplus internally using OCI
    thanks

    >
    I tested with custom code using java/jdbc thin driver ,connecting same as between 2 oracle 11g2 instance 1 as client other server,running code calling queries from client connecting to server
    >
    Unless you plan to provide the information ask for about what it is you are doing there really isn't any point in providing status updates that: you test this, you tested that. You made several statements about what you were doing
    >
    i have set init.ora paras for oracle 11g rel2 for client result cache,cache size/cache lag
    i run the same query few times
    in both the cases after each run i am noting statistics
    select * from V$RESULT_CACHE_OBJECTS;
    select * from V$CLIENT_RESULT_CACHE_STATS;
    select * from gv$cpool_conn_info;
    also autotrace,plan etc
    >
    and were asked to provide specific information that you haven't provided nor have you provided the query.
    >
    You say you are doing a bunch of things
    But you don't post any of those results so we can see what it is you are looking at.
    No one can comment on things they can't see.
    >
    You have to be using OCI for client side caching so if you use the Java thin driver but don't use OCI there won't be any cacheing. There also won't be any if it is not enabled or if the query has certain constraints as listed in the doc
    http://docs.oracle.com/cd/B28359_01/appdev.111/b28395/oci10new.htm#CHDGGFEF
    >
    Queries that are not Cached
    There are queries that are not cached on the OCI client even if the result cache hint is specified. Such queries may be cached on the database if the server result cache feature is enabled (see Oracle Database Concepts, "SQL Query Result Cache" for more information). If a SQL query includes any of the following, then the result set of that query is not cached in the OCI client result cache:
    •Views
    •Remote objects
    •Complex types in the select list
    •Snapshot-based or flashback queries
    •Queries executed in a serializable, read-only transaction, or inside a flashback session
    •Queries that have PL/SQL functions in them
    •Queries that have VPD policies enabled on the tables
    >
    This Oracle-Developer.net article author doesn't seem to have any trouble caching results.
    http://www.oracle-developer.net/display.php?id=503

  • Oracle 11g Migration performance issue

    Hello,
    There a performance issue with Migration from Oracle 10g(10.2.0.5) to Oracle 11g(11.2.0.2).
    Its very simple statement hanging for more than a day and later found that query plan is very very bad. Example of the query is given below:
    INSERT INTO TABLE_XYZ
    SELECT F1,F2,F3
    FROM TABLE_AB, TABLE_BC
    WHERE F1=F4;
    While looking at cost in Explain plan :
    on 10g --> 62567
    0n 11g --> 9879652356776
    Strange thing is that
    Scenario 1: if I issue just query as shown below, will display rows immediately :
    SELECT F1,F2,F3
    FROM TABLE_AB, TABLE_BC
    WHERE F1=F4;
    Scenario 2: If I create a table as shown below, will work correctly.
    CREATE TABLE TABLE_XYZ AS
    SELECT F1,F2,F3
    FROM TABLE_AB, TABLE_BC
    WHERE F1=F4;
    What could be the issue here with INSERT INTO <TAB> SELECT <COL> FROM <TAB1>?

    Table:
    CREATE TABLE AVN_WRK_F_RENEWAL_TRANS_T
    "PKSRCSYSTEMID" NUMBER(4,0) NOT NULL ENABLE,
    "PKCOMPANYCODE" VARCHAR2(8 CHAR) NOT NULL ENABLE,
    "PKBRANCHCODE" VARCHAR2(8 CHAR) NOT NULL ENABLE,
    "PKLINEOFBUSINESS" NUMBER(4,0) NOT NULL ENABLE,
    "PKPRODUCINGOFFICELIST" VARCHAR2(2 CHAR) NOT NULL ENABLE,
    "PKPRODUCINGOFFICE" VARCHAR2(8 CHAR) NOT NULL ENABLE,
    "PKEXPIRYYR" NUMBER(4,0) NOT NULL ENABLE,
    "PKEXPIRYMTH" NUMBER(2,0) NOT NULL ENABLE,
    "CURRENTEXPIRYCOUNT" NUMBER,
    "CURRENTRENEWEDCOUNT" NUMBER,
    "PREVIOUSEXPIRYCOUNT" NUMBER,
    "PREVIOUSRENEWEDCOUNT" NUMBER
    SEGMENT CREATION IMMEDIATE PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING STORAGE
    INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT
    TABLESPACE "XYZ" ;
    Explain Plan(With Insert Statement and Query):_
    INSERT STATEMENT, GOAL = ALL_ROWS               Cost=9110025395866     Cardinality=78120     Bytes=11952360
    LOAD TABLE CONVENTIONAL     Object owner=ODS     Object name=AVN_WRK_F_RENEWAL_TRANS               
    NESTED LOOPS OUTER               Cost=9110025395866     Cardinality=78120     Bytes=11952360
    TABLE ACCESS FULL     Object owner=ODS     Object name=AVN_WRK_F_RENEWAL_TRANS_1ST     Cost=115     Cardinality=78120     Bytes=2499840
    VIEW PUSHED PREDICATE     Object owner=ODS          Cost=116615788     Cardinality=1     Bytes=121
    SORT GROUP BY               Cost=116615788     Cardinality=3594     Bytes=406122
    VIEW     Object owner=SYS     Object name=VW_DAG_1     Cost=116615787     Cardinality=20168     Bytes=2278984
    SORT GROUP BY               Cost=116615787     Cardinality=20168     Bytes=4073936
    NESTED LOOPS OUTER               Cost=116614896     Cardinality=20168     Bytes=4073936
    VIEW     Object owner=SYS          Cost=5722     Cardinality=20168     Bytes=2157976
    NESTED LOOPS               Cost=5722     Cardinality=20168     Bytes=2097472
    HASH JOIN               Cost=924     Cardinality=1199     Bytes=100716
    NESTED LOOPS                         
    NESTED LOOPS               Cost=181     Cardinality=1199     Bytes=80333
    TABLE ACCESS BY INDEX ROWID     Object owner=ODS     Object name=INWARDSPOLICYDETAILS     Cost=159     Cardinality=1199     Bytes=39567
    INDEX RANGE SCAN     Object owner=ODS     Object name=IX_INWPOLDTLS_SYSCOMPANYBRANCH     Cost=7     Cardinality=1199     
    INDEX UNIQUE SCAN     Object owner=ODS     Object name=PK_AVN_D_MASTERPOLICYDETAILS     Cost=0     Cardinality=1     
    TABLE ACCESS BY INDEX ROWID     Object owner=ODS     Object name=AVN_D_MASTERPOLICYDETAILS     Cost=1     Cardinality=1     Bytes=34
    TABLE ACCESS FULL     Object owner=ODS     Object name=INWARDSPOLICYLOBMAPPING     Cost=741     Cardinality=288498     Bytes=4904466
    VIEW PUSHED PREDICATE     Object owner=ODS          Cost=4     Cardinality=1     Bytes=20
    FILTER                         
    SORT AGGREGATE                    Cardinality=1     Bytes=21
    TABLE ACCESS BY GLOBAL INDEX ROWID     Object owner=ODS     Object name=AVN_F_TRANSACTIONS     Cost=4     Cardinality=1     Bytes=21
    INDEX RANGE SCAN     Object owner=ODS     Object name=PK_AVN_F_TRANSACTIONS     Cost=3     Cardinality=1     
    VIEW PUSHED PREDICATE     Object owner=ODS          Cost=5782     Cardinality=1     Bytes=95
    SORT GROUP BY               Cost=5782     Cardinality=2485     Bytes=216195
    VIEW     Object owner=SYS     Object name=VW_DAG_0     Cost=5781     Cardinality=2485     Bytes=216195
    SORT GROUP BY               Cost=5781     Cardinality=2485     Bytes=278320
    HASH JOIN               Cost=5780     Cardinality=2485     Bytes=278320
    VIEW     Object owner=SYS     Object name=VW_GBC_15     Cost=925     Cardinality=1199     Bytes=73139
    SORT GROUP BY               Cost=925     Cardinality=1199     Bytes=100716
    HASH JOIN               Cost=924     Cardinality=1199     Bytes=100716
    NESTED LOOPS                         
    NESTED LOOPS               Cost=181     Cardinality=1199     Bytes=80333
    TABLE ACCESS BY INDEX ROWID     Object owner=ODS     Object name=INWARDSPOLICYDETAILS     Cost=159     Cardinality=1199     Bytes=39567
    INDEX RANGE SCAN     Object owner=ODS     Object name=IX_INWPOLDTLS_SYSCOMPANYBRANCH     Cost=7     Cardinality=1199     
    INDEX UNIQUE SCAN     Object owner=ODS     Object name=PK_AVN_D_MASTERPOLICYDETAILS     Cost=0     Cardinality=1     
    TABLE ACCESS BY INDEX ROWID     Object owner=ODS     Object name=AVN_D_MASTERPOLICYDETAILS     Cost=1     Cardinality=1     Bytes=34
    TABLE ACCESS FULL     Object owner=ODS     Object name=INWARDSPOLICYLOBMAPPING     Cost=741     Cardinality=288498     Bytes=4904466
    VIEW     Object owner=SYS     Object name=VW_GBF_16     Cost=4854     Cardinality=75507     Bytes=3850857
    SORT GROUP BY               Cost=4854     Cardinality=75507     Bytes=2340717
    VIEW     Object owner=ODS          Cost=4207     Cardinality=75507     Bytes=2340717
    SORT GROUP BY               Cost=4207     Cardinality=75507     Bytes=1585647
    PARTITION HASH ALL               Cost=3713     Cardinality=75936     Bytes=1594656
    TABLE ACCESS FULL     Object owner=ODS     Object name=AVN_F_TRANSACTIONS     Cost=3713     Cardinality=75936     Bytes=1594656
    Explain Plan(Only Query):_
    SELECT STATEMENT, GOAL = ALL_ROWS               Cost=62783     Cardinality=89964     Bytes=17632944
    HASH JOIN OUTER               Cost=62783     Cardinality=89964     Bytes=17632944
    TABLE ACCESS FULL     Object owner=ODS     Object name=AVN_WRK_F_RENEWAL_TRANS_1ST     Cost=138     Cardinality=89964     Bytes=2878848
    VIEW     Object owner=ODS          Cost=60556     Cardinality=227882     Bytes=37372648
    HASH GROUP BY               Cost=60556     Cardinality=227882     Bytes=26434312
    VIEW     Object owner=SYS     Object name=VW_DAG_1     Cost=54600     Cardinality=227882     Bytes=26434312
    HASH GROUP BY               Cost=54600     Cardinality=227882     Bytes=36005356
    HASH JOIN OUTER               Cost=46664     Cardinality=227882     Bytes=36005356
    VIEW     Object owner=SYS          Cost=18270     Cardinality=227882     Bytes=16635386
    HASH JOIN               Cost=18270     Cardinality=227882     Bytes=32587126
    HASH JOIN               Cost=12147     Cardinality=34667     Bytes=2912028
    HASH JOIN               Cost=10076     Cardinality=34667     Bytes=2322689
    TABLE ACCESS FULL     Object owner=ODS     Object name=AVN_D_MASTERPOLICYDETAILS     Cost=137     Cardinality=34667     Bytes=1178678
    TABLE ACCESS FULL     Object owner=ODS     Object name=INWARDSPOLICYDETAILS     Cost=9934     Cardinality=820724     Bytes=27083892
    TABLE ACCESS FULL     Object owner=ODS     Object name=INWARDSPOLICYLOBMAPPING     Cost=741     Cardinality=866377     Bytes=14728409
    VIEW     Object owner=ODS          Cost=5195     Cardinality=227882     Bytes=13445038
    HASH GROUP BY               Cost=5195     Cardinality=227882     Bytes=4785522
    PARTITION HASH ALL               Cost=3717     Cardinality=227882     Bytes=4785522
    TABLE ACCESS FULL     Object owner=ODS     Object name=AVN_F_TRANSACTIONS     Cost=3717     Cardinality=227882     Bytes=4785522
    VIEW     Object owner=ODS          Cost=26427     Cardinality=227882     Bytes=19369970
    HASH GROUP BY               Cost=26427     Cardinality=227882     Bytes=18686324
    VIEW     Object owner=SYS     Object name=VW_DAG_0     Cost=26427     Cardinality=227882     Bytes=18686324
    HASH GROUP BY               Cost=26427     Cardinality=227882     Bytes=25294902
    HASH JOIN               Cost=20687     Cardinality=227882     Bytes=25294902
    VIEW     Object owner=SYS     Object name=VW_GBC_15     Cost=12826     Cardinality=34667     Bytes=2080020
    HASH GROUP BY               Cost=12826     Cardinality=34667     Bytes=2912028
    HASH JOIN               Cost=12147     Cardinality=34667     Bytes=2912028
    HASH JOIN               Cost=10076     Cardinality=34667     Bytes=2322689
    TABLE ACCESS FULL     Object owner=ODS     Object name=AVN_D_MASTERPOLICYDETAILS     Cost=137     Cardinality=34667     Bytes=1178678
    TABLE ACCESS FULL     Object owner=ODS     Object name=INWARDSPOLICYDETAILS     Cost=9934     Cardinality=820724     Bytes=27083892
    TABLE ACCESS FULL     Object owner=ODS     Object name=INWARDSPOLICYLOBMAPPING     Cost=741     Cardinality=866377     Bytes=14728409
    VIEW     Object owner=SYS     Object name=VW_GBF_16     Cost=7059     Cardinality=227882     Bytes=11621982
    HASH GROUP BY               Cost=7059     Cardinality=227882     Bytes=6836460
    VIEW     Object owner=ODS          Cost=5195     Cardinality=227882     Bytes=6836460
    HASH GROUP BY               Cost=5195     Cardinality=227882     Bytes=4785522
    PARTITION HASH ALL               Cost=3717     Cardinality=227882     Bytes=4785522
    TABLE ACCESS FULL     Object owner=ODS     Object name=AVN_F_TRANSACTIONS     Cost=3717     Cardinality=227882     Bytes=4785522

Maybe you are looking for

  • Facebook and Twitter app on iphone 5s

    I downloaded the facebook and twitter app on my iphone 5s and selected their respective notification sounds in the Settings but, even after that, I did not receive any notification sound whatsoever either for FB or twitter. After sifting through, I c

  • Vendor Data Table

    Hi everyone, We are using SRM 4.0, Classic scenario. We had recently installed new support packages. Now, we need to get new vendors for auction purpose. We have got the vendors in SRM using transaction BBPGETVD. But while we are trying to map them t

  • Text ripple effect

    I'm a very new After Effects user, and I'm really just experimenting with the software.  On effect I'd like to attempt is a text effect which simulates a ripple, or at least that's what I think it would be called. Basically, imagine some lettering ly

  • Eyedropper sample photo below text

    I am trying to grab a color from a photo but it has a text layer above it so the eyedropper grabs the white fill of the text instead of the color from the photo. Is there a way round this similar to Cmnd-click for cycling through objects? Thanks, Ben

  • Urgent problem! please help. high speed digitizer, channel switch time too long!

    Dear all NI high speed digitizer experts:  I post a question concerning the two-channel configuration using NI5154 digitizer (see Need help to configure a two-channel acquisition using NI5154 ).  As we need to do some measurement using NI5154 very so