Query slow and contention Oracle RAC

Hi,
I have problems with our BD...
I have a query that takes a long time and freeze...
our BD is Oracle 10.2.0.4 on RAC with 2 nodes over Red Hat Enterprise Linux Server release 5.3, 64G RAM CPU
SGA : sga_max_target=16G sga__target=15G
db_4k_cache_size=4G , keep=800M , default =10G in mode automatic
return results of the ADDM says:
ACTION: Investigate the SQL statement with SQL_ID "bb9bma7du62h3" for possible performance improvements.
RELEVANT OBJECT: SQL statement with SQL_ID bb9bma7du62h3 and PLAN_HASH 2145292722
SELECT X.DOCDOCUMENTOID, X.DOCNUMERODOCSERVICIO,         X.DOCFECHADOCSERVICIO, X.DOCFECHADOCCGR, IDEN.ISEGLOSANOMBRE,          X.SCGDESCRIPCION, MAT.MDODESCRIPCION, TIP.TDODESCRIPCION,          X.DESNUMEROCASOS, X.DESESTADO, X.DESSECCIONID, X.DESUSERID,          X.TIMESTAMP, X.TSTAMP, IDENREP.ISEGLOSANOMBRE AS REPARTICION,         X.NOMOBSERVACION
FROM
( SELECT DOC.DOCDOCUMENTOID,         DOC.DOCNUMERODOCSERVICIO, DOC.DOCFECHADOCSERVICIO,         DOC.DOCFECHADOCCGR, SEC.SCGDESCRIPCION, DES.DESNUMEROCASOS,         DES.DESESTADO, DES.DESSECCIONID, DES.DESUSERID, DOC.TIMESTAMP, DES.TIMESTAMP AS TSTAMP, NOM.NOMOBSERVACION, DOC.DOCREPARTICIONID, DOC.DOCSERVICIOID,DOC.DOCTIPODOCUMENTO, DOC.DOCMATERIAINGRESO
FROM
TBLDOCESTUDIO DES,
TBLDOCUMENTO DOC, TBLSECCIONCGR SEC,TBLNOMINA NOM
WHERE 1 = 1
AND :B7 = DES.DESESTADO
AND :B6 = DES.DESSECCIONID
AND DOC.DOCDOCUMENTOID = DES.DESDOCUMENTOID
      AND DES.DESSECCIONID = SEC.SCGCODIGO
AND NOM.NOMNOMINAID = DES.DESNOMINAACTIVA
AND DES.DESNUMEROCASOS BETWEEN :B5 AND :B4
AND NOM.NOMNRONOMINA BETWEEN :B3 AND :B2
AND DOC.DOCNUMERODOCSERVICIO LIKE :B1 ) X,
TBLTIPODOCUMENTO TIP,
TBLMATERIADOCUMENTO MAT,
TBLIDENTIFICACIONSERVICIO IDEN,
TBLIDENTIFICACIONSERVICIO IDENREP
WHERE 1=1
AND X.DOCMATERIAINGRESO = MAT.MDOCODIGO
AND X.DOCTIPODOCUMENTO = TIP.TDOCODIGO
AND X.DOCSERVICIOID = IDEN.ISESERVICIOID
AND X.DOCREPARTICIONID = IDENREP.ISESERVICIOID
AND ROWNUM < :B8RATIONALE: SQL statement with SQL_ID "bb9bma7du62h3" was executed 155 times and had an average elapsed time of 283 seconds.
RATIONALE: Waiting for event "direct path read temp" in wait class "User I/O" accounted for 19% of the database time spent in processing the SQL statement with SQL_ID "bb9bma7du62h3".
RATIONALE: Waiting for event "enq: TS - contention" in wait class "Other" accounted for 8% of the database time spent in processing the SQL statement with SQL_ID "bb9bma7du62h3".
RATIONALE: Waiting for event "direct path write temp" in wait class "User I/O" accounted for 4% of the database time spent in processing the SQL statement with SQL_ID "bb9bma7du62h3".
RATIONALE: Average CPU used per execution was 78 seconds.
We have table TBLDOCUMENTO with 4K tablespaces.
We have indexes of TBLDOCUMENTO in other tablespaces with 8K
segments TBLLDOCUMENTO have size of 3,5G
Any ideas how to solve "direct path read temp" , "enq: TS - contention" , "direct path write temp"
and how to make the query faster and not hang
sorry for my bad english...
Regards..
Mario
Edited by: user1056867 on 07-09-2011 12:21 PM

DBMS_SQLTUNE.REPORT_TUNING_TASK('SIAPER')                                      
GENERAL INFORMATION SECTION                                                    
Tuning Task Name                  : Siaper                                     
Tuning Task Owner                 : SYSTEM                                     
Scope                             : COMPREHENSIVE                              
Time Limit(seconds)               : 60                                         
Completion Status                 : COMPLETED                                  
Started at                        : 09/08/2011 10:18:04                        
Completed at                      : 09/08/2011 10:18:55                        
Number of SQL Profile Findings    : 1                                          
Schema Name: SIAPER3                                                           
SQL ID     : bb9bma7du62h3                                                     
SQL Text   : SELECT X.DOCDOCUMENTOID, X.DOCNUMERODOCSERVICIO,                  
             X.DOCFECHADOCSERVICIO, X.DOCFECHADOCCGR, IDEN.ISEGLOSANOMBRE,     
             X.SCGDESCRIPCION, MAT.MDODESCRIPCION, TIP.TDODESCRIPCION,         
             X.DESNUMEROCASOS, X.DESESTADO, X.DESSECCIONID, X.DESUSERID,       
             X.TIMESTAMP, X.TSTAMP, IDENREP.ISEGLOSANOMBRE AS REPARTICION,     
             X.NOMOBSERVACION FROM ( SELECT DOC.DOCDOCUMENTOID,                
             DOC.DOCNUMERODOCSERVICIO, DOC.DOCFECHADOCSERVICIO,                
DBMS_SQLTUNE.REPORT_TUNING_TASK('SIAPER')                                      
             DOC.DOCFECHADOCCGR, SEC.SCGDESCRIPCION, DES.DESNUMEROCASOS,       
             DES.DESESTADO, DES.DESSECCIONID, DES.DESUSERID, DOC.TIMESTAMP,    
             DES.TIMESTAMP AS TSTAMP, NOM.NOMOBSERVACION,                      
             DOC.DOCREPARTICIONID, DOC.DOCSERVICIOID , DOC.DOCTIPODOCUMENTO,   
             DOC.DOCMATERIAINGRESO FROM TBLDOCESTUDIO DES, TBLDOCUMENTO DOC,   
             TBLSECCIONCGR SEC, TBLNOMINA NOM WHERE 1 = 1 AND :B7 =            
             DES.DESESTADO AND :B6 = DES.DESSECCIONID AND DOC.DOCDOCUMENTOID   
             = DES.DESDOCUMENTOID AND DES.DESSECCIONID = SEC.SCGCODIGO AND     
             NOM.NOMNOMINAID = DES.DESNOMINAACTIVA AND DES.DESNUMEROCASOS      
             BETWEEN :B5 AND :B4 AND NOM.NOMNRONOMINA BETWEEN :B3 AND :B2 AND  
             DOC.DOCNUMERODOCSERVICIO LIKE :B1 ) X, TBLTIPODOCUMENTO TIP,      
             TBLMATERIADOCUMENTO MAT, TBLIDENTIFICACIONSERVICIO IDEN,          
             TBLIDENTIFICACIONSERVICIO IDENREP WHERE 1=1 AND                   
             X.DOCMATERIAINGRESO = MAT.MDOCODIGO AND X.DOCTIPODOCUMENTO =      
             TIP.TDOCODIGO AND X.DOCSERVICIOID = IDEN.ISESERVICIOID AND        
             X.DOCREPARTICIONID = IDENREP.ISESERVICIOID AND ROWNUM < :B8       
FINDINGS SECTION (1 finding)                                                   
DBMS_SQLTUNE.REPORT_TUNING_TASK('SIAPER')                                      
1- SQL Profile Finding (see explain plans section below)                       
  A potentially better execution plan was found for this statement.            
  Recommendation (estimated benefit<=10%)                                      
  - Consider accepting the recommended SQL profile.                            
    execute dbms_sqltune.accept_sql_profile(task_name => 'Siaper', replace =>  
            TRUE);                                                             
EXPLAIN PLANS SECTION                                                          
1- Original With Adjusted Cost                                                 
Plan hash value: 3376565491                                                    
| Id  | Operation                            | Name                         | Ro
DBMS_SQLTUNE.REPORT_TUNING_TASK('SIAPER')                                      
ws  | Bytes | Cost (%CPU)| Time     |                                          
|   0 | SELECT STATEMENT                     |                              |  
  1 |   246 |    34   (3)| 00:00:01 |                                          
|*  1 |  COUNT STOPKEY                       |                              |  
    |       |            |          |                                          
|*  2 |   FILTER                             |                              |  
    |       |            |          |                                          
|*  3 |    HASH JOIN                         |                              |  
  1 |   246 |    34   (3)| 00:00:01 |                                          
|   4 |     TABLE ACCESS FULL                | TBLTIPODOCUMENTO             |  
32 |   608 |     2   (0)| 00:00:01 |                                          
|   5 |     NESTED LOOPS                     |                              |  
  1 |   227 |    32   (4)| 00:00:01 |                                          
|   6 |      NESTED LOOPS                    |                              |  
  1 |   182 |    31   (4)| 00:00:01 |                                          
|*  7 |       HASH JOIN                      |                              |  
  1 |   137 |    30   (4)| 00:00:01 |                                          
|   8 |        NESTED LOOPS                  |                              |  
  1 |   113 |    27   (0)| 00:00:01 |                                          
DBMS_SQLTUNE.REPORT_TUNING_TASK('SIAPER')                                      
|   9 |         NESTED LOOPS                 |                              |  
  1 |    75 |    26   (0)| 00:00:01 |                                          
|  10 |          NESTED LOOPS                |                              |  
16 |   688 |     2   (0)| 00:00:01 |                                          
|  11 |           TABLE ACCESS BY INDEX ROWID| TBLSECCIONCGR                |  
  1 |    29 |     1   (0)| 00:00:01 |                                          
|* 12 |            INDEX UNIQUE SCAN         | PK_TBLSECCIONCGR             |  
  1 |       |     1   (0)| 00:00:01 |                                          
|  13 |           TABLE ACCESS BY INDEX ROWID| TBLNOMINA                    |  
16 |   224 |     1   (0)| 00:00:01 |                                          
|* 14 |            INDEX RANGE SCAN          | IDX_IDX_NOM_NRONOMINA        |  
  1 |       |     1   (0)| 00:00:01 |                                          
|* 15 |          TABLE ACCESS BY INDEX ROWID | TBLDOCESTUDIO                |  
  1 |    32 |     2   (0)| 00:00:01 |                                          
|* 16 |           INDEX RANGE SCAN           | IDX_DESNOMINA                |  
  1 |       |     1   (0)| 00:00:01 |                                          
|* 17 |         TABLE ACCESS BY INDEX ROWID  | TBLDOCUMENTO                 |  
  1 |    38 |     1   (0)| 00:00:01 |                                          
|* 18 |          INDEX UNIQUE SCAN           | PK_TBLDOCUMENTO              |  
  1 |       |     1   (0)| 00:00:01 |                                          
|  19 |        TABLE ACCESS FULL             | TBLMATERIADOCUMENTO          |  
DBMS_SQLTUNE.REPORT_TUNING_TASK('SIAPER')                                      
47 |  1128 |     2   (0)| 00:00:01 |                                          
|  20 |       TABLE ACCESS BY INDEX ROWID    | TBLIDENTIFICACIONSERVICIO    |  
  1 |    45 |     1   (0)| 00:00:01 |                                          
|* 21 |        INDEX UNIQUE SCAN             | PK_TBLIDENTIFICACIONSERVICIO |  
  1 |       |     1   (0)| 00:00:01 |                                          
|  22 |      TABLE ACCESS BY INDEX ROWID     | TBLIDENTIFICACIONSERVICIO    |  
  1 |    45 |     1   (0)| 00:00:01 |                                          
|* 23 |       INDEX UNIQUE SCAN              | PK_TBLIDENTIFICACIONSERVICIO |  
  1 |       |     1   (0)| 00:00:01 |                                          
Predicate Information (identified by operation id):                            
   1 - filter(ROWNUM<TO_NUMBER(:B8))                                           
   2 - filter(:B3<=:B2 AND :B5<=:B4)                                           
   3 - access("DOC"."DOCTIPODOCUMENTO"="TIP"."TDOCODIGO")                      
   7 - access("DOC"."DOCMATERIAINGRESO"="MAT"."MDOCODIGO")                     
  12 - access("SEC"."SCGCODIGO"=:B6)                                           
  14 - access("NOM"."NOMNRONOMINA">=:B3 AND "NOM"."NOMNRONOMINA"<=:B2)         
DBMS_SQLTUNE.REPORT_TUNING_TASK('SIAPER')                                      
  15 - filter("DES"."DESSECCIONID"=:B6 AND "DES"."DESESTADO"=:B7 AND "DES"."DESN
UMEROCASOS">=:B5 AND                                                           
              "DES"."DESNUMEROCASOS"<=:B4)                                     
  16 - access("NOM"."NOMNOMINAID"="DES"."DESNOMINAACTIVA")                     
       filter("DES"."DESNOMINAACTIVA">=0)                                      
  17 - filter("DOC"."DOCNUMERODOCSERVICIO" LIKE :B1)                           
  18 - access("DOC"."DOCDOCUMENTOID"="DES"."DESDOCUMENTOID")                   
  21 - access("DOC"."DOCSERVICIOID"="IDEN"."ISESERVICIOID")                    
  23 - access("DOC"."DOCREPARTICIONID"="IDENREP"."ISESERVICIOID")              
2- Using SQL Profile                                                           
Plan hash value: 2086638886                                                    
| Id  | Operation                            | Name                         | Ro
ws  | Bytes | Cost (%CPU)| Time     |                                          
|   0 | SELECT STATEMENT                     |                              |  
DBMS_SQLTUNE.REPORT_TUNING_TASK('SIAPER')                                      
  1 |   246 |    31   (0)| 00:00:01 |                                          
|*  1 |  COUNT STOPKEY                       |                              |  
    |       |            |          |                                          
|*  2 |   FILTER                             |                              |  
    |       |            |          |                                          
|   3 |    NESTED LOOPS                      |                              |  
  1 |   246 |    31   (0)| 00:00:01 |                                          
|   4 |     NESTED LOOPS                     |                              |  
  1 |   201 |    30   (0)| 00:00:01 |                                          
|   5 |      NESTED LOOPS                    |                              |  
  1 |   156 |    29   (0)| 00:00:01 |                                          
|   6 |       NESTED LOOPS                   |                              |  
  1 |   132 |    28   (0)| 00:00:01 |                                          
|   7 |        NESTED LOOPS                  |                              |  
  1 |   113 |    27   (0)| 00:00:01 |                                          
|   8 |         NESTED LOOPS                 |                              |  
  1 |    75 |    26   (0)| 00:00:01 |                                          
|   9 |          NESTED LOOPS                |                              |  
16 |   688 |     2   (0)| 00:00:01 |                                          
|  10 |           TABLE ACCESS BY INDEX ROWID| TBLSECCIONCGR                |  
  1 |    29 |     1   (0)| 00:00:01 |                                          
DBMS_SQLTUNE.REPORT_TUNING_TASK('SIAPER')                                      
|* 11 |            INDEX UNIQUE SCAN         | PK_TBLSECCIONCGR             |  
  1 |       |     1   (0)| 00:00:01 |                                          
|  12 |           TABLE ACCESS BY INDEX ROWID| TBLNOMINA                    |  
16 |   224 |     1   (0)| 00:00:01 |                                          
|* 13 |            INDEX RANGE SCAN          | IDX_IDX_NOM_NRONOMINA        |  
  1 |       |     1   (0)| 00:00:01 |                                          
|* 14 |          TABLE ACCESS BY INDEX ROWID | TBLDOCESTUDIO                |  
  1 |    32 |     2   (0)| 00:00:01 |                                          
|* 15 |           INDEX RANGE SCAN           | IDX_DESNOMINA                |  
  1 |       |     1   (0)| 00:00:01 |                                          
|* 16 |         TABLE ACCESS BY INDEX ROWID  | TBLDOCUMENTO                 |  
  1 |    38 |     1   (0)| 00:00:01 |                                          
|* 17 |          INDEX UNIQUE SCAN           | PK_TBLDOCUMENTO              |  
  1 |       |     1   (0)| 00:00:01 |                                          
|  18 |        TABLE ACCESS BY INDEX ROWID   | TBLTIPODOCUMENTO             |  
  1 |    19 |     1   (0)| 00:00:01 |                                          
|* 19 |         INDEX UNIQUE SCAN            | PK_TBLTIPODOCUMENTO          |  
  1 |       |     1   (0)| 00:00:01 |                                          
|  20 |       TABLE ACCESS BY INDEX ROWID    | TBLMATERIADOCUMENTO          |  
  1 |    24 |     1   (0)| 00:00:01 |                                          
|* 21 |        INDEX UNIQUE SCAN             | PK_TBLMATERIADOCUMENTO       |  
DBMS_SQLTUNE.REPORT_TUNING_TASK('SIAPER')                                      
  1 |       |     1   (0)| 00:00:01 |                                          
|  22 |      TABLE ACCESS BY INDEX ROWID     | TBLIDENTIFICACIONSERVICIO    |  
  1 |    45 |     1   (0)| 00:00:01 |                                          
|* 23 |       INDEX UNIQUE SCAN              | PK_TBLIDENTIFICACIONSERVICIO |  
  1 |       |     1   (0)| 00:00:01 |                                          
|  24 |     TABLE ACCESS BY INDEX ROWID      | TBLIDENTIFICACIONSERVICIO    |  
  1 |    45 |     1   (0)| 00:00:01 |                                          
|* 25 |      INDEX UNIQUE SCAN               | PK_TBLIDENTIFICACIONSERVICIO |  
  1 |       |     1   (0)| 00:00:01 |                                          
Predicate Information (identified by operation id):                            
   1 - filter(ROWNUM<TO_NUMBER(:B8))                                           
   2 - filter(:B3<=:B2 AND :B5<=:B4)                                           
  11 - access("SEC"."SCGCODIGO"=:B6)                                           
  13 - access("NOM"."NOMNRONOMINA">=:B3 AND "NOM"."NOMNRONOMINA"<=:B2)         
  14 - filter("DES"."DESSECCIONID"=:B6 AND "DES"."DESESTADO"=:B7 AND "DES"."DESN
UMEROCASOS">=:B5 AND                                                           
DBMS_SQLTUNE.REPORT_TUNING_TASK('SIAPER')                                      
              "DES"."DESNUMEROCASOS"<=:B4)                                     
  15 - access("NOM"."NOMNOMINAID"="DES"."DESNOMINAACTIVA")                     
       filter("DES"."DESNOMINAACTIVA">=0)                                      
  16 - filter("DOC"."DOCNUMERODOCSERVICIO" LIKE :B1)                           
  17 - access("DOC"."DOCDOCUMENTOID"="DES"."DESDOCUMENTOID")                   
  19 - access("DOC"."DOCTIPODOCUMENTO"="TIP"."TDOCODIGO")                      
  21 - access("DOC"."DOCMATERIAINGRESO"="MAT"."MDOCODIGO")                     
  23 - access("DOC"."DOCREPARTICIONID"="IDENREP"."ISESERVICIOID")              
  25 - access("DOC"."DOCSERVICIOID"="IDEN"."ISESERVICIOID")                    
1 row selected.

Similar Messages

  • In oracle rac, If user query a select query and in processing data is fetched but in the duration of fetching the particular node is evicted then how failover to another node internally?

    In oracle rac, If user query a select query and in processing data is fetched but in the duration of fetching the particular node is evicted then how failover to another node internally?

    The query is re-issued as a flashback query and the client process can continue to fetch from the cursor. This is described in the Net Services Administrators Guide, the section on Transparent Application Failover.

  • Query can run in Oracle 10g but very slow in 11g

    Hi,
    We've just migrated to Oracle 11g and we noticed that some of our view are very slow (it takes seconds in 10g and takes 30 minutes in 11g), and the tables are using the local table.
    Do any of you face the same issue?
    This is our query:
    SELECT
    A.wellbore
    ,a.depth center
    ,d.MD maxbc
    ,d.XDELT xbc
    ,d.YDELT ybc
    ,e.MD minac
    ,e.XDELT xac
    ,e.YDELT yac
    from
    table_A d,table_A e, table_B a
    where a.wellbore = d.WELLBORE (+)
    and a.wellbore = e.WELLBORE(+)
    and d.MD = (select max(MD) from table_A b where b.MD < a.depth and
    d.wellBORE = b.wellBORE)
    and e.md = (select min(md) from table_A c where c.MD > a.depth and
    e.wellBORE = c.wellBORE);

    Thanks I will move to the correct one..
    Rafi,
    Build the Indexes and it is still slow. I am querying from a view from another database, which is in 10g instances.
    Moved: Query can run in Oracle 10g but very slow in 11g
    Edited by: 924400 on Apr 1, 2012 6:03 PM
    Edited by: 924400 on Apr 1, 2012 6:26 PM

  • Query ESSBASE and Oracle in one query

    What is the best way to query in the same time an ESSBASE database and an Oracle Database.I need to retrieve ESSBASE data with information stored in Oracle Database (supplement data).Thanks

    I've used Oracle and MySQL together on several machines; there's no contention or incompatibility that I've ever encountered. They listen on different ports by default (1521 for Oracle, 3306 for MySQL).
    As for PHP, you'll probably want to read an introductory article from the [Oracle PHP Developer Center|http://www.oracle.com/technology/tech/php/index.html]. Nothing you do there should interfere with your MySQL operations, either.
    Have fun!

  • How to configure Oracle RAC for Wiki and Blog

    Has anyone done Oracle RAC configuration for Oracle Wiki and Blogs?
    Thanks,
    Frank

    Hi Andreas,
    Thanks you for your help. I am trying to implement third party external LDAP authentication for APEX and Forms.
    So I started with OID and SSO setup to create external Partner Applications. Some reason my oid and sso web login links are not working. I didn't find any errors. I need some help in finding the problem and direction, I already read docs on web but no proper direction. I appreciate your help.
    Thanks

  • Weird result of oracle query before and after function base index creation

    Hi All,
    Here is the unique situation we are facing after creating just an index.
    The query result before the index and the query result after the index do not match.
    This is very illogical situation. Shidhar and me have done lot of R&D, also tried to get lots info from Google but we couldn't decipher the reason for that.
    I am giving you all the details about the query, index and tables with following steps.
    Please let us know if anything is going wrong from our side or is it a bug at oracle level which is a rarest possibility but a possibility.
    Step 1 :- Create table
    create table TEMP_COMP
    ID VARCHAR2(10),
    GROUP_ID VARCHAR2(10),
    TRAN_DATE DATE,
    AMT_1 NUMBER,
    AMT_2 NUMBER,
    AMT_3 NUMBER
    Step 2 :- Insert Sample data
    set feedback off
    set define off
    prompt Deleting TEMP_COMP...
    delete from TEMP_COMP;
    commit;
    prompt Loading TEMP_COMP...
    insert into TEMP_COMP (ID, GROUP_ID, TRAN_DATE, AMT_1, AMT_2, AMT_3)
    values ('01', 'G01', to_date('01-03-2007', 'dd-mm-yyyy'), 1, 11, 111);
    insert into TEMP_COMP (ID, GROUP_ID, TRAN_DATE, AMT_1, AMT_2, AMT_3)
    values ('02', 'G01', to_date('02-03-2007', 'dd-mm-yyyy'), 2, 22, 222);
    insert into TEMP_COMP (ID, GROUP_ID, TRAN_DATE, AMT_1, AMT_2, AMT_3)
    values ('03', 'G01', to_date('03-03-2007', 'dd-mm-yyyy'), 3, 33, 333);
    insert into TEMP_COMP (ID, GROUP_ID, TRAN_DATE, AMT_1, AMT_2, AMT_3)
    values ('04', 'G01', to_date('04-03-2007', 'dd-mm-yyyy'), 4, 44, 444);
    insert into TEMP_COMP (ID, GROUP_ID, TRAN_DATE, AMT_1, AMT_2, AMT_3)
    values ('05', 'G01', to_date('05-03-2007', 'dd-mm-yyyy'), 5, 55, 555);
    insert into TEMP_COMP (ID, GROUP_ID, TRAN_DATE, AMT_1, AMT_2, AMT_3)
    values ('06', 'G01', to_date('01-03-2008', 'dd-mm-yyyy'), 6, 66, 666);
    insert into TEMP_COMP (ID, GROUP_ID, TRAN_DATE, AMT_1, AMT_2, AMT_3)
    values ('07', 'G01', to_date('02-03-2008', 'dd-mm-yyyy'), 7, 77, 777);
    insert into TEMP_COMP (ID, GROUP_ID, TRAN_DATE, AMT_1, AMT_2, AMT_3)
    values ('08', 'G01', to_date('03-03-2008', 'dd-mm-yyyy'), 8, 88, 888);
    insert into TEMP_COMP (ID, GROUP_ID, TRAN_DATE, AMT_1, AMT_2, AMT_3)
    values ('09', 'G01', to_date('04-03-2008', 'dd-mm-yyyy'), 9, 99, 999);
    insert into TEMP_COMP (ID, GROUP_ID, TRAN_DATE, AMT_1, AMT_2, AMT_3)
    values ('10', 'G01', to_date('05-03-2008', 'dd-mm-yyyy'), 10, 100, 1000);
    insert into TEMP_COMP (ID, GROUP_ID, TRAN_DATE, AMT_1, AMT_2, AMT_3)
    values ('01', 'G01', to_date('01-03-2007', 'dd-mm-yyyy'), 1, 11, 111);
    insert into TEMP_COMP (ID, GROUP_ID, TRAN_DATE, AMT_1, AMT_2, AMT_3)
    values ('02', 'G01', to_date('02-03-2007', 'dd-mm-yyyy'), 2, 22, 222);
    insert into TEMP_COMP (ID, GROUP_ID, TRAN_DATE, AMT_1, AMT_2, AMT_3)
    values ('03', 'G01', to_date('03-03-2007', 'dd-mm-yyyy'), 3, 33, 333);
    insert into TEMP_COMP (ID, GROUP_ID, TRAN_DATE, AMT_1, AMT_2, AMT_3)
    values ('04', 'G01', to_date('04-03-2007', 'dd-mm-yyyy'), 4, 44, 444);
    insert into TEMP_COMP (ID, GROUP_ID, TRAN_DATE, AMT_1, AMT_2, AMT_3)
    values ('05', 'G01', to_date('05-03-2007', 'dd-mm-yyyy'), 5, 55, 555);
    insert into TEMP_COMP (ID, GROUP_ID, TRAN_DATE, AMT_1, AMT_2, AMT_3)
    values ('06', 'G01', to_date('01-03-2008', 'dd-mm-yyyy'), 6, 66, 666);
    insert into TEMP_COMP (ID, GROUP_ID, TRAN_DATE, AMT_1, AMT_2, AMT_3)
    values ('07', 'G01', to_date('02-03-2008', 'dd-mm-yyyy'), 7, 77, 777);
    insert into TEMP_COMP (ID, GROUP_ID, TRAN_DATE, AMT_1, AMT_2, AMT_3)
    values ('08', 'G01', to_date('03-03-2008', 'dd-mm-yyyy'), 8, 88, 888);
    insert into TEMP_COMP (ID, GROUP_ID, TRAN_DATE, AMT_1, AMT_2, AMT_3)
    values ('09', 'G01', to_date('04-03-2008', 'dd-mm-yyyy'), 9, 99, 999);
    insert into TEMP_COMP (ID, GROUP_ID, TRAN_DATE, AMT_1, AMT_2, AMT_3)
    values ('10', 'G01', to_date('05-03-2008', 'dd-mm-yyyy'), 10, 100, 1000);
    insert into TEMP_COMP (ID, GROUP_ID, TRAN_DATE, AMT_1, AMT_2, AMT_3)
    values ('01', 'G02', to_date('01-03-2007', 'dd-mm-yyyy'), 1, 11, 111);
    insert into TEMP_COMP (ID, GROUP_ID, TRAN_DATE, AMT_1, AMT_2, AMT_3)
    values ('02', 'G02', to_date('02-03-2007', 'dd-mm-yyyy'), 2, 22, 222);
    insert into TEMP_COMP (ID, GROUP_ID, TRAN_DATE, AMT_1, AMT_2, AMT_3)
    values ('03', 'G02', to_date('03-03-2007', 'dd-mm-yyyy'), 3, 33, 333);
    insert into TEMP_COMP (ID, GROUP_ID, TRAN_DATE, AMT_1, AMT_2, AMT_3)
    values ('04', 'G02', to_date('04-03-2007', 'dd-mm-yyyy'), 4, 44, 444);
    insert into TEMP_COMP (ID, GROUP_ID, TRAN_DATE, AMT_1, AMT_2, AMT_3)
    values ('05', 'G02', to_date('05-03-2007', 'dd-mm-yyyy'), 5, 55, 555);
    insert into TEMP_COMP (ID, GROUP_ID, TRAN_DATE, AMT_1, AMT_2, AMT_3)
    values ('06', 'G02', to_date('01-03-2008', 'dd-mm-yyyy'), 6, 66, 666);
    insert into TEMP_COMP (ID, GROUP_ID, TRAN_DATE, AMT_1, AMT_2, AMT_3)
    values ('07', 'G02', to_date('02-03-2008', 'dd-mm-yyyy'), 7, 77, 777);
    insert into TEMP_COMP (ID, GROUP_ID, TRAN_DATE, AMT_1, AMT_2, AMT_3)
    values ('08', 'G02', to_date('03-03-2008', 'dd-mm-yyyy'), 8, 88, 888);
    insert into TEMP_COMP (ID, GROUP_ID, TRAN_DATE, AMT_1, AMT_2, AMT_3)
    values ('09', 'G02', to_date('04-03-2008', 'dd-mm-yyyy'), 9, 99, 999);
    insert into TEMP_COMP (ID, GROUP_ID, TRAN_DATE, AMT_1, AMT_2, AMT_3)
    values ('10', 'G02', to_date('05-03-2008', 'dd-mm-yyyy'), 10, 100, 1000);
    insert into TEMP_COMP (ID, GROUP_ID, TRAN_DATE, AMT_1, AMT_2, AMT_3)
    values ('01', 'G03', to_date('01-03-2007', 'dd-mm-yyyy'), 1, 11, 111);
    insert into TEMP_COMP (ID, GROUP_ID, TRAN_DATE, AMT_1, AMT_2, AMT_3)
    values ('02', 'G03', to_date('02-03-2007', 'dd-mm-yyyy'), 2, 22, 222);
    insert into TEMP_COMP (ID, GROUP_ID, TRAN_DATE, AMT_1, AMT_2, AMT_3)
    values ('03', 'G03', to_date('03-03-2007', 'dd-mm-yyyy'), 3, 33, 333);
    insert into TEMP_COMP (ID, GROUP_ID, TRAN_DATE, AMT_1, AMT_2, AMT_3)
    values ('04', 'G03', to_date('04-03-2007', 'dd-mm-yyyy'), 4, 44, 444);
    insert into TEMP_COMP (ID, GROUP_ID, TRAN_DATE, AMT_1, AMT_2, AMT_3)
    values ('05', 'G03', to_date('05-03-2007', 'dd-mm-yyyy'), 5, 55, 555);
    insert into TEMP_COMP (ID, GROUP_ID, TRAN_DATE, AMT_1, AMT_2, AMT_3)
    values ('06', 'G03', to_date('01-03-2008', 'dd-mm-yyyy'), 6, 66, 666);
    insert into TEMP_COMP (ID, GROUP_ID, TRAN_DATE, AMT_1, AMT_2, AMT_3)
    values ('07', 'G03', to_date('02-03-2008', 'dd-mm-yyyy'), 7, 77, 777);
    insert into TEMP_COMP (ID, GROUP_ID, TRAN_DATE, AMT_1, AMT_2, AMT_3)
    values ('08', 'G03', to_date('03-03-2008', 'dd-mm-yyyy'), 8, 88, 888);
    insert into TEMP_COMP (ID, GROUP_ID, TRAN_DATE, AMT_1, AMT_2, AMT_3)
    values ('09', 'G03', to_date('04-03-2008', 'dd-mm-yyyy'), 9, 99, 999);
    insert into TEMP_COMP (ID, GROUP_ID, TRAN_DATE, AMT_1, AMT_2, AMT_3)
    values ('10', 'G03', to_date('05-03-2008', 'dd-mm-yyyy'), 10, 100, 1000);
    insert into TEMP_COMP (ID, GROUP_ID, TRAN_DATE, AMT_1, AMT_2, AMT_3)
    values ('11', 'G01', to_date('03-03-2008', 'dd-mm-yyyy'), 100, 200, 300);
    commit;
    prompt 41 records loaded
    set feedback on
    set define on
    prompt Done.
    Step 3 :- Execute the query.
    SELECT GROUP_ID
    , SUM(LAST_YR_REV) as "Year_2007_Amt"
    , SUM(CURR_YR_REV) as "Year_2008_Amt"
    FROM (
    SELECT GROUP_ID,
    CASE WHEN TO_CHAR(TRAN_DATE,'YYYYMM') BETWEEN'200701'AND'200712'THEN SUM(AMT_1) ELSE 0 END AS LAST_YR_REV ,
    CASE WHEN TO_CHAR(TRAN_DATE,'YYYYMM') BETWEEN'200801'AND'200812'THEN SUM(AMT_1) ELSE 0 END AS CURR_YR_REV
    FROM TEMP_COMP t
    WHERE GROUP_ID ='G01'
    AND TO_CHAR(TRAN_DATE,'YYYYMM') BETWEEN'200601'AND'200912'
    GROUP BY GROUP_ID, TRAN_DATE
    GROUP BY GROUP_ID
    The result of above query
    GROUP_ID Year_2007_Amt Year_2008_Amt
    G01 30 180
    Step 4 : Create composite index
    create index GROUP_ID_TRAN_DATE_IDX on TEMP_COMP (GROUP_ID, TO_CHAR(TRAN_DATE,'YYYYMM'))
    Step 5 : Execute once again query from step 3.
    SELECT GROUP_ID
    , SUM(LAST_YR_REV) as "Year_2007_Amt"
    , SUM(CURR_YR_REV) as "Year_2008_Amt"
    FROM (
    SELECT GROUP_ID,
    CASE WHEN TO_CHAR(TRAN_DATE,'YYYYMM') BETWEEN'200701'AND'200712'THEN SUM(AMT_1) ELSE 0 END AS LAST_YR_REV ,
    CASE WHEN TO_CHAR(TRAN_DATE,'YYYYMM') BETWEEN'200801'AND'200812'THEN SUM(AMT_1) ELSE 0 END AS CURR_YR_REV
    FROM TEMP_COMP t
    WHERE GROUP_ID ='G01'
    AND TO_CHAR(TRAN_DATE,'YYYYMM') BETWEEN'200601'AND'200912'
    GROUP BY GROUP_ID, TRAN_DATE
    GROUP BY GROUP_ID
    The result of above query
    GROUP_ID Year_2007_Amt Year_2008_Amt
    G01 0 210
    Thanks
    Sunil

    I just wanted to make a comment. The predicates in both your queries are flawed I believe. You convert a date column to a character and then you say only pick the converted result between two sets of characters.
    TO_CHAR(TRAN_DATE,'YYYYMM') BETWEEN'200601'AND'200912'It should be coded like this for a proper date range comparison:
    TRAN_DATE BETWEEN TO_DATE('200601','YYYYMM') AND TO_DATE('200912','YYYYMM')That will eliminate the need for you to create FBI that you created. You should now be able to create a regular (B*Tree) index on the TRAN_DATE column.
    Also, now that we have the structure of your tables and sample data, what business question are you trying to answer? I think there is a better query that can be written if we know the requirements.
    Hope this helps!

  • Sql query slowness due to rank and columns with null values:

        
    Sql query slowness due to rank and columns with null values:
    I have the following table in database with around 10 millions records:
    Declaration:
    create table PropertyOwners (
    [Key] int not null primary key,
    PropertyKey int not null,    
    BoughtDate DateTime,    
    OwnerKey int null,    
    GroupKey int null   
    go
    [Key] is primary key and combination of PropertyKey, BoughtDate, OwnerKey and GroupKey is unique.
    With the following index:
    CREATE NONCLUSTERED INDEX [IX_PropertyOwners] ON [dbo].[PropertyOwners]    
    [PropertyKey] ASC,   
    [BoughtDate] DESC,   
    [OwnerKey] DESC,   
    [GroupKey] DESC   
    go
    Description of the case:
    For single BoughtDate one property can belong to multiple owners or single group, for single record there can either be OwnerKey or GroupKey but not both so one of them will be null for each record. I am trying to retrieve the data from the table using
    following query for the OwnerKey. If there are same property rows for owners and group at the same time than the rows having OwnerKey with be preferred, that is why I am using "OwnerKey desc" in Rank function.
    declare @ownerKey int = 40000   
    select PropertyKey, BoughtDate, OwnerKey, GroupKey   
    from (    
    select PropertyKey, BoughtDate, OwnerKey, GroupKey,       
    RANK() over (partition by PropertyKey order by BoughtDate desc, OwnerKey desc, GroupKey desc) as [Rank]   
    from PropertyOwners   
    ) as result   
    where result.[Rank]=1 and result.[OwnerKey]=@ownerKey
    It is taking 2-3 seconds to get the records which is too slow, similar time it is taking as I try to get the records using the GroupKey. But when I tried to get the records for the PropertyKey with the same query, it is executing in 10 milliseconds.
    May be the slowness is due to as OwnerKey/GroupKey in the table  can be null and sql server in unable to index it. I have also tried to use the Indexed view to pre ranked them but I can't use it in my query as Rank function is not supported in indexed
    view.
    Please note this table is updated once a day and using Sql Server 2008 R2. Any help will be greatly appreciated.

    create table #result (PropertyKey int not null, BoughtDate datetime, OwnerKey int null, GroupKey int null, [Rank] int not null)Create index idx ON #result(OwnerKey ,rnk)
    insert into #result(PropertyKey, BoughtDate, OwnerKey, GroupKey, [Rank])
    select PropertyKey, BoughtDate, OwnerKey, GroupKey,
    RANK() over (partition by PropertyKey order by BoughtDate desc, OwnerKey desc, GroupKey desc) as [Rank]
    from PropertyOwners
    go
    declare @ownerKey int = 1
    select PropertyKey, BoughtDate, OwnerKey, GroupKey
    from #result as result
    where result.[Rank]=1
    and result.[OwnerKey]=@ownerKey
    go
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Oracle RAC Interconnect, PowerVM VLANs, and the Limit of 20

    Hello,
    Our company has a requirement to build a multitude of Oracle RAC clusters on AIX using Power VM on 770s and 795 hardware.
    We presently have 802.1q trunking configured on our Virtual I/O Servers, and have currently consumed 12 of 20 allowed VLANs for a virtual ethernet adapter. We have read the Oracle RAC FAQ on Oracle Metalink and it seems to otherwise discourage the use of sharing these interconnect VLANs between different clusters. This puts us in a scalability bind; IBM limits VLANs to 20 and Oracle says there is a one-to-one relationship between VLANs and subnets and RAC clusters. We must assume we have a fixed number of network interfaces available and that we absolutely have to leverage virtualized network hardware in order to build these environments. "add more network adapters to VIO" isn't an acceptable solution for us.
    Does anyone know if Oracle can afford any flexibility which would allow us to host multiple Oracle RAC interconnects on the same 802.1q trunk VLAN? We will independently guarantee the bandwidth, latency, and redundancy requirements are met for proper Oracle RAC performance, however we don't want a design "flaw" to cause us supportability issues in the future.
    We'd like it very much if we could have a bunch of two-node clusters all sharing the same private interconnect. For example:
    Cluster 1, node 1: 192.168.16.2 / 255.255.255.0 / VLAN 16
    Cluster 1, node 2: 192.168.16.3 / 255.255.255.0 / VLAN 16
    Cluster 2, node 1: 192.168.16.4 / 255.255.255.0 / VLAN 16
    Cluster 2, node 2: 192.168.16.5 / 255.255.255.0 / VLAN 16
    Cluster 3, node 1: 192.168.16.6 / 255.255.255.0 / VLAN 16
    Cluster 3, node 2: 192.168.16.7 / 255.255.255.0 / VLAN 16
    Cluster 4, node 1: 192.168.16.8 / 255.255.255.0 / VLAN 16
    Cluster 4, node 2: 192.168.16.9 / 255.255.255.0 / VLAN 16
    etc.
    Whereas the concern is that Oracle Corp will only support us if we do this:
    Cluster 1, node 1: 192.168.16.2 / 255.255.255.0 / VLAN 16
    Cluster 1, node 2: 192.168.16.3 / 255.255.255.0 / VLAN 16
    Cluster 2, node 1: 192.168.17.2 / 255.255.255.0 / VLAN 17
    Cluster 2, node 2: 192.168.17.3 / 255.255.255.0 / VLAN 17
    Cluster 3, node 1: 192.168.18.2 / 255.255.255.0 / VLAN 18
    Cluster 3, node 2: 192.168.18.3 / 255.255.255.0 / VLAN 18
    Cluster 4, node 1: 192.168.19.2 / 255.255.255.0 / VLAN 19
    Cluster 4, node 2: 192.168.19.3 / 255.255.255.0 / VLAN 19
    Which eats one VLAN per RAC cluster.

    Thank you for your answer!!
    I think I roughly understand the argument behind a 2-node RAC and a 3-node or greater RAC. We, unfortunately, were provided with two physical pieces of hardware to virtualize to support production (and two more to support non-production) and as a result we really have no place to host a third RAC node without placing it within the same "failure domain" (I hate that term) as one of the other nodes.
    My role is primarily as a system engineer, and, generally speaking, our main goals are eliminating single points of failure. We may be misusing 2-node RACs to eliminate single points of failure since it seems to violate the real intentions behind RAC, which is used more appropriately to scale wide to many nodes. Unfortunately, we've scaled out to only two nodes, and opted to scale these two nodes up, making them huge with many CPUs and lots of memory.
    Other options, notably the active-passive failover cluster we have in HACMP or PowerHA on the AIX / IBM Power platform is unattractive as the standby node drives no resources yet must consume CPU and memory resources so that it is prepared for a failover of the primary node. We use HACMP / PowerHA with Oracle and it works nice, however Oracle RAC, even in a two-node configuration, drives load on both nodes unlike with an active-passive clustering technology.
    All that aside, I am posing the question to both IBM, our Oracle DBAs (whom will ask Oracle Support). Typically the answers we get vary widely depending on the experience and skill level of the support personnel we get on both the Oracle and IBM sides... so on a suggestion from a colleague (Hi Kevin!) I posted here. I'm concerned that the answer from Oracle Support will unthinkingly be "you can't do that, my script says to tell you the absolute most rigid interpretation of the support document" while all the time the same document talks of the use of NFS and/or iSCSI storage eye roll
    We have a massive deployment of Oracle EBS and honestly the interconnect doesn't even touch 100mbit speeds even though the configuration has been checked multiple times by Oracle and IBM and with the knowledge that Oracle EBS is supposed to heavily leverage RAC. I haven't met a single person who doesn't look at our environment and suggest jumbo frames. It's a joke at this point... comments like "OMG YOU DON'T HAVE JUMBO FRAMES" and/or "OMG YOU'RE NOT USING INFINIBAND WHATTA NOOB" are commonplace when new DBAs are hired. I maintain that the utilization numbers don't support this.
    I can tell you that we have 8Gb fiber channel storage and 10Gb network connectivity. I would probably assume that there were a bottleneck in the storage infrastructure first. But alas, I digress.
    Mainly I'm looking for a real-world answer to this question. Aside from violating every last recommendation and making oracle support folk gently weep at the suggestion, are there any issues with sharing interconnects between RAC environments that will prevent it's functionality and/or reduce it's stability?
    We have rapid spanning tree configured, as far as I know, and our network folks have tuned the timers razor thin. We have Nexus 5k and Nexus 7k network infrastructure. The typical issues you'd fine with standard spanning tree really don't affect us because our network people are just that damn good.

  • What exactly is a Livecache and how different is it from Oracle RAC?

    What exactly is Livecache and how different is it from Oracle RAC since livecache is used for high availability? and should Livecahe be used only with MAXDB?

    As per my knowledge this both are completly different concepts and have different use.
    SAP Livecache is used in SAP SCM/APO to increase speed of processing by using main memeory
    Whereas Oracle RAC is used for HA and scalability.

  • How to Implement KFF Range (Low and High) in query find form in oracle apps

    Hi,
    Please provide some sample script for using KFF range LOV (Low and High) in one of the query find form in Oracle apps R12.
    I need to customize one of the standard form and add this range functionality for that search form.
    Thanks,
    Prasanna

    Yuvaraaj,
    Your request is unique to the Oracle Enterprise Business Suite (EBS). Please post your question in the General EBS Discussion forum. If you have a general Forms question, by all means, ask it here! ;-)
    Craig...

  • Oracle RAC 11g query

    Hi All,
    I am new to Oracle RAC 11g, facing a issue, Request all to help.
    1) What is the instance id means which we get from gv$session in Oracle RAC setup?
    2) What is differnce between Session failure and node failure?
    3) If session fail, then client should connect to node1(to which session previously connected) or node2?
    Thanks

    1) What is the instance id means which we get from gv$session in Oracle RAC setup?Instance ID is unique for each instance in clustered database.
    2) What is differnce between Session failure and node failure?Session Failure - when the connection to an instance is lost, SESSION failover results only in the establishment of a new connection to another Oracle RAC node
    Node Failure/Eviction - we can say hardware fails, the Cluster Manager reports the change in the cluster's membership to Global Resource Directory (GRD)
    Resource directory which consists of both Global enqueue service & cache service
    3) If session fail, then client should connect to node1(to which session previously connected) or node2?You have to configure in SERVICE.

  • Oracle RAC + Clusterware and another Cluster with Clusterware for SAP

    Hi,
    I have some questions about implementation of Oracle RAC and Clusterware with SAP
    For exemple, an architecture with 4 servers ( 2 real and 2 vritual ).
    I would like to know if i can do this
    2 servers for the first cluster.
    First cluster is with Clusterware and Oracle RAC
    This is for all the SAP Oracle databases environment
    I think there is no problem here.
    Now, with 2 others servers il would like to make another cluster (with also clusterware ) for SAP Central services (SCS) and enque replication server (ERS)
    Because all architecture is for only one SAP environment with separate services.
    1 for Database (cluster 1)
    1 for Central services ( cluster 2, virtual machine )
    1 for Dialogue Instance (no cluster)
    To be clear, the second cluster is to make HA of central services SAP (SCS and ERS )
    My question 2 are :
    Is it a good job to do this ? or there is anything wrong ?
    Do i have to install antoher clusterware for this 2 servers or i have to make anything with the existing clusterware + oracle RAC ??
    Thank you very much for you help
    Edited by: user12395221 on 29 déc. 2009 15:36

    Hi Givre,
    have you checked: Providing High Availability for SAP Resources (http://www.oracle.com/technology/products/database/clusterware/pdf/sap-availability-on-rac-twp.pdf) available on otn.oracle.com/clusterware? Not being an SAP expert myself, I still think, this paper describes the configuration - at least partially - that you are trying to set up.
    Just an idea. Thanks,
    Markus

  • Oracle RAC and datacontrol

    Hello, I have an Oracle RAC 10gR2 with 2 nodes on Suse Linux Enterprise Server 10. When I enter on the enterprise manager database control (no grid control). I see the follow message:
    "Availability calculations for the cluster database target are disabled. Please enable the DBMS JOB EMD_MAINTENANCE.EXECUTE_EM_DBMS_JOB_PROCS for Database Control."
    What is it? How can I clean it?
    Thanks in advance.

    Check out MOS note :
    What is EMD_MAINTENANCE.EXECUTE_EM_DBMS_JOB_PROCS dbms_job and how to Remove / Re-create it [ID 444033.1]
    Regards
    Rajesh

  • Oracle RAC and Standards

    Does anyone know if Oracle RAC is part of any emerging Grid standards?

    Hi Eric
    Isn't RAC a middle to reach the grid computing goals ?
    “A computational grid is a hardware and software infrastructure that provides dependable, consistent, pervasive, and inexpensive access to high-end computational capabilities.” by Carl Kesselman and Ian Foster in “The Grid: Blueprint for a New Computing Infrastructure,”

  • Oracle rac and TDE?

    We are running oracle rac on 10.2.0.3 linux Itanium platform. I am setting up TDE for the first time and I setup my wallet location to be on an ocfs file system so that each node in the cluster will have access to the key. Is that all we will need to do and is this a supported configuration for TDE in a rac environment?
    Do you have to open the wallet on each instance during instance startup when running rac?
    Also we have a physicla standby server configured and I setup the same wallet location on the physicla standby and copied the wallet file over, Is that all we need to do for the standby server?
    Thanks.

    Peter,
    Good info and your video makes everything look easy.
    In addition to the encrypted wallet file (ewallet.p12), I also have a cwallet.sso file in the local file system (not ACFS) on both RAC nodes of my Primary and both Standby nodes.
    If I start the database and then run: SELECT * FROM V$ENCRYPTION_WALLET; it says the wallet status is open. However, as soon as a user tries to connect through our application (using jdbc), I get the "ORA-28365: wallet is not open" errors in the alert log. So then I have to run: ALTER SYSTEM SET ENCRYPTION WALLET OPEN IDENTIFIED BY "<Wallet Password>"; on each node and then users can connect through the application.
    Any ideas why auto-login doesn't work and why everything is grayed out on the Wallet Tab drop down menu in OWM?
    Thanks.

Maybe you are looking for

  • No new data in cube after a incoming maintenance job

    Hi, I thought I had read about this topic before, so I tried searching the forum but I didn't find any relevant threads. Anyways, I have a cube(partitioned along month) that I want to add new data to every day. I maintain the cube using AWM and accep

  • Issue with store apps when upgrading to Windows 8.1

    Every once in awhile when performing an in-place upgrade from Windows 8.0 Enterprise to Windows 8.1 Enterprise, we will experience a strange issue where most of the default store apps will not launch.  They will attempt to launch, and then drop the u

  • Installing Oracle 8.1.7 on RHEL 3 (SIGSEGV   11*  segmentation violation)

    Hi I have instaled a Oracle 8.1.7 on a Red Hat 3. and apply the 8.1.7 Mandatory OUI/JRE/GLIC Patch. All is fine until this point. But when i must re-run the install and run the netasst& i get an segmentation violation. I have checked all again, i hav

  • Urgent please

    Hi guys, I have sales order with milestone billing plan, down payment request is transferred to FI from SD, my client rejects the order for some reason..., how can I get status of order "Complete" if I have down payment request with clearing? Thanks!

  • Photo stream won't load all photos in the upload folder

    I added the photos I want in the Photo Stream to the upload folder. It trasnfers some (45-50 of 600), but not all. Any advice??????