Problems with 11G RAC

Hi,
we have a production database now in 11g (11.1.0.7) with RAC (2 nodes). We have migrated from 10g single instance. The migration was clear, with new hardware and with data pumps. All works better than before, except some queries, one of these queries only have about 200 rows, and in the 10g system expended about 4 seconds. Now expends 3 or 4 or 8 seconds, but sometimes expends 34 seconds or 1 minute, is really extrange. The example query is executed over tables that are frecuently updated.
When expend 4 seconds:
SQL Text
select SIN1COD, SIN1ANO, GES1COD, SINCNRC, GAB2COD, A.TIG3COD, ODG2COD, ODG2CO1, GESDPET, GESDREC, GESDMAX, CIA2COD, (SELECT COUNT(*) FROM CAPREC WHERE A.SIN3COD = CAPREC.SIN3COD
AND A.SIN3ANO = CAPREC.SIN3ANO AND A.TIG3COD=CAPREC.TIG3COD AND A.GES1COD = CAPREC.GES3COD) as CUENTA, (case tig3cod when 'AVA' then (select AVANRES from CAPAVA ava where
ava.sin3cod=a.sin3cod and ava.sin3ano=a.sin3ano and ava.ges3cod=a.ges1cod) else null end) AVANRES, SINBCCA,PERCNOM, GESCOTR as XXXCRES , (select min( ttacdes ) from
captta,captar,capcyt where capcyt.tar3cod = captar.tar1cod and captta.tta1cod = captar.tta2cod and cia3cod=capsin.cia2cod and tarbval='true' ) tipotarifa, (select count( distinct
ttacdes ) from captta,captar,capcyt where capcyt.tar3cod = captar.tar1cod and captta.tta1cod = captar.tta2cod and cia3cod=capsin.cia2cod and tarbval='true' ) cuentatipotarifa from
CAPSIN, CAPGES A,CAPPER where CAPSIN.TRA2COD=CAPPER.PER1COD and CAPSIN.TRA2COD= :1 and CAPSIN.SIN1COD=A.SIN3COD and CAPSIN.SIN1ANO=A.SIN3ANO and GESDREC is not null and GESBEST is
null order by GESDREC
Global Information
Status : DONE (ALL ROWS)
Instance ID : 2
Session ID : 439
SQL ID : 3ahrv695tm5yd
SQL Execution ID : 33566537
Plan Hash Value : 599533631
Execution Started : 05/22/2009 10:50:09
First Refresh Time : 05/22/2009 10:50:13
Last Refresh Time : 05/22/2009 10:50:13
| Elapsed | Cpu | IO | Concurrency | Cluster | Other | Fetch | Buffer | Reads |
| Time(s) | Time(s) | Waits(s) | Waits(s) | Waits(s) | Waits(s) | Calls | Gets | |
| 3.89 | 0.47 | 3.15 | 0.00 | 0.21 | 0.05 | 5 | 85732 | 670 |
SQL Plan Monitoring Details
==========================================================================================================================================================================
| Id | Operation | Name | Rows | Cost | Time | Start | Starts | Rows | Memory | Activity | Activity Detail |
| | | | (Estim) | | Active(s) | Active | | (Actual) | (Max) | (percent) | (sample #) |
==========================================================================================================================================================================
| 0 | SELECT STATEMENT | | | 21968 | 1 | +4 | 43 | 43 | | | |
| 1 | SORT AGGREGATE | | 1 | | 1 | +4 | 43 | 43 | | | |
| 2 | INDEX RANGE SCAN | CAPRECP1 | 1 | 3 | 1 | +4 | 43 | 20 | | | |
| 3 | TABLE ACCESS BY INDEX ROWID | CAPAVA | 1 | 4 | 1 | +4 | 1 | 1 | | | |
| 4 | INDEX RANGE SCAN | CAPAVAP1 | 1 | 3 | 1 | +4 | 1 | 1 | | | |
| 5 | SORT AGGREGATE | | 1 | | 1 | +4 | 7 | 7 | | | |
| 6 | HASH JOIN | | 23 | 9 | 1 | +4 | 7 | 141 | 961K | | |
| 7 | HASH JOIN | | 23 | 6 | 1 | +4 | 7 | 142 | 1587K | | |
| 8 | INDEX RANGE SCAN | CAPCYT_I4 | 23 | 2 | 1 | +4 | 7 | 174 | | | |
| 9 | TABLE ACCESS FULL | CAPTAR | 215 | 3 | 1 | +4 | 7 | 1505 | | | |
| 10 | VIEW | index$_join$_003 | 5 | 3 | 1 | +4 | 7 | 35 | | | |
| 11 | HASH JOIN | | | | 1 | +4 | 7 | 35 | 519K | | |
| 12 | INDEX FAST FULL SCAN | CAPTTAP1 | 5 | 1 | 1 | +4 | 7 | 35 | | | |
| 13 | INDEX FAST FULL SCAN | IDX$$_00010008 | 5 | 1 | 1 | +4 | 7 | 35 | | | |
| 14 | SORT GROUP BY | | 1 | | 1 | +4 | 7 | 7 | 2048 | | |
| 15 | HASH JOIN | | 23 | 9 | 1 | +4 | 7 | 141 | 939K | | |
| 16 | HASH JOIN | | 23 | 6 | 1 | +4 | 7 | 142 | 1587K | | |
| 17 | INDEX RANGE SCAN | CAPCYT_I4 | 23 | 2 | 1 | +4 | 7 | 174 | | | |
| 18 | TABLE ACCESS FULL | CAPTAR | 215 | 3 | 1 | +4 | 7 | 1505 | | | |
| 19 | VIEW | index$_join$_006 | 5 | 3 | 1 | +4 | 7 | 35 | | | |
| 20 | HASH JOIN | | | | 1 | +4 | 7 | 35 | 520K | | |
| 21 | INDEX FAST FULL SCAN | CAPTTAP1 | 5 | 1 | 1 | +4 | 7 | 35 | | | |
| 22 | INDEX FAST FULL SCAN | IDX$$_00010008 | 5 | 1 | 1 | +4 | 7 | 35 | | | |
| 23 | SORT ORDER BY | | 4281 | 21968 | 1 | +4 | 1 | 43 | 40960 | | |
| 24 | HASH JOIN | | 4281 | 21690 | 1 | +4 | 1 | 43 | 1436K | | |
| 25 | NESTED LOOPS | | 4165 | 1673 | 1 | +4 | 1 | 2964 | | | |
| 26 | TABLE ACCESS BY INDEX ROWID | CAPPER | 1 | 1 | 1 | +4 | 1 | 1 | | | |
| 27 | INDEX UNIQUE SCAN | CAPPERP1 | 1 | 0 | 1 | +4 | 1 | 1 | | | |
| 28 | TABLE ACCESS FULL | CAPSIN | 4165 | 1672 | 1 | +4 | 1 | 2964 | | | |
| 29 | TABLE ACCESS FULL | CAPGES | 10166 | 20016 | 3 | +2 | 1 | 1523 | | 100.00 | Cpu (1) |
| | | | | | | | | | | | db file sequential read (1) |
| | | | | | | | | | | | read by other session (1) |
==========================================================================================================================================================================
In the same node when expend 30 s.
SQL Text
select SIN1COD, SIN1ANO, GES1COD, SINCNRC, GAB2COD, A.TIG3COD, ODG2COD, ODG2CO1, GESDPET, GESDREC, GESDMAX, CIA2COD, (SELECT COUNT(*) FROM CAPREC WHERE A.SIN3COD = CAPREC.SIN3COD
AND A.SIN3ANO = CAPREC.SIN3ANO AND A.TIG3COD=CAPREC.TIG3COD AND A.GES1COD = CAPREC.GES3COD) as CUENTA, (case tig3cod when 'AVA' then (select AVANRES from CAPAVA ava where
ava.sin3cod=a.sin3cod and ava.sin3ano=a.sin3ano and ava.ges3cod=a.ges1cod) else null end) AVANRES, SINBCCA,PERCNOM, GESCOTR as XXXCRES , (select min( ttacdes ) from
captta,captar,capcyt where capcyt.tar3cod = captar.tar1cod and captta.tta1cod = captar.tta2cod and cia3cod=capsin.cia2cod and tarbval='true' ) tipotarifa, (select count( distinct
ttacdes ) from captta,captar,capcyt where capcyt.tar3cod = captar.tar1cod and captta.tta1cod = captar.tta2cod and cia3cod=capsin.cia2cod and tarbval='true' ) cuentatipotarifa from
CAPSIN, CAPGES A,CAPPER where CAPSIN.TRA2COD=CAPPER.PER1COD and CAPSIN.TRA2COD= :1 and CAPSIN.SIN1COD=A.SIN3COD and CAPSIN.SIN1ANO=A.SIN3ANO and GESDREC is not null and GESBEST is
null order by GESDREC
Global Information
Status : DONE (ALL ROWS)
Instance ID : 2
Session ID : 465
SQL ID : 3ahrv695tm5yd
SQL Execution ID : 33566581
Plan Hash Value : 599533631
Execution Started : 05/22/2009 11:17:44
First Refresh Time : 05/22/2009 11:17:50
Last Refresh Time : 05/22/2009 11:18:17
| Elapsed | Cpu | IO | Concurrency | Cluster | Other | Fetch | Buffer | Reads |
| Time(s) | Time(s) | Waits(s) | Waits(s) | Waits(s) | Waits(s) | Calls | Gets | |
| 32 | 0.45 | 30 | 0.00 | 1.40 | 0.39 | 3 | 85565 | 4023 |
SQL Plan Monitoring Details
===========================================================================================================================================================================
| Id | Operation | Name | Rows | Cost | Time | Start | Starts | Rows | Memory | Activity | Activity Detail |
| | | | (Estim) | | Active(s) | Active | | (Actual) | (Max) | (percent) | (sample #) |
===========================================================================================================================================================================
| 0 | SELECT STATEMENT | | | 21968 | 9 | +25 | 26 | 26 | | | |
| 1 | SORT AGGREGATE | | 1 | | 9 | +25 | 26 | 26 | | | |
| 2 | INDEX RANGE SCAN | CAPRECP1 | 1 | 3 | 1 | +33 | 26 | 1 | | | |
| 3 | TABLE ACCESS BY INDEX ROWID | CAPAVA | 1 | 4 | 9 | +25 | 4 | 4 | | | |
| 4 | INDEX RANGE SCAN | CAPAVAP1 | 1 | 3 | 9 | +25 | 4 | 4 | | | |
| 5 | SORT AGGREGATE | | 1 | | 1 | +25 | 2 | 2 | | | |
| 6 | HASH JOIN | | 23 | 9 | 1 | +25 | 2 | 17 | 726K | | |
| 7 | HASH JOIN | | 23 | 6 | 1 | +25 | 2 | 17 | 1585K | | |
| 8 | INDEX RANGE SCAN | CAPCYT_I4 | 23 | 2 | 1 | +25 | 2 | 21 | | | |
| 9 | TABLE ACCESS FULL | CAPTAR | 215 | 3 | 1 | +25 | 2 | 430 | | | |
| 10 | VIEW | index$_join$_003 | 5 | 3 | 1 | +25 | 2 | 10 | | | |
| 11 | HASH JOIN | | | | 1 | +25 | 2 | 10 | 518K | | |
| 12 | INDEX FAST FULL SCAN | CAPTTAP1 | 5 | 1 | 1 | +25 | 2 | 10 | | | |
| 13 | INDEX FAST FULL SCAN | IDX$$_00010008 | 5 | 1 | 1 | +25 | 2 | 10 | | | |
| 14 | SORT GROUP BY | | 1 | | 1 | +25 | 2 | 2 | 2048 | | |
| 15 | HASH JOIN | | 23 | 9 | 1 | +25 | 2 | 17 | 716K | | |
| 16 | HASH JOIN | | 23 | 6 | 1 | +25 | 2 | 17 | 1587K | | |
| 17 | INDEX RANGE SCAN | CAPCYT_I4 | 23 | 2 | 1 | +25 | 2 | 21 | | | |
| 18 | TABLE ACCESS FULL | CAPTAR | 215 | 3 | 1 | +25 | 2 | 430 | | | |
| 19 | VIEW | index$_join$_006 | 5 | 3 | 1 | +25 | 2 | 10 | | | |
| 20 | HASH JOIN | | | | 1 | +25 | 2 | 10 | 520K | | |
| 21 | INDEX FAST FULL SCAN | CAPTTAP1 | 5 | 1 | 1 | +25 | 2 | 10 | | | |
| 22 | INDEX FAST FULL SCAN | IDX$$_00010008 | 5 | 1 | 1 | +25 | 2 | 10 | | | |
| 23 | SORT ORDER BY | | 4281 | 21968 | 9 | +25 | 1 | 26 | 24576 | | |
| 24 | HASH JOIN | | 4281 | 21690 | 28 | +6 | 1 | 26 | 1280K | | |
| 25 | NESTED LOOPS | | 4165 | 1673 | 1 | +6 | 1 | 689 | | | |
| 26 | TABLE ACCESS BY INDEX ROWID | CAPPER | 1 | 1 | 1 | +6 | 1 | 1 | | | |
| 27 | INDEX UNIQUE SCAN | CAPPERP1 | 1 | 0 | 1 | +6 | 1 | 1 | | | |
| 28 | TABLE ACCESS FULL | CAPSIN | 4165 | 1672 | 1 | +6 | 1 | 689 | | | |
| 29 | TABLE ACCESS FULL | CAPGES | 10166 | 20016 | 32 | +2 | 1 | 1476 | | 100.00 | gc buffer busy acquire (3) |
| | | | | | | | | | | | Cpu (2) |
| | | | | | | | | | | | db file scattered read (4) |
| | | | | | | | | | | | db file sequential read (10) |
| | | | | | | | | | | | read by other session (13) |
===========================================================================================================================================================================
And when expends 1,4 minutes in the other node
SQL Text
select SIN1COD, SIN1ANO, GES1COD, SINCNRC, GAB2COD, A.TIG3COD, ODG2COD, ODG2CO1, GESDPET, GESDREC, GESDMAX, CIA2COD, (SELECT COUNT(*) FROM CAPREC WHERE A.SIN3COD = CAPREC.SIN3COD
AND A.SIN3ANO = CAPREC.SIN3ANO AND A.TIG3COD=CAPREC.TIG3COD AND A.GES1COD = CAPREC.GES3COD) as CUENTA, (case tig3cod when 'AVA' then (select AVANRES from CAPAVA ava where
ava.sin3cod=a.sin3cod and ava.sin3ano=a.sin3ano and ava.ges3cod=a.ges1cod) else null end) AVANRES, SINBCCA,PERCNOM, GESCOTR as XXXCRES , (select min( ttacdes ) from
captta,captar,capcyt where capcyt.tar3cod = captar.tar1cod and captta.tta1cod = captar.tta2cod and cia3cod=capsin.cia2cod and tarbval='true' ) tipotarifa, (select count( distinct
ttacdes ) from captta,captar,capcyt where capcyt.tar3cod = captar.tar1cod and captta.tta1cod = captar.tta2cod and cia3cod=capsin.cia2cod and tarbval='true' ) cuentatipotarifa from
CAPSIN, CAPGES A,CAPPER where CAPSIN.TRA2COD=CAPPER.PER1COD and CAPSIN.TRA2COD= :1 and CAPSIN.SIN1COD=A.SIN3COD and CAPSIN.SIN1ANO=A.SIN3ANO and GESDREC is not null and GESBEST is
null order by GESDREC
Global Information
Status : DONE (ALL ROWS)
Instance ID : 1
Session ID : 447
SQL ID : 3ahrv695tm5yd
SQL Execution ID : 16788142
Plan Hash Value : 599533631
Execution Started : 05/22/2009 11:45:50
First Refresh Time : 05/22/2009 11:45:54
Last Refresh Time : 05/22/2009 11:47:17
| Elapsed | Cpu | IO | Concurrency | Cluster | Other | Fetch | Buffer | Reads |
| Time(s) | Time(s) | Waits(s) | Waits(s) | Waits(s) | Waits(s) | Calls | Gets | |
| 87 | 0.92 | 82 | 0.00 | 3.24 | 0.82 | 8 | 85810 | 14921 |
SQL Plan Monitoring Details
===========================================================================================================================================================================
| Id | Operation | Name | Rows | Cost | Time | Start | Starts | Rows | Memory | Activity | Activity Detail |
| | | | (Estim) | | Active(s) | Active | | (Actual) | (Max) | (percent) | (sample #) |
===========================================================================================================================================================================
| 0 | SELECT STATEMENT | | | 22346 | 42 | +46 | 72 | 72 | | | |
| 1 | SORT AGGREGATE | | 1 | | 42 | +46 | 72 | 72 | | | |
| 2 | INDEX RANGE SCAN | CAPRECP1 | 1 | 3 | 35 | +46 | 72 | 40 | | | |
| 3 | TABLE ACCESS BY INDEX ROWID | CAPAVA | 1 | 4 | 42 | +46 | 24 | 24 | | | |
| 4 | INDEX RANGE SCAN | CAPAVAP1 | 1 | 3 | 42 | +46 | 24 | 24 | | | |
| 5 | SORT AGGREGATE | | 1 | | 37 | +46 | 5 | 5 | | | |
| 6 | HASH JOIN | | 23 | 9 | 37 | +46 | 5 | 142 | 961K | | |
| 7 | HASH JOIN | | 23 | 6 | 37 | +46 | 5 | 143 | 1586K | | |
| 8 | INDEX RANGE SCAN | CAPCYT_I4 | 23 | 2 | 37 | +46 | 5 | 193 | | | |
| 9 | TABLE ACCESS FULL | CAPTAR | 215 | 3 | 37 | +46 | 5 | 1075 | | | |
| 10 | VIEW | index$_join$_003 | 5 | 3 | 37 | +46 | 5 | 25 | | | |
| 11 | HASH JOIN | | | | 37 | +46 | 5 | 25 | 519K | | |
| 12 | INDEX FAST FULL SCAN | CAPTTAP1 | 5 | 1 | 37 | +46 | 5 | 25 | | | |
| 13 | INDEX FAST FULL SCAN | IDX$$_00010008 | 5 | 1 | 37 | +46 | 5 | 25 | | | |
| 14 | SORT GROUP BY | | 1 | | 37 | +46 | 5 | 5 | 2048 | | |
| 15 | HASH JOIN | | 23 | 9 | 37 | +46 | 5 | 142 | 951K | | |
| 16 | HASH JOIN | | 23 | 6 | 37 | +46 | 5 | 143 | 1587K | | |
| 17 | INDEX RANGE SCAN | CAPCYT_I4 | 23 | 2 | 37 | +46 | 5 | 193 | | | |
| 18 | TABLE ACCESS FULL | CAPTAR | 215 | 3 | 37 | +46 | 5 | 1075 | | | |
| 19 | VIEW | index$_join$_006 | 5 | 3 | 37 | +46 | 5 | 25 | | | |
| 20 | HASH JOIN | | | | 37 | +46 | 5 | 25 | 520K | | |
| 21 | INDEX FAST FULL SCAN | CAPTTAP1 | 5 | 1 | 37 | +46 | 5 | 25 | | | |
| 22 | INDEX FAST FULL SCAN | IDX$$_00010008 | 5 | 1 | 37 | +46 | 5 | 25 | | | |
| 23 | SORT ORDER BY | | 10166 | 22346 | 42 | +46 | 1 | 72 | 55296 | | |
| 24 | HASH JOIN | | 10166 | 21690 | 84 | +4 | 1 | 72 | 1550K | | |
| 25 | NESTED LOOPS | | 22970 | 1674 | 1 | +4 | 1 | 6745 | | | |
| 26 | TABLE ACCESS BY INDEX ROWID | CAPPER | 1 | 1 | 1 | +4 | 1 | 1 | | | |
| 27 | INDEX UNIQUE SCAN | CAPPERP1 | 1 | 0 | 1 | +4 | 1 | 1 | | | |
| 28 | TABLE ACCESS FULL | CAPSIN | 22970 | 1673 | 1 | +4 | 1 | 6745 | | | |
| 29 | TABLE ACCESS FULL | CAPGES | 10166 | 20016 | 86 | +2 | 1 | 1379 | | 100.00 | gc buffer busy acquire (5) |
| | | | | | | | | | | | Cpu (3) |
| | | | | | | | | | | | db file scattered read (22) |
| | | | | | | | | | | | db file sequential read (14) |
| | | | | | | | | | | | read by other session (41) |
===========================================================================================================================================================================
Anyone can help me?,
Regards
Luis

Satish Kandi wrote:
What are the instance level parameters for both nodes? Is there any difference in them?The instances have the same parameters except minimal diffrences in the SGA and PGA. I guess it's due to the different size of phisical memory in the servers.
>
Two queries should a difference in number of rows that are output. Is this correct?Yes, the tables of this query have a lot of inserts/updates in a minute, then is correct a bit different result in different executions of the same query. In any case, the number of rows seems not to be important in response time.
Luis

Similar Messages

  • SqlDev3.0 prod - Conn randomly hangs during opening, mainly with 11g RAC

    Hi, i have been having this issue since i moved to 3.0 PROD version from EA version.
    Now and then, same connection hangs during opening of connection, mainly with 11gR2 RAC databases. Sometimes it works with no changes. I don't see this problem with 10g RAC or non-RAC connection. Connection does not even make it to listener log file, so it looks like java thread gets into some hitch locally.
    I wonder if somebody has found solution for this.
    btw, with EA, i did not have problem with same connection. so far, i have been killing the sqldeveloper thru' task manager and then open it again (sometimes couple times, before i get thru').
    Thanks

    i can not use auto update from tool itself as we dont have admin rights on laptops(update feature is not able to contact download center of Oracle). so we use standalone releases of SQLDeveloper. How can i download this patch and apply it? do you have link to the patch? I did some search, it was not giving me anything useful.
    I am using Version 3.0.04, Build MAIN-04.34 (From Help->About).

  • Problem with Oracle RAC with DRCP and persistent connections

    Hello,
    I am having a problem that has me stumped. I cannot get SCAN, and DRCP to work together nicely.
    Right now, I can connect through my scan hostname fine without connection pooling, once I enable it I start having connection time outs. I found if I specified outbound_connection_timeout in sqlnet.ora that it times the connection out to the time I set in there. If I don't set this option I get a "ORA-12170: TNS:Connect timeout occurred".
    The odd thing is I can leave connection pooling on and connect to one of my rac instances individually and it doesn't experience this problem. The only time it pops up is if I combine multiple rac instances (Through the use of SCAN or tnsnames.ora) and I enable connection pooling.
    I don't know which direction to go to even diagnose this, so any and all help is appreciated.
    Thank you.
    Edited by: Rarp on Oct 1, 2011 10:47 PM

    Hi,
    You need to detail the problem. Enable TRACE SQL*NET on the server and client using note below.
    How to Enable Oracle SQLNet Client , Server , Listener , Kerberos and External procedure Tracing from Net Manager [ID 395525.1]
    Also you can try check this note:
    11g: ORA-12170 With Combination RAC, DRCP and a Firewall [ID 953277.1]
    Hope this helps,
    Levi Pereira

  • Listener restart problem in 11g RAC

    11g RAC environment, I manually shutdown the database with "shutdown immediate" and stop the listener with "lsnrctl stop". Later I manually startup only the database but the listener is also started automatically at almost the same. Why would this happen ? I just don't want the listener to startup automatically at that time.
    What can i do to prevent the listener from auto-starting when i startup the database manually.

    Are you sure about stopping listener correctly ?
    Use below command when stopping listener.
    Usage: srvctl stop listener [-l <lsnr_name>] [-n <node_name>] [-f]

  • Is HP NAS is certified for R12.1.2 with 11g RAC..?

    Hi Gurus,
    we are implementing R12.1.2 and DB is 11g RAC on OEL 5.4 please suggest me wether i can use HP NAS for 11g RAC, where can i find information on 11g hardware certification matrix.
    Thanks
    R

    Hi,
    Please see these docs.
    Note: 220970.1 - RAC: Frequently Asked Questions, How can a NAS storage vendor certify their storage solution for Oracle RAC ?
    Note: 549089.1 - High Load Average When Using NAS (Network Attached Storage) File System For Oracle Applications Release 12
    Note: 559518.1 - Cloning Oracle E-Business Suite Release 12 RAC-Enabled Systems with Rapid Clone
    You could also verify the same with your hardware vendor.
    Thanks,
    Hussein

  • Problems with 11g Global Schema / Java API Test Programs

    Hi,
    In the process of trying to get the 11g sample java api programs up and running, I've encountered a problem. Having installed without error the sample schemas for documentation and set up the 11g version of the test code, I get this error when I try to run BuildAW11g.java
    Created the AW GLOBAL_AWJ
    Identifier "GLOBAL.CHANNEL_DIM.TOTAL_ID" is invalid.
         at
    oracle.olapi.syntax.parser.IdentifierResolver.error(Unknown Source)
         at oracle.olapi.syntax.SyntaxObject.validate(Unknown Source)
         at oracle.olapi.syntax.SyntaxObject.fromSyntax(Unknown Source)
         at oracle.olapi.syntax.SyntaxObject.fromSyntax(Unknown Source)
         at oracle.olapi.syntax.SyntaxObject.fromSyntax(Unknown Source)
         at oracle.olapi.examples.metadata.BuildAW11g.createDimension(BuildAW11g.java:470)
         at oracle.olapi.examples.metadata.BuildAW11g.run(BuildAW11g.java:120)
         at oracle.olapi.examples.BaseExample11g.execute(BaseExample11g.java:54)
         at oracle.olapi.examples.BaseExample11g.execute(BaseExample11g.java:74)
         at oracle.olapi.examples.metadata.BuildAW11g.main(BuildAW11g.java:989)
    This seems to indicate that there is a problem with the sample schema - that GLOBAL.CHANNEL_DIM.TOTAL_ID doesn't exist. Is that right?
    On the topic of the sample schemas, a quick question. The install script runs without error so presumably the tables described in the readme had been installed, but I'm not sure. How can I verify this? When I connect as global using Oracle SQL Developer and expand 'Tables' in the right hand pane, I don't see any tables at all. I would have (perhaps naively) expected to see the tables listed in the samples schemas readme, eg, CHANNEL_DIM. Should I have? If not, how can I view these tables? Thanks in advance for any input anyone may have.
    -exits

    After a reboot the "DHCP-check" is passed:
    INFO: Checking DetectIfDHCPAssignedIP
         This is a prerequisite condition to test whether the primary IP address of the system is DHCP-assiged or static.
    INFO: Detecting the IP.....:192.168.1.4
    INFO: Checking the network interface display name.... :eth0
    INFO: Checking the network reference name..... :eth0
    INFO: Checking the platform .......46
    INFO: Checking the LINUX vendor .... :enterprise
    INFO: Inspect interface file :/etc/sysconfig/network-scripts/ifcfg-eth0
    INFO: Check complete. The overall result of this check is: Passed
    But net configuration assistant is still failing.

  • Start up problem with Oracle RAC 11g

    Hi all,
    After a power failure I can not start a oracle database it give me the ORA-01031: insufficient privileges error
    [oracle@hostname ~]$ sqlplus /nolog
    SQL*Plus: Release 11.2.0.1.0 Production on Tue Jul 23 19:06:41 2013
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    SQL> show sga
    Total System Global Area  283930624 bytes
    Fixed Size            2212656 bytes
    Variable Size          256552144 bytes
    ASM Cache           25165824 bytes
    SQL> disconnect
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Real Application Clusters and Automatic Storage Management options
    SQL> connect as sysdba
    Enter user-name: system
    Enter password:
    Connected.
    SQL> startup
    ORA-01031: insufficient privileges
    SQL> quit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Real Application Clusters and Automatic Storage Management options
    [oracle@hostname ~]$ lsb_release -a
    LSB Version:    :core-4.0-amd64:core-4.0-ia32:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-ia32:printing-4.0-noarch
    Distributor ID:    EnterpriseEnterpriseServer
    Description:    Enterprise Linux Enterprise Linux Server release 5.7 (Carthage)
    Release:    5.7
    Codename:    Carthage
    [oracle@hostname ~]$
    [oracle@hostname ~]$ crs_stat -t
    Name           Type           Target    State     Host       
    ora.DATA.dg    ora....up.type ONLINE    ONLINE    sil-rac1   
    ora....ER.lsnr ora....er.type ONLINE    ONLINE    sil-rac1   
    ora....N1.lsnr ora....er.type ONLINE    ONLINE    sil-rac2   
    ora....N2.lsnr ora....er.type ONLINE    ONLINE    sil-rac1   
    ora....N3.lsnr ora....er.type ONLINE    ONLINE    sil-rac1   
    ora.asm        ora.asm.type   ONLINE    ONLINE    sil-rac1   
    ora.eons       ora.eons.type  ONLINE    ONLINE    sil-rac1   
    ora.gsd        ora.gsd.type   OFFLINE   OFFLINE              
    ora....network ora....rk.type ONLINE    ONLINE    sil-rac1   
    ora.oc4j       ora.oc4j.type  ONLINE    ONLINE    sil-rac2   
    ora.ons        ora.ons.type   ONLINE    ONLINE    sil-rac1   
    ora.orcl.db    ora....se.type ONLINE    ONLINE    sil-rac1   
    ora.scan1.vip  ora....ip.type ONLINE    ONLINE    sil-rac2   
    ora.scan2.vip  ora....ip.type ONLINE    ONLINE    sil-rac1   
    ora.scan3.vip  ora....ip.type ONLINE    ONLINE    sil-rac1   
    ora....SM1.asm application    ONLINE    ONLINE    sil-rac1   
    ora....C1.lsnr application    ONLINE    ONLINE    sil-rac1   
    ora....ac1.gsd application    OFFLINE   OFFLINE              
    ora....ac1.ons application    ONLINE    ONLINE    sil-rac1   
    ora....ac1.vip ora....t1.type ONLINE    ONLINE    sil-rac1   
    ora....SM2.asm application    ONLINE    ONLINE    sil-rac2   
    ora....C2.lsnr application    ONLINE    ONLINE    sil-rac2   
    ora....ac2.gsd application    OFFLINE   OFFLINE              
    ora....ac2.ons application    ONLINE    ONLINE    sil-rac2   
    ora....ac2.vip ora....t1.type ONLINE    ONLINE    sil-rac2   
    [oracle@hostname ~]$
    [oracle@hostname ~]$ crsctl check crs
    CRS-4638: Oracle High Availability Services is online
    CRS-4537: Cluster Ready Services is online
    CRS-4529: Cluster Synchronization Services is online
    CRS-4533: Event Manager is online
    [oracle@hostname ~]$
    Does anyone know what can be the problem?
    Thanks,
    Andre Gil

    Thanks for your answer
    The OS user I'm log is ORACLE that own the filesystem, Before you ask ORACLE is part of OINSTALL and DBA group
    Any other suggestion
    [oracle@sil-rac1 ~]$ id
    uid=1100(oracle) gid=1200(dba) groups=4(adm),100(users),1000(oinstall),1200(dba)
    [oracle@sil-rac1 ~]$ env | sort
    BASE_PATH=/usr/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle/bin
    _=/bin/env
    CLASSPATH=/u01/app/11.2.0/grid/JRE:/u01/app/11.2.0/grid/jlib:/u01/app/11.2.0/grid/rdbms/jlib
    DB_HOME=/u01/app/oracle/product/11.2.0/db_1
    G_BROKEN_FILENAMES=1
    GRID_HOME=/u01/app/11.2.0/grid
    HISTSIZE=1000
    HOME=/home/oracle
    HOSTNAME=sil-rac1
    INPUTRC=/etc/inputrc
    LANG=en_US.UTF-8
    LD_LIBRARY_PATH=/u01/app/11.2.0/grid/lib:/lib:/usr/lib
    LESSOPEN=|/usr/bin/lesspipe.sh %s
    LOGNAME=oracle
    LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
    MAIL=/var/spool/mail/oracle
    ORACLE_BASE=/u01/app/oracle
    ORACLE_HOME=/u01/app/11.2.0/grid
    ORACLE_HOSTNAME=sil-rac1.silanis.com
    ORACLE_SID=+ASM1
    ORACLE_TERM=xterm
    ORACLE_UNQNAME=RAC
    PATH=/u01/app/11.2.0/grid/bin:/usr/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle/bin
    PWD=/home/oracle
    SHELL=/bin/bash
    SHLVL=1
    SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
    TERM=xterm
    TMPDIR=/tmp
    TMP=/tmp
    USER=oracle
    [oracle@sil-rac1 ~]$

  • Problems with 11g on OEL5 (update 3) / net configuration assitant fails

    While installing 11g on OEL 5 the net configuration assistant failed:
    Oracle Net Services Configuration:
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # SIGSEGV (0xb) at pc=0xb7e772f3, pid=7352, tid=3084941520
    # Java VM: Java HotSpot(TM) Client VM (1.5.0_11-b03 mixed mode)
    # Problematic frame:
    # C {noformat}[libc.so.6+0x6f2f3] index+0x63{noformat}
    # An error report file with more information is saved as hs_err_pid7352.log
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    According to the existing articles on this problem the solution is using a static IP and/or adding the IP to /etc/hosts.
    So did I, but: Net Configuration Assistant is still failing!
    This is my /etc/hosts:
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    192.168.1.4 localhost locahlhost.localdomain
    127.0.0.1 localhost.localdomain localhost
    Additionally, network is configured without DHCP! Although while checking the prerequisites the installer throw a warning ("... using DHCP may cause problems ...") which puzzles me.
    I should be thankful for any hints/advices.
    Edited by: user6877544 on Aug 29, 2009 2:45 PM: deleted square brackets around libc.so
    Edited by: user6877544 on Aug 29, 2009 3:23 PM
    Edited by: user6877544 on 30.08.2009 00:47 added square brackets around libc.so

    After a reboot the "DHCP-check" is passed:
    INFO: Checking DetectIfDHCPAssignedIP
         This is a prerequisite condition to test whether the primary IP address of the system is DHCP-assiged or static.
    INFO: Detecting the IP.....:192.168.1.4
    INFO: Checking the network interface display name.... :eth0
    INFO: Checking the network reference name..... :eth0
    INFO: Checking the platform .......46
    INFO: Checking the LINUX vendor .... :enterprise
    INFO: Inspect interface file :/etc/sysconfig/network-scripts/ifcfg-eth0
    INFO: Check complete. The overall result of this check is: Passed
    But net configuration assistant is still failing.

  • Anybody using 11g RAC Database with OIM 9.1.0.2?

    Hi,
    We have poor performance problems with 11g RAC Database with OIM 9.1.0.2.
    It looks like the issue could be because of RAC Ccluster.
    Anybody using 11g RAC Database with OIM 9.1.0.2?
    If so, What is the JDBC Driver r u using? Also what App Server (Weblogic or OAS etc) ?
    Appreciate your input.
    Regards
    Vijay Chinnasamy

    We are using weblogic 10.3. And I am sorry to tell you that we are yet to move to production.
    We are planning to have Database in RAC, so i just thought of taking inputs from you.
    can you tell me under what operations you face the poor performance issue?
    For us the max no. of users in production is around 6k. So I am wondering how this RAC availability will affect the performance.
    Thanks for sharing your inputs.

  • Install 11g RAC or 10g RAC

    We're in the process getting ready to start the implementation of our first RAC project. We've done a great deal of discovery and prep. We've had Oracle in to discuss the project in detail.
    We have one open item. Should we go with 11g RAC or 10.2.0.4 RAC, which is known to be stable.
    Is 11g RAC stable enough for production. How does 11g RAC compare with 10.2.0.4 with respect to stability, bugs, etc.
    Any real world advice regarding this issue would be appreciated. Thanks in advance.

    Hi,
    yes, 11g RAC is stable enough. You will actually find that quite some fixes were incorporated into 11g first and then backported to 10.2.0.4.
    Comparing 10.2.0.4 and 11.1.0.7, you will, however, find that ASM has been enhanced quite a bit. For example:
    3.ASM Fast Rebalance
    4.ASM Fast Mirror Resync
    5.ASMCMD New Commands
    6.Preferred Mirror Read
    Please, see ML Note "429098.1 - 11g ASM New Feature" for more information.
    Aome of these features will only be available to you if you have an 11.1 DB in addition to 11.1 ASM, which might be an issue from the application certification perspective. Nevertheless, some of the features can be used only using 11.1 ASM and 11.1 Oracle Clusterware. The ML note mentioned above will provide you with more information.
    BTW, you might want to have a look at ML Note "337737.1 - Oracle Clusterware - ASM - Database Version Compatibility" in this context, too.
    Hope that helps. Thanks,
    Markus

  • Problems with RAC and XA: Fallback

    Hello,
    we are seing problems with RAC and XA (Tuxedo 11, DB 11.2), specifically encountering "ORA-24798: cannot resume the distributed transaction branch on another instance".
    The first scenario relates to fallback after a RAC node failure. There are two servers, S1 and S2. S1 makes an ATMI call to S2. Both servers are in the same Tuxedo group, using TMS_ORA. RAC is set up for failover (BASIC), no load balancing.
    The sequence is:
    - S1 and S2 are connected to the same RAC node n1. All is well.
    - RAC node n1 fails. S1, S2 and the TMS_ORA all fail over to RAC node n2. After the failover has happened, all is well.
    - RAC node n1 recovers. All is still well (as there is no automatic fallback).
    - S1 (or S2) is restarted (either intentionally or because of a crash). Since n1 is up again, S1 connects to n1. Now we get ORA-24798. Permanently.
    S1 is connected to n1 and S2 is connected to n2. Since both are in the same group, both use the same XA transaction branch. When called, S2 attempts to JOIN the transaction branch that S1 started. But the DB (11.2) does not allow the same branch to span more than one node. Hence the ORA-24798.
    This seems to be a severe limitation in the combination of Tuxedo, XA and RAC. It basically means we still have to use DTP services, even with Tuxedo 11 and DB 11.2. Or are we missing something?
    We could put S1 and S2 into different groups, but that seems to be inefficient, and not practical for a real application (10s of servers).
    I am extrapolating from this that RAC load balancing would also not work, as S1 and S2 could be connected to different RAC nodes.
    Roger

    Roger,
    When using an external transaction manager such as Tuxedo you should still declare Oracle services as DTP services when using Oracle Database 11g. The Tuxedo documentation is not clear about this. The relevant 11gR2 RAC documentation is at http://download.oracle.com/docs/cd/E11882_01/rac.112/e16795/hafeats.htm and states
    "An XA transaction can span Oracle RAC instances by default, allowing any application that uses the Oracle XA library to take full advantage of the Oracle RAC environment to enhance the availability and scalability of the application.
    "GTXn background processes support global (XA) transactions in an Oracle RAC environment. The GLOBAL_TXN_PROCESSES initialization parameter, which is set to 1 by default, specifies the initial number of GTXn background processes for each Oracle RAC instance. Use the default value for this parameter clusterwide to allow distributed transactions to span multiple Oracle RAC instances. Using the default value allows the units of work performed across these Oracle RAC instances to share resources and act as a single transaction (that is, the units of work are tightly coupled). It also allows 2PC requests to be sent to any node in the cluster.
    "Before Release 11.1, the way to achieve tight coupling in Oracle RAC was to use Distributed Transaction Processing (DTP) services, that is, services whose cardinality (one) ensured that all tightly-coupled branches landed on the same instance—regardless of whether load balancing was enabled. Tightly coupled XA transactions no longer require the special type of singleton services to be deployed on Oracle RAC databases if the XA application does not join or resume XA transaction branches. XA transactions are transparently supported on Oracle RAC databases with any type of service configuration.
    A"n external transaction manager, such as Oracle Services for Microsoft Transaction Server (OraMTS), coordinates DTP/XA transactions. However, an internal Oracle transaction manager coordinates distributed SQL transactions. Both DTP/XA and distributed SQL transactions must use the DTP service in Oracle RAC."
    This issue came up earlier this year in another newsgroup thread at https://forums.oracle.com/forums/thread.jspa?threadID=2165803
    Regards,
    Ed

  • Experiences with Oracle 10g/11g RAC on VMWare Fusion for Macbook and OEL 5

    Folks,
    I recently purchased a new Macbook Pro laptop computer to use for demos and testing with Oracle RAC. I am using VMWare Fusion for Mac OS X to setup new VM machines with Oracle 11g.
    Thus far, I can setup single instance Oracle 11g database fine with OEL 5 (32 bit OS) as the guest OS. The problem that I keep running into due to the limitation with VMWare Fusion product is that I am not able to edit the VMWare network settings to allow multiple VM machines to communicate with each other. The second main issue that I currently face is that VMWare Fusion does not allow you to setup shared disks which are a requirement to install and configure an Oracle RAC environment. I came to the realization that after searching forums online that
    one must setup a third VM machine to act as an NFS or iSCSI filer system to present to the other VM hosts for the shared storage requirement for RAC. Has anyone been able to do all
    of this successfully with VMWare Fusion on a Macbook ? If so, I would definitely be interested in finding out how you did this. Specifically the following:
    1. Network configuration for each VMWare Fusion guest OS machine
    2. Shared storage ie) NFS or OpenFiler VM machine
    Regards,
    Ben

    Hi,
    I'm facing the same issue.. If your issue is fixed..could you please let me know?
    I'm trying to configure 11g RAC with OPenfiler and got stuck here.
    Regards,
    Kumar

  • After Migrating from 10g to 11g Geeting problems with Guided navigations.

    After Migrating from 10g to 11g Geeting problems with Guided navigations and section navigations not working.
    And we are getting the following error <<odbc driver returned an error (SQLExecDirectW)>> where we have used navigations.
    In 10G we have Guided navigation Reports to display the Reports links and intermediate reports for conditionally displaying the Dashboard section(Reports) but after migrating to 11g Guided navigation reports and conditional reports are not working..
    We know that in 11g section navigation replaced with conditions and Guided navigation replaced with action link.. but
    do we need to recreate those reports in actions and condition or is there any work around avoid reworking.

    Hi Both,
    Thanks for the reply ...
    For Guided navigation we are getting like below error:
    Odbc driver returned an error (SQLExecDirectW).
    For Conditional dashboard section we are getting like below error:
    "saw.aViewsToRefresh = [];saw.aViewsToRefresh['d:dashboard~p:1egt6il5utl0uu8n~s:3jsmgfs3c1r4tn7c~n:condition'] = true;saw.aViewsToRefresh['d:dashboard~p:1egt6il5utl0uu8n~s:nos5q43jvjmi643b~n:condition'] = true;"

  • Installation Problem with APEX 3.1 on 11g

    Hey,
    I've a big problem with apex3.1 on 11g. Yesterday i wanted to install the new version, which i've downloaded from the oracle server. Furthermore i have followed the instructions by the documentation.
    i executed:
    1. apexins.sql FLOW_1 USERS TEMP /i/ Is that correct?
    2. apxconf.sql
    Do i have do remove the old version (3.0)?
    Thanks for your help
    Best Regards,
    Andi

    Hi Andrea,
    I tried to reproduce this and could not.
    I created a new 11.1.0.6 database on Oracle Enterprise Linux with character set WE8MSWIN1252. I even did this with an OS locale of Italian (and trust me, it was a struggle, as my Italian is about as weak as my German). The only thing that is different between my test and your configuration is the server OS.
    I then installed APEX 3.1, tried it in browser language 'it' and 'en-us', but I could not reproduce the issue.
    Can you think of anything atypical in your configuration, installation, or database parameter settings?
    Joel

  • Problem with Application Login after upgrading to Oracle 11g

    I have a home-grown application with Oracle 10g database running under Windows XP Pro. Recently, I installed Oracle 11g and imported the application database from 10g to 11g (still want to keep the 10g running for a while). However, I now having problem with the application logging into the new 11g database. (Keep getting invalid user/name message).
    BTW, I have no problem accessing the 11g database through SQLPlus (logging in with the same name and password that I use for the application), and the connection test of NetManager (again using the same name and password that I use for the application) was successful.
    The application itself uses the old Borland BDE (Borland Database Engine) to access the 10g and 11g database. Testing confirms that BDE can access Oracle 11g with no problems.
    Any idea about the probable cause(s) of the problem?
    Thanks in advance,
    sg2000

    11g by default is case sensitive username/password.
    You can disable that with setting parameter SEC_CASE_SENSITIVE_LOGON to false.
    SQL> SHOW PARAMETER SEC_CASE_SENSITIVE_LOGON
    SQL> ALTER SYSTEM SET SEC_CASE_SENSITIVE_LOGON = FALSE;

Maybe you are looking for

  • Error while opening a report in report Builder

    Hello experts, My oracle apps version is R12.1.3 I am getting an error message when opening a report in report builder. Warning : Opening a report saved with a newer version of Reports Builder. Functionality may be lost. Continue?? What should i do n

  • Help me in finding the right JRE for encryption

    HI , I have developed and tested Encryption using Ciphers and SecretKey , i used the JRE1.4 .But other components are being developed using JRE1.3.If i try to run my code in JRE1.3 i get many errors. Is there anything i need to do before i integrate

  • Get AIR app to start as OS Startup

    Hello! How can I make an AIR application start at Windows Startup (and other OSs)? Thank you!

  • How long to activate new phone?

    I have been on a family plan (contract is expired, it's month to month) with two devices and recently upgraded one of them to a smartphone. Of course I had to agree to a new contract to get the phone, which arrived today. I'm wondering within what ti

  • Shutdown from Bash#

    Hi I am not able to shutdown a PC from the ZEN Imaging Engine bash#. I have tried: "shutdown -f", "shutdown -h now" and so on, what is the right command to shutdown the PC? regards Sebastian