Performance issue 11g.2
hi all ,
oracle 11g.2 in rac with asm in linux 5
vender send email :
With regard to the mediation process we have identified some performance improvements which we feel will speed up the updation of the mediation DB
i see the alert log in found
ALTER SYSTEM SET job_queue_processes=1000 SCOPE=BOTH SID='*';
i read in this parameter this will be allow 1000 job to run in corcurrent
so this will be decrease the permormance ???right??correct me if i am wrong
thanks dear for your time and support , but the same issue ???
SQL> SELECT USERNAME, SQL_TEXT, TIMESTAMP
2 FROM DBA_AUDIT_TRAIL
3 WHERE SQL_TEXT LIKE 'ALTER SYSTEM%';
no rows selected
SQL> SELECT USERNAME, SQL_TEXT, TIMESTAMP
2 FROM DBA_AUDIT_TRAIL
3 WHERE ACTION_NAME='ALTER SYSTEM' ;
no rows selected
SQL> SELECT USERNAME, SQL_TEXT, TIMESTAMP
2 FROM DBA_AUDIT_TRAIL
3 WHERE ACTION_NAME like 'ALTER SYSTEM%';
no rows selected
SQL> SELECT USERNAME, SQL_TEXT, TIMESTAMP
2 FROM DBA_AUDIT_TRAIL
3 WHERE ACTION_NAME like '%ALTER SYSTEM%';
no rows selected
SQL>
your cooperations with me will be a high appreciated.
Similar Messages
-
Database migrated from Oracle 10g to 11g Discoverer report performance issu
Hi All,
We are now getting issue in Discoverer Report performance as the report is keep on running when database got upgrade from 10g to 11g.
In database 10g the report is working fine but the same report is not working fine in 11g.
The query i have changed as I have passed the date format TO_CHAR("DD-MON-YYYY" and removed the NVL & TRUNC function from the existing query.
The report is now working fine in Database 11g backhand but when I am using the same query in Discoverer it is not working and report is keep on running.
Please advise.
Regards,Pl post exact OS, database and Discoverer versions. After the upgrade, have statistics been updated ? Have you traced the Discoverer query to determine where the performance issue is ?
How To Find Oracle Discoverer Diagnostic and Tracing Guides [ID 290658.1]
How To Enable SQL Tracing For Discoverer Sessions [ID 133055.1]
Discoverer 11g: Performance degradation after Upgrade to Database 11g [ID 1514929.1]
HTH
Srini -
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 -
Crystal Reports 11g Performance Issue
We just upgraded our database to Oracle 11g from Oracle 10g and we are having significant performance issues with Crystal Reports.
Our DEV and TEST environments are on 11g and are very slow to connect to the database and attach to specific tables. It is unusable. Our PROD environment is still 10g and works fine.
We have tested with both the lastest version - Crystal Reports 2008 V1 and Crystal Reports XI R2 SP6. We have also tested on several different machines.
We are using Oracle 10g ODBC drivers.
Does anyone have any recommendations?You could also try our Data direct drivers we have available on our WEB site using this [link|https://smpdl.sap-ag.de/~sapidp/012002523100008666562008E/cr_datadirect53_win32.zip].
Those drivers are the most recent and do support 11g. It also has a wired driver that doesn't require the client to be installed.
Also, highly recommended that when you do update the Oracle client to uninstall 10 first. There have been issues with CR and Oracle mixing the Oracle dependencies and causing problems.
Thank you
Don -
Oracle BPEL 11G performance issue
Hi
We are facing performance issues in executing our composite process in Oracle SOA 11g .
We have installed an admin server and 2 managed servers in cluster in same box. The machine utilization reached almost 95% when i started the admin server and 2 managed server (min n max size of heap given as 1GB each in start up). So i shut down one managed server and increased the JVM size of other to 2 GB and found that the heap size reaches 1.5 GB on start up (observed the heap size using Jconsole)
The machine capacity is windows server with 4 GB RAM.
Our process requries multiple records to be processed which are retrieved using Database query.
We have created 2 composites
the first composite has 2 BPEL process. the First BPEL 1 executes the DB query and retrieves the result and based on result retrieved we invoke the second BPEL2
which does around 4 DB calls and passed the result to the next composite. The final BPEL process 3 has multiple select and update query involving DB intensive process.
When we retrieve 500 records from the BPEL 1 and process , half way through we face out of memory exception. So we are using throttling but even then while executing the process of BPEL3 we are facing out of memory excetion.
Can you let me know how to find the memory space taken from heap by each BPEL process during it execution. Where in console can i get the memory used details so that i can find which BPEL sis consuming more memory and we can work on optimising.
Actually we are expecting around 1Lakh and above messages per day and need to check on how this process can handle and also how to increase or determine the capacity of the windows box.
any immediate help is highly appreciated
thanksAlways raise a case with Oracle Support for such issues.
Regards,
Anuj -
Performance issue with Crystal when upgrading Oracle to 11g
Dear,
I am facing performance issue in crystal report and oracle 11g as below:
In ther report server, I have created a ODBC for connect to another Oracle 11g server. also in report server I have created and published a folder to content all of my crystal report. These report can connect to oracle 11g server via ODBC.
and I have a tomcat server to run my application in my application I refer to report folder in report server.
This way can work with SQL server and oracle 9 or 10g but it facing performance issue in oracle 11g.
please let me know the root cause.
Notes: report server, tomcate server are win 32bit, but oracle is in win 64bit, and i have upgraded DataDirect connect ODBC version 6.1 but the issue can not resolve.
Please help me to solve it.
Thanks so much,
AnhHi Anh,
Use a third party ODBC test tool now. SQL Plus will be using the Native Oracle client so you can't compare performance.
Download our old tool called SQLCON: https://smpdl.sap-ag.de/~sapidp/012002523100006252882008E/sqlcon32.zip
Connect and then click on the SQL tab and paste in the SQL from the report and time that test.
I believe the issue is because the Oracle client is 64 bit, you should install the 32 bit Oracle Client. If using the 64 bit client then the client must thunk ( convert 64 bit data to 32 bit data format ) which is going to take more time.
If you can use OLE DB or using the Oracle Server driver ( native driver ) should be faster. ODBC puts another layer on top of the Oracle client so it too takes time to communicate between the layers.
Thank you
Don -
Performance Issue After Moving To 11g From 9i
We have a process that inserts approximately 275,000 records into a table containing 22,000,000+ records. This process consistently runs in 1 hour and 20 minutes in our Oracle 9i Database (Standard Edition). This same process runs in 8+ hours in our Oracle 11g Database (Standard Edition) which is a copy of the Oracle 9i Database.
Both databases run on identical hardware running Windows Server 2000. The Servers each have 2 GB RAM.
We have noticed that the process in 11g slows down significantly after it has been running for about 30 minutes and is continuously consuming memory. We also ran a test in which we dropped all indexes on the table being inserted into except the primary key and the process still ran for 8+ hours again.
We executed another test in which the same process was run however we had it insert into a table that contained 0 records and our performance was better than on the 9i Database.
Any ideas on what might be causing the performance issue?Welcome to the forums !
Troubleshooting performance issues is difficult when all of the factual data is absent. Pl review these threads to identify information that you need to post in order to help you.
When your query takes too long:
HOW TO: Post a SQL statement tuning request - template posting
When your query takes too long ...
HTH
Srini -
Performance issues after upgrading to 11g
hello,
We are facing a performance issue after upgrading from 10g to 11g.
as you can see, the tables named APPLSYS.FND_ENV_CONTEXT has grown to 15544880 records,
and oracle is using TABLE ACCESS FULL on it:
DELETE FND_ENV_CONTEXT E
WHERE NOT EXISTS
(SELECT 'X'
FROM FND_CONCURRENT_PROCESSES P
WHERE P.CONCURRENT_PROCESS_ID = E.CONCURRENT_PROCESS_ID)
AND ROWNUM < 10000;
Plan:
DELETE STATEMENT ALL_ROWSCost: 74,345
5 DELETE APPLSYS.FND_ENV_CONTEXT
4 COUNT STOPKEY
3 HASH JOIN RIGHT ANTI Cost: 74,345 Bytes: 3,108,980 Cardinality: 155,449
1 INDEX FULL SCAN INDEX (UNIQUE) APPLSYS.FND_CONCURRENT_PROCESSES_U1 Cost: 166 Bytes: 315,450 Cardinality: 63,090
2 TABLE ACCESS FULL TABLE APPLSYS.FND_ENV_CONTEXT Cost: 69,124 Bytes: 233,173,200 Cardinality: 15,544,880
select num_rows,last_analyzed from dba_tables where table_name='FND_ENV_CONTEXT'
15544880 07/07/2011 12:08:55
please advice.
OferPlease see these docs.
Table Fnd_env_context Growing Very Fast [ID 419990.1]
FND Related Tablespaces Growing at Rapid and Excessive Rate [ID 189800.1]
FNDCPPUR Request Does Not Always Delete Files From The File System, Many Files Will Be Denoted As "deletion failed" [ID 1335304.1]
Concurrent Processing - Best Practices for Performance for Concurrent Managers in E-Business Suite [ID 1057802.1]
Concurrent Processing - Purge Concurrent Request and/or Manager Data Program (FNDCPPUR) [ID 104282.1]
Thanks,
Hussein -
Performance issue with 11g vs. 10gR2
Experts,
One of my customers did some performance comparisons between oracle 10gR2 and 11gR2.
While in general, they are quite happy with improved performance in 11g over 10g, there is one query of their test sequence which performs approx. 20% slower.
The query in question is of the type "select count(*) from emp, emp, emp, emp, ..." which - I think - all of us have already used to do a quick and dirty test of DB performance, CPU speed or similar.
The customer is fully aware of the fact, that this test is very artificial and not representative, but they still want to better understand, why this is running significantly slower consistently on several platforms, during peak hours as well as off peak in both 11.1 and 11.2 than it did in 10.2
Thank you for any hints
ErwinHello!
My company is the customer Erwin mentioned in his first post.
We've now carried out additional testing and here are the results:
This script was used:
set lines 120
set autotrace off
set timing off
select * from v$version;
drop table cpt;
create table cpt (rn number, text varchar2(10)) ;
insert into cpt values(1, 'alpha');
insert into cpt values(10,'kappa');
commit;
exec dbms_stats.gather_table_stats(ownname => 'SYSTEM', tabname => 'CPT', estimate_percent => 100, method_opt => 'FOR ALL COLUMNS');
set timing on
set autotrace traceonly explain statistics
select count(*) from cpt, cpt, cpt, cpt, cpt, cpt, cpt, cpt;
set autotrace off
ALTER SESSION SET tracefile_identifier='CPT_PERF';
exec dbms_monitor.session_trace_enable(null, null, true, true);
select count(*) from cpt, cpt, cpt, cpt, cpt, cpt, cpt, cpt;
exec dbms_monitor.session_trace_disable(null, null);For the 10g database we get:
BANNER
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 IBM/AIX RISC System/6000: Version 10.2.0.4.0 - Productio
NLSRTL Version 10.2.0.4.0 - Production
[...preparation...]
Elapsed: 00:00:07.80
[...first execution plan...]
Statistics
1 recursive calls
0 db block gets
24 consistent gets
0 physical reads
0 redo size
522 bytes sent via SQL*Net to client
488 bytes received via SQL*Net from client
2 SQL*Net roundtrips to/from client
7 sorts (memory)
0 sorts (disk)
1 rows processed
PROFAHR:SQL> /
Elapsed: 00:00:08.03
Execution Plan
Plan hash value: 2108355742
| Id | Operation | Name | Rows | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 1 | 3675K (1)| 14:17:31 |
| 1 | SORT AGGREGATE | | 1 | | |
| 2 | MERGE JOIN CARTESIAN | | 100M| 3675K (1)| 14:17:31 |
| 3 | MERGE JOIN CARTESIAN | | 10M| 367K (1)| 01:25:46 |
| 4 | MERGE JOIN CARTESIAN | | 1000K| 36760 (1)| 00:08:35 |
| 5 | MERGE JOIN CARTESIAN | | 100K| 3683 (1)| 00:00:52 |
| 6 | MERGE JOIN CARTESIAN | | 10000 | 374 (0)| 00:00:06 |
| 7 | MERGE JOIN CARTESIAN | | 1000 | 42 (0)| 00:00:01 |
| 8 | MERGE JOIN CARTESIAN| | 100 | 7 (0)| 00:00:01 |
| 9 | TABLE ACCESS FULL | CPT | 10 | 2 (0)| 00:00:01 |
| 10 | BUFFER SORT | | 10 | 5 (0)| 00:00:01 |
| 11 | TABLE ACCESS FULL | CPT | 10 | 1 (0)| 00:00:01 |
| 12 | BUFFER SORT | | 10 | 42 (0)| 00:00:01 |
| 13 | TABLE ACCESS FULL | CPT | 10 | 0 (0)| 00:00:01 |
| 14 | BUFFER SORT | | 10 | 374 (0)| 00:00:06 |
| 15 | TABLE ACCESS FULL | CPT | 10 | 0 (0)| 00:00:01 |
| 16 | BUFFER SORT | | 10 | 3683 (1)| 00:00:52 |
| 17 | TABLE ACCESS FULL | CPT | 10 | 0 (0)| 00:00:01 |
| 18 | BUFFER SORT | | 10 | 36759 (1)| 00:08:35 |
| 19 | TABLE ACCESS FULL | CPT | 10 | 0 (0)| 00:00:01 |
| 20 | BUFFER SORT | | 10 | 367K (1)| 01:25:46 |
| 21 | TABLE ACCESS FULL | CPT | 10 | 0 (0)| 00:00:01 |
| 22 | BUFFER SORT | | 10 | 3675K (1)| 14:17:31 |
| 23 | TABLE ACCESS FULL | CPT | 10 | 0 (0)| 00:00:01 |
Statistics
0 recursive calls
0 db block gets
24 consistent gets
0 physical reads
0 redo size
522 bytes sent via SQL*Net to client
488 bytes received via SQL*Net from client
2 SQL*Net roundtrips to/from client
7 sorts (memory)
0 sorts (disk)
1 rows processed
COUNT(*)
100000000
Elapsed: 00:00:24.56
-- trace file output (profahr_ora_33161638_CPT_PERF.trc)
Dump file /oracle/oradata/PROFAHR/admin/udump/profahr_ora_33161638_CPT_PERF.trc
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORACLE_HOME = /oracle/product/10204
System name: AIX
Node name: as07902
Release: 1
Version: 6
Machine: 00C52E704C00
Instance name: PROFAHR
Redo thread mounted by this instance: 1
Oracle process number: 20
Unix process pid: 33161638, image: oracle@as07902 (TNS V1-V3)
*** 2011-06-14 10:34:29.296
*** SESSION ID:(45.14300) 2011-06-14 10:34:29.296
*** SERVICE NAME:(SYS$USERS) 2011-06-14 10:34:29.296
*** MODULE NAME:(SQL*Plus) 2011-06-14 10:34:29.296
*** ACTION NAME:() 2011-06-14 10:34:29.296
PARSING IN CURSOR #24 len=59 dep=0 uid=5 oct=3 lid=5 tim=7913167696462 hv=1413788073 ad='16668590'
select count(*) from cpt, cpt, cpt, cpt, cpt, cpt, cpt, cpt
END OF STMT
PARSE #24:c=10000,e=14470,p=0,cr=0,cu=0,mis=1,r=0,dep=0,og=1,tim=7913167696460
BINDS #24:
EXEC #24:c=0,e=51,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=1,tim=7913167696555
WAIT #24: nam='SQL*Net message to client' ela= 0 driver id=1650815232 #bytes=1 p3=0 obj#=-1 tim=7913167696614
FETCH #24:c=19020000,e=23797054,p=0,cr=24,cu=0,mis=0,r=1,dep=0,og=1,tim=7913191493688
WAIT #24: nam='SQL*Net message from client' ela= 381 driver id=1650815232 #bytes=1 p3=0 obj#=-1 tim=7913191494477
FETCH #24:c=0,e=1,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=0,tim=7913191494529
WAIT #24: nam='SQL*Net message to client' ela= 3 driver id=1650815232 #bytes=1 p3=0 obj#=-1 tim=7913191494547
WAIT #24: nam='SQL*Net message from client' ela= 435 driver id=1650815232 #bytes=1 p3=0 obj#=-1 tim=7913191494997
STAT #24 id=1 cnt=1 pid=0 pos=1 obj=0 op='SORT AGGREGATE (cr=24 pr=0 pw=0 time=23797048 us)'
STAT #24 id=2 cnt=100000000 pid=1 pos=1 obj=0 op='MERGE JOIN CARTESIAN (cr=24 pr=0 pw=0 time=246 us)'
STAT #24 id=3 cnt=10000000 pid=2 pos=1 obj=0 op='MERGE JOIN CARTESIAN (cr=21 pr=0 pw=0 time=220 us)'
STAT #24 id=4 cnt=1000000 pid=3 pos=1 obj=0 op='MERGE JOIN CARTESIAN (cr=18 pr=0 pw=0 time=165 us)'
STAT #24 id=5 cnt=100000 pid=4 pos=1 obj=0 op='MERGE JOIN CARTESIAN (cr=15 pr=0 pw=0 time=146 us)'
STAT #24 id=6 cnt=10000 pid=5 pos=1 obj=0 op='MERGE JOIN CARTESIAN (cr=12 pr=0 pw=0 time=127 us)'
STAT #24 id=7 cnt=1000 pid=6 pos=1 obj=0 op='MERGE JOIN CARTESIAN (cr=9 pr=0 pw=0 time=106 us)'
STAT #24 id=8 cnt=100 pid=7 pos=1 obj=0 op='MERGE JOIN CARTESIAN (cr=6 pr=0 pw=0 time=183 us)'
STAT #24 id=9 cnt=10 pid=8 pos=1 obj=53251 op='TABLE ACCESS FULL CPT (cr=3 pr=0 pw=0 time=181 us)'
STAT #24 id=10 cnt=100 pid=8 pos=2 obj=0 op='BUFFER SORT (cr=3 pr=0 pw=0 time=42 us)'
STAT #24 id=11 cnt=10 pid=10 pos=1 obj=53251 op='TABLE ACCESS FULL CPT (cr=3 pr=0 pw=0 time=11 us)'
STAT #24 id=12 cnt=1000 pid=7 pos=2 obj=0 op='BUFFER SORT (cr=3 pr=0 pw=0 time=55 us)'
STAT #24 id=13 cnt=10 pid=12 pos=1 obj=53251 op='TABLE ACCESS FULL CPT (cr=3 pr=0 pw=0 time=6 us)'
STAT #24 id=14 cnt=10000 pid=6 pos=2 obj=0 op='BUFFER SORT (cr=3 pr=0 pw=0 time=489 us)'
STAT #24 id=15 cnt=10 pid=14 pos=1 obj=53251 op='TABLE ACCESS FULL CPT (cr=3 pr=0 pw=0 time=10 us)'
STAT #24 id=16 cnt=100000 pid=5 pos=2 obj=0 op='BUFFER SORT (cr=3 pr=0 pw=0 time=4588 us)'
STAT #24 id=17 cnt=10 pid=16 pos=1 obj=53251 op='TABLE ACCESS FULL CPT (cr=3 pr=0 pw=0 time=9 us)'
STAT #24 id=18 cnt=1000000 pid=4 pos=2 obj=0 op='BUFFER SORT (cr=3 pr=0 pw=0 time=46335 us)'
STAT #24 id=19 cnt=10 pid=18 pos=1 obj=53251 op='TABLE ACCESS FULL CPT (cr=3 pr=0 pw=0 time=5 us)'
STAT #24 id=20 cnt=10000000 pid=3 pos=2 obj=0 op='BUFFER SORT (cr=3 pr=0 pw=0 time=459465 us)'
STAT #24 id=21 cnt=10 pid=20 pos=1 obj=53251 op='TABLE ACCESS FULL CPT (cr=3 pr=0 pw=0 time=7 us)'
STAT #24 id=22 cnt=100000000 pid=2 pos=2 obj=0 op='BUFFER SORT (cr=3 pr=0 pw=0 time=4616973 us)'
STAT #24 id=23 cnt=10 pid=22 pos=1 obj=53251 op='TABLE ACCESS FULL CPT (cr=3 pr=0 pw=0 time=9 us)' And now for the 11g database:
BANNER
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 IBM/AIX RISC System/6000: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.0 - Production
[...preparation...]
Elapsed: 00:00:09.51
[...first execution plan...]
Statistics
1 recursive calls
0 db block gets
16 consistent gets
0 physical reads
0 redo size
526 bytes sent via SQL*Net to client
520 bytes received via SQL*Net from client
2 SQL*Net roundtrips to/from client
7 sorts (memory)
0 sorts (disk)
1 rows processed
PDIGIT:SQL> /
Elapsed: 00:00:09.08
Execution Plan
Plan hash value: 2108355742
| Id | Operation | Name | Rows | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 1 | 3020K (1)| 10:04:10 |
| 1 | SORT AGGREGATE | | 1 | | |
| 2 | MERGE JOIN CARTESIAN | | 100M| 3020K (1)| 10:04:10 |
| 3 | MERGE JOIN CARTESIAN | | 10M| 302K (1)| 01:00:26 |
| 4 | MERGE JOIN CARTESIAN | | 1000K| 30218 (1)| 00:06:03 |
| 5 | MERGE JOIN CARTESIAN | | 100K| 3029 (1)| 00:00:37 |
| 6 | MERGE JOIN CARTESIAN | | 10000 | 308 (1)| 00:00:04 |
| 7 | MERGE JOIN CARTESIAN | | 1000 | 35 (0)| 00:00:01 |
| 8 | MERGE JOIN CARTESIAN| | 100 | 6 (0)| 00:00:01 |
| 9 | TABLE ACCESS FULL | CPT | 10 | 2 (0)| 00:00:01 |
| 10 | BUFFER SORT | | 10 | 4 (0)| 00:00:01 |
| 11 | TABLE ACCESS FULL | CPT | 10 | 0 (0)| 00:00:01 |
| 12 | BUFFER SORT | | 10 | 35 (0)| 00:00:01 |
| 13 | TABLE ACCESS FULL | CPT | 10 | 0 (0)| 00:00:01 |
| 14 | BUFFER SORT | | 10 | 308 (1)| 00:00:04 |
| 15 | TABLE ACCESS FULL | CPT | 10 | 0 (0)| 00:00:01 |
| 16 | BUFFER SORT | | 10 | 3028 (1)| 00:00:37 |
| 17 | TABLE ACCESS FULL | CPT | 10 | 0 (0)| 00:00:01 |
| 18 | BUFFER SORT | | 10 | 30217 (1)| 00:06:03 |
| 19 | TABLE ACCESS FULL | CPT | 10 | 0 (0)| 00:00:01 |
| 20 | BUFFER SORT | | 10 | 302K (1)| 01:00:26 |
| 21 | TABLE ACCESS FULL | CPT | 10 | 0 (0)| 00:00:01 |
| 22 | BUFFER SORT | | 10 | 3020K (1)| 10:04:10 |
| 23 | TABLE ACCESS FULL | CPT | 10 | 0 (0)| 00:00:01 |
Statistics
0 recursive calls
0 db block gets
16 consistent gets
0 physical reads
0 redo size
526 bytes sent via SQL*Net to client
520 bytes received via SQL*Net from client
2 SQL*Net roundtrips to/from client
7 sorts (memory)
0 sorts (disk)
1 rows processed
COUNT(*)
100000000
Elapsed: 00:00:28.85
-- trace file output (PDIGIT_ora_27066482_CPT_PERF.trc)
Trace file /oracle/oradata/PDIGIT/diag/rdbms/pdigit/PDIGIT/trace/PDIGIT_ora_27066482_CPT_PERF.trc
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORACLE_HOME = /oracle/product/11202
System name: AIX
Node name: as07902
Release: 1
Version: 6
Machine: 00C52E704C00
Instance name: PDIGIT
Redo thread mounted by this instance: 1
Oracle process number: 31
Unix process pid: 27066482, image: oracle@as07902 (TNS V1-V3)
*** 2011-06-14 10:24:50.724
*** SESSION ID:(331.21951) 2011-06-14 10:24:50.724
*** CLIENT ID:() 2011-06-14 10:24:50.724
*** SERVICE NAME:(SYS$USERS) 2011-06-14 10:24:50.724
*** MODULE NAME:(SQL*Plus) 2011-06-14 10:24:50.724
*** ACTION NAME:() 2011-06-14 10:24:50.724
PARSING IN CURSOR #4578508928 len=59 dep=0 uid=5 oct=3 lid=5 tim=8102505154564 hv=1413788073 ad='70000002e203ff8' sqlid='fqkgnaja49cd9'
select count(*) from cpt, cpt, cpt, cpt, cpt, cpt, cpt, cpt
END OF STMT
PARSE #4578508928:c=10000,e=18215,p=0,cr=0,cu=0,mis=1,r=0,dep=0,og=1,plh=2108355742,tim=8102505154562
EXEC #4578508928:c=0,e=65,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=1,plh=2108355742,tim=8102505154716
WAIT #4578508928: nam='SQL*Net message to client' ela= 6 driver id=1650815232 #bytes=1 p3=0 obj#=-1 tim=8102505154838
FETCH #4578508928:c=21270000,e=28828643,p=0,cr=16,cu=0,mis=0,r=1,dep=0,og=1,plh=2108355742,tim=8102533983509
STAT #4578508928 id=1 cnt=1 pid=0 pos=1 obj=0 op='SORT AGGREGATE (cr=16 pr=0 pw=0 time=28828629 us)'
STAT #4578508928 id=2 cnt=100000000 pid=1 pos=1 obj=0 op='MERGE JOIN CARTESIAN (cr=16 pr=0 pw=0 time=73243303 us cost=3020823 size=0 card=100000000)'
STAT #4578508928 id=3 cnt=10000000 pid=2 pos=1 obj=0 op='MERGE JOIN CARTESIAN (cr=14 pr=0 pw=0 time=8010638 us cost=302092 size=0 card=10000000)'
STAT #4578508928 id=4 cnt=1000000 pid=3 pos=1 obj=0 op='MERGE JOIN CARTESIAN (cr=12 pr=0 pw=0 time=818447 us cost=30218 size=0 card=1000000)'
STAT #4578508928 id=5 cnt=100000 pid=4 pos=1 obj=0 op='MERGE JOIN CARTESIAN (cr=10 pr=0 pw=0 time=86497 us cost=3029 size=0 card=100000)'
STAT #4578508928 id=6 cnt=10000 pid=5 pos=1 obj=0 op='MERGE JOIN CARTESIAN (cr=8 pr=0 pw=0 time=9531 us cost=308 size=0 card=10000)'
STAT #4578508928 id=7 cnt=1000 pid=6 pos=1 obj=0 op='MERGE JOIN CARTESIAN (cr=6 pr=0 pw=0 time=1519 us cost=35 size=0 card=1000)'
STAT #4578508928 id=8 cnt=100 pid=7 pos=1 obj=0 op='MERGE JOIN CARTESIAN (cr=4 pr=0 pw=0 time=327 us cost=6 size=0 card=100)'
STAT #4578508928 id=9 cnt=10 pid=8 pos=1 obj=22700 op='TABLE ACCESS FULL CPT (cr=2 pr=0 pw=0 time=353 us cost=2 size=0 card=10)'
STAT #4578508928 id=10 cnt=100 pid=8 pos=2 obj=0 op='BUFFER SORT (cr=2 pr=0 pw=0 time=176 us cost=4 size=0 card=10)'
STAT #4578508928 id=11 cnt=10 pid=10 pos=1 obj=22700 op='TABLE ACCESS FULL CPT (cr=2 pr=0 pw=0 time=27 us cost=0 size=0 card=10)'
STAT #4578508928 id=12 cnt=1000 pid=7 pos=2 obj=0 op='BUFFER SORT (cr=2 pr=0 pw=0 time=436 us cost=35 size=0 card=10)'
STAT #4578508928 id=13 cnt=10 pid=12 pos=1 obj=22700 op='TABLE ACCESS FULL CPT (cr=2 pr=0 pw=0 time=8 us cost=0 size=0 card=10)'
STAT #4578508928 id=14 cnt=10000 pid=6 pos=2 obj=0 op='BUFFER SORT (cr=2 pr=0 pw=0 time=2941 us cost=308 size=0 card=10)'
STAT #4578508928 id=15 cnt=10 pid=14 pos=1 obj=22700 op='TABLE ACCESS FULL CPT (cr=2 pr=0 pw=0 time=8 us cost=0 size=0 card=10)'
STAT #4578508928 id=16 cnt=100000 pid=5 pos=2 obj=0 op='BUFFER SORT (cr=2 pr=0 pw=0 time=27468 us cost=3028 size=0 card=10)'
STAT #4578508928 id=17 cnt=10 pid=16 pos=1 obj=22700 op='TABLE ACCESS FULL CPT (cr=2 pr=0 pw=0 time=8 us cost=0 size=0 card=10)'
STAT #4578508928 id=18 cnt=1000000 pid=4 pos=2 obj=0 op='BUFFER SORT (cr=2 pr=0 pw=0 time=240715 us cost=30217 size=0 card=10)'
STAT #4578508928 id=19 cnt=10 pid=18 pos=1 obj=22700 op='TABLE ACCESS FULL CPT (cr=2 pr=0 pw=0 time=7 us cost=0 size=0 card=10)'
STAT #4578508928 id=20 cnt=10000000 pid=3 pos=2 obj=0 op='BUFFER SORT (cr=2 pr=0 pw=0 time=2462884 us cost=302092 size=0 card=10)'
STAT #4578508928 id=21 cnt=10 pid=20 pos=1 obj=22700 op='TABLE ACCESS FULL CPT (cr=2 pr=0 pw=0 time=7 us cost=0 size=0 card=10)'
STAT #4578508928 id=22 cnt=100000000 pid=2 pos=2 obj=0 op='BUFFER SORT (cr=2 pr=0 pw=0 time=21633068 us cost=3020822 size=0 card=10)'
STAT #4578508928 id=23 cnt=10 pid=22 pos=1 obj=22700 op='TABLE ACCESS FULL CPT (cr=2 pr=0 pw=0 time=9 us cost=0 size=0 card=10)'
WAIT #4578508928: nam='SQL*Net message from client' ela= 513 driver id=1650815232 #bytes=1 p3=0 obj#=-1 tim=8102533985627
FETCH #4578508928:c=0,e=7,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=0,plh=2108355742,tim=8102533985752
WAIT #4578508928: nam='SQL*Net message to client' ela= 7 driver id=1650815232 #bytes=1 p3=0 obj#=-1 tim=8102533985803
WAIT #4578508928: nam='SQL*Net message from client' ela= 485 driver id=1650815232 #bytes=1 p3=0 obj#=-1 tim=8102533986331
CLOSE #4578508928:c=0,e=35,dep=0,type=0,tim=8102533986415 Remarks:
a) I omited the autoexplain plan for the first execution as it is exactly the same as the second one.
b) Several non relevant messages from sql*plus were also eliminated.
c) I also deleted some non relevant lines out of the trace files.
d) No tkprof is added because it delivers no additional value.
Observations:
1) Execution time is
Version 1st 2nd trace
10g 7.80 8.03 24.56
11g 9.51 9.08 28.85
detla 22% 13% 17%2) Execution time increases significantly when tracing is enabled, although the generated trace file is really tiny.
Thanks for your help!
Regards,
Daniel -
Oracle Advance Compression Deletion Performance issue in 11g R1
Hi,
We have implemented OAC in our datawarehouse environment to enable table and index compression. We tested in our Test machine and we gained almost 600GB due to advance compression without any issues and all the informatica loads are running fine. And hence we implemented the same in our production but unfortunately two sessions which are involving deletion of data are taking more time (3 times of actual timing) for completion which affects our production environment.
The tables creating issue are all non partitioned tables.
I need to know whether Oracle Advance Compression will decrease delete performance? and is there any way to disable advance compression on those particular tables?
Our environment details:
DB earlier version: 11.1.0.6
DB current version : Oracle 11.1.0.7
Applied PSU: 11.1.0.7.6
Operating system: Solaris 5.9
Syntax used for compression:
ALTER TABLE TABLE_NAME MOVE COMPRESS FOR ALL OPERATIONS;
Thanks in Advance.Hi,
Thanks for your reply.
The note is for update performance issue and also I have applied necessary patches for improving update performance.
The update sessions are all working fine. only the deletion sessions are creating problem.
Could someone help me out to clear this problem.
Thanks,
VBK -
Oracle SOA 11g Performance Issue
Hi,
We have set up Oracle SOA Suite on AIX environment. Java which we are using is IBM Jdk 1.6. Recently we are hit with performance issue. Frequently we are getting out of memory exception and we need to restart the server and sometimes physically reboot the machine, because out of 16 GB of RAM 4GB we have given as heap space to Admin Server, 7 GB to SOA Server but it is taking more than 7 GB as heap space. On stopping or killing both the services memory is not getting released
SOA Suite Version : 11.1.1.3
Instance Node: Single Node
I collected the logs and tried to analyze in Thread Dump Analyzer and i could see objects(Reserved) is taking 100% of the CPU Utilization.
We are getting the following error highlighed in the analyzer. There are about 200+ threads got stuck.
"HTTPThreadGroup-42" prio=10 tid=0x6382ba28 nid=0x20bf4 waiting on condition [0x6904f000..0x6904fb94]
at sun.misc.Unsafe.park(Native Method)
at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:146)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireNanos(AbstractQueuedSynchronizer.java:772)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireNanos(AbstractQueuedSynchronizer.java:1087)
at java.util.concurrent.SynchronousQueue$Node.waitForPut(SynchronousQueue.java:291)
at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:443)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:475)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:674)
at java.lang.Thread.run(Thread.java:595)
"HTTPThreadGroup-41" prio=10 tid=0x6ae3cce0 nid=0x20bf0 waiting on condition [0x68d8f000..0x68d8fc14]
at sun.misc.Unsafe.park(Native Method)
at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:146)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireNanos(AbstractQueuedSynchronizer.java:772)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireNanos(AbstractQueuedSynchronizer.java:1087)
at java.util.concurrent.SynchronousQueue$Node.waitForPut(SynchronousQueue.java:291)
at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:443)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:475)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:674)
at java.lang.Thread.run(Thread.java:595)
Has anyone faced same issue? We are badly hit with this performance issue in UAT
Please concider this on high priority and someone please help us
Regards,
SundarAlways raise a case with Oracle Support for such issues.
Regards,
Anuj -
OAM 11g R2- Performance issue /oam/auth/cred
Hi Guys,
we are facing issues regarding oam performance we are seeing unusual time delay on load, at submission of /oam/auth/cred to the landing page. we have 2 managed server having 2gb of heap size.
Any pointers will really helpful.
Regards
975200Hi 975200,
This error occurs during login, if some credentials or request ID is not provided in post data. Your issue is because of performance issue only.
Try increasing cache size: OAM Console --> Access Manager --> Access Manager Settings --> Try increasing Resource Matching cache
Check Session Count: Check number of sessions present while running load run, which gives actual users successfully logging in.
Which tool you are using for performance test?
What are server usages during test? (all servers)
Try to login manually during test and check if you are able to login or not?
Thanks & Regards,
Chinni Ravitheja -
OBIEE 11g: SAML SSO performance issues
Hi All,
We have implemented IDP initiated SAML2-SSO with SQL Authenticator to get user/group information.
After implementing this we see following issues:
1. Login time takes around 1 minute. In nqserver.log file I can see following message:
[2014-12-22T12:55:09.000-05:00] [OracleBIServerComponent] [NOTIFICATION:1] [] [] [ecid: 0000Kdn8fzjFO99_ndL6iZ1Ka4_f0000FW,0:1:1:6] [tid: 1594] User 'BISystemUser(XXXX)' spent 28720.000000 milliseconds for http response when impersonateUserWithLanguageAndProperties
2. General navigation through application is also slow.
Can you please provide any pointers to fix these performance issues?
Thanks,
MahipalI am experiencing performance issues with view selector. It repeats the SQL for each view resulting in duplicate SQL to be run and thus resulting in poor performance of reports. Is this an expected behavior of view selector?
Thanks. -
Comples SQL performance issues in 11g
We are facing Performance Issues for a Complex SQL in Version 11.2. But earlier in 11.1 this SQL is performing well..
We dont have previous versions SQL Plan for this SQL Statement.
We Dont want to rewrite the SQL as this SQL has performed Well in previous versions.
Do we need to change the optimizer parameters so that the Query will be tuned automatically.
Please help me outIf you're licensed for the SQL Tuning Pack, you could run the query through the SQL Tuning Advisor see if it can improve.
It will probably recommend a SQL profile which you can accept.
You could also hint the SQL directly - you might just want to look at /*+ OPT_PARAM('OPTIMIZER_FEATURES_ENABLE','11.1.0.x') */ 'x' depending on your exact 11.1 version.
You could alter the session, set optimizer_features_enable and capture a SQL profile manually for the 11.1 plan.
You could do some root cause analysis as suggested by Karthick.
See threads:
How to post a SQL tuning request: HOW TO: Post a SQL statement tuning request - template posting
When your query takes too long: When your query takes too long ...
For some recent relevant examples about identifying plans changes following upgrade, see also Coskan Gundogar's blog:
http://coskan.wordpress.com/2011/02/14/plan-stability-through-upgrade-why-is-my-plan-changed-bugfixes-1/
http://coskan.wordpress.com/2011/02/15/plan-stability-through-upgrade-why-is-my-plan-changed-bugfixes-2/
http://coskan.wordpress.com/2011/02/17/plan-stability-through-upgrade-why-is-my-plan-changed-new-optimizer-parameters/ -
Performance issues with class loader on Windows server
We are observing some performance issues in our application. We are Using weblogic 11g with Java6 on a windows 2003 server
The thread dumps indicate many threads are waiting in queue for the native file methods:
"[ACTIVE] ExecuteThread: '106' for queue: 'weblogic.kernel.Default (self-tuning)'" RUNNABLE
java.io.WinNTFileSystem.getBooleanAttributes(Native Method)
java.io.File.exists(Unknown Source)
weblogic.utils.classloaders.ClasspathClassFinder.getFileSource(ClasspathClassFinder.java:398)
weblogic.utils.classloaders.ClasspathClassFinder.getSourcesInternal(ClasspathClassFinder.java:347)
weblogic.utils.classloaders.ClasspathClassFinder.getSource(ClasspathClassFinder.java:316)
weblogic.application.io.ManifestFinder.getSource(ManifestFinder.java:75)
weblogic.utils.classloaders.MultiClassFinder.getSource(MultiClassFinder.java:67)
weblogic.application.utils.CompositeWebAppFinder.getSource(CompositeWebAppFinder.java:71)
weblogic.utils.classloaders.MultiClassFinder.getSource(MultiClassFinder.java:67)
weblogic.utils.classloaders.MultiClassFinder.getSource(MultiClassFinder.java:67)
weblogic.utils.classloaders.CodeGenClassFinder.getSource(CodeGenClassFinder.java:33)
weblogic.utils.classloaders.GenericClassLoader.findResource(GenericClassLoader.java:210)
weblogic.utils.classloaders.GenericClassLoader.getResourceInternal(GenericClassLoader.java:160)
weblogic.utils.classloaders.GenericClassLoader.getResource(GenericClassLoader.java:182)
java.lang.ClassLoader.getResourceAsStream(Unknown Source)
javax.xml.parsers.SecuritySupport$4.run(Unknown Source)
java.security.AccessController.doPrivileged(Native Method)
javax.xml.parsers.SecuritySupport.getResourceAsStream(Unknown Source)
javax.xml.parsers.FactoryFinder.findJarServiceProvider(Unknown Source)
javax.xml.parsers.FactoryFinder.find(Unknown Source)
javax.xml.parsers.DocumentBuilderFactory.newInstance(Unknown Source)
org.ajax4jsf.context.ResponseWriterContentHandler.<init>(ResponseWriterContentHandler.java:48)
org.ajax4jsf.context.ViewResources$HeadResponseWriter.<init>(ViewResources.java:259)
org.ajax4jsf.context.ViewResources.processHeadResources(ViewResources.java:445)
org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:193)
org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
On googling this seems to be an issue with java file handling on windows servers and I couldn't find a solution yet. Any recommendation or pointer is appreciatedHi shubhu,
I just analyzed your partial Thread Dump data, the problem is that the ajax4jsf framework ResponseWriterContentHandler triggers internally a new instance of the DocumentBuilderFactory; every time; triggering heavy IO contention because of Class loader / JAR file search operations.
Too many of these IO operations under heavy load will create excessive contention and severe performance degradation; regardless of the OS you are running your JVM on.
Please review the link below and see if this is related to your problem.. This is a known issue in JBOSS JIRA when using RichFaces / ajaxJSF.
https://issues.jboss.org/browse/JBPAPP-6166
Regards,
P-H
http://javaeesupportpatterns.blogspot.com/
Maybe you are looking for
-
HP Officejet pro 8500a prints endless stream of un-ordered blank sheets with one character on them
My HP Officejet Pro 8500a worked fine until about 2 weeks ago (it is about 3 months old). It began printing endlessly (during a period that no documents are being sent to the printer - I want to be clear this is not in regard to ORDERED documents fr
-
Trouble Installing Windows 8.1 on Yosemite
I am having trouble installing Windows 8.1 using the Bootcamp utility on OS X Yosemite. I downloaded the ISO file for 64 bit 8.1 from Microsoft and put it onto an 8gb USB drive using Bootcamp. My Macbook Pro is an early 2011 (MacBookPro8,2) and is cu
-
Can't print to pdf 8.13 Standard
When I try to print to pdf from Internet Explorer it hangs at about 60% and locks up internet explorer. When I try to print to pdf from Word 2007 it will crash Word immediately. So far I have updated from adobe 8.10 to 8.13, repaired the installation
-
P_r_request- get_logsys failure when updating InfoObject from InfoObject
I'm trying to update master data of an InfoObject ZLCLROLE based on another InfoObject 0TCTROLE. I only need the master data local to the local BI system. So in the start routine I set: SOURCE_SYSTEM = p_r_request->get_logsys. to identify the local B
-
Problem locating files after migration from PC to Mac
I have just migrated files from my PC to my Mac. I have logged into the new user account but I finder is telling me there are no files located in the new user. It also doesnt appear that a "user" folder has been created for the new user which may be