Create table taking long time

my select query(2m records) coming within a second but while creating a table (nologging) based on the select clause it is taking long time.
can anybody give me the suggestion which part i will look to improve the performance..

Plan
SELECT STATEMENT ALL_ROWS Cost: 11 Bytes: 655 Cardinality: 1                                              
     19 FILTER                                         
          18 NESTED LOOPS Cost: 11 Bytes: 655 Cardinality: 1                                    
               15 NESTED LOOPS Cost: 9 Bytes: 617 Cardinality: 1                               
                    12 NESTED LOOPS Cost: 8 Bytes: 481 Cardinality: 1                          
                         9 NESTED LOOPS Cost: 6 Bytes: 435 Cardinality: 1                     
                              6 NESTED LOOPS Cost: 4 Bytes: 209 Cardinality: 1                
                                   3 TABLE ACCESS BY INDEX ROWID TABLE OYSTER_WEB3.TRANSACTION Cost: 2 Bytes: 155 Cardinality: 1           
                                        2 BITMAP CONVERSION TO ROWIDS      
                                             1 BITMAP INDEX SINGLE VALUE INDEX (BITMAP) OYSTER_WEB3.IX_LINE_COMMODITY_ID
                                   5 TABLE ACCESS BY INDEX ROWID TABLE OYSTERPLUS_DATA.BRIO_SUPPLIERS Cost: 2 Bytes: 54 Cardinality: 1           
                                        4 INDEX UNIQUE SCAN INDEX (UNIQUE) OYSTERPLUS_DATA.PK_BRIO_SUPPLIERS Cost: 1 Cardinality: 1      
                              8 TABLE ACCESS BY INDEX ROWID TABLE OYSTER3.FLAT_SITE_MV Cost: 2 Bytes: 226 Cardinality: 1                
                                   7 INDEX UNIQUE SCAN INDEX (UNIQUE) OYSTER3.PK_FLAT_SITE_MV Cost: 1 Cardinality: 1           
                         11 TABLE ACCESS BY INDEX ROWID TABLE OYSTER3.SITE_COMMODITY_CODING Cost: 2 Bytes: 46 Cardinality: 1                     
                              10 INDEX UNIQUE SCAN INDEX (UNIQUE) OYSTER3.PK_SITE_COMMODITY_CODING Cost: 1 Cardinality: 1                
                    14 TABLE ACCESS BY INDEX ROWID TABLE OYSTERPLUS_DATA.BRIO_COMMODITIES Cost: 1 Bytes: 136 Cardinality: 1                          
                         13 INDEX UNIQUE SCAN INDEX (UNIQUE) OYSTERPLUS_DATA.PK_BRIO_COMMODITIES Cost: 0 Cardinality: 1                     
               17 TABLE ACCESS BY INDEX ROWID TABLE OYSTER3.SUPPLIER_ALIAS Cost: 2 Bytes: 38 Cardinality: 1                               
                    16 INDEX UNIQUE SCAN INDEX (UNIQUE) OYSTER3.PK_SUPPLIER_ALIAS Cost: 1 Cardinality: 1

Similar Messages

  • Create Table taking long time (more than 60 minutes) and still running

    Hi all,
    I was able to create and drop table until yesterday, but now the when I issue the below statement the server is stuck, its showing creating table in process.... and then it hangs till you cancel the operation. Query of table and running the procedures are ok, so I am confused why only create table is having issues.
    CREATE TABLE table1
    ( field1 VARCHAR2(20) );
    Any help at the earliest will be appreciated,
    Thanks

    Just check up your status of the log files
    select * from v$logfile
    If the status is inactive,
    Just do a
    alter system switch logfile
    The alert log should have the problem specified check for the file.
    also try to recreate another user and take a try in table creation:
    SQL> connect sys/******
    SQL> create user scott identified by tiger default tablespace users temporary tablespace temp quota 100m on users;
    SQL> grant connect, resource to scott;_
    SQL> connect scott/tiger
    SQL> create table xyz ( a number);
    SQL> create table abc ( d number);
    Could you successfully create the tables?

  • Create table taking much time

    Hi all,
    I have to copy one table with more than 1 lakh records from one schema (deloitte) into another schema (dell). It is taking more time but not getting output as early as possible.
    Is there any alternative way to make it more faster for copying the data.
    Create table dell.newtable as
    (select * from deloitte.oldtable)
    Advance thanks

    Costa wrote:
    Hi all,
    I have to copy one table with more than 1 lakh records from one schema (deloitte) into another schema (dell). It is taking more time but not getting output as early as possible.
    Is there any alternative way to make it more faster for copying the data.
    Create table dell.newtable as
    (select * from deloitte.oldtable)the slow down is NOT CREATE TABLE itself.
    The slowdown is populating the new table with old data.
    Other sessions can not see uncommitted data.
    So until the statement completes other sessions have no rows to access.

  • Using functions in select statement(joining 5 tables) taking long time in Oracle

    Hi,
    I have created a query in oracle which joins 5 tables and uses two functions(function names are 'ca_concat' and 'ca_concat_noseq').
    Query takes approximately 40 secs to execute around 12000 records. If I remove the functions from query it excutes within a second..
    Note : I have used the oracle SQL Developer for testing the query.
    It would be appriciated if anybody helps me to improve the perfomance of the query.
    Below are the querie with and without functions:
    1. Query with functions:
    select
    imsAuditEvent12.id as ID,
    imsAuditEvent12.audit_time as AUDIT_TIME,
    imsAuditEvent12.admin_dn as ADMIN_DN,
    imsAuditEvent12.admin_name as ADMIN_NAME,
    imsAuditEvent12.event_name as EVENT_NAME,
    imsAuditEvent12.event_description as EVENT_DESCRIPTION,
    imsAuditEvent12.event_state as EVENT_STATE,
    imsAuditEvent12.envname as ENVNAME,
    imsAuditTaskSession12.task_name as TASK_NAME,
    imsAuditTaskSession12.id as TASK_ID,
    imsAuditTaskSession12.task_description as TASK_DESCRIPTION,
    imsAuditTaskSession12.task_priority as TASK_PRIORITY,
    S1.OBJECT_ID,
    S1.OBJECT_NAME as OBJECT_NAME,
    S1.OBJECT_TYPE as OBJECT_TYPE,
    S2.ATTRIBUTE_NAME as ATTRIBUTE_NAME,
    S2.ATTRIBUTE_OLDVALUES as ATTRIBUTE_OLDVALUES,
    S2.ATTRIBUTE_NEWVALUES as ATTRIBUTE_NEWVALUES,
    S3.OBJECT_DN as OBJECT_DN,
    S3.OBJECT_TYPE as IMSOBJECT_TYPE,
    S3.CONTAINER_NAME as CONTAINER_NAME,
    S3.CONTAINER_DN as CONTAINER_DN,
    S3.CONTAINER_TYPE as CONTAINER_TYPE
    from
    imsAuditEvent12 LEFT JOIN imsAuditTaskSession12 ON imsAuditTaskSession12.id=imsAuditEvent12.tasksession_id LEFT JOIN
    (select parent_event_id,
    ca_concat('imsAuditEventObject12.parent_event_id',parent_event_id,'imsAuditEventObject12.object_name','imsAuditEventObject12') as OBJECT_NAME,
    ca_concat('imsAuditEventObject12.parent_event_id',parent_event_id,'imsAuditEventObject12.object_type','imsAuditEventObject12') as OBJECT_TYPE,
    ca_concat_noseq('imsAuditEventObject12.parent_event_id',parent_event_id,'imsAuditEventObject12.ID','imsAuditEventObject12') as OBJECT_ID
    from
    imsAuditEventObject12 group by parent_event_id) S1
    ON imsAuditEvent12.id = S1.parent_event_id LEFT JOIN
    (select
    parent_object_id,
    ca_concat('parent_object_id',parent_object_id,'attribute_name','imsauditobjectattributes12') as ATTRIBUTE_NAME,
    ca_concat('parent_object_id',parent_object_id,'attribute_oldvalue','imsauditobjectattributes12') as ATTRIBUTE_OLDVALUES ,
    ca_concat('parent_object_id',parent_object_id,'attribute_newvalue','imsauditobjectattributes12') as ATTRIBUTE_NEWVALUES
    from
    imsauditobjectattributes12 group by parent_object_id) S2
    ON S1.OBJECT_ID = S2.parent_object_id LEFT JOIN
    (select
    parent_event_id,
    ca_concat('parent_event_id',parent_event_id,'OBJECT_DN','imsauditobjectrelationship12') as OBJECT_DN,
    ca_concat('parent_event_id',parent_event_id,'OBJECT_TYPE','imsauditobjectrelationship12') as OBJECT_TYPE ,
    ca_concat('parent_event_id',parent_event_id,'CONTAINER_NAME','imsauditobjectrelationship12') as CONTAINER_NAME,
    ca_concat('parent_event_id',parent_event_id,'CONTAINER_DN','imsauditobjectrelationship12') as CONTAINER_DN,
    ca_concat('parent_event_id',parent_event_id,'CONTAINER_TYPE','imsauditobjectrelationship12') as CONTAINER_TYPE
    from
    imsauditobjectrelationship12 group by parent_event_id) S3
    ON imsAuditEvent12.id =S3.parent_event_id where imsauditevent12.id > 0 and imsauditevent12.id <12000 order by imsauditevent12.id ASC;
    2. Query without using functions:
    select * from imsauditeventobject12 left join imsauditevent12 on imsauditeventobject12.id=imsauditevent12.id left join imsauditobjectattributes12 on imsauditeventobject12.id=imsauditobjectattributes12.parent_object_id left join imsaudittasksession12 on imsauditevent12.tasksession_id=imsaudittasksession12.id left join imsAuditObjectRelationship12 on imsAuditEvent12.id =imsAuditObjectRelationship12.parent_event_id where imsauditevent12.id >0 and imsauditevent12.id < 12000 order by imsauditevent12.id asc;
    Thanks,
    Badri

    Hi,
    Please find the below more information about the query.
    DB version: Oracle 11g Enterprise Edition Release 11.2.0.1.0
    Below are source of the functions:
    create or replace function ca_concat( ca_key_name in varchar2,
                           ca_key_val  in varchar2,
                           ca_other_col_name in varchar2,
                           ca_tname     in varchar2 )
       return varchar2
          as
           type rc is ref cursor;
           l_str    varchar2(32000);
           l_sep    varchar2(1);
           l_val    varchar2(32000);
           l_count   number(6);
           l_cur    rc;
       begin
       l_count :=1;
       l_str := '';
           open l_cur for 'select '|| ca_other_col_name ||'
                             from '|| ca_tname || '
                            where ' || ca_key_name || ' = '
                       using ca_key_val;
           loop
               fetch l_cur into l_val;
               l_val := SUBSTR(l_val,0,102);
               exit when (l_cur%notfound or l_count > 38);
               l_str := l_str || l_sep || l_count || '.' || l_val;
               l_sep := ',';
           l_count := l_count + 1;
           end loop;
           close l_cur;
           return l_str;
       end;
      create or replace function ca_concat_noseq( ca_key_name in varchar2,
                           ca_key_val  in varchar2,
                           ca_other_col_name in varchar2,
                           ca_tname     in varchar2 )
       return varchar2
          as
           type rc is ref cursor;
           l_str    nvarchar2(32000);
           l_sep    varchar2(1);
           l_val    varchar2(32000);
           l_count   number(6);
           l_cur    rc;
       begin
       l_count :=1;
           open l_cur for 'select '||ca_other_col_name||'
                             from '|| ca_tname || '
                            where ' || ca_key_name || ' = '
                       using ca_key_val;
           loop
               fetch l_cur into l_val;
               exit when (l_cur%notfound or length(l_val)>3000 or l_count>1);
               l_str := l_str || l_sep || l_val ;
               l_sep := ',';
           l_count := l_count + 1;
           end loop;
           close l_cur;
           return l_str;
    end;
    Below are the tables structures:
    DESC imsauditevent12;
    Name                           Null     Type                                                                                                                                                                                      
    ID                             NOT NULL NUMBER                                                                                                                                                                                       
    TASKSESSION_ID                 NOT NULL NUMBER                                                                                                                                                                                       
    TASKSESSION_OID                         VARCHAR2(100)                                                                                                                                                                                
    PARENT_EVENT_OID                        VARCHAR2(100)                                                                                                                                                                                
    AUDIT_TIME                     NOT NULL TIMESTAMP(6)                                                                                                                                                                                 
    EVENT_OID                      NOT NULL VARCHAR2(100)                                                                                                                                                                                
    ADMIN_DN                       NOT NULL VARCHAR2(512)                                                                                                                                                                                
    ADMIN_NAME                              VARCHAR2(255)                                                                                                                                                                                
    EVENT_NAME                     NOT NULL VARCHAR2(255)                                                                                                                                                                                
    EVENT_DESCRIPTION                       VARCHAR2(4000)                                                                                                                                                                               
    EVENT_STATE                             VARCHAR2(100)                                                                                                                                                                                
    ENVNAME                        NOT NULL VARCHAR2(100)                                                                                                                                                                                
    ENV_OID                        NOT NULL VARCHAR2(100)                                                                                                                                                                                
    DESC imsauditeventobject12;
    Name                           Null     Type                                                                                                                                                                                         
    ID                             NOT NULL NUMBER                                                                                                                                                                                       
    PARENT_EVENT_ID                NOT NULL NUMBER                                                                                                                                                                                       
    AUDIT_TIME                     NOT NULL TIMESTAMP(6)                                                                                                                                                                                 
    OBJECT_TYPE                    NOT NULL VARCHAR2(100)                                                                                                                                                                                
    OBJECT_NAME                             VARCHAR2(255)                                                                                                                                                                                
    DESC imsauditobjectattributes12;
    Name                           Null     Type                                                                                                                                                                                         
    ID                             NOT NULL NUMBER                                                                                                                                                                                       
    PARENT_OBJECT_ID               NOT NULL NUMBER                                                                                                                                                                                       
    AUDIT_TIME                     NOT NULL TIMESTAMP(6)                                                                                                                                                                                 
    DISPLAY_NAME                            VARCHAR2(255)                                                                                                                                                                                
    ATTRIBUTE_NAME                 NOT NULL VARCHAR2(255)                                                                                                                                                                                
    ATTRIBUTE_OLDVALUE                      VARCHAR2(4000)                                                                                                                                                                               
    ATTRIBUTE_NEWVALUE                      VARCHAR2(4000)                                                                                                                                                                               
    DESC imsaudittasksession12;
    Name                           Null     Type                                                                                                                                                                                         
    ID                             NOT NULL NUMBER                                                                                                                                                                                       
    PARENT_TS_OID                           VARCHAR2(100)                                                                                                                                                                                
    PARENT_EVENT_OID                        VARCHAR2(100)                                                                                                                                                                                
    AUDIT_TIME                     NOT NULL TIMESTAMP(6)                                                                                                                                                                                 
    TASKSESSION_OID                NOT NULL VARCHAR2(100)                                                                                                                                                                                
    ADMIN_DN                       NOT NULL VARCHAR2(512)                                                                                                                                                                                
    ADMIN_NAME                              VARCHAR2(255)                                                                                                                                                                                
    TASK_NAME                               VARCHAR2(255)                                                                                                                                                                                
    TASK_TAG                       NOT NULL VARCHAR2(255)                                                                                                                                                                                
    TASK_DESCRIPTION                        VARCHAR2(4000)                                                                                                                                                                               
    TASK_PRIORITY                           NUMBER                                                                                                                                                                                       
    STATE                          NOT NULL VARCHAR2(100)                                                                                                                                                                                
    ENVNAME                        NOT NULL VARCHAR2(100)                                                                                                                                                                                
    ENV_OID                        NOT NULL VARCHAR2(100)                                                                                                                                                                
    DESC imsAuditObjectRelationship12;
    Name                           Null     Type                                                                                                                                                                                         
    ID                             NOT NULL NUMBER                                                                                                                                                                                       
    PARENT_EVENT_ID                NOT NULL NUMBER                                                                                                                                                                                       
    AUDIT_TIME                     NOT NULL TIMESTAMP(6)                                                                                                                                                                                 
    OBJECT_TYPE                    NOT NULL VARCHAR2(100)                                                                                                                                                                                
    OBJECT_DN                      NOT NULL VARCHAR2(512)                                                                                                                                                                                
    CONTAINER_TYPE                 NOT NULL VARCHAR2(100)                                                                                                                                                                                
    OBJECT_NAME                    NOT NULL VARCHAR2(255)                                                                                                                                                                                
    CONTAINER_NAME                 NOT NULL VARCHAR2(255)                                                                                                                                                                                
    CONTAINER_DN                   NOT NULL VARCHAR2(512)                                                                                                                                                                          
    OPERATION                      NOT NULL VARCHAR2(50)                                                                                                                                                                                 
    Thanks,
    Badri

  • Alter table taking long time

    Hi
    we have problem with one of our tables
    we are trying to add a column to that table and it hangds
    I am trying to drop the table and it still hangs nor can i rename that table to a diff table name
    i killed the SQL session and in one of trace files got following errors for that table trust_details
    Dump file e:\oracle\ora92\dev\udump\dev_ora_2968.trc
    Wed Oct 13 11:53:38 2004
    ORACLE V9.2.0.1.0 - Production vsnsta=0
    vsnsql=12 vsnxtr=3
    Windows 2000 Version 5.0 Service Pack 4, CPU type 586
    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.1.0 - Production
    Windows 2000 Version 5.0 Service Pack 4, CPU type 586
    Instance name: dev
    Redo thread mounted by this instance: 1
    Oracle process number: 13
    Windows thread id: 2968, image: ORACLE.EXE
    *** 2004-10-13 11:53:38.000
    *** SESSION ID:(21.6937) 2004-10-13 11:53:38.000
    *** 2004-10-13 12:04:09.000
    SEARCH in kdisti: tsn = 2, objd = 4083, rdba = 12583042FATAL ERROR IN TWO-TASK SERVER: error = 12571
    *** 2004-10-13 12:04:09.000
    ksedmp: internal or fatal error
    ORA-04021: timeout occurred while waiting to lock object CHEALTH1.BIG_HV_LABELS
    No current SQL statement being executed.
    ----- Call Stack Trace -----
    calling call entry argument values in hex
    location type point (? means dubious value)
    ksedmp+147          CALLrel  ksedst+0
    __VInfreq__opitsk+3 CALLrel _ksedmp+0            2 25C34D4 311B
    eb
    opiino+5fc          CALLrel  opitsk+0 0 0 B416320 E4836C4 CE 0
    _opiodr+4cd          CALLreg  00000000             3C 4 E3EFBD4
    opidrv+233          CALLrel  opiodr+0 3C 4 E3EFBD4 0
    sou2o+19            CALLrel  opidrv+0
    opimai+10a          CALLrel  sou2o+0
    OracleThreadStart@  CALLrel  opimai+0
    4+35c
    7C4E9879 CALLreg 00000000
    --------------------- Binary Stack Dump ---------------------
    ========== FRAME [1] (_ksedmp+147 -> _ksedst+0) ==========
    Dump of memory from 0x0E3EE69C to 0x0E3EE714
    E3EE690 0E3EE714 [..>.]
    E3EE6A0 00691AB4 00000000 00000000 00000000 [..i.............]
    E3EE6B0 00000000 00000000 0000273E 6111978F [........>'.....a]
    E3EE6C0 00000000 00000000 00000000 025B43F0 [.............C[.]
    E3EE6D0 00000066 00000066 F1C11D54 00000065 [f...f...T...e...]
    E3EE6E0 00000000 0B410048 0B416320 00000000 [....H.A. cA.....]
    E3EE6F0 0B410048 0B416320 0B410048 0E3EE6A8 [H.A. cA.H.A...>.]
    E3EE700 0E3EE718 0E3EF898 014122B0 025AFB94 [..>...>.."A...Z.]
    E3EE710 FFFFFFFF [....]
    ========== FRAME [2] (__VInfreq__opitsk+3eb -> _ksedmp+0) ==========
    Dump of memory from 0x0E3EE714 to 0x0E3EEB14
    E3EE710 0E3EF7A0 017E1AE0 00000002 [..>...~.....]
    E3EE720 025C34D4 0000311B 00130003 00000001 [.4\..1..........]
    E3EE730 00000001 00000921 00000003 0E3EE648 [....!.......H.>.]
    E3EE740 0000004B 0E3EE614 0000000C 0E429EB0 [K.....>.......B.]
    E3EE750 0E3EEC70 00000000 00000000 00000000 [p.>.............]
    E3EE760 00000000 00000000 00000000 00000000 [................]
    E3EE770 0E3EEC94 00000000 0E3EECB8 0A4DE9E8 [..>.......>...M.]
    E3EE780 00000000 00000000 00000000 00000000 [................]
    Repeat 7 times
    E3EE800 00000000 0000004B 00000000 00000005 [....K...........]
    E3EE810 00000000 00000000 00140000 00000000 [................]
    E3EE820 00000000 0E3EDB78 6057DAA8 00000000 [....x.>...W`....]
    E3EE830 0000003C 6057BF48 00000009 00000000 [<...H.W`........]
    E3EE840 00000004 003C0520 00000000 00000000 [.... .<.........]
    E3EE850 0E429EF8 6057BF08 00000000 0000004B [..B...W`....K...]
    E3EE860 47230101 00008000 00000000 00000000 [..#G............]
    E3EE870 00000000 00000000 00000000 0001001F [................]
    E3EE880 0000001E 00000000 00000000 00000000 [................]
    E3EE890 00000000 00000000 0E3E0000 00000000 [..........>.....]
    E3EE8A0 0E3EF4CC 6111D987 0E3EECC4 0E3EF0C8 [..>....a..>...>.]
    E3EE8B0 00000000 0000000D 6F5C3A45 6C63000D [........E:\o..cl]
    E3EE8C0 00000000 00323961 00000000 00000000 [....a92.........]
    E3EE8D0 00000000 00000000 00000000 00000000 [................]
    Repeat 8 times
    E3EE960 00000000 0E478A10 0E478A50 0E4836C4 [......G.P.G..6H.]
    E3EE970 00000000 00000000 00000000 00000000 [................]
    E3EE980 00000002 00000000 00000000 00000000 [................]
    E3EE990 00000000 00000000 00000000 00000000 [................]
    Repeat 4 times
    E3EE9E0 6F5C3A45 6C636172 726F5C65 00323961 [E:\oracle\ora92.]
    E3EE9F0 00000000 00000000 00000000 00000000 [................]
    Repeat 4 times
    E3EEA40 00000000 00000000 6F5C3A45 6C636172 [........E:\oracl]
    E3EEA50 726F5C65 00323961 00000000 00000000 [e\ora92.........]
    E3EEA60 00000000 00000000 0E3EEEA8 0E3EEE98 [..........>...>.]
    E3EEA70 0E3EF6CC 0E3EF6A0 6111D987 0E3EEE98 [..>...>....a..>.]
    E3EEA80 0E3EF29C 0000000F 00000000 000004B0 [..>.............]
    E3EEA90 00000200 0E3EF6C0 6111D8C0 00000000 [......>....a....]
    E3EEAA0 0E3EF2BC 0E3EEEB8 02806D3F 0281F398 [..>...>.?m......]
    E3EEAB0 00000002 00000000 00000000 00000000 [................]
    E3EEAC0 00000000 00000000 00000000 00000000 [................]
    Repeat 1 times
    E3EEAE0 000004B0 00000200 0E3EF714 6111D8C0 [..........>....a]
    E3EEAF0 00000000 0E3EF310 0E3EEF0C 0E3EF9A8 [......>...>...>.]
    E3EEB00 0B410048 FFFFFFFF 00000000 0E3EF328 [H.A.........(.>.]
    E3EEB10 0E3EEF24 [$.>.]
    ========== FRAME [3] (_opiino+5fc -> _opitsk+0) ==========
    Dump of memory from 0x0E3EF7A0 to 0x0E3EF8A8
    E3EF7A0 0E3EF8A8 00627A91 00000000 00000000 [..>..zb.........]
    E3EF7B0 0B416320 0E4836C4 000000CE 00000000 [ cA..6H.........]
    E3EF7C0 00000000 00000000 0B416320 0E3EFD7A [........ cA.z.>.]
    E3EF7D0 0000000A 00000000 0B4162A8 00000000 [.........bA.....]
    E3EF7E0 0E478A10 0E478A50 0E3E0000 00000000 [..G.P.G...>.....]
    E3EF7F0 00000003 0E3EF884 0B4102AC 0E3EF7C0 [......>...A...>.]
    E3EF800 0E3EF92C 00167ED0 00000000 0E420400 [,.>..~........B.]
    E3EF810 00000000 00000000 00000002 0B410638 [............8.A.]
    E3EF820 0E420548 0E42A8DC 00000000 0E4284CC [H.B...B.......B.]
    E3EF830 00000000 00000000 00000000 677FA850 [............P..g]
    E3EF840 0B419398 00420000 00000000 0E3EF800 [..A...B.......>.]
    E3EF850 00000011 00420000 000010C0 00000000 [......B.........]
    E3EF860 00000000 00432B00 0E3EFAC8 018FC8D4 [.....+C...>.....]
    E3EF870 0000000F 00000000 0E4836C4 000000CE [.........6H.....]
    E3EF880 0E3EF92C 0B4102AC 00000002 0B410048 [,.>...A.....H.A.]
    E3EF890 0E3EF7C0 00000000 0E3EFAB4 014122B0 [..>.......>.."A.]
    E3EF8A0 025B13C8 FFFFFFFF [..[.....]
    ========== FRAME [4] (_opiodr+4cd -> 00000000) ==========
    Dump of memory from 0x0E3EF8A8 to 0x0E3EFAC4
    E3EF8A0 0E3EFAC4 005DFC74 [..>.t.].]
    E3EF8B0 0000003C 00000004 0E3EFBD4 01991CA0 [<.........>.....]
    E3EF8C0 60588FF0 00000000 00000000 00000000 [..X`............]
    E3EF8D0 00000000 00000000 0B416324 00000000 [........$cA.....]
    E3EF8E0 00000000 4D2FA200 FFFFFFFF 0E3EF96C [....../M....l.>.]
    E3EF8F0 7C4F1B1B 000000E4 7C4F1800 000000E4 [..O|......O|....]
    E3EF900 00000001 00430622 000000E4 0E3EF9A8 [....".C.......>.]
    E3EF910 0B411D08 0B411D08 00000003 0E42356C [..A...A.....l5B.]
    E3EF920 0E3EF930 0003270C 0B4102AC 0E3EFB10 [0.>..'....A...>.]
    E3EF930 00000001 00000001 00000001 00000001 [................]
    E3EF940 74B84CA6 01C4B10F 00000000 00000000 [.L.t............]
    E3EF950 00000000 00000000 00000000 0B411D08 [..............A.]
    E3EF960 00000001 0B411D29 00000500 0E3EF900 [....).A.......>.]
    E3EF970 0E3EF9D4 026B8BD7 0E3EF9A8 0E3EF9F0 [..>...k...>...>.]
    E3EF980 0B411D08 0B410048 00000000 00000000 [..A.H.A.........]
    E3EF990 00000000 00000000 00000000 0200CF70 [............p...]
    E3EF9A0 0000058C 00000570 00000000 00000000 [....p...........]
    E3EF9B0 0000270F 00000000 00000000 00000000 [.'..............]
    E3EF9C0 00000000 00000000 00000000 74B84CA6 [.............L.t]
    E3EF9D0 01C4B10F 0E3EFAD4 00432B12 0E3EF9F0 [......>..+C...>.]
    E3EF9E0 0B411D08 018FD800 0B4101D0 00000000 [..A.......A.....]
    E3EF9F0 00000000 00000000 00000000 00000000 [................]
    Repeat 3 times
    E3EFA30 0E3EFC60 7C4ECEAC 7C4E0000 00000002 [`.>...N|..N|....]
    E3EFA40 00000001 00130000 00130000 0B4A0000 [..............J.]
    E3EFA50 000000A1 0E3EFBFC 77FCD04A 77FCC59D [......>.J..w...w]
    E3EFA60 77FCC5B4 00000000 0E3EFC74 62625D80 [...w....t.>..]bb]
    E3EFA70 00000000 00000000 00000FA0 77FCC59D [...............w]
    E3EFA80 0B416320 0B410048 0B4102AC 0B410048 [ cA.H.A...A.H.A.]
    E3EFA90 0B416324 0B416324 0B416324 0B416324 [$cA.$cA.$cA.$cA.]
    E3EFAA0 0B416324 0B416324 0B416324 0E3EF8BC [$cA.$cA.$cA...>.]
    E3EFAB0 0B416320 0E3EFB44 014122B0 025B1FB0 [ cA.D.>.."A...[.]
    E3EFAC0 00000000 [....]
    ========== FRAME [5] (_opidrv+233 -> _opiodr+0) ==========
    Dump of memory from 0x0E3EFAC4 to 0x0E3EFB54
    E3EFAC0 0E3EFB54 007DD4E8 0000003C [T.>...}.<...]
    E3EFAD0 00000004 0E3EFBD4 00000000 0E3EFD85 [......>.......>.]
    E3EFAE0 0E3EFBF0 0E3EFE74 0B41629C 00000000 [..>.t.>..bA.....]
    E3EFAF0 00000000 00000000 00000000 00000000 [................]
    E3EFB00 00000000 0015CFD8 0B4A0FA0 0B4102AC [..........J...A.]
    E3EFB10 00000000 00000000 00000001 0E3EFB00 [..............>.]
    E3EFB20 001F0003 0E3EFB60 7C4FB2BC 00000000 [....`.>...O|....]
    E3EFB30 00000000 00000000 00000000 0E3EFADC [..............>.]
    E3EFB40 00000001 0E3EFFA4 014122B0 018929A8 [......>.."A..)..]
    E3EFB50 00000000 [....]
    ========== FRAME [6] (_sou2o+19 -> _opidrv+0) ==========
    Dump of memory from 0x0E3EFB54 to 0x0E3EFB6C
    E3EFB50 0E3EFB6C 00714D8E 0000003C [l.>..Mq.<...]
    E3EFB60 00000004 0E3EFBD4 00000000 [......>.....]
    ========== FRAME [7] (_opimai+10a -> _sou2o+0) ==========
    Dump of memory from 0x0E3EFB6C to 0x0E3EFC08
    E3EFB60 0E3EFC08 [..>.]
    E3EFB70 0070FB5F 0E3EFBF0 0000003C 00000004 [_.p...>.<.......]
    E3EFB80 0E3EFBD4 0E3EFD85 7C4E5F3B 00000000 [..>...>.;_N|....]
    E3EFB90 00000000 00000000 00000000 0E4284CC [..............B.]
    E3EFBA0 61307D10 00000000 00000000 0E3EFBE0 [.}0a..........>.]
    E3EFBB0 001F0003 0E3EFBC0 0000BBF8 00000000 [......>.........]
    E3EFBC0 00000000 00000000 0E3EFBD8 00000000 [..........>.....]
    E3EFBD0 00000000 0E3EFD7A FFFFFFFF 00000000 [....z.>.........]
    E3EFBE0 00000001 0E3EFC04 0E3EFFA4 014122B0 [......>...>.."A.]
    E3EFBF0 00000000 FFFFFFFF 0E3EFC0C 00000000 [..........>.....]
    E3EFC00 61307D10 00000003 [.}0a....]
    ========== FRAME [8] (_OracleThreadStart@4+35c -> _opimai+0) ==========
    Dump of memory from 0x0E3EFC08 to 0x0E3EFFB4
    E3EFC00 0E3EFFB4 00710511 [..>...q.]
    E3EFC10 00000002 0E3EFE74 00DF7298 77D3BBD9 [....t.>..r.....w]
    E3EFC20 00DF7C34 0B4161FC 00000001 00000009 [4|...aA.........]
    E3EFC30 0E3EFC64 00400110 74FD1C74 0E3EFC88 [d.>[email protected]..>.]
    E3EFC40 77F8CC8C 00400000 00000001 00000000 [...w..@.........]
    E3EFC50 44414853 00000000 00130000 00000002 [SHAD............]
    E3EFC60 0200CF70 00000000 00000570 00000002 [p.......p.......]
    E3EFC70 0E3EFC54 000C4004 0E3EFD0C 77F98191 [T.>..@....>....w]
    E3EFC80 77F8CCD0 FFFFFFFF 0E3EFD1C 77F95328 [...w......>.(S.w]
    E3EFC90 00400000 00000002 7FFDF000 7FFAB000 [..@.............]
    E3EFCA0 77F84ACE 77FCF348 77F84B98 0E3EFD30 [.J.wH..w.K.w0.>.]
    E3EFCB0 77D3BBD9 00DF7C34 00000000 00000000 [...w4|..........]
    E3EFCC0 00000000 00000000 00000000 00000000 [................]
    Repeat 2 times
    E3EFCF0 00000000 7FFAB000 00000000 00000000 [................]
    E3EFD00 00000000 0E3EFCAC 00000000 FFFFFFFF [......>.........]
    E3EFD10 77F98191 77F84BD8 FFFFFFFF 00000000 [...w.K.w........]
    E3EFD20 77FA15D3 77FA15DB 0E3EFD30 00000001 [...w...w0.>.....]
    E3EFD30 00010017 00000000 00000000 00000000 [................]
    E3EFD40 00000000 00000000 00000000 00000000 [................]
    Repeat 2 times
    E3EFD70 6361726F 2000656C 4C282020 4C41434F [oracle.   (LOCAL]
    E3EFD80 294F4E3D 00000000 00000000 00000000 [=NO)............]
    E3EFD90 00000000 00000000 00000000 00000000 [................]
    Repeat 2 times
    E3EFDC0 00000038 00000023 00000023 00DF7298 [8...#...#....r..]
    E3EFDD0 77D3BBD9 00DF7C34 7C2D6F88 00000000 [...w4|...o-|....]
    E3EFDE0 007101B0 00139CC0 7C4E9824 0000001B [..q.....$.N|....]
    E3EFDF0 00000200 0E3EFFFC 00000023 00000000 [......>.#.......]
    E3EFE00 00000000 00000000 00000000 00000000 [................]
    Repeat 6 times
    E3EFE70 00000000 0E3EFD70 0E3EFD7A 00000000 [....p.>.z.>.....]
    E3EFE80 00000000 00000000 61726F2A 77617073 [........*oraspaw]
    E3EFE90 65725F6E 5F796C70 5F766564 38363932 [n_reply_dev_2968]
    E3EFEA0 0000002A 00000000 00000000 00000000 [*...............]
    E3EFEB0 00000000 00000000 00000000 00000000 [................]
    Repeat 6 times
    E3EFF20 00000000 8BBC14E4 8046D943 FFFFFFFF [........C.F.....]
    E3EFF30 8A912260 87C31860 00000000 87C318CC [`"..`...........]
    E3EFF40 87C31860 87C319F0 8042C367 87C31860 [`.......g.B.`...]
    E3EFF50 87C319C0 800654F0 00000000 00000000 [.....T..........]
    E3EFF60 00000000 00000000 00000000 BDEA7CB0 [.............|..]
    E3EFF70 00000000 87C319F0 00000005 00000000 [................]
    E3EFF80 00000000 00000000 8042FACB 00000002 [..........B.....]
    E3EFF90 00000000 8042FB7B 8A912260 0E3EFC18 [....{.B.`"....>.]
    E3EFFA0 FFFFFFFF 0E3EFFDC 014122B0 01891A58 [......>.."A.X...]
    E3EFFB0 00000001 [....]
    ========== FRAME [9] (7C4E9879 -> 00000000) ==========
    Dump of memory from 0x0E3EFFB4 to 0x0E3F00B4
    E3EFFB0 0E3EFFEC 7C4E987C 00DF7C34 [..>.|.N|4|..]
    E3EFFC0 00DF7298 77D3BBD9 00DF7C34 7FFAB000 [.r.....w4|......]
    E3EFFD0 00000000 0E3EFFC0 00000000 FFFFFFFF [......>.........]
    E3EFFE0 7C4FF0B4 7C4ED360 00000000 00000000 [..O|`.N|........]
    E3EFFF0 00000000 007101B0 00DF7C34 00000000 [......q.4|......]
    E3F0000 00000000 00000000 00000000 00000000 [................]
    Repeat 10 times
    E3F00B0 00000000 [....]
    ----- Argument/Register Address Dump -----
    Argument/Register addr=0x025C34D4.
    Dump of memory from 0x025C3494 to 0x025C35D4
    25C3490 3A20736C 62647520 73666564 [ls : udbdefs]
    25C34A0 00000000 7069706F 693A736C 726F636E [....opipls:incor]
    25C34B0 74636572 2E6F6E20 20666F20 646E6962 [rect no. of bind]
    25C34C0 00000073 7069706F 733A736C 74736C71 [s...opipls:sqlst]
    25C34D0 00000072 41544146 5245204C 20524F52 [r...FATAL ERROR ]
    25C34E0 54204E49 542D4F57 204B5341 56524553 [IN TWO-TASK SERV]
    25C34F0 203A5245 6F727265 203D2072 000A6425 [ER: error = %d..]
    25C3500 626F7250 656C6261 72726520 2820726F [Probable error (]
    25C3510 2D41524F 34353832 69202936 656E206E [ORA-28546) in ne]
    25C3520 726F7774 6461206B 696E696D 61727473 [twork administra]
    25C3530 6E6F6974 0000000A 7774654E 206B726F [tion....Network ]
    25C3540 746F7270 6C6F636F 72726520 6F20726F [protocol error o]
    25C3550 6966206E 20747372 61746164 74666120 [n first data aft]
    25C3560 6E207265 63207765 656E6E6F 000A7463 [er new connect..]
    25C3570 7469706F 315F6B73 00000000 7469706F [opitsk_1....opit]
    25C3580 325F6B73 00000000 2D2D2D2D 2D2D2D2D [sk_2....--------]
    25C3590 2D2D2D2D 2D2D2D2D 2D2D2D2D 65520A2D [-------------.Re]
    25C35A0 65746F6D 4C515320 5253442D 61747320 [mote SQL-DSR sta]
    25C35B0 656D6574 0A3A746E 00000000 7869706F [tement:.....opix]
    25C35C0 312D6272 00000038 7869706F 312D6272 [rb-18...opixrb-1]
    25C35D0 00000037 [7...]
    Argument/Register addr=0x0B416320.
    Dump of memory from 0x0B4162E0 to 0x0B416420
    B4162E0 00000000 00000000 00000000 00000000 [................]
    Repeat 2 times
    B416310 00000000 00000000 00000000 0E4298DC [..............B.]
    B416320 40002D99 00000000 00000000 00030000 [.-.@............]
    B416330 003E0000 00000000 00000000 00000000 [..>.............]
    B416340 00000000 00000000 00000036 00002300 [........6....#..]
    B416350 00000000 00000136 00000000 0B419404 [....6.........A.]
    B416360 00000000 00000000 00000000 00000000 [................]
    Repeat 1 times
    B416380 00000000 00000000 00000006 00000000 [................]
    B416390 00000000 00000000 60664960 60664720 [........`If` Gf`]
    B4163A0 0B4162A8 00000000 0E497608 0B4163C4 [.bA......vI..cA.]
    B4163B0 00000000 00000000 00000000 7FFFFFFF [................]
    B4163C0 0B417E98 0E4789B8 00000000 0E48C10C [.~A...G.......H.]
    B4163D0 0E4889F4 0E48C10C 0E4889F4 0E4836C4 [..H...H...H..6H.]
    B4163E0 00000000 00000000 00000000 00001130 [............0...]
    B4163F0 0E3EE800 0E3EEC00 6057B510 0B4164F4 [..>...>...W`.dA.]
    B416400 0B416430 00000000 00000000 00000002 [0dA.............]
    B416410 00000000 00000000 00000000 00000000 [................]
    Argument/Register addr=0x0E4836C4.
    Dump of memory from 0x0E483684 to 0x0E4837C4
    E483680 74617274 FF00726F 00BC614E [trator..Na..]
    E483690 FFFFFFFF 00000B98 00000018 41524353 [............SCRA]
    E4836A0 59484354 6D64415C 73696E69 74617274 [TCHY\Administrat]
    E4836B0 FF00726F 00BC614E FFFFFFFF 00000B98 [or..Na..........]
    E4836C0 000000D0 53454428 50495243 4E4F4954 [....(DESCRIPTION]
    E4836D0 4441283D 53455244 43283D53 554D4D4F [=(ADDRESS=(COMMU]
    E4836E0 5954494E 7063743D 726F772E 2829646C [NITY=tcp.world)(]
    E4836F0 544F5250 4C4F434F 5043543D 6F482829 [PROTOCOL=TCP)(Ho]
    E483700 533D7473 54415243 29594843 726F5028 [st=SCRATCHY)(Por]
    E483710 35313D74 29293132 4E4F4328 5443454E [t=1521))(CONNECT]
    E483720 5441445F 53283D41 643D4449 28297665 [_DATA=(SID=dev)(]
    E483730 3D444943 4F525028 4D415247 5C3A433D [CID=(PROGRAM=C:\]
    E483740 676F7250 206D6172 656C6946 724F5C73 [Program Files\Or]
    E483750 656C6361 65726A5C 312E315C 625C382E [acle\jre\1.1.8\b]
    E483760 6A5C6E69 2E776572 29657865 534F4828 [in\jrew.exe)(HOS]
    E483770 43533D54 43544152 28295948 52455355 [T=SCRATCHY)(USER]
    E483780 6D64413D 73696E69 74617274 2929726F [=Administrator))]
    E483790 00002929 00BC614E FFFFFFFF 00000B98 [))..Na..........]
    E4837A0 00000030 0000000A 000007DB 0000000A [0...............]
    E4837B0 0000000A 0000000A 00000000 00000000 [................]
    E4837C0 00000000 [....]
    Argument/Register addr=0x0E3EFBD4.
    Dump of memory from 0x0E3EFB94 to 0x0E3EFCD4
    E3EFB90 00000000 00000000 0E4284CC [..........B.]
    E3EFBA0 61307D10 00000000 00000000 0E3EFBE0 [.}0a..........>.]
    E3EFBB0 001F0003 0E3EFBC0 0000BBF8 00000000 [......>.........]
    E3EFBC0 00000000 00000000 0E3EFBD8 00000000 [..........>.....]
    E3EFBD0 00000000 0E3EFD7A FFFFFFFF 00000000 [....z.>.........]
    E3EFBE0 00000001 0E3EFC04 0E3EFFA4 014122B0 [......>...>.."A.]
    E3EFBF0 00000000 FFFFFFFF 0E3EFC0C 00000000 [..........>.....]
    E3EFC00 61307D10 00000003 0E3EFFB4 00710511 [.}0a......>...q.]
    E3EFC10 00000002 0E3EFE74 00DF7298 77D3BBD9 [....t.>..r.....w]
    E3EFC20 00DF7C34 0B4161FC 00000001 00000009 [4|...aA.........]
    E3EFC30 0E3EFC64 00400110 74FD1C74 0E3EFC88 [d.>[email protected]..>.]
    E3EFC40 77F8CC8C 00400000 00000001 00000000 [...w..@.........]
    E3EFC50 44414853 00000000 00130000 00000002 [SHAD............]
    E3EFC60 0200CF70 00000000 00000570 00000002 [p.......p.......]
    E3EFC70 0E3EFC54 000C4004 0E3EFD0C 77F98191 [T.>..@....>....w]
    E3EFC80 77F8CCD0 FFFFFFFF 0E3EFD1C 77F95328 [...w......>.(S.w]
    E3EFC90 00400000 00000002 7FFDF000 7FFAB000 [..@.............]
    E3EFCA0 77F84ACE 77FCF348 77F84B98 0E3EFD30 [.J.wH..w.K.w0.>.]
    E3EFCB0 77D3BBD9 00DF7C34 00000000 00000000 [...w4|..........]
    E3EFCC0 00000000 00000000 00000000 00000000 [................]
    E3EFCD0 00000000 [....]
    ----- End of Call Stack Trace -----
    ===================================================
    Files currently opened by this process:
    ===================================================
    PROCESS STATE
    Process global information:
    process: 67A6EF74, call: 00000000, xact: 00000000, curses: 00000000, usrses: 67AAAFEC
    SO: 67A6EF74, type: 2, owner: 00000000, flag: INIT/-/-/0x00
    (process) Oracle pid=13, calls cur/top: 00000000/67B25154, flag: (0) -
    int error: 0, call error: 0, sess error: 0, txn error 0
    (post info) last post received: 178 0 4
    last post received-location: kslpsr
    last process to post me: 67a6cdb4 1 6
    last post sent: 0 0 15
    last post sent-location: ksasnd
    last process posted by me: 67a6cdb4 1 6
    (latch info) wait_event=0 bits=0
    Process Group: DEFAULT, pseudo proc: 67A9ACC8
    O/S info: user: SYSTEM, term: SCRATCHY, ospid: 2968
    OSD pid info: Windows thread id: 2968, image: ORACLE.EXE
    SO: 672CC334, type: 8, owner: 67A6EF74, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=673ab78c incno=0 pending i/o cnt=0
    SO: 672CBC08, type: 8, owner: 67A6EF74, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=673ac20c incno=0 pending i/o cnt=0
    SO: 672CC2C8, type: 8, owner: 67A6EF74, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=673ab244 incno=1 pending i/o cnt=0
    SO: 67AAAFEC, type: 4, owner: 67A6EF74, flag: INIT/-/-/0x00
    (session) trans: 00000000, creator: 67A6EF74, flag: (100041) USR/- -/-/-/-/-/-
    DID: 0001-000D-00000002, short-term DID: 0000-0000-00000000
    txn branch: 00000000
    oct: 0, prv: 0, sql: 00000000, psql: 64EBC6B0, user: 19/CHEALTH1
    O/S info: user: SCRATCHY\Administrator, term: SCRATCHY, ospid: 2920:460, machine: HSW\SCRATCHY
    program: jrew.exe
    last wait for 'null event' blocking sess=0x0 seq=1169 wait_time=10
    =54435000, =1, =0
    temporary object counter: 0
    SO: 66AF86B4, type: 51, owner: 67AAAFEC, flag: INIT/-/-/0x00
    LIBRARY OBJECT LOCK: lock=66af86b4 handle=64ebc6b0 mode=N
    call pin=66B28454 session pin=00000000
    user=67aaafec session=67aaafec count=1 flags=[00] savepoint=1
    LIBRARY OBJECT HANDLE: handle=64ebc6b0
    name=/* OracleOEM */ ANALYZE TABLE "CHEALTH1"."BIG_HV_LABELS" COMPUTE STATISTICS
    hash=8ae355cf timestamp=10-13-2004 11:59:01
    namespace=CRSR flags=RON/KGHP/TIM/PN0/MED/[50010000]
    kkkk-dddd-llll=0000-0001-0001 lock=N pin=0 latch#=5
    lwt=64EBC6C8[64EBC6C8,64EBC6C8] ltm=64EBC6D0[64EBC6D0,64EBC6D0]
    pwt=64EBC6E0[64EBC6E0,64EBC6E0] ptm=64EBC738[64EBC738,64EBC738]
    ref=64EBC6B8[64EBC6B8, 64EBC6B8] lnd=64EBC744[64EBC744,64EBC744]
    LIBRARY OBJECT: object=666c832c
    type=CRSR flags=EXS[0001] pflags= [00] status=VALD load=0
    CHILDREN: size=16
    child# table reference handle
    0 64ede608 64ede54c 65647aac
    DATA BLOCKS:
    data# heap pointer status pins change
    0 666ca2c8 666c83b4 I/P/A 0 NONE
    SO: 66B00730, type: 51, owner: 67AAAFEC, flag: INIT/-/-/0x00
    LIBRARY OBJECT LOCK: lock=66b00730 handle=66610c40 mode=N
    call pin=66B29F84 session pin=00000000
    user=67aaafec session=67aaafec count=1 flags=CBB/[02] savepoint=74
    LIBRARY OBJECT HANDLE: handle=66610c40
    name=SYS.DATABASE
    hash=aea96fa0 timestamp=12-31-4712 23:59:59
    namespace=EVNT flags=KGHP/TIM/SML/[02000000]
    kkkk-dddd-llll=0000-0009-0009 lock=N pin=0 latch#=2
    lwt=66610C58[66610C58,66610C58] ltm=66610C60[66610C60,66610C60]
    pwt=66610C70[66610C70,66610C70] ptm=66610CC8[66610CC8,66610CC8]
    ref=66610C48[66610C48, 66610C48] lnd=66610CD4[66610CD4,66610CD4]
    LIBRARY OBJECT: object=65d6951c
    type=EVNT flags=EXS/LOC[0005] pflags= [00] status=VALD load=0
    DATA BLOCKS:
    data# heap pointer status pins change
    0 65d69724 65d69608 I/-/A 0 NONE
    3 65d695b8 65651554 I/-/A 0 NONE
    SO: 66AFB078, type: 51, owner: 67AAAFEC, flag: INIT/-/-/0x00
    LIBRARY OBJECT LOCK: lock=66afb078 handle=665e34c8 mode=N
    call pin=66B383D4 session pin=00000000
    user=67aaafec session=67aaafec count=1 flags=CBB/[02] savepoint=74
    LIBRARY OBJECT HANDLE: handle=665e34c8
    name=CHEALTH1.CHEALTH1
    hash=2a835da9 timestamp=12-31-4712 23:59:59
    namespace=EVNT flags=KGHP/TIM/SML/[02000000]
    kkkk-dddd-llll=0000-0009-0009 lock=N pin=0 latch#=1
    lwt=665E34E0[665E34E0,665E34E0] ltm=665E34E8[665E34E8,665E34E8]
    pwt=665E34F8[665E34F8,665E34F8] ptm=665E3550[665E3550,665E3550]
    ref=665E34D0[665E34D0, 665E34D0] lnd=665E355C[665E355C,665E355C]
    LIBRARY OBJECT: object=6589d28c
    type=EVNT flags=EXS/LOC[0005] pflags= [00] status=VALD load=0
    DATA BLOCKS:
    data# heap pointer status pins change
    0 6589d494 656528e8 I/-/A 0 NONE
    3 65652898 65654ae4 I/-/A 0 NONE
    SO: 658A1FA0, type: 50, owner: 67AAAFEC, flag: INIT/-/-/0x00
    user lock: lock=658a1fa0 mode=S
    user resource: user=66b0f4f8 uid=19 mode=S
    SO: 65D53B7C, type: 50, owner: 67AAAFEC, flag: INIT/-/-/0x00
    user lock: lock=65d53b7c mode=S
    user resource: user=66b0f4f8 uid=19 mode=S
    SO: 66EBDE98, type: 39, owner: 67AAAFEC, flag: INIT/-/-/0x00
    (dummy) nxc=1, nlb=1
    SO: 66E9AA0C, type: 38, owner: 66EBDE98, flag: INIT/-/-/0x00
    (trans) bsn = 5, flg = 0x04, flg2 = 0x00, prx = 0x0, ros = 2147483647, spn = 59
    efd = 10
    parent xid: 0x0000.000.00000000
    env: (scn: 0x0000.00000000 xid: 0x0000.000.00000000 uba: 0x00000000.0000.00 statement num=0 parent xid: xid: 0x0000.000.00000000 scn: 0x0000.00000000 0sch: scn: 0x0000.00000000)
    cev: (spc = 0 arsp = 0 ubk tsn: 0 rdba: 0x00000000 useg tsn: 0 rdba: 0x00000000
    hwm uba: 0x00000000.0000.00 col uba: 0x00000000.0000.00
    num bl: 0 bk list: 0x0)
    (enqueue) <no resource>
    res: 0, prv: 0, sess: 0
    xga: 0x0, heap: UGA
    SO: 66E64238, type: 37, owner: 66EBDE98, flag: -/-/-/0x00
    (List of Blocks) next index = 4
    index savepoint itli buffer hint rdba
    0 802 2 0x671d6e50 0x401d49
    1 852 1 0x67140790 0x407b3e
    2 855 2 0x67129990 0x407b45
    3 857 2 0x67039b10 0x407b4d
    SO: 67BEA438, type: 13, owner: 67A6EF74, flag: INIT/-/-/0x00
    (broadcast handle) flag: (2) ACTIVE SUBSCRIBER, owner: 67A6EF74,
    event: 107, last message event: 107,
    last message waited event: 107, messages read: 0
    channel: (67BF117C) system events broadcast channel
    scope: 0, event: 126, last mesage event: 0,
    publishers/subscribers: 0/14,
    messages published: 0
    SO: 67B25154, type: 3, owner: 67A6EF74, flag: INIT/-/-/0x00
    (call) sess: cur 67aaafec, rec 0, usr 67aaafec; depth: 0
    END OF PROCESS STATE
    PINNED BUFFER HISTORY
    Unable to dump buffer since buffer cache has been freed.
    The buffer with tsn: 0 rdba: 0x00401d17 (1/7447) was pinned,
    but could not be dumped
    Unable to dump buffer since buffer cache has been freed.
    The buffer with tsn: 0 rdba: 0x004002d3 (1/723) was pinned,
    but could not be dumped
    Unable to dump buffer since buffer cache has been freed.
    The buffer with tsn: 0 rdba: 0x00401d44 (1/7492) was pinned,
    but could not be dumped
    The buffer with tsn: 0 rdba: 0x00401d44 (1/7492) has already been dumped
    Unable to dump buffer since buffer cache has been freed.
    The buffer with tsn: 6 rdba: 0x01c2a8e5 (7/174309) was pinned,
    but could not be dumped
    The buffer with tsn: 6 rdba: 0x01c2a8e5 (7/174309) has already been dumped
    The buffer with tsn: 6 rdba: 0x01c2a8e5 (7/174309) has already been dumped
    Unable to dump buffer since buffer cache has been freed.
    The buffer with tsn: 6 rdba: 0x01c2a8e6 (7/174310) was pinned,
    but could not be dumped
    END OF PINNED BUFFER HISTORY
    Dump file e:\oracle\ora92\dev\udump\dev_ora_2968.trc
    Tue Oct 19 13:21:29 2004
    ORACLE V9.2.0.1.0 - Production vsnsta=0
    vsnsql=12 vsnxtr=3
    Windows 2000 Version 5.0 Service Pack 4, CPU type 586
    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.1.0 - Production
    Windows 2000 Version 5.0 Service Pack 4, CPU type 586
    Instance name: dev
    Redo thread mounted by this instance: 1
    Oracle process number: 14
    Windows thread id: 2968, image: ORACLE.EXE
    *** 2004-10-19 13:21:29.000
    *** SESSION ID:(11.11497) 2004-10-19 13:21:29.000
    FATAL ERROR IN TWO-TASK SERVER: error = 12571
    *** 2004-10-19 13:21:29.000
    ksedmp: internal or fatal error
    Current SQL statement for this session:
    SELECT SECTOR_IN_USE FROM TRUST_DETAILS
    ----- Call Stack Trace -----
    calling call entry argument values in hex
    location type point (? means dubious value)
    ksedmp+147          CALLrel  ksedst+0
    __VInfreq__opitsk+3 CALLrel _ksedmp+0            2 25C34D4 311B
    eb
    opiino+5fc          CALLrel  opitsk+0 0 0 A10E5E8 E72355C 108 0
    _opiodr+4cd          CALLreg  00000000             3C 4 E68FBD4
    opidrv+233          CALLrel  opiodr+0 3C 4 E68FBD4 0
    sou2o+19            CALLrel  opidrv+0
    opimai+10a          CALLrel  sou2o+0
    OracleThreadStart@  CALLrel  opimai+0
    4+35c
    7C4E9879 CALLreg 00000000
    --------------------- Binary Stack Dump ---------------------
    ========== FRAME [1] (_ksedmp+147 -> _ksedst+0) ==========
    Dump of memory from 0x0E68E69C to 0x0E68E714
    E68E690 0E68E714 [..h.]
    E68E6A0 00691AB4 00000000 00000000 00000000 [..i.............]
    E68E6B0 00000000 00000000 0000273E 6111978F [........>'.....a]
    E68E6C0 00000000 00000000 00000000 025B43F0 [.............C[.]
    E68E6D0 0000002E 0000002E F1971D54 0000002D [........T...-...]
    E68E6E0 00000000 0A108310 0A10E5E8 00000000 [................]
    E68E6F0 0A108310 0A10E5E8 0A108310 0E68E6A8 [..............h.]
    E68E700 0E68E718 0E68F898 014122B0 025AFB94 [..h...h.."A...Z.]
    E68E710 FFFFFFFF [....]
    ========== FRAME [2] (__VInfreq__opitsk+3eb -> _ksedmp+0) ==========
    Dump of memory from 0x0E68E714 to 0x0E68EB14
    E68E710 0E68F7A0 017E1AE0 00000002 [..h...~.....]
    E68E720 025C34D4 0000311B 00130003 00000001 [.4\..1..........]
    E68E730 00000005 00000005 0E68E668 00000029 [........h.h.)...]
    E68E740 00000000 00000000 00000000 0E68E5CC [..............h.]
    E68E750 00000001 00000000 00000000 00000000 [................]
    E68E760 00000000 00000000 00000000 00000000 [................]
    E68E770 0E68EC94 0E7551F8 0E68ECB8 00000000 [..h..Qu...h.....]
    E68E780 00000000 00000000 00000000 00000000 [................]
    Repeat 7 times
    E68E800 00000000 00000000 00000000 00050000 [................]
    E68E810 0003001C 00000000 00000000 00000000 [................]
    E68E820 00000000 00000000 00000000 00003700 [.............7..]
    E68E830 00000001 00000000 00000030 6057D708 [........0.....W`]
    E68E840 00000012 00000000 00000004 00300000 [..............0.]
    E68E850 00000000 0E68E63C 0E68E830 00000000 [....<.h.0.h.....]
    E68E860 00000000 00000010 6057B888 00000003 [..........W`....]
    E68E870 00000000 00000002 00100000 00000000 [................]
    E68E880 00000000 0E68E824 00000000 00000000 [....$.h.........]
    E68E890 00000008 6057B828 00000003 00000000 [....(.W`........]
    E68E8A0 00000001 00080000 00000000 0E68E880 [..............h.]
    E68E8B0 0E68E81E 00000000 00000000 6C636172 [..h.........racl]
    E68E8C0 726F5C65 00323961 00000000 00000000 [e\ora92.........]
    E68E8D0 00000000 00000000 00000000 00000000 [................]
    Repeat 8 times
    E68E960 00000000 0E718A10 0E718A50 0E72355C [......q.P.q.\5r.]
    E68E970 00000000 00000000 00000000 00000000 [................]
    E68E980 00000002 00000000 00000000 00000000 [................]
    E68E990 00000000 00000000 00000000 00000000 [................]
    Repeat 4 times
    E68E9E0 6F5C3A45 6C636172 726F5C65 00323961 [E:\oracle\ora92.]
    E68E9F0 00000000 00000000 00000000 00000000 [................]
    Repeat 4 times
    E68EA40 00000000 00000000 6F5C3A45 6C636172 [........E:\oracl]
    E68EA50 726F5C65 00323961 00000000 00000000 [e\ora92.........]
    E68EA60 00000000 00000000 0E68EEA8 0E68EE98 [..........h...h.]
    E68EA70 0E68F6CC 0E68F6A0 6111D987 0E68EE98 [..h...h....a..h.]
    E68EA80 0E68F29C 0000000F 00000000 000005B0 [..h.............]
    E68EA90 00000200 0E68F6C0 6111D8C0 00000000 [......h....a....]
    E68EAA0 0E68F2BC 0E68EEB8 02806D3F 0281F398 [..h...h.?m......]
    E68EAB0 00000002 00000000 00000000 00000000 [................]
    E68EAC0 00000000 00000000 00000000 00000000 [................]
    Repeat 1 times
    E68EAE0 000005B0 00000200 0E68F714 6111D8C0 [..........h....a]
    E68EAF0 00000000 0E68F310 0E68EF0C 0E68F9A8 [......h...h...h.]
    E68EB00 0A108310 FFFFFFFF 00000000 0E68F328 [............(.h.]
    E68EB10 0E68EF24 [$.h.]
    ========== FRAME [3] (_opiino+5fc -> _opitsk+0) ==========
    Dump of memory from 0x0E68F7A0 to 0x0E68F8A8
    E68F7A0 0E68F8A8 00627A91 00000000 00000000 [..h..zb.........]
    E68F7B0 0A10E5E8 0E72355C 00000108 00000000 [....\5r.........]
    E68F7C0 00000000 00000000 0A10E5E8 0E68FD7A [............z.h.]
    E68F7D0 0000000A 00000000 0A10E570 00000000 [........p.......]
    E68F7E0 0E718A10 0E718A50 0E680000 00000000 [..q.P.q...h.....]
    E68F7F0 00000003 0E68F884 0A108574 0E68F7C0 [......h.t.....h.]
    E68F800 0E68F92C 00225480 00000000 0E6C0400 [,.h..T".......l.]
    E68F810 00000000 00000000 00000002 0A108900 [................]
    E68F820 0E6C0548 0E6CA8DC 00000000 0E6C84CC [H.l...l.......l.]
    E68F830 00000000 00000000 00000000 677FA850 [............P..g]
    E68F840 0A111660 00420000 00000000 0E68F800 [`.....B.......h.]
    E68F850 00000011 00420000 000010C0 00000000 [......B.........]
    E68F860 00000000 00432B00 0E68FAC8 018FC8D4 [.....+C...h.....]
    E68F870 0000000F 00000000 0E72355C 00000108 [........\5r.....]
    E68F880 0E68F92C 0A108574 00000002 0A108310 [,.h.t...........]
    E68F890 0E68F7C0 00000000 0E68FAB4 014122B0 [..h.......h.."A.]
    E68F8A0 025B13C8 FFFFFFFF [..[.....]
    ========== FRAME [4] (_opiodr+4cd -> 00000000) ==========
    Dump of memory from 0x0E68F8A8 to 0x0E68FAC4
    E68F8A0 0E68FAC4 005DFC74 [..h.t.].]
    E68F8B0 0000003C 00000004 0E68FBD4 01991CA0 [<.........h.....]
    E68F8C0 60588FF0 00000000 00000000 00000000 [..X`............]
    E68F8D0 00000000 00000000 0A10E5EC 00000000 [................]
    E68F8E0 00000000 4D2FA200 FFFFFFFF 0E68F96C [....../M....l.h.]
    E68F8F0 7C4F1B1B 000000E4 7C4F1800 000000E4 [..O|......O|....]
    E68F900 00000001 00430622 000000E4 0E68F9A8 [....".C.......h.]
    E68F910 0A109FD0 0A109FD0 00000003 0E6C356C [............l5l.]
    E68F920 0E68F930 0003270C 0A108574 0E68FB10 [0.h..'..t.....h.]
    E68F930 00000001 00000001 00000001 00000001 [................]
    E68F940 8FB11F36 01C4B5D4 00000000 00000000 [6...............]
    E68F950 00000000 00000000 00000000 0A109FD0 [................]
    E68F960 00000001 0A109FF1 00000500 0E68F900 [..............h.]
    E68F970 0E68F9D4 026B8BD7 0E68F9A8 0E68F9F0 [..h...k...h...h.]
    E68F980 0A109FD0 0A108310 00000000 00000000 [................]
    E68F990 00000000 00000000 00000000 0200D278 [............x...]
    E68F9A0 00000550 0000013C 00000000 00000000 [P...<...........]
    E68F9B0 0000270F 00000000 00000000 00000000 [.'..............]
    E68F9C0 00000000 00000000 00000000 8FB11F36 [............6...]
    E68F9D0 01C4B5D4 0E68FAD4 00432B12 0E68F9F0 [......h..+C...h.]
    E68F9E0 0A109FD0 018FD800 0A108498 00000000 [................]
    E68F9F0 00000000 00000000 00000000 00000000 [................]
    Repeat 3 times
    E68FA30 0E68FC60 7C4ECEAC 7C4E0000 00000002 [`.h...N|..N|....]
    E68FA40 00000000 7FFDF000 00130000 0A06C000 [................]
    E68FA50 000000A1 0E68FBFC 77FCC651 77FCC59D [......h.Q..w...w]
    E68FA60 77FCC5B4 00000000 0E68FC74 62625D80 [...w....t.h..]bb]
    E68FA70 0000199F 77FCBAEF 00000FA0 77FCC59D [.......w.......w]
    E68FA80 0A10E5E8 0A108310 0A108574 0A108310 [........t.......]
    E68FA90 0A10E5EC 0A10E5EC 0A10E5EC 0A10E5EC [................]
    E68FAA0 0A10E5EC 0A10E5EC 0A10E5EC 0E68F8BC [..............h.]
    E68FAB0 0A10E5E8 0E68FB44 014122B0 025B1FB0 [....D.h.."A...[.]
    E68FAC0 00000000 [....]
    ========== FRAME [5] (_opidrv+233 -> _opiodr+0) ==========
    Dump of memory from 0x0E68FAC4 to 0x0E68FB54
    E68FAC0 0E68FB54 007DD4E8 0000003C [T.h...}.<...]
    E68FAD0 00000004 0E68FBD4 00000000 0E68FD85 [......h.......h.]
    E68FAE0 0E68FBF0 0E68FE74 0A10E564 00000000 [..h.t.h.d.......]
    E68FAF0 00000000 0019F648 00130178 00000000 [....H...x.......]
    E68FB00 00000000 00000000 00000000 0A108574 [............t...]
    E68FB10 00000000 00000000 00000001 0E68FB00 [..............h.]
    E68FB20 001F0003 0E68FB60 7C4FB2BC 00000000 [....`.h...O|....]
    E68FB30 00000000 00000000 00000000 0E68FADC [..............h.]
    E68FB40 00000001 0E68FFA4 014122B0 018929A8 [......h.."A..)..]
    E68FB50 00000000 [....]
    ========== FRAME [6] (_sou2o+19 -> _opidrv+0) ==========
    Dump of memory from 0x0E68FB54 to 0x0E68FB6C
    E68FB50 0E68FB6C 00714D8E 0000003C [l.h..Mq.<...]
    E68FB60 00000004 0E68FBD4 00000000 [......h.....]
    ========== FRAME [7] (_opimai+10a -> _sou2o+0) ==========
    Dump of memory from 0x0E68FB6C to 0x0E68FC08
    E68FB60 0E68FC08 [..h.]
    E68FB70 0070FB5F 0E68FBF0 0000003C 00000004 [_.p...h.<.......]
    E68FB80 0E68FBD4 0E68FD85 7C4E5F3B 00000000 [..h...h.;_N|....]
    E68FB90 00000000 00000000 00000000 0E6C84CC [..............l.]
    E68FBA0 61307D10 00000000 00000000 0E68FBE0 [.}0a..........h.]
    E68FBB0 001F0003 0E68FBC0 0000ABF8 00000000 [......h.........]
    E68FBC0 00000000 00000000 0E68FBD8 00000000 [..........h.....]
    E68FBD0 00000000 0E68FD7A FFFFFFFF 00000000 [....z.h.........]
    E68FBE0 00000001 0E68FC04 0E68FFA4 014122B0 [......h...h.."A.]
    E68FBF0 00000000 FFFFFFFF 0E68FC0C 00000000 [..........h.....]
    E68FC00 61307D10 00000003 [.}0a....]
    ========== FRAME [8] (_OracleThreadStart@4+35c -> _opimai+0) ==========
    Dump of memory from 0x0E68FC08 to 0x0E68FFB4
    E68FC00 0E68FFB4 00710511 [..h...q.]
    E68FC10 00000002 0E68FE74 00DF7298 77D3BBD9 [....t.h..r.....w]
    E68FC20 00DF7C34 0A10E4C4 00000001 00000009 [4|..............]
    E68FC30 0E68FC64 00400110 77441490 0E68FC88 [[email protected].]
    E68FC40 77F8CC8C 00400000 00000001 00000000 [...w..@.........]
    E68FC50 44414853 00000000 00130000 00000002 [SHAD............]
    E68FC60 0200D278 00000000 0000013C 00000002 [x.......<.......]
    E68FC70 0E68FC54 0E68FD0C 0E68FD0C 77F98191 [T.h...h...h....w]
    E68FC80 77F8CCD0 FFFFFFFF 0E68FD1C 77F95328 [...w......h.(S.w]
    E68FC90 00400000 00000002 7FFDF000 7FFAA000 [..@.............]
    E68FCA0 77F84ACE 77FCF348 77F84B98 0E68FD30 [.J.wH..w.K.w0.h.]
    E68FCB0 77D3BBD9 00DF7C34 00000000 00000000 [...w4|..........]
    E68FCC0 00000000 00000000 00000000 00000000 [................]
    Repeat 2 times
    E68FCF0 00000000 7FFAA000 00000000 00000000 [................]
    E68FD00 00000000 0E68FCAC 00000000 FFFFFFFF [......h.........]
    E68FD10 77F98191 77F84BD8 FFFFFFFF 00000000 [...w.K.w........]
    E68FD20 77FA15D3 77FA15DB 0E68FD30 00000001 [...w...w0.h.....]
    E68FD30 00010017 00000000 00000000 00000000 [................]
    E68FD40 00000000 00000000 00000000 E2D448D8 [.............H..]
    E68FD50 00000018 B73D7A68 80452A99 8041513D [....hz=..*E.=QA.]
    E68FD60 E2D448D8 00000000 8B67E388 804959CF [.H........g..YI.]
    E68FD70 6361726F 2000656C 4C282020 4C41434F [oracle.   (LOCAL]
    E68FD80 294F4E3D 8BBEAB00 E2D448F0 E2D448D8 [=NO).....H...H..]
    E68FD90 E2D448DC E1C28DF0 00000000 00000000 [.H..............]
    E68FDA0 E2D448DC B73D7AB4 8041513D 8BBEABC0 [.H...z=.=QA.....]
    E68FDB0 001F0001 E2D448D8 00000000 00000000 [.....H..........]
    E68FDC0 00000038 00000023 00000023 00DF7298 [8...#...#....r..]
    E68FDD0 77D3BBD9 00DF7C34 7C2D6F88 00000000 [...w4|...o-|....]
    E68FDE0 007101B0 00139CC0 7C4E9824 0000001B [..q.....$.N|....]
    E68FDF0 00000200 0E68FFFC 00000023 B73D7D34 [......h.#...4}=.]
    E68FE00 80463730 80400910 FFFFFFFF B73D7B4C [[email protected]{=.]
    E68FE10 804DC46D 8B67E388 80450737 00059073 [m.M...g.7.E.s...]
    E68FE20 819BCC94 00059073 819BCC94 00FFFFFF [....s...........]
    E68FE30 8044FA2C 00000700 819BCC94 8BBC74E4 [,.D..........t..]
    E68FE40 00000000 8042C749 00000001 B73D7BA4 [....I.B......{=.]
    E68FE50 00000000 0000125A 00000000 02FAE000 [....Z...........]
    E68FE60 B73D7B80 80450899 7FFAE000 00000001 [.{=...E.........]
    E68FE70 00000000 0E68FD70 0E68FD7A 00000000 [....p.h.z.h.....]
    E68FE80 7FFAF000 C0601FF8 61726F2A 77617073 [......`.*oraspaw]
    E68FE90 65725F6E 5F796C70 5F766564 38363932 [n_reply_dev_2968]
    E68FEA0 7FFA002A 8A43BDE8 8B67C401 00000000 [*.....C...g.....]
    E68FEB0 C03FFD70 00001218 00000000 0253F000 [p.?...........S.]
    E68FEC0 B73D7BE0 00000001 80486C38 8BBD26E0 [.{=.....8lH..&..]
    E68FED0 8BBB8BC0 80432E7D 80486C30 8BBB8BC0 [....}.C.0lH.....]
    E68FEE0 80432FE9 0000000A 0000000E 7FFAE000 [./C.............]
    E68FEF0 8B68C000 0000000A 8BBB8C2C B73D7C30 [..h.....,...0|=.]
    E68FF00 80431168 8B78E2F0 8B798020 80458836 [h.C...x. .y.6.E.]
    E68FF10 E1D6DF30 82000000 82000000 02000000 [0...............]
    E68FF20 8BBC74E4 8BBC14E4 8046D943 FFFFFFFF [.t......C.F.....]
    E68FF30 885ECB00 8AEA3DA0 00000000 8AEA3E0C [..^..=.......>..]
    E68FF40 8AEA3DA0 8AEA3F30 8042C367 8AEA3DA0 [.=..0?..g.B..=..]
    E68FF50 8AEA3F00 800654F0 8046D739 B73D7C70 [.?...T..9.F.p|=.]
    E68FF60 00000000 E2060070 00000000 B73D7CB0 [....p........|=.]
    E68FF70 00000000 8AEA3F30 00000005 00000000 [....0?..........]
    E68FF80 00000000 00000000 8042FACB 00000002 [..........B.....]
    E68FF90 00000000 8042FB7B 885ECB00 0E68FC18 [....{.B...^...h.]
    E68FFA0 FFFFFFFF 0E68FFDC 014122B0 01891A58 [......h.."A.X...]
    E68FFB0 00000001 [....]
    ========== FRAME [9] (7C4E9879 -> 00000000) ==========
    Dump of memory from 0x0E68FFB4 to 0x0E6900B4
    E68FFB0 0E68FFEC 7C4E987C 00DF7C34 [..h.|.N|4|..]
    E68FFC0 00DF7298 77D3BBD9 00DF7C34 7FFAA000 [.r.....w4|......]
    E68FFD0 00000000 0E68FFC0 00000000 FFFFFFFF [......h.........]
    E68FFE0 7C4FF0B4 7C4ED360 00000000 00000000 [..O|`.N|........]
    E68FFF0 00000000 007101B0 00DF7C34 00000000 [......q.4|......]
    E690000 00000000 00000000 00000000 00000000 [................]
    Repeat 10 times
    E6900B0 00000000 [....]
    ----- Argument/Register Address Dump -----
    Argument/Register addr=0x025C34D4.
    Dump of memory from 0x025C3494 to 0x025C35D4
    25C3490 3A20736C 62647520 73666564 [ls : udbdefs]
    25C34A0 00000000 7069706F 693A736C 726F636E [....opipls:incor]
    25C34B0 74636572 2E6F6E20 20666F20 646E6962 [rect no. of bind]
    25C34C0 00000073 7069706F 733A736C 74736C71 [s...opipls:sqlst]
    25C34D0 00000072 41544146 5245204C 20524F52 [r...FATAL ERROR ]
    25C34E0 54204E49 542D4F57 204B5341 56524553 [IN TWO-TASK SERV]
    25C34F0 203A5245 6F727265 203D2072 000A6425 [ER: error = %d..]
    25C3500 626F7250 656C6261 72726520 2820726F [Probable error (]
    25C3510 2D41524F 34353832 69202936 656E206E [ORA-28546) in ne]
    25C3520 726F7774 6461206B 696E696D 61727473 [twork administra]
    25C3530 6E6F6974 0000000A 7774654E 206B726F [tion....Network ]
    25C3540 746F7270 6C6F636F 72726520 6F20726F [protocol error o]
    25C3550 6966206E 20747372 61746164 74666120 [n first data aft]
    25C3560 6E207265 63207765 656E6E6F 000A7463 [er new connect..]
    25C3570 7469706F 315F6B73 00000000 7469706F [opitsk_1....opit]
    25C3580 325F6B73 00000000 2D2D2D2D 2D2D2D2D [sk_2....--------]
    25C3590 2D2D2D2D 2D2D2D2D 2D2D2D2D 65520A2D [-------------.Re]
    25C35A0 65746F6D 4C515320 5253442D 61747320 [mote SQL-DSR sta]
    25C35B0 656D6574 0A3A746E 00000000 7869706F [tement:.....opix]
    25C35C0 312D6272 00000038 7869706F 312D6272 [rb-18...opixrb-1]
    25C35D0 00000037 [7...]
    Argument/Register addr=0x0A10E5E8.
    Dump of memory from 0x0A10E5A8 to 0x0A10E6E8
    A10E5A0 00000000 00000000 [........]
    A10E5B0 00000000 00000000 00000000 00000000 [................]
    Repeat 2 times
    A10E5E0 00000000 0E6C98DC 40002991 00000000 [......l..).@....]
    A10E5F0 00000000 00050000 0003001C 00000000 [................]
    A10E600 00000000 00000000 00000000 00000000 [................]
    A10E610 00000036 00003700 00000001 00000136 [6....7......6...]
    A10E620 00000000 0A1116CC 00000000 00000000 [................]
    A10E630 00000000 00000000 00000000 00000000 [................]
    Repeat 1 times
    A10E650 00000005 00000000 00000000 00000000 [................]
    A10E660 60664960 60664720 0A10E570 00000000 [`If` Gf`p.......]
    A10E670 0E733368 0A10E68C 00000000 00000000 [h3s.............]
    A10E680 00000000 7FFFFFFF 0A110160 0E7189B8 [........`.....q.]
    A10E690 00000000 0E723A3C 0E725C44 0E723A3C [....<:r.D\r.<:r.]
    A10E6A0 0E725C44 0E72355C 00000000 00000000 [D\r.\5r.........]
    A10E6B0 00000000 00000FA0 0E68E800 0E68EC00 [..........h...h.]
    A10E6C0 6057B510 0A10E7BC 0A10E6F8 00000000 [..W`............]
    A10E6D0 00000000 00000002 00000000 00000000 [................]
    A10E6E0 00000000 00000000 [........]
    Argument/Register addr=0x0E72355C.
    Dump of memory from 0x0E72351C to 0x0E72365C
    E723510 00000000 [....]
    E723520 000007DB 00000000 0000008F 0000008F [................]
    E723530 0000008F 00000000 00000000 0E7289EA [..............r.]
    E723540 00000810 000007DB 00000001 00BC614E [............Na..]
    E723550 FFFFFFFF 00000B98 0000010C 53454428 [............(DES]
    E723560 50495243 4E4F4954 4441283D 53455244 [CRIPTION=(ADDRES]
    E723570 494C5F53 283D5453 52444441 3D535345 [S_LIST=(ADDRESS=]
    E723580 4D4F4328 494E554D 743D5954 772E7063 [(COMMUNITY=tcp.w]
    E723590 646C726F 52502829 434F544F 543D4C4F [orld)(PROTOCOL=T]
    E7235A0 28295043 74736F48 5243533D 48435441 [CP)(Host=SCRATCH]
    E7235B0 50282959 3D74726F 31323531 41282929 [Y)(Port=1521))(A]
    E7235C0 45524444 283D5353 4D4D4F43 54494E55 [DDRESS=(COMMUNIT]
    E7235D0 63743D59 6F772E70 29646C72 4F525028 [Y=tcp.world)(PRO]
    E7235E0 4F434F54 43543D4C 48282950 3D74736F [TOCOL=TCP)(Host=]
    E7235F0 41524353 59484354 6F502829 313D7472 [SCRATCHY)(Port=1]
    E723600 29363235 43282929 454E4E4F 445F5443 [526)))(CONNECT_D]
    E723610 3D415441 44495328 7665643D 49432829 [ATA=(SID=dev)(CI]
    E723620 50283D44 52474F52 433D4D41 726F5C3A [D=(PROGRAM=C:\or]
    E723630 5C746E61 5C4E4942 42525752 2E303645 [ant\BIN\RWRBE60.]
    E723640 29657865 534F4828 574F3D54 53534E45 [exe)(HOST=OWENSS]
    E723650 29324350 45535528 776F3D52 [PC2)(USER=ow]
    Argument/Register addr=0x0E68FBD4.
    Dump of memory from 0x0E68FB94 to 0x0E68FCD4
    E68FB90 00000000 00000000 0E6C84CC [..........l.]
    E68FBA0 61307D10 00000000 00000000 0E68FBE0 [.}0a..........h.]
    E68FBB0 001F0003 0E68FBC0 0000ABF8 00000000 [......h.........]
    E68FBC0 00000000 00000000 0E68FBD8 00000000 [..........h.....]
    E68FBD0 00000000 0E68FD7A FFFFFFFF 00000000 [....z.h.........]
    E68FBE0 00000001 0E68FC04 0E68FFA4 014122B0 [......h...h.."A.]
    E68FBF0 00000000 FFFFFFFF 0E68FC0C 00000000 [..........h.....]
    E68FC00 61307D10 00000003 0E68FFB4 00710511 [.}0a......h...q.]
    E68FC10 00000002 0E68FE74 00DF7298 77D3BBD9 [....t.h..r.....w]
    E68FC20 00DF7C34 0A10E4C4 00000001 00000009 [4|..............]
    E68FC30 0E68FC64 00400110 77441490 0E68FC88 [[email protected].]
    E68FC40 77F8CC8C 00400000 00000001 00000000 [...w..@.........]
    E68FC50 44414853 00000000 00130000 00000002 [SHAD............]
    E68FC60 0200D278 00000000 0000013C 00000002 [x.......<.......]
    E68FC70 0E68FC54 0E68FD0C 0E68FD0C 77F98191 [T.h...h...h....w]
    E68FC80 77F8CCD0 FFFFFFFF 0E68FD1C 77F95328 [...w......h.(S.w]
    E68FC90 00400000 00000002 7FFDF000 7FFAA000 [..@.............]
    E68FCA0 77F84ACE 77FCF348 77F84B98 0E68FD30 [.J.wH..w.K.w0.h.]
    E68FCB0 77D3BBD9 00DF7C34 00000000 00000000 [...w4|..........]
    E68FCC0 00000000 00000000 00000000 00000000 [................]
    E68FCD0 00000000 [....]
    ----- End of Call Stack Trace -----
    ===================================================
    Files currently opened by this process:
    ===================================================
    PROCESS STATE
    Process global information:
    process: 67A6F334, call: 00000000, xact: 00000000, curses: 00000000, usrses: 67AA518C
    SO: 67A6F334, type: 2, owner: 00000000, flag: INIT/-/-/0x00
    (process) Oracle pid=14, calls cur/top: 00000000/67B2521C, flag: (0) -
    int error: 0, call error: 0, sess error: 0, txn error 0
    (post info) last post received: 0 0 111
    last post received-location: kgllldl: post after freeing latch
    last process to post me: 67a6fab4 5 0
    last post sent: 0 0 107
    last post sent-location: kgllkdl: post after freeing latch
    last process posted by me: 67a709b4 2 0
    (latch info) wait_event=0 bits=0
    Process Group: DEFAULT, pseudo proc: 67A9ACC8
    O/S info: user: SYSTEM, term: SCRATCHY, ospid: 2968
    OSD pid info: Windows thread id: 2968, image: ORACLE.EXE
    SO: 672CD800, type: 8, owner: 67A6F334, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=673ab78c incno=0 pending i/o cnt=0
    SO: 672CD794, type: 8, owner: 67A6F334, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=673ac4a8 incno=0 pending i/o cnt=0
    SO: 672CD4FC, type: 8, owner: 67A6F334, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=673ac20c incno=0 pending i/o cnt=0
    SO: 672CCFEC, type: 8, owner: 67A6F334, flag: INIT/-/-/0x00
    (FOB) flags=2 fib ptr=673ab244 incno=1 pending i/o cnt=0
    SO: 67AA518C, type: 4, owner: 67A6F334, flag: INIT/-/-/0x00
    (session) trans: 00000000, creator: 67A6F334, flag: (41) USR/- -/-/-/-/-/-
    DID: 0001-000E-00000002, short-term DID: 0000-0000-00000000
    txn branch: 00000000
    oct: 0, prv: 0, sql: 00000000, psql: 6586B26C, user: 19/CHEALTH1
    O/S info: user: owenss, term: OWENSSPC2, ospid: 288:2044, machine: HSW\OWENSSPC2
    program:
    last wait for 'null event' blocking sess=0x0 seq=7620 wait_time=10
    =28444553, =1, =0
    temporary object counter: 0
    SO: 66B33260, type: 52, owner: 67AA518C, flag: INIT/-/-/0x00
    LIBRARY OBJECT PIN: pin=66b33260 handle=6586acf0 mode=S lock=66b44d84
    user=67aa518c session=67aa518c count=1 mask=0041 savepoint=2 flags=[00]
    SO: 66B44D84, type: 51, owner: 67AA518C, flag: INIT/-/-/0x00
    LIBRARY OBJECT LOCK: lock=66b44d84 handle=6586acf0 mode=N
    call pin=00000000 session pin=66B33260
    user=67aa518c session=67aa518c count=1 flags=PNS/[08] savepoint=2
    LIBRARY OBJECT HANDLE: handle=6586acf0
    namespace=CRSR flags=RON/KGHP/PN0/[10010000]
    kkkk-dddd-llll=0000-0041-0041 lock=N pin=S latch#=3
    lwt=6586AD08[6586AD08,6586AD08] ltm=6586AD10[6586AD10,6586AD10]
    pwt=6586AD20[6586AD20,6586AD20] ptm=6586AD78[6586AD78,6586AD78]
    ref=6586ACF8[6586AF10, 6586AF10] lnd=6586AD84[6586AD84,6586AD84]
    LIBRARY OBJECT: object=6586aa78
    type=CRSR flags=EXS[0001] pflags= [00] status=VALD load=0
    DEPENDENCIES: count=1 size=16
    AUTHORIZATIONS: count=1 size=16 minimum entrysize=16
    ACCESSES: count=1 size=16
    TRANSLATIONS: count=1 size=16
    DATA BLOCKS:
    data# heap pointer status pins change
    0 6586ac80 65868e78 I/P/A 0 NONE
    6 6586ab14 65867e58 I/P/A 1 NONE
    SO: 66AF38A8, type: 51, owner: 67AA518C, flag: INIT/-/-/0x00
    LIBRARY OBJECT LOCK: lock=66af38a8 handle=6586b26c mode=N
    call pin=66B332A8 session pin=00000000
    user=67aa518c session=67aa518c count=1 flags=[00] savepoint=1
    LIBRARY OBJECT HANDLE: handle=6586b26c
    name=SELECT SECTOR_IN_USE FROM TRUST_DETAILS
    hash=96a0238e timestamp=10-19-2004 13:11:06
    namespace=CRSR flags=RON/KGHP/TIM/PN0/SML/[12010000]
    kkkk-dddd-llll=0000-0001-0001 lock=N pin=0 latch#=3
    lwt=6586B284[6586B284,6586B284] ltm=6586B28C[6586B28C,6586B28C]
    pwt=6586B29C[6586B29C,6586B29C] ptm=6586B2F4[6586B2F4,6586B2F4]
    ref=6586B274[6586B274, 6586B274] lnd=6586B300[6586B300,6586B300]
    LIBRARY OBJECT: object=6586aff4
    type=CRSR flags=EXS[0001] pflags= [00] status=VALD load=0
    CHILDREN: size=16
    child# table reference handle
    0 6586b1b0 6586af10 6586acf0
    DATA BLOCKS:
    data# heap pointer status pins change
    0 6586b1fc 6586b07c I/P/A 0 NONE
    SO: 66B3EB7C, type: 51, owner: 67AA518C, flag: INIT/-/-/0x00
    LIBRARY OBJECT LOCK: lock=66b3eb7c handle=65895d7c mode=N
    call pin=00000000 session pin=66AFC980
    user=67aa518c session=67aa518c count=1 flags=[00] savepoint=2
    LIBRARY OBJECT HANDLE: handle=65895d7c
    namespace=CRSR flags=RON/KGHP/PN0/[10010000]
    kkkk-dddd-llll=0000-0041-0041 lock=N pin=0 latch#=1
    lwt=65895D94[65895D94,65895D94] ltm=65895D9C[65895D9C,65895D9C]
    pwt=65895DAC[65895DAC,65895DAC] ptm=65895E04[65895E04,65895E04]
    ref=65895D84[65895E40, 65895E40] lnd=65895E10[65895E10,65895E10]
    LIBRARY OBJECT: object=65895b04
    type=CRSR flags=EXS[0001] pflags= [00] status=VALD load=0
    DATA BLOCKS:
    data# heap pointer status pins change
    0 65895d0c 65895000 I/P/A 0 NONE
    6 65895ba0 65893fe0 I/-/A 0 NONE
    SO: 66B3EC54, type: 51, owner: 67AA518C, flag: INIT/-/-/0x00
    LIBRARY OBJECT LOCK: lock=66b3ec54 handle=65896298 mode=N
    call pin=66AFC6F8 session pin=00000000
    user=67aa518c session=67aa518c count=1 flags=[00] savepoint=1
    LIBRARY OBJECT HANDLE: handle=65896298
    name=set role DBA,SELECT_CATALOG_ROLE,HS_ADMIN_ROLE,EXECUTE_CATALOG_ROLE,DELETE_CATALOG_ROLE,EXP_FULL_DATABASE,IMP_FULL_DATABASE,GATHER_SYSTEM_STATISTICS,CH_DEVELOPER,CONNECT,RESOURCE,CH_CLERIC
    hash=94dbe80e timestamp=10-19-2004 13:10:27
    namespace=CRSR flags=RON/KGHP/TIM/PN0/MED/[50010000]
    kkkk-dddd-llll=0000-0001-0001 lock=N pin=0 latch#=1
    lwt=658962B0[658962B0,658962B0] ltm=658962B8[658962B8,658962B8]
    pwt=658962C8[658962C8,658962C8] ptm=65896320[65896320,65896320]
    ref=658962A0[658962A0, 658962A0] lnd=6589632C[6589632C,6589632C]
    LIBRARY OBJECT: object=65897574
    type=CRSR flags=EXS[0001] pflags= [00] status=VALD load=0
    CHILDREN: size=16
    child# table reference handle
    0 6589600c 65895e40 65895d7c
    DATA BLOCKS:
    data# heap pointer status pins change
    0 6589767c 65896070 I/P/A 0 NONE
    SO: 66B333C8, type: 52, owner: 67AA518C, flag: INIT/-/-/0x00
    LIBRARY OBJECT PIN: pin=66b333c8 handle=6636b7b8 mode=S lock=0
    user=67aa518c session=67aa518c count=1 mask=000d savepoint=1 flags=[00]
    SO: 66B327B0, type: 52, owner: 67AA518C, flag: INIT/-/-/0x00
    LIBRARY OBJECT PIN: pin=66b327b0 handle=66252830 mode=S lock=0
    user=67aa518c session=67aa518c count=1 mask=000d savepoint=1 flags=[00]
    SO: 66B3C9BC, type: 52, owner: 67AA518C, flag: INIT/-/-/0x00
    LIBRARY OBJECT PIN: pin=66b3c9bc handle=6636e1a0 mode=S lock=0
    user=67aa518c session=67aa518c count=1 mask=000d savepoint=1 flags=[00]
    SO: 66B32768, type: 52, owner: 67AA518C, flag: INIT/-/-/0x00
    LIBRARY OBJECT PIN: pin=66b32768 handle=6638d260 mode=S lock=0
    user=67aa518c session=67aa518c count=1 mask=000d savepoint=1 flags=[00]
    SO: 66AF91AC, type: 52, owner: 67AA518C, flag: INIT/-/-/0x00
    LIBRARY OBJECT PIN: pin=66af91ac handle=665fff18 mode=S lock=0
    user=67aa518c session=67aa518c count=1 mask=000d savepoint=1 flags=[00]
    SO: 66AFC500, type: 52, owner: 67AA518C, flag: INIT/-/-/0x00
    LIBRARY OBJECT PIN: pin=66afc500 handle=665b91ac mode=S lock=0
    user=67aa518c session=67aa518c count=1 mask=000d savepoint=1 flags=[00]
    SO: 66B3C8E4, type: 52, owner: 67AA518C, flag: INIT/-/-/0x00
    LIBRARY OBJECT PIN: pin=66b3c8e4 handle=66211b00 mode=S lock=0
    user=67aa518c session=67aa518c count=1 mask=000d savepoint=1 flags=[00]
    SO: 66B34898, type: 51, owner: 67AA518C, flag: INIT/-/-/0x00
    LIBRARY OBJECT LOCK: lock=66b34898 handle=658c553c mode=N
    call pin=00000000 session pin=66B2CE18
    user=67aa518c session=67aa518c count=1 flags=[00] savepoint=3
    LIBRARY OBJECT HANDLE: handle=658c553c
    namespace=CRSR flags=RON/KGHP/PN0/[10010000]
    kkkk-dddd-llll=0000-0041-0041 lock=N pin=0 latch#=5
    lwt=658C5554[658C5554,658C5554] ltm=658C555C[658C555C,658C555C]
    pwt=658C556C[658C556C,658C556C] ptm=658C55C4[658C55C4,658C55C4]
    ref=658C5544[658C575C, 658C575C] lnd=658C55D0[658C55D0,658C55D0]
    LIBRARY OBJECT: object=658c476c
    type=CRSR flags=EXS[0001] pflags= [00] status=VALD load=0
    DEPENDENCIES: count=5 size=16
    ACCESSES: count=1 size=16
    TRANSLATIONS: count=1 size=16
    DATA BLOCKS:
    data# heap pointer status pins change
    0 658c54cc 658c452c I/P/A 0 NONE
    6 658c4808 658c350c I/-/A 0 NONE
    SO: 66B34850, type: 51, owner: 67AA518C, flag: INIT/-/-/0x00
    LIBRARY OBJECT LOCK: lock=66b34850 handle=658c5ab8 mode=N
    call pin=66B2CE60 session pin=00000000
    user=67aa518c session=67aa518c count=1 flags=[00] savepoint=2
    LIBRARY OBJECT HANDLE: handle=658c5ab8
    name=select ROLE from SESSION_ROLES
    hash=3e532d11 timestamp=10-19-2004 13:10:02
    namespace=CRSR flags=RON/KGHP/TIM/PN0/SML/[12010000]
    kkkk-dddd-llll=0000-0001-0001 lock=N pin=0 latch#=5
    lwt=658C5AD0[658C5AD0,658C5AD0] ltm=658C5AD8[658C5AD8,658C5AD8]
    pwt=658C5AE8[658C5AE8,658C5AE8] ptm=658C5B40[658C5B40,658C5B40]
    ref=658C5AC0[658C5AC0, 658C5AC0] lnd=658C5B4C[658C5B4C,658C5B4C]
    LIBRARY OBJECT: object=658c5840
    type=CRSR flags=EXS[0001] pflags= [00] status=VALD load=0
    CHILDREN: size=16
    child# table reference handle
    0 658c59fc 658c575c 658c553c
    DATA BLOCKS:
    data# heap pointer status pins change
    0 658c5a48 658c58c8 I/P/A 0 NONE
    SO: 66B34F10, type: 51, owner: 67AA518C, flag: INIT/-/-/0x00
    LIBRARY OBJECT LOCK: lock=66b34f10 handle=665f13b0 mode=N
    call pin=66B3CADC session pin=00000000
    user=67aa518c session=67aa518c count=1 flags=CBB/[02] savepoint=74
    LIBRARY OBJECT HANDLE: handle=665f13b0
    name=SYS.DATABASE
    hash=aea96fa0 timestamp=12-31-4712 23:59:59
    namespace=EVNT flags=KGHP/TIM/SML/[02000000]
    kkkk-dddd-llll=0000-0009-0009 lock=N pin=0 latch#=2
    lwt=665F13C8[665F13C8,665F13C8] ltm=665F13D0[665F13D0,665F13D0]
    pwt=665F13E0[665F13E0,665F13E0] ptm=665F1438[665F1438,665F1438]
    ref=665F13B8[665F13B8, 665F13B8] lnd=665F1444[665F1444,665F1444]
    LIBRARY OBJECT: object=665f1138
    type=EVNT flags=EXS/LOC[0005] pflags= [00] status=VALD load=0
    DATA BLOCKS:
    data# heap pointer status pins change
    0 665f1340 665f1224 I/-/A 0 NONE
    3 665f11d4 665f0d08 I/-/A 0 NONE
    SO: 66AFB0C0, type: 51, owner: 67AA518C, flag: INIT/-/-/0x00
    LIBRARY OBJECT LOCK: lock=66afb0c0 handle=665c3c38 mode=N
    call pin=66B32600 session pin=00000000
    user=67aa518c session=67aa518c count=1 flags=CBB/[02] savepoint=74
    LIBRARY OBJECT HANDLE: handle=665c3c38
    name=CHEALTH1.CHEALTH1
    hash=2a835da9 timestamp=12-31-4712 23:59:59
    namespace=EVNT flags=KGHP/TIM/SML/[02000000]
    kkkk-dddd-llll=0000-0009-0009 lock=N pin=0 latch#=1
    lwt=665C3C50[665C3C50,665C3C50] ltm=665C3C58[665C3C58,665C3C58]
    pwt=665C3C68[665C3C68,665C3C68] ptm=665C3CC0[665C3CC0,665C3CC0]
    ref=665C3C40[665C3C40, 665C3C40] lnd=665C3CCC[665C3CCC,665C3CCC]
    LIBRARY OBJECT: object=665c39c0
    type=EVNT flags=EXS/LOC[0005] pflags= [00] status=VALD load=0
    DATA BLOCKS:
    data# heap pointer status pins change
    0 665c3bc8 665c3aac I/-/A 0 NONE
    3 665c3a5c 665c3474 I/-/A 0 NONE
    SO: 65A41FA8, type: 50, owner: 67AA518C, flag: INIT/-/-/0x00
    user lock: lock=65a41fa8 mode=S
    user resource: user=66b0f4f8 uid=19 mode=S
    SO: 658EB84C, type: 50, owner: 67AA518C, flag: INIT/-/-/0x00
    user lock: lock=658eb84c mode=S
    user resource: user=66b0f4f8 uid=19 mode=S
    SO: 66EBDF1C, type: 39, owner: 67AA518C, flag: INIT/-/-/0x00
    (dummy) nxc=0, nlb=0
    SO: 67BEA488, type: 13, owner: 67A6F334, flag: INIT/-/-/0x00
    (broadcast handle) flag: (2) ACTIVE SUBSCRIBER, owner: 67A6F334,
    event: 100, last message event: 100,
    last message waited event: 100, messages read: 0
    channel: (67BF1138) system events broadcast channel
    scope: 0, event: 106, last mesage event: 0,
    publishers/subscribers: 0/18,
    messages published: 0
    SO: 67B2521C, type: 3, owner: 67A6F334, flag: INIT/-/-/0x00
    (call) sess: cur 67aa518c, rec 0, usr 67aa518c; depth: 0
    END OF PROCESS STATE
    PINNED BUFFER HISTORY
    Unable to dump buffer since buffer cache has been freed.
    The buffer with tsn: 0 rdba: 0x004000f6 (1/246) was pinned,
    but could not be dumped
    The buffer with tsn: 0 rdba: 0x004000f6 (1/246) has already been dumped
    Unable to dump buffer since buffer cache has been freed.
    The buffer with tsn: 0 rdba: 0x0040011e (1/286) was pinned,
    but could not be dumped
    The buffer with tsn: 0 rdba: 0x004000f6 (1/246) has already been dumped
    The buffer with tsn: 0 rdba: 0x004000f6 (1/246) has already been dumped
    The buffer with tsn: 0 rdba: 0x004000f6 (1/246) has already been dumped
    The buffer with tsn: 0 rdba: 0x004000f6 (1/246) has already been dumped
    The buffer with tsn: 0 rdba: 0x0040011e (1/286) has already been dumped
    END OF PINNED BUFFER HISTORY
    any suggestions
    thx
    kedar

    The error message "ORA-04021: timeout occurred while waiting to lock object CHEALTH1.BIG_HV_LABELS" would seem to indicate that either DML was in progress when you tried to modify the table or a prior DDL command was in progress.
    Basically you were waiting to get access to the table. You should perform your alter when the table is not in heavy use.
    As user 355099 mentioned v$access is one way to find users. Another would be to issue a lock table command and if you did not immediately get it then look for the blocking sessions. You will need to terminate them, or wait them out.
    HTH -- Mark D Powell --

  • Table valueset taking long time to open the LOV

    Hi,
    We added a table valueset to a concurrent program. The table vaueset showsTransaction number from ra_interface_lines_all table. It is having long list. So we added the partial string entering message before open a long list.But still it is taking long time.
    Please any help on this highly appreciated.
    Thanks,
    Samba

    Hi
    Try to modify the query or creating an index will speed up the process.
    Thanks & regards
    Rajan

  • CDHDR table query taking long time

    Hi all,
    Select query from CDHDR table is taking long time,in where condition i am giving OBJECTCLASS = 'MAT_FULL' udate = sy-datum and langu = 'EN'.
    any suggestion to improve the performance.i want to select all the article which got changed on current date
    regards
    shibu

    This will always be slow for large data volumes, since CDHDR is designed for quick access by object ID (in this case material number), not by date.
    I'm afraid you would need to introduce a secondary index on OBJECTCLAS and UDATE, if that query is crucial enough to warrant the additional disk space and processing time taken by the new index.
    Greetings
    Thomas

  • Program SAPLSBAL_DB taking long time for BALHDR table entries

    Hi Guys,
    I am running a Z program in Quality and Production system both which is uploading data from Desktop.
    In Quality system the Z program is successfully uploading datas but in production system its taking very long time even sometime getting time out.
    As per trace analysis, Program SAPLSBAL_DB taking long time for BALHDR table entries.
    Can anybody provide me any suggestion.
    Regards,
    Shyamal.

    These are QA screen shots where no issue, but we are getting very long time in CRP.
    Regards,
    Shyamal

  • SSRS Reports taking long time to load

    Hello,
    Problem : SSRS Reports taking long time to load
    My System environment : Visual Studio 2008 SP1  and SQL Server 2008 R2
    Production Environment : Visual Studio 2008 SP1  and SQL Server 2008 R2
    I have created a Parameterized report (6 parameters), it will fetch data from 1 table. table has 1 year and 6 months data,      I am selecting parameters for only 1 month (about 2500 records). It is taking almost 2 minutes and 30 seconds
    to load the report.
    This report running efficiently in my system (report load takes only 5 to 6 seconds) but in
    production it is taking 2 minutes 30 seconds.
    I have checked the Execution log from production so I found the timing for
    Data retrieval (approx~)       Processing (approx~)               Rendering (approx~)
    10 second                                      15 sec                        
                2 mins and 5 sec.
    But Confusing point is that , if I run the same report at different time overall output time is same (approx) 2 min 30 sec but
    Data retrieval (approx~)       Processing (approx~)                Rendering (approx~)
    more than 1 min                            15 sec                                     
    more than 1 min
    so 1 question why timings are different ?
    My doubts are
    1) If query(procedure to retrieve the data) is the problem then it should take more time always,
    2) If Report structure is problem then rendering will also take same time (long time)
    for this (2nd point) I checked on blog that Rendering depends on environment structure e.g. Network bandwidth, RAM, CPU Usage , Number of users accessing same report at a time.
    So I did testing of report when no other user working on any report But failed (same result  output is 2 min 30 sec)
    From network team I got the result is that there is no issue or overload in CPU usage or RAM also No issue in Network bandwidth.
    Production Database Server and Report server are different (but in same network).
    I checked that database server the SQL Server is using almost Full RAM (23 GB out of 24 GB)
    I tried to allocate the memory to less amount up to 2GB (Trial solution I got from Blogs) but this on also failed.
    one hint I got from colleague that , change the allocated memory setting from static memory to dynamic to SQL Server
    (I guess above point is the same) I could not find that option Static and Dynamic memory setting.
    I did below steps
    Connected to SQL Server Instance
    Right click on Instance go to properties, Go to Memory Tab
    I found three options 1) Server Memory   2) Other memory   3) Section for "Configured values and Running values"
    Then I tried to reduce Maximum  Server memory up to 2 GB (As mentioned above)
    All trials failed, this issue I could not find the roots for this issue.
    Can anyone please help (it's bit urgent).

    Hi UdayKGR,
    According to your description, your report takes too long to load on your production environment. Right?
    In this scenario, since the report runs quickly in developing environment, we initially think it supposed to be the issue on data retrieval. However, based on the information in execution log, it takes longest time on rendering part. So we suggest you optimize
    the report itself to reduce the time for rendering. Please refer to the link below:
    My report takes too long to render
    Here is another article about overall performance optimization for Reporting Services:
    Reporting Services Performance and Optimization
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Simple query is taking long time

    Hi Experts,
    The below query is taking long time.
    [code]SELECT   FS.*
      FROM   ORL.FAX_STAGE FS
             INNER JOIN
                   ORL.FAX_SOURCE FSRC
                INNER JOIN
                   GLOBAL_BU_MAPPING GBM
                ON GBM.BU_ID = FSRC.BUID
             ON UPPER (FSRC.FAX_NUMBER) = UPPER (FS.DESTINATION)
    WHERE       FSRC.IS_DELETED = 'N'
             AND GBM.BU_ID IS NOT NULL
             AND UPPER (FS.FAX_STATUS) ='COMPLETED';[/code]
    this query is returning 1645457 records.
    [code]PLAN_TABLE_OUTPUT
    | Id  | Operation           | Name                   | Rows  | Bytes | Cost (%CPU)|
    |   0 | SELECT STATEMENT    |                        |   625K|   341M| 45113   (1)|
    |   1 |  HASH JOIN          |                        |   625K|   341M| 45113   (1)|
    |   2 |   NESTED LOOPS      |                        |   611 | 14664 |    22   (0)|
    |   3 |    TABLE ACCESS FULL| FAX_SOURCE             |  2290 | 48090 |    22   (0)|
    |   4 |    INDEX RANGE SCAN | GLOBAL_BU_MAPPING_BUID |     1 |     3 |     0   (0)|
    |   5 |   TABLE ACCESS FULL | FAX_STAGE              |  2324K|  1214M| 45076   (1)|
    PLAN_TABLE_OUTPUT
    Note
       - 'PLAN_TABLE' is old version
    15 rows selected.[/code]
    The distinct number of records in each table.
    [code]SELECT FAX_STATUS,count(*)
    FROM fax_STAGE
    GROUP BY FAX_STATUS;
    FAX_STATUS    COUNT(*)
    BROKEN          10
    Broken - New    9
    Completed    2324493
    New             20
    SELECT is_deleted,COUNT(*)
    FROM  FAX_SOURCE
    GROUP BY IS_DELETED;
    IS_DELETED COUNT(*)
    N         2290
    Y         78[/code]
    Total number of records in each table.
    [code]SELECT COUNT(*) FROM ORL.FAX_SOURCE FSRC-- 2368
    SELECT COUNT(*) FROM ORL.FAX_STAGE--2324532
    SELECT COUNT(*) FROM APPS_GLOBAL.GLOBAL_BU_MAPPING--9
    [/code]
    To improve the performance of this query I have created the following indexes.
    [code]Functional based index on UPPER (FSRC.FAX_NUMBER) ,UPPER (FS.DESTINATION) and UPPER (FS.FAX_STATUS).
    Bitmap index on FSRC.IS_DELETED.
    Normal Index on GBM.BU_ID and FSRC.BUID.
    [/code]
    But still the performance is bad for this query.
    What can I do apart from this to improve the performance of this query.
    Please help me .
    Thanks in advance.

    <I have created the following indexes.
    CREATE INDEX ORL.IDX_DESTINATION_RAM ON ORL.FAX_STAGE(UPPER("DESTINATION"))
    CREATE INDEX ORL.IDX_FAX_STATUS_RAM ON ORL.FAX_STAGE(LOWER("FAX_STATUS"))
    CREATE INDEX ORL.IDX_UPPER_FAX_STATUS_RAM ON ORL.FAX_STAGE(UPPER("FAX_STATUS"))
    CREATE INDEX ORL.IDX_BUID_RAM ON ORL.FAX_SOURCE(BUID)
    CREATE INDEX ORL.IDX_FAX_NUMBER_RAM ON ORL.FAX_SOURCE(UPPER("FAX_NUMBER"))
    CREATE BITMAP INDEX ORL.IDX_IS_DELETED_RAM ON ORL.FAX_SOURCE(IS_DELETED)
    After creating the following indexes performance got improved.
    But our DBA said that new BITMAP index at FAX_SOURCE table (ORL.IDX_IS_DELETED_RAM) can cause locks
    on multiple rows if IS_DELETED column is in use. Please proceed with detailed tests.
    I am sending the explain plan before creating indexes and after indexes has been created.
    SELECT  FS.*
    FROM  ORL.FAX_STAGE FS
                    INNER JOIN
                    ORL.FAX_SOURCE FSRC
                  INNER JOIN
                      GLOBAL_BU_MAPPING GBM
                    ON GBM.BU_ID = FSRC.BUID
                ON UPPER (FSRC.FAX_NUMBER) = UPPER (FS.DESTINATION)
    WHERE      FSRC.IS_DELETED = 'N'
              AND GBM.BU_ID IS NOT NULL
              AND UPPER (FS.FAX_STATUS) =:B1;
    --OLD without indexes
    PLAN_TABLE_OUTPUT
    Plan hash value: 3076973749
    | Id  | Operation          | Name                  | Rows  | Bytes | Cost (%CPU)| Time    |
    |  0 | SELECT STATEMENT    |                        |  141K|    85M| 45130  (1)| 00:09:02 |
    |*  1 |  HASH JOIN          |                        |  141K|    85M| 45130  (1)| 00:09:02 |
    |  2 |  NESTED LOOPS      |                        |  611 | 18330 |    22  (0)| 00:00:01 |
    |*  3 |    TABLE ACCESS FULL| FAX_SOURCE            |  2290 | 59540 |    22  (0)| 00:00:01 |
    |*  4 |    INDEX RANGE SCAN | GLOBAL_BU_MAPPING_BUID |    1 |    4 |    0  (0)| 00:00:01 |
    |*  5 |  TABLE ACCESS FULL | FAX_STAGE              | 23245 |    13M| 45106  (1)| 00:09:02 |
    PLAN_TABLE_OUTPUT
    Predicate Information (identified by operation id):
      1 - access(UPPER("FSRC"."FAX_NUMBER")=UPPER("FS"."DESTINATION"))
      3 - filter("FSRC"."IS_DELETED"='N')
      4 - access("GBM"."BU_ID"="FSRC"."BUID")
          filter("GBM"."BU_ID" IS NOT NULL)
      5 - filter(UPPER("FS"."FAX_STATUS")=SYS_OP_C2C(:B1))
    21 rows selected.
    --NEW with indexes.
    PLAN_TABLE_OUTPUT
    Plan hash value: 665032407
    | Id  | Operation                        | Name                    | Rows  | Bytes | Cost (%CPU)| Time    |
    |  0 | SELECT STATEMENT                |                          |  5995 |  3986K|  3117  (1)| 00:00:38 |
    |*  1 |  HASH JOIN                      |                          |  5995 |  3986K|  3117  (1)| 00:00:38 |
    |  2 |  NESTED LOOPS                  |                          |  611 | 47658 |    20  (5)| 00:00:01 |
    |*  3 |    VIEW                          | index$_join$_002        |  2290 |  165K|    20  (5)| 00:00:01 |
    |*  4 |    HASH JOIN                    |                          |      |      |            |      |
    |*  5 |      HASH JOIN                  |                          |      |      |            |      |
    PLAN_TABLE_OUTPUT
    |  6 |      BITMAP CONVERSION TO ROWIDS|                          |  2290 |  165K|    1  (0)| 00:00:01 |
    |*  7 |        BITMAP INDEX SINGLE VALUE | IDX_IS_DELETED_RAM      |      |      |            |      |
    |  8 |      INDEX FAST FULL SCAN      | IDX_BUID_RAM            |  2290 |  165K|    8  (0)| 00:00:01 |
    |  9 |      INDEX FAST FULL SCAN        | IDX_FAX_NUMBER_RAM      |  2290 |  165K|    14  (0)| 00:00:01 |
    |* 10 |    INDEX RANGE SCAN              | GLOBAL_BU_MAPPING_BUID  |    1 |    4 |    0  (0)| 00:00:01 |
    |  11 |  TABLE ACCESS BY INDEX ROWID    | FAX_STAGE                | 23245 |    13M|  3096  (1)| 00:00:38 |
    |* 12 |    INDEX RANGE SCAN              | IDX_UPPER_FAX_STATUS_RAM |  9298 |      |  2434  (1)| 00:00:30 |
    Predicate Information (identified by operation id):
    PLAN_TABLE_OUTPUT
      1 - access(UPPER("DESTINATION")="FSRC"."SYS_NC00035$")
      3 - filter("FSRC"."IS_DELETED"='N')
      4 - access(ROWID=ROWID)
      5 - access(ROWID=ROWID)
      7 - access("FSRC"."IS_DELETED"='N')
      10 - access("GBM"."BU_ID"="FSRC"."BUID")
          filter("GBM"."BU_ID" IS NOT NULL)
      12 - access(UPPER("FAX_STATUS")=SYS_OP_C2C(:B1))
    31 rows selected
    Please confirm on the DBA comment.Is this bitmap index locks rows in my case.
    Thanks.>

  • RSPCM is taking long time

    Hi,
    RSPCM is taking long time to open at the same time RSPC is working fine
    when I try to change the process chain status through RSPC_PROCESS_FINISH . it is executing for long time no response. I tried executing it backgrond also from past 2 days it is running, no progress.
    Our basis team created index to all backend table of RSPCM, still issue persist. Please suggest me some to get rid of this.
    Br,
    Harish

    hi,
    Please check the below thread
    RSPCM T-Code was executing very slow
    Please check note 1372931
    hope it helps!
    Edited by: Lavanya J on Nov 4, 2011 1:32 PM

  • This part of query is taking long time to run, its about 40 minutes. Can anyone help wit it.

    ------Load Dataset into Temp table---------------
    SELECT
    z.SYSTEMNAME
    --,Case when ZXC.[Subsystem Name] <> 'NULL' Then zxc.[SubSystem Name]
    --else NULL
    --End AS SubSystemName
    , CASE
    WHEN z.PROV_TAX_ID IN
    (SELECT DISTINCT zxc.TIN
    FROM dbo.SQS_Provider_Tracking zxc
    WHERE zxc.[SubSystem Name] <> 'NULL'
    THEN
    (SELECT DISTINCT [Subsystem Name]
    FROM dbo.SQS_Provider_Tracking zxc
    WHERE z.PROV_TAX_ID = zxc.TIN)
    End As SubSYSTEMNAME
    ,z.PROVIDERNAME
    ,z.STATECODE
    ,z.PROV_TAX_ID
    ,z.SRC_PAR_CD
    ,SUM(z.SEQUEST_AMT) Actual_Sequestered_Amt
    , CASE
    WHEN z.SRC_PAR_CD IN ('E','O','S','W')
    THEN 'Nonpar Waiver'
    --**Amendment Mailed**
    --WHEN z.PROV_TAX_ID IN
    When EXISTS
    (SELECT DISTINCT b.PROV_TIN
    FROM dbo.SQS_Mailed_TINs_010614 b WITH (NOLOCK )
    where not exists (select * from dbo.sqs_objector_TINs t where b.PROV_TIN = t.prov_tin))
    THEN
    (SELECT DISTINCT b.Mailing
    FROM dbo.SQS_Mailed_TINs_010614 b WITH (NOLOCK )
    WHERE z.PROV_TAX_ID = b.PROV_TIN
    -- --**Amendment Mailed Wave 3 and 4**
    --WHEN z.PROV_TAX_ID In
    When EXISTS
    (SELECT
    qz.PROV_TIN
    FROM
    [SQS_Mailed_TINs] qz WITH (NOLOCK )
    where qz.Mailing = 'Amendment Mailed (3rd Wave)'
    and not exists (select * from dbo.sqs_objector_TINs t WITH (NOLOCK ) where qz.PROV_TIN = t.prov_tin))
    THEN 'Amendment Mailed (3rd Wave)'
    WHEN EXISTS
    (SELECT
    qz.PROV_TIN
    FROM
    [SQS_Mailed_TINs] qz WITH (NOLOCK )
    where qz.Mailing = 'Amendment Mailed (4th Wave)'
    and not exists (select * from dbo.sqs_objector_TINs t WITH (NOLOCK ) where qz.PROV_TIN = t.prov_tin))
    THEN 'Amendment Mailed (4th Wave)'
    -- --Is Puerto Rico of Lifesynch
    WHEN EXISTS
    (SELECT DISTINCT a.PROV_TAX_ID
    FROM PACT.dbo.SQS_NonPar_PR_LS_TINs a WITH (NOLOCK )
    WHERE a.Bucket <> 'Nonpar'
    THEN
    (SELECT DISTINCT a.Bucket
    FROM PACT.dbo.SQS_NonPar_PR_LS_TINs a WITH (NOLOCK )
    WHERE a.PROV_TAX_ID = z.PROV_TAX_ID)
    -- --**Top Objecting Systems**
    WHEN z.SYSTEMNAME IN
    ('ADVENTIST HEALTH SYSTEM','ASCENSION HEALTH ALLIANCE','AULTMAN HEALTH FOUNDATION','BANNER HEALTH SYSTEM','BERT FISH MEDICAL CENTER','BETHESDA MEMORIAL HOSPITAL','BJC HEALTHCARE','BLOUNT MEMORIAL HOSPITAL','BOCA RATON REGIONAL HOSPITAL','CAROMONT HEALTH SYSTEM','CATHOLIC HEALTH INITIATIVES','CATHOLIC HEALTHCARE PARTNERS','CHRISTUS HEALTH',/*'CLEVELAND CLINIC HEALTH SYSTEM',*/'COLUMBUS REGIONAL HEALTHCARE SYSTEM','COMMUNITY HEALTH SYSTEMS, INC','COXHEALTH','HCA','HEALTH MANAGEMENT ASSOCIATES','HUNTSVILLE HOSPITAL HEALTH SYSTEM','INTEGRIS HEALTH','JUPITER MEDICAL CENTER','LEE MEMORIAL HEALTH SYSTEM','MARTIN MEMORIAL HEALTH SYSTEM','MERCY','MT SINAI MEDICAL CENTER (MIAMI)','MUNROE REGIONAL MEDICAL CENTER','NORMAN REGIONAL HEALTH SYSTEM','NORTHSIDE HEALTH SYSTEM','SHANDS HEALTHCARE','SISTERS OF MERCY - SPRINGFIELD, MO','SSM HEALTH CARE','ST LUKES HEALTH SYSTEM','SUMMA HEALTH SYSTEM','SUSQUEHANNA HEALTH SYSTEM','TBD -- TRINITY HEALTH - CATHOLIC HEALTH EAST','UNIVERSITY OF MISSOURI HEALTH SYSTEM','UNIVERSITY OF NEW MEXICO HOSPITALS','UNIVERSITY OF UTAH HEALTH CARE')
    THEN 'Top Objecting Systems'
    WHEN EXISTS
    (SELECT
    h.PROV_TAX_ID
    FROM
    #HIHO_Records h
    INNER JOIN SQS_Provider_Tracking obj WITH (NOLOCK )
    ON h.PROV_TAX_ID = obj.TIN
    AND obj.[Objector?] = 'Top Objector'
    WHERE z.PROV_TAX_ID = h.PROV_TAX_ID
    OR h.SMG_ID IS NOT NULL
    )and z.LCLM_RSTMT_TREND_CAT_CD IN ('HO','HI')
    THEN 'Top Objecting Systems'
    -- --**Other Objecting Hospitals**
    WHEN EXISTS
    (SELECT
    h.PROV_TAX_ID
    FROM
    #HIHO_Records h
    INNER JOIN SQS_Provider_Tracking obj WITH (NOLOCK )
    ON h.PROV_TAX_ID = obj.TIN
    AND obj.[Objector?] = 'Objector'
    WHERE z.PROV_TAX_ID = h.PROV_TAX_ID
    OR h.SMG_ID IS NOT NULL
    )and z.LCLM_RSTMT_TREND_CAT_CD IN ('HO','HI')
    THEN 'Other Objecting Hospitals'
    -- --**Objecting Physicians**
    WHEN EXISTS
    (SELECT z.PROV_TAX_ID
    FROM SQS_EDW_Source z WITH (NOLOCK)
    WHERE EXISTS
    (SELECT DISTINCT
    obj.TIN
    FROM SQS_Provider_Tracking obj WITH (NOLOCK )
    WHERE obj.[Objector?] in ('Objector','Top Objector')
    and z.PROV_TAX_ID = obj.TIN
    and z.LCLM_RSTMT_TREND_CAT_CD not IN ('HO','HI')
    THEN 'Objecting Physicians'
    --****Rejecting Hospitals****
    WHEN EXISTS
    (SELECT
    h.PROV_TAX_ID
    FROM
    #HIHO_Records h
    INNER JOIN SQS_Provider_Tracking obj WITH (NOLOCK )
    ON h.PROV_TAX_ID = obj.TIN
    AND obj.[Objector?] = 'Rejector'
    WHERE z.PROV_TAX_ID = h.PROV_TAX_ID
    OR h.SMG_ID IS NOT NULL
    )and z.LCLM_RSTMT_TREND_CAT_CD IN ('HO','HI')
    THEN 'Rejecting Hospitals'
    --****Rejecting Physciains****
    WHEN EXISTS
    (SELECT obj.TIN
    FROM SQS_Provider_Tracking obj WITH (NOLOCK )
    WHERE z.PROV_TAX_ID = obj.TIN
    AND obj.[Objector?] = 'Rejector')
    and z.LCLM_RSTMT_TREND_CAT_CD NOT IN ('HO','HI')
    THEN 'REjecting Physicians'
    ----**********ALL OBJECTORS SHOULD HAVE BEEN BUCKETED AT THIS POINT IN THE QUERY**********
    -- --**Non-Objecting Hospitals**
    WHEN EXISTS
    (SELECT DISTINCT
    h.PROV_TAX_ID
    FROM
    #HIHO_Records h WITH (NOLOCK )
    WHERE
    (z.PROV_TAX_ID = h.PROV_TAX_ID)
    OR h.SMG_ID IS NOT NULL
    )and z.LCLM_RSTMT_TREND_CAT_CD IN ('HO','HI')
    THEN 'Non-Objecting Hospitals'
    -- **Outstanding Contracts for Review**
    WHEN EXISTS
    (SELECT qz.PROV_TIN
    FROM
    [PACT].[HUMAD\ARS3766].[SQS_Mailed_TINs] qz WITH (NOLOCK )
    where qz.Mailing = 'Non-Objecting Bilateral Physicians'
    AND z.PROV_TAX_ID = qz.PROV_TIN)
    Then 'Non-Objecting Bilateral Physicians'
    When EXISTS
    (select
    p.prov_tax_id
    from dbo.SQS_CoC_Potential_Mail_List p WITH (NOLOCK )
    where p.amendmentrights <> 'Unilateral'
    AND z.prov_tax_id = p.prov_tax_id)
    THEN 'Non-Objecting Bilateral Physicians'
    WHEN EXISTS
    (SELECT
    qz.PROV_TIN
    FROM
    [SQS_Mailed_TINs] qz WITH (NOLOCK )
    where qz.Mailing = 'More Research Needed'
    AND qz.PROV_TIN = z.PROV_TAX_ID)
    THEN 'More Research Needed'
    WHEN EXISTS (SELECT qz.PROV_TIN FROM [SQS_Mailed_TINs] qz WITH (NOLOCK ) where qz.Mailing = 'Objector' AND qz.PROV_TIN = z.PROV_TAX_ID)
    THEN 'ERROR'
    else 'Market Review/Preparing to Mail'
    END AS [Updated Bucket]
    ,COALESCE(q.INDdesc, f.IND_desc) AS INDdesc
    ,f.Time_Period_for_Dispute
    ,f.Renew_Term_Ind
    ,f.Renewal_Date
    ,z.SMG_ID
    ,'' AS OrderedRank
    INTO SQS_Bucketed_Details_SMG_on_SMGXXX
    From #SQS_EDW_SOURCE_WithSMG z
    left join #F f ON f.PROV_TAX_ID = z.PROV_TAX_ID
    AND z.SYSTEMNAME = f.SYSTEM_NAME
    AND z.PROVIDERNAME = f.Provider
    Left join #Q q ON z.PROV_TAX_ID = q.TIN
    GROUP BY z.SYSTEMNAME
    --,Z.[SubsystemName]
    ,z.PROVIDERNAME
    ,z.STATECODE
    ,z.PROV_TAX_ID
    ,z.SRC_PAR_CD
    ,q.INDdesc
    ,f.IND_Desc
    ,f.Time_Period_for_Dispute
    ,f.Renew_Term_Ind
    ,f.Renewal_Date
    ,z.SMG_ID
    ,z.LCLM_RSTMT_TREND_CAT_CD
    As I am a developer I do not have the access to Sql profiler or tuning agent to optimize my query, I have used some joins over the temp table #HIHO which indeed pulling the records from table EDW_Source which has 5 million records, I also added Non clustered
    indexes on prov_ID, SMG_ID and Incurred month for this table, but still it is taking longer time. Need help

    Hi, It needs some more tweaks but pls try this one
    USE
    Go
    --****Create sqs_objector_TINs (Objections and Rejections)****
    --Drop table .dbo.sqs_objector_TINs
    select distinct a.TIN as Prov_TIN
    Into #sqs_objector_TINs
    from .dbo.sqs_provider_tracking as a with (nolock)
    where a.[Objector?] in ('Top Objector','Objector','Rejector')
    /*********** Query for SQS_TINtoSyst***********/
    --DROP TABLE .dbo.SQS_TINtoSystem
    select distinct
    b.SRC_PROV_ID
    --,case
    -- when a.SYSTEM_NAME is null
    -- then
    -- case
    -- when a.CTRCT_GRP_NAME is null
    -- then a.PROV_SMG_NAME
    -- else a.CTRCT_GRP_NAME
    -- end
    -- else a.SYSTEM_NAME
    --end as SYSTEM_NAME
    ,COALESCE(a.SYSTEM_NAME, a.CTRCT_GRP_NAME, a.PROV_SMG_NAME) AS SYSTEM_NAME
    INTO #SQS_TINtoSystem
    from
    PARE.dbo.EDW_PROD_HOSPITAL_MASTER a with (nolock)
    Inner Join PARE.dbo.EDW_PROD_HOSPITAL_ID_XREF b with (nolock)
    on a.SMG_ID = b.SMG_ID
    -- Inner Join .dbo.SQS_EDW_Source q
    --on b.SRC_PROV_ID = q.PROV_TAX_ID
    where b.SRC_PLATFORM_CD = 'TX'
    and exists
    select
    SMG_ID
    from PARE.dbo.EDW_PROD_HOSPITAL_ID_XREF as t1 with (nolock)
    where SRC_PLATFORM_CD = 'TX'
    and exists (select q.PROV_TAX_ID from .dbo.SQS_EDW_Source q with (nolock) where q.PROV_TAX_ID = b.SRC_PROV_ID)
    and a.SMG_ID = t1.SMG_ID
    /************** Query for SQS_Bucketed_Details_SMG*****************/
    DROP TABLE .dbo.SQS_Bucketed_Details_SMG
    --Create temp table
    SELECT z.SYSTEMNAME
    ,Z.PROV_TAX_ID
    ,z.PROVIDERNAME
    ,z.STATECODE
    ,z.SRC_PAR_CD
    ,z.SEQUEST_AMT
    ,case when Z.LCLM_RSTMT_TREND_CAT_CD IN ('HI','HO') Then 'H' else 'P' end as Hosp_Ind
    ,Z.SMG_ID
    INTO #SQS_EDW_SOURCE_WithSMG
    FROM dbo.SQS_EDW_SOURCE_WithSMG z with (nolock)
    WHERE (Z.Incurred_Mth >= convert(datetime,'01/01/2013')) and (Z.Incurred_Mth < convert(datetime, '1/1/2014'))
    --between convert(datetime,'01/01/2013') and convert(datetime, '12/31/2013 23:59:59.996')
    --YEAR(Z.Incurred_Mth)=2013
    -- Create Temp table Q
    select
    x.TIN,
    case when max(x.IND) = 'NYN'
    then 'Standard'
    when max(x.IND) = 'YNN'
    then 'Express'
    when max(x.IND) = 'NNY'
    then 'Non_Standard' else 'Mixed'
    end as INDdesc
    Into #Q
    FROM
    (SELECT
    a.tin,
    MAX(a.express) + MAX(a.StandardInd) + MAX(NonstandardIND) as IND
    from
    (select r.TIN,
    case when MAX(r.Express) like 'Y%' then 'Y' else 'N' end As Express,
    case when MAX(r.Standard) = 'Y' then 'Y' else 'N' end As StandardInd,
    case when MAX(r.[Non-Standard]) = 'Y' then 'Y' else 'N' end AS NonstandardIND
    FROM DBO.SQS_Objectors_01032014 r with (nolock)
    GROUP BY r.TIN) a
    group by a.TIN) x
    group by x.TIN
    --Create Temp table F
    Select *
    INTO #F
    FROM(
    SELECT distinct g.prov_tax_id
    ,g.system_name
    ,g.provider
    ,case when g.reimburse_mixed = 'Y' then 'Mixed'
    when g.reimburse_express = 'Y' then 'Express'
    when g.reimburse_standard = 'Y' then 'Standard'
    when g.reimburse_NonStandard = 'Y' then 'NonStandard'
    end as IND_Desc
    ,g.Time_Period_for_Dispute
    ,case when g.Renewal_Date = 'N' and g.Expiration_Date = 'N'
    then 'Unclear'
    when g.Renewal_Date = 'N' and g.Expiration_Date <> 'N'
    then 'Termination'
    when g.Renewal_Date <> 'N' and g.Expiration_Date = 'N'
    then 'Evergreen'
    when g.Renewal_Date <> 'N' and g.Expiration_Date <> 'N'
    then 'Termination'
    else 'Unknown'
    end as 'Renew_Term_Ind'
    ,g.Renewal_Date
    FROM
    (select distinct
    bb.PROV_TAX_ID1 as prov_tax_id
    ,aa.*
    from
    [dbo].[Top_600_Hospitals3] aa with (nolock)
    left join pare.dbo.EDW_PROD_HOSPITAL_MASTER bb with (nolock)
    on --a.CTRCT_GRP_NAME = b.CTRCT_GRP_NAME
    aa.Provider = bb.PROV_SMG_NAME
    -- and (a.SYSTEM_NAME = b.SMG_SYS_NAME or a.SYSTEM_NAME = b.SYSTEM_NAME)
    --and a.ADDR_LINE1 = b.ADDR_LINE1
    and aa.STATE_CD = bb.STATE_CD
    --and a.ZIP_CD = b.ZIP_CD
    and aa.City1 = bb.CITY_NAME
    where aa.SYSTEM_NAME <> 'SEE ABOVE') g
    where g.system_name <> 'SEE ABOVE') h
    where h.ind_Desc is not null
    SELECT DISTINCT z.PROV_TAX_ID
    , z.SMG_ID
    INTO #HIHO_Records
    FROM SQS_EDW_SOURCE_WithSMG z with (nolock)
    WHERE z.LCLM_RSTMT_TREND_CAT_CD IN ('HO', 'HI')
    AND Z.Incurred_Mth >=convert(datetime, '1/1/2013') and Z.Incurred_Mth <convert(datetime, '1/1/2014')
    --YEAR(Z.Incurred_Mth)=2013
    ---------------------------------Load Dataset into Temp table---------------
    SELECT
    z.SYSTEMNAME
    --,Case when ZXC.[Subsystem Name] <> 'NULL' Then zxc.[SubSystem Name]
    --else NULL
    --End AS SubSystemName
    , CASE
    WHEN z.PROV_TAX_ID IN
    (SELECT zxc.TIN
    FROM dbo.SQS_Provider_Tracking zxc with (nolock)
    WHERE zxc.[SubSystem Name] <> 'NULL'
    THEN
    (SELECT top 1 [Subsystem Name]
    FROM dbo.SQS_Provider_Tracking zxc with (nolock)
    WHERE z.PROV_TAX_ID = zxc.TIN)
    End As SubSYSTEMNAME
    ,z.PROVIDERNAME
    ,z.STATECODE
    ,z.PROV_TAX_ID
    ,z.SRC_PAR_CD
    ,SUM(z.SEQUEST_AMT) Actual_Sequestered_Amt
    , CASE
    WHEN z.SRC_PAR_CD IN ('E','O','S','W')
    THEN 'Nonpar Waiver'
    -- --Is Puerto Rico of Lifesynch
    WHEN z.PROV_TAX_ID IN
    (SELECT a.PROV_TAX_ID
    FROM .dbo.SQS_NonPar_PR_LS_TINs a with (nolock)
    WHERE a.Bucket <> 'Nonpar'
    THEN
    (SELECT top 1 a.Bucket
    FROM .dbo.SQS_NonPar_PR_LS_TINs a with (nolock)
    WHERE a.PROV_TAX_ID = z.PROV_TAX_ID)
    --**Amendment Mailed**
    WHEN z.PROV_TAX_ID IN
    (SELECT b.PROV_TIN
    FROM dbo.SQS_Mailed_TINs_010614 b WITH (NOLOCK )
    where not exists (select * from dbo.sqs_objector_TINs t with (nolock) where b.PROV_TIN = t.prov_tin))
    and z.Hosp_Ind = 'P'
    THEN
    (SELECT top 1 b.Mailing
    FROM dbo.SQS_Mailed_TINs_010614 b with (nolock)
    WHERE z.PROV_TAX_ID = b.PROV_TIN
    -- --**Amendment Mailed Wave 3-5**
    WHEN z.PROV_TAX_ID In
    (SELECT
    qz.PROV_TIN
    FROM
    [SQS_Mailed_TINs] qz
    where qz.Mailing = 'Amendment Mailed (3rd Wave)'
    and not exists (select * from dbo.sqs_objector_TINs t with (nolock) where qz.PROV_TIN = t.prov_tin))
    and z.Hosp_Ind = 'P'
    THEN 'Amendment Mailed (3rd Wave)'
    WHEN z.PROV_TAX_ID IN
    (SELECT
    qz.PROV_TIN
    FROM
    [SQS_Mailed_TINs] qz
    where qz.Mailing = 'Amendment Mailed (4th Wave)'
    and not exists (select * from dbo.sqs_objector_TINs t with (nolock) where qz.PROV_TIN = t.prov_tin))
    and z.Hosp_Ind = 'P'
    THEN 'Amendment Mailed (4th Wave)'
    WHEN z.PROV_TAX_ID IN
    (SELECT
    qz.PROV_TIN
    FROM
    [SQS_Mailed_TINs] qz
    where qz.Mailing = 'Amendment Mailed (5th Wave)'
    and not exists (select * from dbo.sqs_objector_TINs t with (nolock) where qz.PROV_TIN = t.prov_tin))
    and z.Hosp_Ind = 'P'
    THEN 'Amendment Mailed (5th Wave)'
    -- --**Top Objecting Systems**
    WHEN z.SYSTEMNAME IN
    ('ADVENTIST HEALTH SYSTEM','ASCENSION HEALTH ALLIANCE','AULTMAN HEALTH FOUNDATION')
    THEN 'Top Objecting Systems'
    WHEN z.PROV_TAX_ID IN
    (SELECT
    h.PROV_TAX_ID
    FROM
    #HIHO_Records h
    INNER JOIN .dbo.SQS_Provider_Tracking obj with (nolock)
    ON h.PROV_TAX_ID = obj.TIN
    AND obj.[Objector?] = 'Top Objector'
    WHERE z.PROV_TAX_ID = h.PROV_TAX_ID
    OR h.SMG_ID IS NOT NULL
    )and z.Hosp_Ind = 'H'
    THEN 'Top Objecting Systems'
    -- --**Other Objecting Hospitals**
    WHEN (z.PROV_TAX_ID IN
    (SELECT
    h.PROV_TAX_ID
    FROM
    #HIHO_Records h
    INNER JOIN .dbo.SQS_Provider_Tracking obj with (nolock)
    ON h.PROV_TAX_ID = obj.TIN
    AND obj.[Objector?] = 'Objector'
    WHERE z.PROV_TAX_ID = h.PROV_TAX_ID
    OR h.SMG_ID IS NOT NULL
    )and z.Hosp_Ind = 'H')
    THEN 'Other Objecting Hospitals'
    -- --**Objecting Physicians**
    WHEN (z.PROV_TAX_ID IN
    (SELECT
    obj.TIN
    FROM .dbo.SQS_Provider_Tracking obj with (nolock)
    WHERE obj.[Objector?] in ('Objector','Top Objector')
    and z.PROV_TAX_ID = obj.TIN
    and z.Hosp_Ind = 'P')
    THEN 'Objecting Physicians'
    --****Rejecting Hospitals****
    WHEN (z.PROV_TAX_ID IN
    (SELECT
    h.PROV_TAX_ID
    FROM
    #HIHO_Records h
    INNER JOIN .dbo.SQS_Provider_Tracking obj with (nolock)
    ON h.PROV_TAX_ID = obj.TIN
    AND obj.[Objector?] = 'Rejector'
    WHERE z.PROV_TAX_ID = h.PROV_TAX_ID
    OR h.SMG_ID IS NOT NULL
    )and z.Hosp_Ind = 'H')
    THEN 'Rejecting Hospitals'
    --****Rejecting Physciains****
    WHEN
    (z.PROV_TAX_ID IN
    (SELECT
    obj.TIN
    FROM .dbo.SQS_Provider_Tracking obj with (nolock)
    WHERE z.PROV_TAX_ID = obj.TIN
    AND obj.[Objector?] = 'Rejector')
    and z.Hosp_Ind = 'P')
    THEN 'REjecting Physicians'
    ----**********ALL OBJECTORS SHOULD HAVE BEEN BUCKETED AT THIS POINT IN THE QUERY**********
    -- --**Non-Objecting Hospitals**
    WHEN z.PROV_TAX_ID IN
    (SELECT
    h.PROV_TAX_ID
    FROM
    #HIHO_Records h
    WHERE
    (z.PROV_TAX_ID = h.PROV_TAX_ID)
    OR h.SMG_ID IS NOT NULL)
    and z.Hosp_Ind = 'H'
    THEN 'Non-Objecting Hospitals'
    -- **Outstanding Contracts for Review**
    WHEN z.PROV_TAX_ID IN
    (SELECT
    qz.PROV_TIN
    FROM
    [SQS_Mailed_TINs] qz with (nolock)
    where qz.Mailing = 'Non-Objecting Bilateral Physicians'
    AND z.PROV_TAX_ID = qz.PROV_TIN)
    Then 'Non-Objecting Bilateral Physicians'
    When z.prov_tax_id in
    (select
    p.prov_tax_id
    from dbo.SQS_CoC_Potential_Mail_List p with (nolock)
    where p.amendmentrights <> 'Unilateral'
    AND z.prov_tax_id = p.prov_tax_id)
    THEN 'Non-Objecting Bilateral Physicians'
    WHEN z.PROV_TAX_ID IN
    (SELECT
    qz.PROV_TIN
    FROM
    [SQS_Mailed_TINs] qz
    where qz.Mailing = 'More Research Needed'
    AND qz.PROV_TIN = z.PROV_TAX_ID)
    THEN 'More Research Needed'
    WHEN z.PROV_TAX_ID IN (SELECT qz.PROV_TIN FROM [SQS_Mailed_TINs] qz with (nolock) where qz.Mailing = 'Objector' AND qz.PROV_TIN = z.PROV_TAX_ID)
    THEN 'ERROR'
    else 'Market Review/Preparing to Mail'
    END AS [Updated Bucket]
    ,COALESCE(q.INDdesc, f.IND_desc) AS INDdesc
    ,f.Time_Period_for_Dispute
    ,f.Renew_Term_Ind
    ,f.Renewal_Date
    ,z.SMG_ID
    ,'' AS OrderedRank
    INTO dbo.SQS_Bucketed_Details_SMG with (nolock)
    From #SQS_EDW_SOURCE_WithSMG z
    left join #F f ON f.PROV_TAX_ID = z.PROV_TAX_ID
    AND z.SYSTEMNAME = f.SYSTEM_NAME
    AND z.PROVIDERNAME = f.Provider
    Left join #Q q ON z.PROV_TAX_ID = q.TIN
    GROUP BY z.SYSTEMNAME
    --,Z.[SubsystemName]
    ,z.PROVIDERNAME
    ,z.STATECODE
    ,z.PROV_TAX_ID
    ,z.SRC_PAR_CD
    ,q.INDdesc
    ,f.IND_Desc
    ,f.Time_Period_for_Dispute
    ,f.Renew_Term_Ind
    ,f.Renewal_Date
    ,z.SMG_ID
    ,z.Hosp_Ind
    /************************** Drop temp tables*********************/
    --DROP TABLE #SQS_EDW_SOURCE_WithSMG
    --DROP TABLE #Q
    --DROP TABLE #F
    --DROP TABLE #HIHO_Records
    --DROP TABLE #SQS_TINtoSystem
    --DROP TABLE #SQS_EDW_SOURCE_WithSMG
    --DROP TABLE #sqs_objector_TINs

  • Process Chain taking long time in loading data in infocube

    Dear Expert,
      We are loading data thru PC in AR cube it takes data frm
    PSA-> DSO->Activation->Index Deletion->DTP(load infocube)->IndexCreation->Create Aggregates.
    In Index creation everyday its taking long time around 9 to 10 hrs to create it
    when we go in RSRV and repair the infocube thr loading of data happens fast. We are doing it(RSRV) everyday. In DB02 we have seen dat 96% tablespace is used.
    Please tell permanent solution.
    Please suggest its BI Issue or Basis.
    Regards,
    Ankit

    Hi ,
    We are loading data thru PC in AR cube it takes data frm
    PSA-> DSO->Activation->Index Deletion->DTP(load infocube)->IndexCreation->Create Aggregates.
    In the above steps insted of Create Aggregates it should be Roll up Process of aggregates.
    You can ask the basis team to check the Table space in the transaction db02old/db02.
    Check if there is long running job in SM66/SM50 kill that job.
    check there should be enough Batch process to perform the steps.
    Hope this helps.
    "Assigning points is the ways to say thanks on SDN".
    Br
    Alok

  • Query taking long time for EXTRACTING the data more than 24 hours

    Hi ,
    Query taking long time for EXTRACTING the data more than 24 hours please find the query and explain plan details below even indexes avilable on table's goe's to FULL TABLE SCAN. please suggest me.......
    SQL> explain plan for select a.account_id,round(a.account_balance,2) account_balance,
    2 nvl(ah.invoice_id,ah.adjustment_id) transaction_id,
    to_char(ah.effective_start_date,'DD-MON-YYYY') transaction_date,
    to_char(nvl(i.payment_due_date,
    to_date('30-12-9999','dd-mm-yyyy')),'DD-MON-YYYY')
    due_date, ah.current_balance-ah.previous_balance amount,
    decode(ah.invoice_id,null,'A','I') transaction_type
    3 4 5 6 7 8 from account a,account_history ah,invoice i_+
    where a.account_id=ah.account_id
    and a.account_type_id=1000002
    and round(a.account_balance,2) > 0
    and (ah.invoice_id is not null or ah.adjustment_id is not null)
    and ah.CURRENT_BALANCE > ah.previous_balance
    and ah.invoice_id=i.invoice_id(+)
    AND a.account_balance > 0
    order by a.account_id,ah.effective_start_date desc; 9 10 11 12 13 14 15 16
    Explained.
    SQL> select * from table(dbms_xplan.display);
    PLAN_TABLE_OUTPUT
    | Id | Operation | Name | Rows | Bytes |TempSpc| Cost (%CPU)|
    | 0 | SELECT STATEMENT | | 544K| 30M| | 693K (20)|
    | 1 | SORT ORDER BY | | 544K| 30M| 75M| 693K (20)|
    |* 2 | HASH JOIN | | 544K| 30M| | 689K (20)|
    |* 3 | TABLE ACCESS FULL | ACCOUNT | 20080 | 294K| | 6220 (18)|
    |* 4 | HASH JOIN OUTER | | 131M| 5532M| 5155M| 678K (20)|
    |* 5 | TABLE ACCESS FULL| ACCOUNT_HISTORY | 131M| 3646M| | 197K (25)|
    | 6 | TABLE ACCESS FULL| INVOICE | 262M| 3758M| | 306K (18)|
    Predicate Information (identified by operation id):
    2 - access("A"."ACCOUNT_ID"="AH"."ACCOUNT_ID")
    3 - filter("A"."ACCOUNT_TYPE_ID"=1000002 AND "A"."ACCOUNT_BALANCE">0 AND
    ROUND("A"."ACCOUNT_BALANCE",2)>0)
    4 - access("AH"."INVOICE_ID"="I"."INVOICE_ID"(+))
    5 - filter("AH"."CURRENT_BALANCE">"AH"."PREVIOUS_BALANCE" AND ("AH"."INVOICE_ID"
    IS NOT NULL OR "AH"."ADJUSTMENT_ID" IS NOT NULL))
    22 rows selected.
    Index Details:+_
    SQL> select INDEX_OWNER,INDEX_NAME,COLUMN_NAME,TABLE_NAME from dba_ind_columns where
    2 table_name in ('INVOICE','ACCOUNT','ACCOUNT_HISTORY') order by 4;
    INDEX_OWNER INDEX_NAME COLUMN_NAME TABLE_NAME
    OPS$SVM_SRV4 P_ACCOUNT ACCOUNT_ID ACCOUNT
    OPS$SVM_SRV4 U_ACCOUNT_NAME ACCOUNT_NAME ACCOUNT
    OPS$SVM_SRV4 U_ACCOUNT CUSTOMER_NODE_ID ACCOUNT
    OPS$SVM_SRV4 U_ACCOUNT ACCOUNT_TYPE_ID ACCOUNT
    OPS$SVM_SRV4 I_ACCOUNT_ACCOUNT_TYPE ACCOUNT_TYPE_ID ACCOUNT
    OPS$SVM_SRV4 I_ACCOUNT_INVOICE INVOICE_ID ACCOUNT
    OPS$SVM_SRV4 I_ACCOUNT_PREVIOUS_INVOICE PREVIOUS_INVOICE_ID ACCOUNT
    OPS$SVM_SRV4 U_ACCOUNT_NAME_ID ACCOUNT_NAME ACCOUNT
    OPS$SVM_SRV4 U_ACCOUNT_NAME_ID ACCOUNT_ID ACCOUNT
    OPS$SVM_SRV4 I_LAST_MODIFIED_ACCOUNT LAST_MODIFIED ACCOUNT
    OPS$SVM_SRV4 I_ACCOUNT_INVOICE_ACCOUNT INVOICE_ACCOUNT_ID ACCOUNT
    OPS$SVM_SRV4 I_ACCOUNT_HISTORY_ACCOUNT ACCOUNT_ID ACCOUNT_HISTORY
    OPS$SVM_SRV4 I_ACCOUNT_HISTORY_ACCOUNT SEQNR ACCOUNT_HISTORY
    OPS$SVM_SRV4 I_ACCOUNT_HISTORY_INVOICE INVOICE_ID ACCOUNT_HISTORY
    OPS$SVM_SRV4 I_ACCOUNT_HISTORY_ADINV INVOICE_ID ACCOUNT_HISTORY
    OPS$SVM_SRV4 I_ACCOUNT_HISTORY_CIA CURRENT_BALANCE ACCOUNT_HISTORY
    OPS$SVM_SRV4 I_ACCOUNT_HISTORY_CIA INVOICE_ID ACCOUNT_HISTORY
    OPS$SVM_SRV4 I_ACCOUNT_HISTORY_CIA ADJUSTMENT_ID ACCOUNT_HISTORY
    OPS$SVM_SRV4 I_ACCOUNT_HISTORY_CIA ACCOUNT_ID ACCOUNT_HISTORY
    OPS$SVM_SRV4 I_ACCOUNT_HISTORY_LMOD LAST_MODIFIED ACCOUNT_HISTORY
    OPS$SVM_SRV4 I_ACCOUNT_HISTORY_ADINV ADJUSTMENT_ID ACCOUNT_HISTORY
    OPS$SVM_SRV4 I_ACCOUNT_HISTORY_PAYMENT PAYMENT_ID ACCOUNT_HISTORY
    OPS$SVM_SRV4 I_ACCOUNT_HISTORY_ADJUSTMENT ADJUSTMENT_ID ACCOUNT_HISTORY
    OPS$SVM_SRV4 I_ACCOUNT_HISTORY_APPLIED_DT APPLIED_DATE ACCOUNT_HISTORY
    OPS$SVM_SRV4 P_INVOICE INVOICE_ID INVOICE
    OPS$SVM_SRV4 U_INVOICE CUSTOMER_INVOICE_STR INVOICE
    OPS$SVM_SRV4 I_LAST_MODIFIED_INVOICE LAST_MODIFIED INVOICE
    OPS$SVM_SRV4 U_INVOICE_ACCOUNT ACCOUNT_ID INVOICE
    OPS$SVM_SRV4 U_INVOICE_ACCOUNT BILL_RUN_ID INVOICE
    OPS$SVM_SRV4 I_INVOICE_BILL_RUN BILL_RUN_ID INVOICE
    OPS$SVM_SRV4 I_INVOICE_INVOICE_TYPE INVOICE_TYPE_ID INVOICE
    OPS$SVM_SRV4 I_INVOICE_CUSTOMER_NODE CUSTOMER_NODE_ID INVOICE
    32 rows selected.
    Regards,
    Bathula
    Oracle-DBA

    I have some suggestions. But first, you realize that you have some redundant indexes, right? You have an index on account(account_name) and also account(account_name, account_id), and also account_history(invoice_id) and account_history(invoice_id, adjustment_id). No matter, I will suggest some new composite indexes.
    Also, you do not need two lines for these conditions:
    and round(a.account_balance, 2) > 0
    AND a.account_balance > 0
    You can just use: and a.account_balance >= 0.005
    So the formatted query isselect a.account_id,
           round(a.account_balance, 2) account_balance,
           nvl(ah.invoice_id, ah.adjustment_id) transaction_id,
           to_char(ah.effective_start_date, 'DD-MON-YYYY') transaction_date,
           to_char(nvl(i.payment_due_date, to_date('30-12-9999', 'dd-mm-yyyy')),
                   'DD-MON-YYYY') due_date,
           ah.current_balance - ah.previous_balance amount,
           decode(ah.invoice_id, null, 'A', 'I') transaction_type
      from account a, account_history ah, invoice i
    where a.account_id = ah.account_id
       and a.account_type_id = 1000002
       and (ah.invoice_id is not null or ah.adjustment_id is not null)
       and ah.CURRENT_BALANCE > ah.previous_balance
       and ah.invoice_id = i.invoice_id(+)
       AND a.account_balance >= .005
    order by a.account_id, ah.effective_start_date desc;You will probably want to select:
    1. From ACCOUNT first (your smaller table), for which you supply a literal on account_type_id. That should limit the accounts retrieved from ACCOUNT_HISTORY
    2. From ACCOUNT_HISTORY. We want to limit the records as much as possible on this table because of the outer join.
    3. INVOICE we want to access last because it seems to be least restricted, it is the biggest, and it has the outer join condition so it will manufacture rows to match as many rows as come back from account_history.
    Try the query above after creating the following composite indexes. The order of the columns is important:create index account_composite_i on account(account_type_id, account_balance, account_id);
    create index acct_history_comp_i on account_history(account_id, invoice_id, adjustment_id, current_balance, previous_balance, effective_start_date);
    create index invoice_composite_i on invoice(invoice_id, payment_due_date);All the columns used in the where clause will be indexed, in a logical order suited to the needs of the query. Plus each selected column is indexed as well so that we should not need to touch the tables at all to satisfy the query.
    Try the query after creating these indexes.
    A final suggestion is to try larger sort and hash area sizes and a manual workarea policy.alter session set workarea_size_policy = manual;
    alter session set sort_area_size = 2147483647;
    alter session set hash_area_size = 2147483647;

  • Why oracle text index column taking long  time

    why oracle text index column is taking long time to return result.I created text index on a column if I run the query on a single table result is very fast.If I join table with other table (10 records only )
    it is taking long time but in explain plan it is searching by index only.
    I created this index for searching a varchar2 column,the data is comma seperated values like ( UK,US,IT,BR) and the table having records 20 lakhs.Normally if I query with like operater
    ( like '%US%' ) it is taking full table scan because I am using '%' both sides. Please help me on this regard how to search the data with less time. Here is may sample code and explain plan.
    SQL*Plus: Release 9.2.0.1.0 - Production on Wed Jan 28 16:54:22 2009
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.1.0 - Production
    SQL&gt; set timing on
    SQL&gt; set linesize 180
    SQL&gt; explain plan for SELECT T.esongid FROM (SELECT A.ESONGID FROM wcmedeco.EDECO_ESONGS_TERR_CTRY 
    A WHERE CONTAINS(A.TERR_CTRY_NAMES,'US')&gt;0  
      2  GROUP BY A.ESONGID)K,T
      3  WHERE  K.ESONGID=T.ESONGID;
    Explained.
    Elapsed: 00:00:00.01
    SQL&gt; select *from table(dbms_xplan.display);
    PLAN_TABLE_OUTPUT
    | Id  | Operation                      |  Name                   | Rows  | Bytes | Cost  |
    |   0 | SELECT STATEMENT               |                         |     1 |    26 |     4 |
    |   1 |  NESTED LOOPS                  |                         |     1 |    26 |     4 |
    |   2 |   VIEW                         |                         |     1 |    13 |     4 |
    |   3 |    SORT GROUP BY               |                         |     1 |    89 |     4 |
    |   4 |     TABLE ACCESS BY INDEX ROWID| EDECO_ESONGS_TERR_CTRY  |     1 |    89 |     2 |
    |   5 |      DOMAIN INDEX              | IDX_TERR_CTRY_NAMES     |       |       |     0 |
    |   6 |   INDEX RANGE SCAN             | IDX_ESONGID_T           |     1 |    13 |     1 |
    PLAN_TABLE_OUTPUT
    Note: cpu costing is off, 'PLAN_TABLE' is old version
    14 rows selected.
    Elapsed: 00:00:00.00
    SQL&gt; Regards,
    Rajasekhar

    You have not formatted your code properly so we cannot see the query you're executing. Please put some line breaks in.
    Secondly, how fresh are the statistics on those tables? Are you really returning one record out of twenty million?
    Cheers, APC
    blog: http://radiofreetooting.blogspot.com

Maybe you are looking for

  • Bootcamp, rEFIt and virtual

    I have a MacBook with OS X Lion, I installed Windows 7 via Boot Camp, added Linux (Backtrack) using rEFIt. I now access OS X, Windows and BackTrack via rEFIt's boot menu. When I choose Backtrack or Windows I am routed to GRUB boot loader, Windows 7 b

  • Paid For Nothing

    I tried to start using Skype with my BlackBerry and signed in with my microsoft account. I wanted a number which I had to pay for and so I signed up to the minimum per month to get started plus a £5 credit on my Skype account. Can I use Skype to use

  • API/ Interface to cancel Internal Requisition line?

    We have a requirement to close the IR line using a custom program from backend. The ISO has 2 lines for which 1 line has been shipped fully and another line has partial shipment done. So oracle has split the record and the non-shipped line has been c

  • Problem with Sales Order CIF IM-job running longer

    We have CIF integratiom Model generation(RIMODGEN) and activation(RIMODAC2) jobs running everyday in sequence. One of the jobs is for Sales Order Generation and activation. The activation job used to take 30-40 seconds earlier(since last 1 year) but

  • Upgrade Plug in for CS4 to read raw files

    I have  PS4 and just bought a Canon 5d Mark III. PS now won't open my raw files. Can I get an upgrade plug in for CS4 to read these files? Thanks