Major performance trouble Oracle 11g RHELx64, HP 8100 storage
Hi hope some one can help me with this.
We have a datawarehouse with this configuratuion
Database
RHEL5 u5 on 2* intel 5700 cpu, 36gb ram, emulex 4gb dual port hba, HP EVA 8100 san.
Oracle 11g 11.1.7.
Database 8 kblock
Disks are
/data 2.0TB 72 disks formated with ext3 4k block.
/log 100GB 72 disks formated with ext3 4k block.
ETL
Informatica Power Center 8.6 on similar machine.
My problem is vhen we try to load the database with data it takes forever so we tested this stuff
iops script run
SET SERVEROUTPUT ON
DECLARE
lat INTEGER;
iops INTEGER;
mbps INTEGER;
BEGIN
-- DBMS_RESOURCE_MANAGER.CALIBRATE_IO (<DISKS>, <MAX_LATENCY>, iops, mbps, lat);
DBMS_RESOURCE_MANAGER.CALIBRATE_IO (72, 10, iops, mbps, lat);
DBMS_OUTPUT.PUT_LINE ('max_iops = ' || iops);
DBMS_OUTPUT.PUT_LINE ('latency = ' || lat);
dbms_output.put_line('max_mbps = ' || mbps);
end;
Results
Warehouse database about 600GB data in it
max_iops = 82
latency = 11
max_mbps = 204
LOW!!!
I installed a new database with just the exaple schemas on same disk /data and got theese results
max_iops = 25665
latency = 8
max_mbps = 517
Any one have some ideas what i should test or change?
/Jens Bäckström (Noob)Dba
The second database IOTEST is a small test db.
This is how i did the test
i stopped the DWRPD01 wich is the dw database.
i start the IOTEST DATABSE and run the iops script.
after the run i stoped IOTEST and started DWPRD02 and run the same script.
i am sure the database files was on the same san disk group . but ofc i can not besure that the data be on the same physical disk in the SAN cabinett.
Ill check ur other questions as soon as i have some ansvers
and thanks for helping me out.
Below are my initfiles from the DB's
/Jens
IOTEST Database
IOTEST.__db_cache_size=16106127360
IOTEST.__java_pool_size=268435456
IOTEST.__large_pool_size=268435456
IOTEST.__oracle_base='/oracle_prod01'#ORACLE_BASE set from environment
IOTEST.__pga_aggregate_target=6442450944
IOTEST.__sga_target=21474836480
IOTEST.__shared_io_pool_size=0
IOTEST.__shared_pool_size=4294967296
IOTEST.__streams_pool_size=268435456
*.archive_lag_target=1800
*.audit_file_dest='/oracle_prod01/admin/IOTEST/adump'
*.audit_sys_operations=true
*.audit_trail='db'
*.compatible='11.1.0.0.0'
*.control_file_record_keep_time=16
*.control_files='/iotest/IOTEST/control01.ctl','/iotest/IOTEST/control02.ctl','/iotest/IOTEST/control03.ctl'
*.db_block_checking='LOW'
*.db_block_checksum='TYPICAL'
*.db_block_size=8192
*.db_create_file_dest=''
*.db_domain=''
*.db_file_multiblock_read_count=32
*.db_files=200
*.db_name='IOTEST'
*.db_recovery_file_dest=''
*.db_writer_processes=3
*.diagnostic_dest='/oracle_prod01'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=IOTESTXDB)'
*.filesystemio_options='setall'
*.log_checkpoints_to_alert=true
*.nls_language='AMERICAN'
*.open_cursors=512
*.optimizer_index_cost_adj=50
*.parallel_io_cap_enabled=true
*.parallel_max_servers=10
*.parallel_min_servers=2
*.pga_aggregate_target=6442450944
*.processes=512
*.recyclebin='off'
*.remote_login_passwordfile='EXCLUSIVE'
*.sga_target=21474836480DWPRD01.__db_cache_size=16106127360
*.star_transformation_enabled='TRUE'
*.undo_tablespace='UNDOTBS1'
DWPRD01 Database
DWPRD01.__java_pool_size=268435456
DWPRD01.__large_pool_size=268435456
DWPRD01.__oracle_base='/oracle_prod01'#ORACLE_BASE set from environment
DWPRD01.__pga_aggregate_target=6442450944
DWPRD01.__sga_target=21474836480
DWPRD01.__shared_io_pool_size=0
DWPRD01.__shared_pool_size=4294967296
DWPRD01.__streams_pool_size=268435456
*.archive_lag_target=1800
*.audit_file_dest='/oracle_prod01/admin/DWPRD01/adump'
*.audit_sys_operations=true
*.audit_trail='db'
*.compatible='11.1.0.0.0'
*.control_file_record_keep_time=16
*.control_files='/dbffast_prod01/control01.ctl','/oracle_prod01/control02.ctl','/log_prod01/control03.ctl'
*.db_block_checking='LOW'
*.db_block_checksum='TYPICAL'
*.db_block_size=8192
*.db_create_file_dest=''
*.db_domain=''
*.db_file_multiblock_read_count=32
*.db_files=200
*.db_name='DWPRD01'
*.db_recovery_file_dest=''
*.db_writer_processes=3
*.diagnostic_dest='/oracle_prod01'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=DWPRD01XDB)'
*.filesystemio_options='setall'
*.log_archive_dest_1='LOCATION=/arch_prod01'
*.log_archive_format='DWPRD01_%t_%s_%r.log'
*.log_checkpoints_to_alert=true
*.nls_language='AMERICAN'
*.open_cursors=512
*.optimizer_index_cost_adj=50
*.parallel_io_cap_enabled=true
*.parallel_max_servers=10
*.parallel_min_servers=2
*.pga_aggregate_target=6442450944
*.processes=512
*.recyclebin='off'
*.remote_login_passwordfile='EXCLUSIVE'
*.sga_target=21474836480
*.star_transformation_enabled='TRUE'
*.undo_tablespace='UNDOTBS1'
Similar Messages
-
Major bugs in oracle 11g 11.1.0.7??
Hii All,
We are planning to upgrade to 11g currently we are using
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
PL/SQL Release 10.2.0.4.0 - Production
CORE 10.2.0.4.0 Production
TNS for Solaris: Version 10.2.0.4.0 - Production
NLSRTL Version 10.2.0.4.0 - Production
Now we are planning to upgrade to version 11.1.0.7,but heard that it contains many bugs.And our DBA suggest us version 11.2.0.1.0 where all the bugs in the earlier release of 11g got fixed. Is it true?
These links show that there are some bugs in 11.1.0.7
http://nilesh-joshi.blogspot.com/2010/06/oracle-111070-bug.html
http://mikerault.blogspot.com/2009/03/more-fun-with-oracle11g-11107.html
1)Can any one brief the bugs in the version 11.1.0.7 ???
2)Let me know whether are all those bugs got fixed in the version 11.2.0.1.0??
Is this bug oracle 11g needs group by - why? fixed in 11gR2???
Regards
Raghu.Bottom line - you'll be lucky if you never run into a bug in any release.
I'd always be hesitant to go with any x.1 release including 11.2.0.1.
Bear in mind that you're probably not upgrading today but in a few months time.
11.2.0.2 is available on Linux
Use Metalink to identify any bugs in any specific feature or release you're interested.
Doc Id 738538.1 - 11.1.0.7 Patch Set - Availability and Known Issues
Doc Id - 880707.1 - 11.2.0.1 Base Release - Availability and Known Issues
Doc ID 1179474.1 - Known issues specific to 11.2.0.2
Doc ID 1178583.1 - Bugs fixed in the 11.2.0.2 Patch Set -
Problems While Performing Switchover Oracle 11g
Hi All,
I am using Oracle 11.2.0.1.0 version.
I have a Primary-Physical Standby setup(Test Environment). I am performing a switchover between them.
I have followed the below steps:-
ON Primary:-
SQL> select switchover_status from v$database;
SWITCHOVER_STATUS
TO STANDBY
SQL> alter database commit to switchover to physical standby;
Database altered.
SQL> shutdown immediate;
ORA-01507: database not mounted
ORACLE instance shut down.
SQL> startup mount;
ORACLE instance started.
Total System Global Area 2054373376 bytes
Fixed Size 2214856 bytes
Variable Size 1174406200 bytes
Database Buffers 872415232 bytes
Redo Buffers 5337088 bytes
Database mounted.
SQL> select switchover_status from v$database;
SWITCHOVER_STATUS
TO PRIMARY
SQL> select database_role from v$database;
DATABASE_ROLE
PHYSICAL STANDBY
On the other side I am trying to bring up the phyical standby database to primary:-
First I checked the switchover_status on standby database.
SQL> select switchover_status from v$database;
SWITCHOVER_STATUS
SWITCHOVER PENDING
SQL> alter database commit to switchover to primary;
alter database commit to switchover to primary
ERROR at line 1:
ORA-16139: media recovery required
Now I am in a situation where I have converted my primary to physical standby but physical standby-Primary is not happening..
Please advice me on this. I have checked the archive log status for both the boxes before switchover and they were in sync....
Your suggestions are required here.
Regards,
ArijitHi ,
With above approch there could be minor transaction loss & Need to rebuild stby , but you can make standby DB up as primary.
With current senario , check if suggested sequence is generated at primary & try to register it on stby
Also check if FAL_* is getting resolved
It looks sync issue you should have rebooted both DB's before starting switchover as a best practise along with 2/3 switches
Thanks,
Ajay More
http://moreajays.blogspot.com -
Hi all
we have oracle 11 rel2 database 11.20.3.0 on windows
application is using delphi to connect via ole db driver
first time sql runs it takes time to run in process
and in subsequent runs it runs faster than previous runs
the person coding in delphi who is more of sql server background than dba asking why it running faster
cursor_sharing=similar
memory_target =40gb
db_cache_size=12GB
shared_pool_size=8GB
bascially first run the sql is not in cache so it reads from disk and in subsequent runs the sql is available so it runs more efficient
any links which could help the developer understandYes, it runs faster the second time because things are cached in memory instead of having to be read from disk. It could also be that the second time, the query doesn't have to be parsed and thus saves time.
Tracing and tkprof would show you actual hard and fast numbers to explain exactly what happened. -
Improve XML readability in Oracle 11g for binary XMLType storage for huge files
I have one requirement in which I have to process huge XML files. That means there might be around 1000 xml files and the whole size of these files would be around 2GB.
What I need is to store all the data in these files to my Oracle DB. For this I have used sqlloader for bulk uploading of all my XML files to my DB and it is stored as binary XMLTYPE in my database.Now I need to query these files and store the data in relational tables.For this I have used XMLTable Xpath queries. Everything is fine when I try to query single xml file within my DB. But if it is trying to query all those files it is taking too much time which is not acceptable.
Here's my one sample xml content:
<ABCD>
<EMPLOYEE id="11" date="25-Apr-1983">
<NameDetails>
<Name NameType="a">
<NameValue>
<FirstName>ABCD</FirstName>
<Surname>PQR</Surname>
<OriginalName>TEST1</OriginalName>
<OriginalName>TEST2</OriginalName>
</NameValue>
</Name>
<Name NameType="b">
<NameValue>
<FirstName>TEST3</FirstName>
<Surname>TEST3</Surname>
</NameValue>
<NameValue>
<FirstName>TEST5</FirstName>
<MiddleName>TEST6</MiddleName>
<Surname>TEST7</Surname>
<OriginalName>JAB1</OriginalName>
</NameValue>
<NameValue>
<FirstName>HER</FirstName>
<MiddleName>HIS</MiddleName>
<Surname>LOO</Surname>
</NameValue>
</Name>
<Name NameType="c">
<NameValue>
<FirstName>CDS</FirstName>
<MiddleName>DRE</MiddleName>
<Surname>QWE</Surname>
</NameValue>
<NameValue>
<FirstName>CCD</FirstName>
<MiddleName>YTD</MiddleName>
<Surname>QQA</Surname>
</NameValue>
<NameValue>
<FirstName>DS</FirstName>
<Surname>AzDFz</Surname>
</NameValue>
</Name>
</NameDetails>
</EMPLOYEE >
</ABCD>
Please note that this is just one small record inside one big xml.Each xml would contain similar records around 5000 in number.Similarly there are more than 400 files each ranging about 4MB size approx.
My xmltable query :
SELECT t.personid,n.nametypeid,t.titlehonorofic,t.firstname,
t.middlename,
t.surname,
replace(replace(t.maidenname, '<MaidenName>'),'</MaidenName>', '#@#') maidenname,
replace(replace(t.suffix, '<Suffix>'),'</Suffix>', '#@#') suffix,
replace(replace(t.singleStringName, '<SingleStringName>'),'</SingleStringName>', '#@#') singleStringName,
replace(replace(t.entityname, '<EntityName>'),'</EntityName>', '#@#') entityname,
replace(replace(t.originalName, '<OriginalName>'),'</OriginalName>', '#@#') originalName
FROM xmlperson p,master_nametypes n,
XMLTABLE (
--'ABCD/EMPLOYEE/NameDetails/Name/NameValue'
'for $i in ABCD/EMPLOYEE/NameDetails/Name/NameValue
return <row>
{$i/../../../@id}
{$i/../@NameType}
{$i/TitleHonorific}{$i/Suffix}{$i/SingleStringName}
{$i/FirstName}{$i/MiddleName}{$i/OriginalName}
{$i/Surname}{$i/MaidenName}{$i/EntityName}
</row>'
PASSING p.filecontent
COLUMNS
personid NUMBER PATH '@id',
nametypeid VARCHAR2(255) PATH '@NameType',
titlehonorofic VARCHAR2(4000) PATH 'TitleHonorific',
firstname VARCHAR2(4000) PATH 'FirstName',
middlename VARCHAR2(4000) PATH 'MiddleName',
surname VARCHAR2(4000) PATH 'Surname',
maidenname XMLTYPE PATH 'MaidenName',
suffix XMLTYPE PATH 'Suffix',
singleStringName XMLTYPE PATH 'SingleStringName',
entityname XMLTYPE PATH 'EntityName',
originalName XMLTYPE PATH 'OriginalName'
) t where t.nametypeid = n.nametype and n.recordtype = 'Person'
But this is taking too much time to query all those huge data. The resultset of this query would return about millions of rows. I tried to index the table using this query :
CREATE INDEX myindex_xmlperson on xml_files(filecontent) indextype is xdb.xmlindex parameters ('paths(include(ABCD/EMPLOYEE//*))');
My Database version :
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
PL/SQL Release 11.2.0.2.0 - Production
"CORE 11.2.0.2.0 Production"
TNS for Linux: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.0 - Production
Index is created but still no improvement with the performance though. It is taking more than 20 minutes to query even a set of 10 similar xml files.Now you can imagine how much will it take to query all those 1000 xml files.
Could someone please suggest me how to improve the performance of my database.Since I am new to this I am not sure whether I am doing it in proper way. If there is a better solution please suggest. Your help will be greatly appreciated.Hi Odie..
I tried to run your code through all the xml files but it is taking too much time. It has not ended even after 3hours.
When I tried to do a single insert select statement for one single xml it is working.But stilli ts in the range of ~10sec.
Please find my execution plan for one single xml file with your code.
"PLAN_TABLE_OUTPUT"
"Plan hash value: 2771779566"
"| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |"
"| 0 | INSERT STATEMENT | | 499G | 121T | 434M (2) |999:59:59 |"
"| 1 | LOAD TABLE CONVENTIONAL | WATCHLIST_NAMEDETAILS | | | | |"
"| 2 | SORT AGGREGATE | | 1 | 2 | | |"
"| 3 | XPATH EVALUATION | | | | | |"
"| 4 | SORT AGGREGATE | | 1 | 2 | | |"
"| 5 | XPATH EVALUATION | | | | | |"
"| 6 | SORT AGGREGATE | | 1 | 2 | | |"
"| 7 | XPATH EVALUATION | | | | | |"
"| 8 | SORT AGGREGATE | | 1 | 2 | | |"
"| 9 | XPATH EVALUATION | | | | | |"
"| 10 | NESTED LOOPS | | 499G | 121T | 434M (2) | 999:59:59 |"
"| 11 | NESTED LOOPS | | 61M | 14G | 1222K (1) | 04:04:28 |"
"| 12 | NESTED LOOPS | | 44924 | 10M | 61 (2) | 00:00:01 |"
"| 13 | MERGE JOIN CARTESIAN | | 5 | 1235 | 6 (0) | 00:00:01 |"
"|* 14 | TABLE ACCESS FULL | XMLPERSON | 1 | 221 | 2 (0) | 00:00:01 |"
"| 15 | BUFFER SORT | | 6 | 156 | 4 (0) | 00:00:01 |"
"|* 16 | TABLE ACCESS FULL | MASTER_NAMETYPES | 6 | 156 | 3 (0) | 00:00:01 |"
"| 17 | XPATH EVALUATION | | | | | |"
"|* 18 | XPATH EVALUATION | | | | | |"
"| 19 | XPATH EVALUATION | | | | | |"
"Predicate Information (identified by operation id):"
" 14 - filter(""P"".""FILENAME""='PFA2_95001_100000_F.xml')"
" 16 - filter(""N"".""RECORDTYPE""='Person')"
" 18 - filter(""N"".""NAMETYPE""=CAST(""P1"".""C_01$"" AS VARCHAR2(255) ))"
"Note"
" - Unoptimized XML construct detected (enable XMLOptimizationCheck for more information)"
Please note that this is for a single xml file. I have like more than 400 similar files in the same table.
And for your's as well as Jason's Question:
What are you trying to accomplish with
replace(replace(t.originalName, '<OriginalName>'),'</OriginalName>', '#@#') originalName
originalName XMLTYPE PATH 'OriginalName'
Like Jason, I also wonder what's the purpose of all those XMLType projections and strange replaces in the SELECT clause
What I was trying to achieve was to create a table containing separate rows for all the multi item child nodes for this particular xml.
But since there was an error beacuse of multiple child nodes like 'ORIGINALNAME' under 'NAMEVALUE' node, I tried this script to insert those values by providing a delimiter and replacing the tag names.
Please see the link for more details - http://stackoverflow.com/questions/16835323/construct-xmltype-query-to-store-data-in-oracle11g
This was the execution plan for one single xml file with my code :
Plan hash value: 2851325155
| Id | Operation | Name | Rows | Bytes | Cost (%CPU) | Time | TQ | IN-OUT | PQ Distrib |
| 0 | SELECT STATEMENT | | 7487 | 1820K | 37 (3) | 00:00:01 | | | |
|* 1 | HASH JOIN | | 7487 | 1820K | 37 (3) | 00:00:01 | | | |
|* 2 | TABLE ACCESS FULL | MASTER_NAMETYPES | 6 | 156 | 3 (0) | 00:00:01 | | | |
| 3 | NESTED LOOPS | | 8168 | 1778K | 33 (0) | 00:00:01 | | | |
| 4 | PX COORDINATOR | | | | | | | | |
| 5 | PX SEND QC (RANDOM) | :TQ10000 | 1 | 221 | 2 (0) | 00:00:01 | Q1,00 | P->S | QC (RAND) |
| 6 | PX BLOCK ITERATOR | | 1 | 221 | 2 (0) | 00:00:01 | Q1,00 | PCWC | |
|* 7 | TABLE ACCESS FULL | XMLPERSON | 1 | 221 | 2 (0) | 00:00:01 | Q1,00 | PCWP | |
| 8 | COLLECTION ITERATOR PICKLER FETCH | XQSEQUENCEFROMXMLTYPE | 8168 | 16336 | 29 (0) | 00:00:01 | | | |
Predicate Information (identified by operation id):
1 - access("N"."NAMETYPE"=CAST(SYS_XQ_UPKXML2SQL(SYS_XQEXVAL(SYS_XQEXTRACT(VALUE(KOKBF$),'/*/@NameType'),0,0,20971520,0),50,1,2
) AS VARCHAR2(255) ))
2 - filter("N"."RECORDTYPE"='Person')
7 - filter("P"."FILENAME"='PFA2_95001_100000_F.xml')
Note
- Unoptimized XML construct detected (enable XMLOptimizationCheck for more information)
Please let me know whether this has helped.
My intention is to save the details in the xml to different relational tables so that I can easily query it from my application. I have similarly many queries which inserts the xml values to different tables like the one which I have mentioned here. I was thinking of creating a stored procedure to insert all these values in the relational tables once I receive the xml files. But even a single query is taking too much time to complete. Could you please help me in this regard. Waiting for your valuable feedback. -
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 -
General Oracle Database Performance trouble solving best practice Steps
We use Oracle 11g DB on Windows2008R2 as web application backend DB.
We have peformance trouble in that DB.
I would like to know General Oracle Database Performance trouble solving best practice Steps.
Is there any good general best practice document for performace trouble solving in the internet ?@Girish Sharma: I disagree with this. Many people say things like your phrase "..first identify the root cause and then move forward" but that is not the first step. Any such technique is nothing more than looking at some report, finding a number that you don't like, and attempting to "fix" it. Some people use that supposedly funny term "compulsive tuning disorder" (first used by Gaja Krishna Vaidyanatha) to describe this approach (also advocated in this topic by @Supriyo Dey). The first step must be to determine what the problem is. Until you know that, all those reports you mentioned (which, remember, require EE plus pack licences) are useless.
@teradata0802, your best practice starts by finding the problem. Is it, for example, that the overnight batch jobs don't finish until lunchtime? A screen takes 10 seconds to refresh, and your target is one second? A report takes half an hour, but you need to run it every five minutes? Determine what business function is causing your client to lose money because it is too slow. Then investigate what it is doing, how, and why. You have to begin by focussing on the problem, not by running database-wide reports.. -
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 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 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 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 -
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 -
Is it possible to perform network data encryption between Oracle 11g databases without the advance security option?
We are not licensed for the Oracle Advanced Security Option and I have been tasked to use Oracle Network Data Encryption in order to encryption network traffic between Oracle instances that reside on remote servers. From what I have read and my prior understanding this is not possible without ASO. Can someone confirm or disprove my research, thanks.Hi, Srini Chavali-Oracle
As for http://www.oracle.com/technetwork/database/options/advanced-security/advanced-security-ds-12c-1898873.pdf?ssSourceSiteId… ASO is mentioned as TDE and Redacting Sensitive Data to Display. Network encryption is excluded.
As for Network Encryption - Oracle FAQ (of course this is not Oracle official) "Since June 2013, Net Encryption is now licensed with Oracle Enterprise Edition and doesn't require Oracle Advanced Security Option." Could you clarify this? Thanks. -
'Maximum Performance' protection in oracle 11g
Hi,
I am working on dataguard setup in oracle 11g maximum
'Maximum Performance' mode requires Standby redo logs
i was doing switch over test and i am getting this error appreciated for your inputs.
DGMGRL> show configuration verbose;
Configuration
Name: qecgpoce_DG
Enabled: YES
Protection Mode: MaxPerformance
Databases:
qecgpoce - Primary database
qecgpoca - Physical standby database
Fast-Start Failover: DISABLED
Current status for "qecgpoce_DG":
Warning: ORA-16607: one or more databases have failed
DGMGRL> show database verbose qecgpoce;
Database
Name: qecgpoce
Role: PRIMARY
Enabled: YES
Intended State: TRANSPORT-ON
Instance(s):
qecgpoce
Properties:
DGConnectIdentifier = 'qecgpoce'
ObserverConnectIdentifier = ''
LogXptMode = 'SYNC'
DelayMins = '0'
Binding = 'OPTIONAL'
MaxFailure = '0'
MaxConnections = '1'
ReopenSecs = '300'
NetTimeout = '30'
RedoCompression = 'DISABLE'
LogShipping = 'ON'
PreferredApplyInstance = ''
ApplyInstanceTimeout = '0'
ApplyParallel = 'AUTO'
StandbyFileManagement = 'AUTO'
ArchiveLagTarget = '0'
LogArchiveMaxProcesses = '4'
LogArchiveMinSucceedDest = '1'
DbFileNameConvert = '/mounts/qecgpoca_data/oradata/qecgpoca/dbfiles, /mounts/qecgpoce_data/oradata/qecgpoce/dbfiles'
LogFileNameConvert = '/u01/app/oracle/admin/qecgpoca/arch, /u01/app/oracle/admin/qecgpoce/arch'
FastStartFailoverTarget = ''
StatusReport = '(monitor)'
InconsistentProperties = '(monitor)'
InconsistentLogXptProps = '(monitor)'
SendQEntries = '(monitor)'
LogXptStatus = '(monitor)'
RecvQEntries = '(monitor)'
HostName = 'ieedc-vzdb17'
SidName = 'qecgpoce'
StaticConnectIdentifier = '(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ieedc-vzdb17)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=qecgpoce_DGMGRL)(INSTANCE_NAME=qecgpoce)(SERVER=DEDICATED)))'
StandbyArchiveLocation = '/u01/app/oracle/admin/qecgpoce/arch'
AlternateLocation = ''
LogArchiveTrace = '0'
LogArchiveFormat = 'qecgpoc%s%t%r.arc'
LatestLog = '(monitor)'
TopWaitEvents = '(monitor)'
Current status for "qecgpoce":
Warning: ORA-16789: standby redo logs not configured
DGMGRL> show database verbose qecgpoca;
Database
Name: qecgpoca
Role: PHYSICAL STANDBY
Enabled: YES
Intended State: APPLY-ON
Instance(s):
qecgpoca
Properties:
DGConnectIdentifier = 'qecgpoca'
ObserverConnectIdentifier = ''
LogXptMode = 'ARCH'
DelayMins = '0'
Binding = 'OPTIONAL'
MaxFailure = '0'
MaxConnections = '1'
ReopenSecs = '300'
NetTimeout = '30'
RedoCompression = 'DISABLE'
LogShipping = 'ON'
PreferredApplyInstance = ''
ApplyInstanceTimeout = '0'
ApplyParallel = 'AUTO'
StandbyFileManagement = 'AUTO'
ArchiveLagTarget = '0'
LogArchiveMaxProcesses = '4'
LogArchiveMinSucceedDest = '1'
DbFileNameConvert = '/mounts/qecgpoce_data/oradata/qecgpoce/dbfiles, /mounts/qecgpoca_data/oradata/qecgpoca/dbfiles'
LogFileNameConvert = '/u01/app/oracle/admin/qecgpoce/arch, /u01/app/oracle/admin/qecgpoca/arch'
FastStartFailoverTarget = ''
StatusReport = '(monitor)'
InconsistentProperties = '(monitor)'
InconsistentLogXptProps = '(monitor)'
SendQEntries = '(monitor)'
LogXptStatus = '(monitor)'
RecvQEntries = '(monitor)'
HostName = 'usadc-vzdb32'
SidName = 'qecgpoca'
StaticConnectIdentifier = '(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=usadc-vzdb32)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=qecgpoca_DGMGRL)(INSTANCE_NAME=qecgpoca)(SERVER=DEDICATED)))'
StandbyArchiveLocation = '/u01/app/oracle/admin/qecgpoca/arch'
AlternateLocation = ''
LogArchiveTrace = '0'
LogArchiveFormat = 'qecgpoc%s%t%r.arc'
LatestLog = '(monitor)'
TopWaitEvents = '(monitor)'
Current status for "qecgpoca":
Error: ORA-16766: Redo Apply is stoppedThanks
PrakashHi,
secondary parameter file;
SQL> show parameter _
NAME TYPE VALUE
O7_DICTIONARY_ACCESSIBILITY boolean FALSE
active_instance_count integer
aq_tm_processes integer 0
archive_lag_target integer 0
asm_diskgroups string
asm_diskstring string
asm_power_limit integer 1
asm_preferred_read_failure_groups string
audit_file_dest string /u01/app/oracle/admin/qecgpoca
/adump
audit_sys_operations boolean FALSE
NAME TYPE VALUE
audit_syslog_level string
audit_trail string NONE
background_core_dump string partial
background_dump_dest string /u01/app/oracle/admin/qecgpoca
/diagnostic/diag/rdbms/qecgpoc
a/qecgpoca/trace
backup_tape_io_slaves boolean FALSE
bitmap_merge_area_size integer 1048576
blank_trimming boolean FALSE
buffer_pool_keep string
buffer_pool_recycle string
NAME TYPE VALUE
cell_offload_compaction string ADAPTIVE
cell_offload_parameters string
cell_offload_plan_display string AUTO
cell_offload_processing boolean TRUE
cell_partition_large_extents string DEFAULT
circuits integer
client_result_cache_lag big integer 3000
client_result_cache_size big integer 0
cluster_database boolean FALSE
cluster_database_instances integer 1
cluster_interconnects string
NAME TYPE VALUE
commit_logging string
commit_point_strength integer 1
commit_wait string
commit_write string
compatible string 11.0.0.0.0
control_file_record_keep_time integer 7
control_files string /mounts/qecgpoca_data/oradata/
qecgpoca/dbfiles/control.ctl
control_management_pack_access string DIAGNOSTIC+TUNING
core_dump_dest string /u01/app/oracle/admin/qecgpoca
/cdump/
NAME TYPE VALUE
cpu_count integer 16
create_bitmap_area_size integer 8388608
create_stored_outlines string
cursor_sharing string EXACT
cursor_space_for_time boolean FALSE
db_16k_cache_size big integer 0
db_2k_cache_size big integer 0
db_32k_cache_size big integer 0
db_4k_cache_size big integer 0
db_8k_cache_size big integer 0
db_block_buffers integer 0
NAME TYPE VALUE
db_block_checking string FALSE
db_block_checksum string TYPICAL
db_block_size integer 8192
db_cache_advice string ON
db_cache_size big integer 168M
db_create_file_dest string
db_create_online_log_dest_1 string
db_create_online_log_dest_2 string
db_create_online_log_dest_3 string
db_create_online_log_dest_4 string
db_create_online_log_dest_5 string
db_domain string
db_file_multiblock_read_count integer 61
db_file_name_convert string /mounts/qecgpoce_data/oradata/
qecgpoce/dbfiles, /mounts/qecg
poca_data/oradata/qecgpoca/dbf
iles
db_files integer 200
db_flashback_retention_target integer 1440
db_keep_cache_size big integer 0
db_lost_write_protect string NONE
db_name string qecgpoce
NAME TYPE VALUE
db_recovery_file_dest string
db_recovery_file_dest_size big integer 0
db_recycle_cache_size big integer 0
db_securefile string PERMITTED
db_ultra_safe string OFF
db_unique_name string qecgpoca
db_writer_processes integer 4
dbwr_io_slaves integer 0
ddl_lock_timeout integer 0
dg_broker_config_file1 string /u01/app/oracle/product/11.1.0
.7/dbs/dr1qecgpoca.dat
NAME TYPE VALUE
dg_broker_config_file2 string /u01/app/oracle/product/11.1.0
.7/dbs/dr2qecgpoca.dat
dg_broker_start boolean TRUE
diagnostic_dest string /u01/app/oracle/admin/qecgpoca
/diagnostic
disk_asynch_io boolean TRUE
dispatchers string
distributed_lock_timeout integer 60
dml_locks integer 1472
drs_start boolean FALSE
enable_ddl_logging boolean FALSE
NAME TYPE VALUE
event string
fal_client string qecgpoca
fal_server string qecgpoce
fast_start_io_target integer 0
fast_start_mttr_target integer 300
fast_start_parallel_rollback string LOW
file_mapping boolean FALSE
fileio_network_adapters string
filesystemio_options string asynch
fixed_date string
gc_files_to_locks string
NAME TYPE VALUE
gcs_server_processes integer 0
global_context_pool_size string
global_names boolean FALSE
global_txn_processes integer 1
hash_area_size integer 131072
hi_shared_memory_address integer 0
hs_autoregister boolean TRUE
ifile file
instance_groups string
instance_name string qecgpoca
instance_number integer 0
NAME TYPE VALUE
instance_type string RDBMS
java_jit_enabled boolean TRUE
java_max_sessionspace_size integer 0
java_pool_size big integer 152M
java_soft_sessionspace_limit integer 0
job_queue_processes integer 0
large_pool_size big integer 4M
ldap_directory_access string NONE
ldap_directory_sysauth string no
license_max_sessions integer 0
license_max_users integer 0
NAME TYPE VALUE
license_sessions_warning integer 0
local_listener string
lock_name_space string
lock_sga boolean FALSE
log_archive_config string dg_config=(qecgpoce,qecgpoca)
log_archive_dest string
log_archive_dest_1 string location="/u01/app/oracle/admi
n/qecgpoca/arch", valid_for=(
ALL_LOGFILES,ALL_ROLES)
log_archive_dest_10 string
log_archive_dest_2 string service=qecgpoce lgwr async va
NAME TYPE VALUE
lid_for=(online_logfiles,prima
ry_role) db_unique_name=qecgpo
ce
log_archive_dest_3 string
log_archive_dest_4 string
log_archive_dest_5 string
log_archive_dest_6 string
log_archive_dest_7 string
log_archive_dest_8 string
log_archive_dest_9 string
log_archive_dest_state_1 string ENABLE
NAME TYPE VALUE
log_archive_dest_state_10 string enable
log_archive_dest_state_2 string enable
log_archive_dest_state_3 string enable
log_archive_dest_state_4 string enable
log_archive_dest_state_5 string enable
log_archive_dest_state_6 string enable
log_archive_dest_state_7 string enable
log_archive_dest_state_8 string enable
log_archive_dest_state_9 string enable
log_archive_duplex_dest string
log_archive_format string qecgpoc%s%t%r.arc
NAME TYPE VALUE
log_archive_local_first boolean TRUE
log_archive_max_processes integer 4
log_archive_min_succeed_dest integer 1
log_archive_start boolean FALSE
log_archive_trace integer 0
log_buffer integer 4197376
log_checkpoint_interval integer 0
log_checkpoint_timeout integer 1800
log_checkpoints_to_alert boolean FALSE
log_file_name_convert string /u01/app/oracle/admin/qecgpoce
/arch, /u01/app/oracle/admin/q
NAME TYPE VALUE
ecgpoca/arch
max_commit_propagation_delay integer 0
max_dispatchers integer
max_dump_file_size string unlimited
max_enabled_roles integer 150
max_shared_servers integer
memory_max_target big integer 0
memory_target big integer 0
nls_calendar string
nls_comp string BINARY
nls_currency string
NAME TYPE VALUE
nls_date_format string
nls_date_language string
nls_dual_currency string
nls_iso_currency string
nls_language string AMERICAN
nls_length_semantics string BYTE
nls_nchar_conv_excp string FALSE
nls_numeric_characters string
nls_sort string
nls_territory string AMERICA
nls_time_format string
NAME TYPE VALUE
nls_time_tz_format string
nls_timestamp_format string
nls_timestamp_tz_format string
object_cache_max_size_percent integer 10
object_cache_optimal_size integer 102400
olap_page_pool_size big integer 0
open_cursors integer 300
open_links integer 4
open_links_per_instance integer 4
optimizer_capture_sql_plan_baselines boolean FALSE
optimizer_dynamic_sampling integer 2
NAME TYPE VALUE
optimizer_features_enable string 11.1.0.7
optimizer_index_caching integer 0
optimizer_index_cost_adj integer 100
optimizer_mode string ALL_ROWS
optimizer_secure_view_merging boolean TRUE
optimizer_use_invisible_indexes boolean FALSE
optimizer_use_pending_statistics boolean FALSE
optimizer_use_sql_plan_baselines boolean TRUE
os_authent_prefix string ops$
os_roles boolean FALSE
parallel_adaptive_multi_user boolean FALSE
NAME TYPE VALUE
parallel_automatic_tuning boolean FALSE
parallel_execution_message_size integer 2152
parallel_instance_group string
parallel_io_cap_enabled boolean FALSE
parallel_max_servers integer 2
parallel_min_percent integer 0
parallel_min_servers integer 0
parallel_server boolean FALSE
parallel_server_instances integer 1
parallel_threads_per_cpu integer 2
pga_aggregate_target big integer 100M
NAME TYPE VALUE
plscope_settings string IDENTIFIERS:NONE
plsql_ccflags string
plsql_code_type string INTERPRETED
plsql_debug boolean FALSE
plsql_native_library_dir string
plsql_native_library_subdir_count integer 0
plsql_optimize_level integer 2
plsql_v2_compatibility boolean FALSE
plsql_warnings string DISABLE:ALL
pre_page_sga boolean FALSE
processes integer 300
NAME TYPE VALUE
query_rewrite_enabled string TRUE
query_rewrite_integrity string enforced
rdbms_server_dn string
read_only_open_delayed boolean FALSE
recovery_parallelism integer 0
recyclebin string on
redo_transport_user string
remote_dependencies_mode string TIMESTAMP
remote_listener string
remote_login_passwordfile string EXCLUSIVE
remote_os_authent boolean FALSE
NAME TYPE VALUE
remote_os_roles boolean FALSE
replication_dependency_tracking boolean TRUE
resource_limit boolean FALSE
resource_manager_cpu_allocation integer 16
resource_manager_plan string SYSTEM_PLAN
result_cache_max_result integer 5
result_cache_max_size big integer 5M
result_cache_mode string MANUAL
result_cache_remote_expiration integer 0
resumable_timeout integer 0
rollback_segments string
NAME TYPE VALUE
sec_case_sensitive_logon boolean TRUE
sec_max_failed_login_attempts integer 10
sec_protocol_error_further_action string CONTINUE
sec_protocol_error_trace_action string TRACE
sec_return_server_release_banner boolean FALSE
serial_reuse string disable
service_names string qecgpoca
session_cached_cursors integer 50
session_max_open_files integer 10
sessions integer 335
sga_max_size big integer 1000M
sga_target big integer 0
shadow_core_dump string partial
shared_memory_address integer 0
shared_pool_reserved_size big integer 25M
shared_pool_size big integer 500M
shared_server_sessions integer
shared_servers integer 0
skip_unusable_indexes boolean TRUE
smtp_out_server string
sort_area_retained_size integer 0
sort_area_size integer 65536
NAME TYPE VALUE
spfile string /u01/app/oracle/product/11.1.0
.7/dbs/spfileqecgpoca.ora
sql92_security boolean FALSE
sql_trace boolean FALSE
sql_version string NATIVE
sqltune_category string DEFAULT
standby_archive_dest string ?/dbs/arch
standby_file_management string AUTO
star_transformation_enabled string FALSE
statistics_level string TYPICAL
streams_pool_size big integer 0
NAME TYPE VALUE
tape_asynch_io boolean TRUE
thread integer 0
timed_os_statistics integer 0
timed_statistics boolean TRUE
trace_enabled boolean TRUE
tracefile_identifier string
transactions integer 368
transactions_per_rollback_segment integer 5
undo_management string AUTO
undo_retention integer 900
undo_tablespace string UNDOTBS1
sort_area_retained_size integer 0
sort_area_size integer 65536
NAME TYPE VALUE
spfile string /u01/app/oracle/product/11.1.0
.7/dbs/spfileqecgpoca.ora
sql92_security boolean FALSE
sql_trace boolean FALSE
sql_version string NATIVE
sqltune_category string DEFAULT
standby_archive_dest string ?/dbs/arch
standby_file_management string AUTO
star_transformation_enabled string FALSE
statistics_level string TYPICAL
streams_pool_size big integer 0
NAME TYPE VALUE
tape_asynch_io boolean TRUE
thread integer 0
timed_os_statistics integer 0
timed_statistics boolean TRUE
trace_enabled boolean TRUE
tracefile_identifier string
transactions integer 368
transactions_per_rollback_segment integer 5
undo_management string AUTO
undo_retention integer 900
undo_tablespace string UNDOTBS1
NAME TYPE VALUE
use_indirect_data_buffers boolean FALSE
user_dump_dest string /u01/app/oracle/admin/qecgpoca
/diagnostic/diag/rdbms/qecgpoc
a/qecgpoca/trace
utl_file_dir string
workarea_size_policy string AUTO
xml_db_events string enableThanks
Prakash
Maybe you are looking for
-
How to connect 20" apple cinema dispay to 17"Mac Pro
I got a 20"apple cinema display(2004) Now I wanna hook it up with my 17"Macbook Pro (2007) The problem is that I have 4 cables coming from the display. 2 is compatible with my notebook (USB and firewire), however, the other 2 cable (DVI and power) ar
-
Use library Name field in List lookup
I have a list and a library. I want to create a lookup column in the list that grabs the Name value from the Library items. This doesn't seem possible as Name is not provided as a selection in the drop down list. Is there a workaround that does no
-
Working on my next project for the tech blog Techmozilla I am trying to make php to work with Apache. . i surfed for the procedures and finally i was asked to do the below mentioned operation .. but i am unable to understand it can anyone please help
-
Multiple Vendors for one Document Number in BW
Hello All, We are getting Multiple Vendors for one document in BW. In R/3, standard table and RSA3, we are able to see correct vendor where as when it is coming into BW it is showing incorrect vendor in PSA and Data Target. All issues are coming for
-
Remove HP ProtectTools fingerprints from bios?
I dropped my laptop and the HDD broke from the shock. I just finished replacing the Hard drive, installed windows and all the drivers, installed HP ProtectTools and I tried to register my fingerprints in it again, but i cant. It says my fingerprints