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
Similar Messages
-
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 5Hi 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.
RIThe 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. -
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 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 advancebest would be to start with http://docs.oracle.com/cd/E11882_01/server.112/e16638/toc.htm
Regards
Karan -
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
StefanoHi 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
SteveSome 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). -
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 -
Oracle 10g vs Oracle 11g query performance
Hi everyone,
We are moving from Oracle 10g to Oracle 11g database.
I have a query which in Oracle 1g takes 85 seconds to run, but when I run the same query in Oracle 11g database, it takes 635 seconds.
I have confirmed that all indexes on tables involved are enabled.
Does anyone have any pointers, what should I look into. I have compared explain plans and clearly they are different. Oracle 11g is taking a different approach than Oracle 1g.
ThanksPl post details of OS versions, exact database versions (to 4 digits) and init.ora parameters of the 10g and 11g databases. Have statistics been gathered after the upgrade ?
For posting tuning requests, pl see these threads
HOW TO: Post a SQL statement tuning request - template posting
When your query takes too long ...
Pl see if the SQL Performance Analyzer can help - MOS Doc 562899.1 (TESTING SQL PERFORMANCE IMPACT OF AN ORACLE 9i TO ORACLE DATABASE 10g RELEASE 2 UPGRADE WITH SQL PERFORMANCE ANALYZER)
HTH
Srini -
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. -
Siebel Upgrade and Performance Tuning On Oracle 11g Training At Oracle Open
Hi All,
If you are interested in attending a Siebel Upgrade and Performance Tuning for Oracle 11g please let me know. We are planning to offer this course during the same week as OOW in San Francisco. For anyone who can’t attend in person we are planning to offer a net meeting with a dial in.
This education is offered to actual Siebel customers.
R
Robert Ponder
Lead Architect and Director
Ponder Pro Serve
cell: 770.490.2767
fax: 770.412.8259
email: [email protected]
web: www.ponderproserve.comHi All,
If you are interested in attending a Siebel Upgrade and Performance Tuning for Oracle 11g please let me know. We are planning to offer this course during the same week as OOW in San Francisco. For anyone who can’t attend in person we are planning to offer a net meeting with a dial in.
This education is offered to actual Siebel customers.
R
Robert Ponder
Lead Architect and Director
Ponder Pro Serve
cell: 770.490.2767
fax: 770.412.8259
email: [email protected]
web: www.ponderproserve.com -
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
Maybe you are looking for
-
We are configuring RAR 5.3, and so far we successfully uploaded all text files. But when we try to generete the rules for logical systems in a background job, after 45 minutes the following error is shown: Nov 4, 2008 9:56:02 AM com.virsa.cc.comp.Vir
-
Airport Express for Itunes Invisible After Adding Time Capsule to AX Networ
One step forward, one step back. I have an airport express linked to my airport extreme network for itunes streaming. It's worked fine forever. I recently added a time capsule to the extreme network for backup purposes using Time Machine. The extreme
-
Control the render true/false after rollback in ValueChangeListener
Hello I am using Jdeveloper 11.1.1.3.0 ADF BC. I have this problem: in my page I have some LOV that conrol the rendering true/false for other components, and we achieved this by a valuechangeLisntener method in a backing bean. and everything works we
-
I can't see the maps in Photos Places
For some reason, I cannot see the map in Photos > Places in my iPhone 4. I can my pins and I can see the green areas on the map that are forests/parks, but I can't see roads water and etc. I have the same issue within the Google Latitude and the defa
-
Imac keeps shutting down Safari and Skype
My computer was working fine* and about two weeks ago any time I opened Safari or Skype it would shut them down as soon as they opened. I have updated both programs and even deinstalled Skype and installed it again, but it keeps happening. I have als