Weird ORA-03113: end-of-file on communication channel error

Hi,
I am running a simple select distinct query (actually it is a little complex), and when I run it I keep getting the ORA-03113: end-of-file on communication channel error. Now it has been working fine all time until today. I checked the trace files that it generated but nothing stands out. It is only this one specific query that kills it. I checked on Metalink, but no help there. Can someone please shed some light on this.

So last night I started to think it might just be the query that is giving us the problem so I started to work on the query and came across something very interesting. This is the query that the user is using:
SQL> select distinct
2 rqms.ALERT_ID_NEW as ALERT_ID, (site.NAME || ' (' || site.COUNTRY_REGION || ')') as Customer,
3 rqms.START_DTTM as Time, RPAD(rqms.SUM_NODE_WDTIME/60, 18) as Weighted_Downtime,
4 RPAD( (rqms.SUM_NODE_DURATION/60) ||' min.', 15) as Duration, rpad(al.CL_PART_NO, 15) as Product,
5 rpad(al.CL_REVISION, 10) as Revision, case.title
6 from csalert.alert_call_info al, csalert.ALERT_INCIDENTS ai, clarify.cs_case case,
7 clarify.cs_site site, csalert.rqms_incidents rqms, CLARIFY.CS_PRODUCT_INFORMATION prod
8 where al.ALERT_ID = ai.ALERT_ID
9 and al.srid = case.case_id
10 and case.CSR_CALLERSITE = site.CALLERSITE_OBJID
11 and al.alert_id = rqms.alert_id
12 and case.CSR_HARDWARE_PART = prod.PRODUCTINFORMATION_OBJID
13 and (prod.FAMILY = 'Services Edge Router' or prod.FAMILY = 'SHASTA')
14 and al.START_DTTM >= trunc(sysdate - 1)
15 order by (site.NAME || ' (' || site.COUNTRY_REGION || ')')
16 /
If you look at line 14 with the trunc statement...well it seems like when I tried to re-write this query piece by piece, it would work, but as soon as I would bring back this line it would fail with the error mentioned in this postings.
This morning I came in and the user is complaining about another query acting the same way. So I performed the same steps as I did above and would you believe it...the new query also had a couple of lines where it used the trunc function. I removed them and re-ran the query with 100% success. So since the patch was applied, it seems like we are having problems with the trunc function it would seem like. This problem has gotten to just plain weird for me. I am completly lost here now.
What do you think?

Similar Messages

  • ORA-03113: end-of-file on communication channel ERROR

    After applying Database patch 3095277 to my 9.2.0.1.0 installation
    in order to update it to 9.2.0.4.0,I'm getting ORA-03113: end-of-file on communication channel
    ERRORS when attempting various tasks. This is a local installation running on a Windows XP Workstation.
    I've even tried creating a new test database but the result is the same.
    The reason for moving up to 9.2.0.4.0 is so I can start using Advanced Queuing, which I understand had problems in earlier releases.
    However before the update I could at least create the JMS queue tables without ERROR whereas now I get the following errors when attempting to create a queue table in SQL Plus from within Enterprise Manager Console.
    SQL*Plus: Release 9.2.0.4.0 - Production on Thu Sep 18 08:20:08 2003
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected.
    BEGIN SYS.DBMS_AQADM.CREATE_QUEUE_TABLE(Queue_table=> 'JMSQTBL',Queue_payload_type=>'SYS.AQ$_JMS_STREAM_MESSAGE',multiple_consumers=> false); END;
    ERROR at line 1:
    ORA-03113: end-of-file on communication channel
    BEGIN SYS.DBMS_AQADM.CREATE_QUEUE(Queue_name=> 'JMSQUE',queue_table=> 'JMSQTBL'); END;
    ERROR at line 1:
    ORA-03114: not connected to ORACLE
    I would be grateful of any pointers as to how to resolve this problem.
    Regards
    Gary.

    Chris, Thanks for the suggestion,
    I took a look in the trace log and found the following entries that point to a ORA-00600 as you mentioned earlier.
    This is only a test database so there's no great loss if
    I have to re create it, but in saying that I did create a new test02 from scratch and had the same problem.
    Is it posible something went wrong when applying the 9.2.0.4.0 patch ?.
    Regards
    Gary.
    Dump file c:\oracle\admin\test01\udump\test01_ora_2556.trc
    Wed Sep 17 16:25:14 2003
    ORACLE V9.2.0.4.0 - Production vsnsta=0
    vsnsql=12 vsnxtr=3
    Windows 2000 Version 5.1 Service Pack 1, CPU type 586
    Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.4.0 - Production
    Windows 2000 Version 5.1 Service Pack 1, CPU type 586
    Instance name: test01
    Redo thread mounted by this instance: 1
    Oracle process number: 10
    Windows thread id: 2556, image: ORACLE.EXE
    *** 2003-09-17 16:25:14.046
    *** SESSION ID:(7.17) 2003-09-17 16:25:14.031
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** 2003-09-17 16:25:14.281
    ksedmp: internal or fatal error
    ORA-00600: internal error code, arguments: [qmxiUnpPacked2], [121], [], [], [], [], [], []
    Current SQL statement for this session:
    select 1
    from resource_view
    where any_path = '/xdbconfig.xml'
    ----- PL/SQL Call Stack -----
    object line object
    handle number name
    6A4FA348 6 package body XDB.DBMS_REGXDB
    6A504D88 1 anonymous block
    6A576AB8 639 package body SYS.DBMS_REGISTRY
    6A1DBB6C 1 anonymous block

  • Encounter "ORA-03113 : end-of-file on communication channel error "

    Hi experts :
    I schedule a job of MS SSIS(SQL 2005) to do data transfer from Oracle to MS sql server every morning. Few days ago, SQL server report an error as bellow
    錯誤: 2010-05-26 06:04:27.87
    代碼: 0xC0202009
    來源: Package 連接管理員 "pro.twacelifeapp"
    描述: 發生 OLE DB 錯誤。錯誤碼: 0x80004005。
    有 OLE DB 記錄可用。 來源: "OraOLEDB" Hresult: 0x80004005 描述: "ORA-03113 : end-of-file on communication channel error"。
    錯誤結束
    "ORA-03113 : end-of-file on communication channel error " happened.
    many times It makes SSIS interupt. And the wierd thing is, as I restart SSIS again. Then the process done successfully.
    I check Oracle alert.log at the event time, it report "inbound connection timed out (ORA-3136)".
    sqlnet.log also list "TNS-12535: TNS:operation timed out".
    from the day on, MS SQL server reported this error msg everyday.
    I'm really confused and can't find the result of cause.
    dose any helps ,thanks~
    SQL server version : SQL server 2005
    Oracle : Oracle 10g r2

    ORA-03113: end-of-file on communication channel
    Cause:      The connection between Client and Server process was broken.
    Action:      There was a communication error that requires further investigation. First, check for network problems and review the SQL*Net setup. Also, look in the alert.log file for any errors. Finally, test to see whether the server process is dead and whether a trace file was generated at failure time.
    Regarda
    Asif Kabir

  • Oracle ORA-03113: end-of-file on communication channel error

    Hi,
    I am new to oracle. I need your help.
    I got oracle error on client site while running SQL.
    Oracle ORA-03113: end-of-file on communication channel error
    Process ID: 18805
    Session ID : 1610 Serial number: 15367I looked alert.log which is given below
    Fri Apr 02 14:36:27 2010
    Thread 1 advanced to log sequence 34069
      Current log# 1 seq# 34069 mem# 0: +DATA/store/onlinelog/group_1.272.648383369
    Fri Apr 02 15:10:11 2010
    Trace dumping is performing id=[cdmp_20100402151011]
    Fri Apr 02 15:10:41 2010
    Reconfiguration started (old inc 40, new inc 42)
    List of nodes:
    0
    Global Resource Directory frozen
    * dead instance detected - domain 0 invalid = TRUE
    Communication channels reestablished
    Master broadcasted resource hash value bitmaps
    Non-local Process blocks cleaned out
    Fri Apr 02 15:10:41 2010
    LMS 0: 0 GCS shadows cancelled, 0 closed, 0 Xw survived
    Fri Apr 02 15:10:41 2010
    LMS 1: 2 GCS shadows cancelled, 0 closed, 0 Xw survived
    Set master node info
    Submitted all remote-enqueue requests
    Dwn-cvts replayed, VALBLKs dubious
    All grantable enqueues granted
    Post SMON to start 1st pass IR
    LMS 1: 13458 GCS shadows traversed, 0 replayed
    LMS 0: 13700 GCS shadows traversed, 0 replayed
    Submitted all GCS remote-cache requests
    Fix write in gcs resources
    Fri Apr 02 15:10:42 2010
    Instance recovery: looking for dead threads
    Beginning instance recovery of 1 threads
    Reconfiguration complete
    parallel recovery started with 3 processes
    Started redo scan
    Completed redo scan
    1148 redo blocks read, 100 data blocks need recovery
    Fri Apr 02 15:10:43 2010
    Errors in file /opt/oracle/diag/rdbms/store/STORE1/trace/STORE1_p001_31604.trc:
    Fri Apr 02 15:10:43 2010
    Errors in file /opt/oracle/diag/rdbms/store/STORE1/trace/STORE1_p000_31602.trc:
    Fri Apr 02 15:10:43 2010
    Errors in file /opt/oracle/diag/rdbms/store/STORE1/trace/STORE1_p002_31619.trc:
    Started redo application at
    Thread 2: logseq 16481, block 37508
    Recovery of Online Redo Log: Thread 2 Group 3 Seq 16481 Reading mem 0
      Mem# 0: +DATA/store/onlinelog/group_3.280.648386385
    Completed redo application
    Completed instance recovery at
    Thread 2: logseq 16481, block 38656, scn 44063421381
    87 data blocks read, 101 data blocks written, 1148 redo blocks read
    Switch log for thread 2 to sequence 16482
    Fri Apr 02 15:10:50 2010
    ARC3: Archiving disabled thread 2 sequence 16482
    Fri Apr 02 15:13:50 2010
    Reconfiguration started (old inc 42, new inc 44)
    List of nodes:
    0 1
    Global Resource Directory frozen
    Communication channels reestablished
    Master broadcasted resource hash value bitmaps
    Non-local Process blocks cleaned out
    Fri Apr 02 15:13:50 2010
    Fri Apr 02 15:13:50 2010
    LMS 0: 0 GCS shadows cancelled, 0 closed, 0 Xw survived
    LMS 1: 0 GCS shadows cancelled, 0 closed, 0 Xw survived
    Set master node info
    Submitted all remote-enqueue requests
    Dwn-cvts replayed, VALBLKs dubious
    All grantable enqueues granted
    LMS 0: 7881 GCS shadows traversed, 4001 replayed
    LMS 1: 8015 GCS shadows traversed, 4001 replayed
    LMS 1: 5437 GCS shadows traversed, 2737 replayed
    LMS 0: 5797 GCS shadows traversed, 2941 replayed
    Submitted all GCS remote-cache requests
    Post SMON to start 1st pass IR
    Fix write in gcs resources
    Reconfiguration completeHere is trace files
    cat *STORE1_p001_31604.trc*
    Trace file /opt/oracle/diag/rdbms/store/STORE1/trace/STORE1_p001_31604.trc
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    With the Partitioning, Real Application Clusters, OLAP, Data Mining
    and Real Application Testing options
    ORACLE_HOME = /opt/oracle/product/11.1/db_1
    System name:    Linux
    Node name:      datastore1.bakcell.com
    Release:        2.6.18-53.el5PAE
    Version:        #1 SMP Sat Nov 10 18:33:42 EST 2007
    Machine:        i686
    Instance name: STORE1
    Redo thread mounted by this instance: 1
    Oracle process number: 83
    Unix process pid: 31604, image: [email protected] (P001)
    *** 2010-04-02 15:10:43.094
    *** SESSION ID:(1576.36581) 2010-04-02 15:10:43.094
    *** CLIENT ID:() 2010-04-02 15:10:43.094
    *** SERVICE NAME:(SYS$BACKGROUND) 2010-04-02 15:10:43.094
    *** MODULE NAME:() 2010-04-02 15:10:43.094
    *** ACTION NAME:() 2010-04-02 15:10:43.094
    2010-04-02 15:10:43.093954 : Start recovery for domain=0, valid=0, flags=0x1
    *** 2010-04-02 15:10:44.868
    KCRP: blocks claimed = 34, eliminated = 6
    ----- Recovery Hash Table Statistics ---------
    Hash table buckets = 32768
    Longest hash chain = 1
    Average hash chain = 40/40 = 1.0
    Max compares per lookup = 0
    Avg compares per lookup = 0/40 = 0.0
    *** 2010-04-02 15:10:50.249
    ----- Recovery Hash Table Statistics ---------
    Hash table buckets = 32768
    Longest hash chain = 1
    Average hash chain = 40/40 = 1.0
    Max compares per lookup = 1
    Avg compares per lookup = 604/604 = 1.0
    cat *STORE1_p000_31602.trc*
    Trace file /opt/oracle/diag/rdbms/store/STORE1/trace/STORE1_p000_31602.trc
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    With the Partitioning, Real Application Clusters, OLAP, Data Mining
    and Real Application Testing options
    ORACLE_HOME = /opt/oracle/product/11.1/db_1
    System name:    Linux
    Node name:      datastore1.bakcell.com
    Release:        2.6.18-53.el5PAE
    Version:        #1 SMP Sat Nov 10 18:33:42 EST 2007
    Machine:        i686
    Instance name: STORE1
    Redo thread mounted by this instance: 1
    Oracle process number: 71
    Unix process pid: 31602, image: [email protected] (P000)
    *** 2010-04-02 15:10:43.094
    *** SESSION ID:(1565.49022) 2010-04-02 15:10:43.094
    *** CLIENT ID:() 2010-04-02 15:10:43.094
    *** SERVICE NAME:(SYS$BACKGROUND) 2010-04-02 15:10:43.094
    *** MODULE NAME:() 2010-04-02 15:10:43.094
    *** ACTION NAME:() 2010-04-02 15:10:43.094
    2010-04-02 15:10:43.093855 : Start recovery for domain=0, valid=0, flags=0x1
    *** 2010-04-02 15:10:44.433
    KCRP: blocks claimed = 30, eliminated = 4
    ----- Recovery Hash Table Statistics ---------
    Hash table buckets = 32768
    Longest hash chain = 1
    Average hash chain = 34/34 = 1.0
    Max compares per lookup = 0
    Avg compares per lookup = 0/34 = 0.0
    *** 2010-04-02 15:10:50.246
    ----- Recovery Hash Table Statistics ---------
    Hash table buckets = 32768
    Longest hash chain = 1
    Average hash chain = 34/34 = 1.0
    Max compares per lookup = 1
    Avg compares per lookup = 666/666 = 1.0
    cat *STORE1_p002_31619.trc*
    Trace file /opt/oracle/diag/rdbms/store/STORE1/trace/STORE1_p002_31619.trc
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    With the Partitioning, Real Application Clusters, OLAP, Data Mining
    and Real Application Testing options
    ORACLE_HOME = /opt/oracle/product/11.1/db_1
    System name:    Linux
    Node name:      datastore1.bakcell.com
    Release:        2.6.18-53.el5PAE
    Version:        #1 SMP Sat Nov 10 18:33:42 EST 2007
    Machine:        i686
    Instance name: STORE1
    Redo thread mounted by this instance: 1
    Oracle process number: 84
    Unix process pid: 31619, image: [email protected] (P002)
    *** 2010-04-02 15:10:43.095
    *** SESSION ID:(1578.22258) 2010-04-02 15:10:43.095
    *** CLIENT ID:() 2010-04-02 15:10:43.095
    *** SERVICE NAME:(SYS$BACKGROUND) 2010-04-02 15:10:43.095
    *** MODULE NAME:() 2010-04-02 15:10:43.095
    *** ACTION NAME:() 2010-04-02 15:10:43.095
    2010-04-02 15:10:43.095010 : Start recovery for domain=0, valid=0, flags=0x1
    *** 2010-04-02 15:10:44.551
    KCRP: blocks claimed = 25, eliminated = 1
    ----- Recovery Hash Table Statistics ---------
    Hash table buckets = 32768
    Longest hash chain = 1
    Average hash chain = 26/26 = 1.0
    Max compares per lookup = 0
    Avg compares per lookup = 0/26 = 0.0
    *** 2010-04-02 15:10:50.250
    ----- Recovery Hash Table Statistics ---------
    Hash table buckets = 32768
    Longest hash chain = 1
    Average hash chain = 26/26 = 1.0
    Max compares per lookup = 1
    Avg compares per lookup = 246/246 = 1.0
    ----------------------------------------------I don't understand what does it mean which is written in alert.log.
    Yhanks in advance.

    please check below files:
    Fri Apr 02 15:10:43 2010
    Errors in file /opt/oracle/diag/rdbms/store/STORE1/trace/STORE1_p001_31604.trc:
    Fri Apr 02 15:10:43 2010
    Errors in file /opt/oracle/diag/rdbms/store/STORE1/trace/STORE1_p000_31602.trc:
    Fri Apr 02 15:10:43 2010
    Errors in file /opt/oracle/diag/rdbms/store/STORE1/trace/STORE1_p002_31619.trc:
    Edited by: Prathmesh on Apr 2, 2010 5:01 PM

  • ORA-03113: end-of-file on communication channel, error on view

    Dear all,
    I had created view using Set operator(UNION ALL)
    CREATE OR REPLACE VIEW ABCD
    AS
       SELECT "AD_CLIENT_ID", "AD_ORG_ID", "UPDATED", "UPDATEDBY", "CREATED",
              "CREATEDBY", "M_EMPLOYEE_MASTER_ID", "M_DEPARTMENT_ID",
              "DATE_OF_JOIN", "STARTDATE", "ENDDATE", "C_PERIOD_ID", "TYP", "REF",
              "VALUE", "DOCSTATUS", "USERID", isactive
         FROM opend_emp
       UNION ALL
       SELECT "AD_CLIENT_ID", "AD_ORG_ID", "UPDATED", "UPDATEDBY", "CREATED",
              "CREATEDBY", "M_EMPLOYEE_MASTER_ID", "M_DEPARTMENT_ID",
              "EFFECTIVE_DATE", "STARTDATE", "ENDDATE", "C_PERIOD_ID", "TYP",
              "REF", "VALUE", "DOCSTATUS", "USERID", isactive
         FROM opend_payroll
       UNION ALL
       SELECT "AD_CLIENT_ID", "AD_ORG_ID", "UPDATED", "UPDATEDBY", "CREATED",
              "CREATEDBY", "M_EMPLOYEE_MASTER_ID", "M_DEPARTMENT_ID",
              "DATE_OF_JOIN", "STARTDATE", "ENDDATE", "C_PERIOD_ID", "TYP", "REF",
              "VALUE", "DOCSTATUS", "USERID", isactive
         FROM opend_loan
       UNION ALL
       SELECT "AD_CLIENT_ID", "AD_ORG_ID", "UPDATED", "UPDATEDBY", "CREATED",
              "CREATEDBY", "M_EMPLOYEE_MASTER_ID", "M_DEPARTMENT_ID",
              "DATE_OF_JOIN", "STARTDATE", "ENDDATE", "C_PERIOD_ID", "TYP", "REF",
              "VALUE", "DOCSTATUS", "USERID", isactive
         FROM opend_loantrx
       UNION ALL
      SELECT "AD_CLIENT_ID", "AD_ORG_ID", "UPDATED", "UPDATEDBY", "CREATED",
              "CREATEDBY", "M_EMPLOYEE_MASTER_ID", "M_DEPARTMENT_ID",
              "DATE_OF_JOIN", "STARTDATE", "ENDDATE", "C_PERIOD_ID", "TYP", "REF",
              "VALUE", "DOCSTATUS", "USERID", isactive
         FROM opend_service_ch
       UNION ALL
       SELECT "AD_CLIENT_ID", "AD_ORG_ID", "UPDATED", "UPDATEDBY", "CREATED",
              "CREATEDBY", "M_EMPLOYEE_MASTER_ID", "M_DEPARTMENT_ID",
              "EFFECTIVE_DATE", "STARTDATE", "ENDDATE", "C_PERIOD_ID", "TYP",
              "REF", "VALUE", "DOCSTATUS", "USERID", isactive
         FROM opend_prom
       UNION ALL
       SELECT "AD_CLIENT_ID", "AD_ORG_ID", "UPDATED", "UPDATEDBY", "CREATED",
              "CREATEDBY", "M_EMPLOYEE_MASTER_ID", "M_DEPARTMENT_ID",
              "DATE_OF_JOIN", "STARTDATE", "ENDDATE", "C_PERIOD_ID", "TYP", "REF",
              "VALUE", "DOCSTATUS", "USERID", isactive
         FROM opend_leave_absWhen i run the script like
    select * from abcd;if i select particular column from view like
    select "M_EMPLOYEE_MASTER_ID", "M_DEPARTMENT_ID" from abcd;it showing error as ORA-03113: end-of-file on communication channel.
    please give some suggestion for it.
    hb venki

    Dude,
    Yes i knew this (ORA-03113: end-of-file on communication channel) error, but when i run that particular script ABCD then i got frequent error.
    hb venki

  • EAL extract fails with ORA-03113 end-of-file on communication channel error

    Hi,
    We are trying to run an EAL (v11.1.1.4) extract from an HFM (v9.3.1.4) environment onto Oracle database. We are able to run the extract successfully for few hundred records, but when the records exceeds 10 million we get the error below
    [03 Dec 2011 06:02:41] [dbmgr] ERROR: OCI: HR#13579: Cannot execute statement for insert
    [03 Dec 2011 06:02:41] [dbmgr] ERROR: OCI: HR#01428: OCI_ERROR: (ORA-03113: end-of-file on communication channel;Process ID: 16323;Session ID: 15 Serial number: 8288; (code=3113)) [rec#1]
    [03 Dec 2011 06:02:41] [dbmgr] ERROR: OCI: HR#13580: Cannot rollback
    [03 Dec 2011 06:02:41] [dbmgr] ERROR: OCI: HR#01428: OCI_ERROR: (ORA-03114: not connected to ORACLE; (code=3114)) [rec#1]
    [03 Dec 2011 06:02:41] [dbmgr] WARN : HR#13674: Data move region job failed: HR#00000: some operations failed, see details in the log file; 81877900 cell(s) processed in 70348 second(s)
    We checked on the DB and the Oracle session that was doing the insert was open even after the extract failed with the above error.
    Any idea what could be causing this??
    Thanks
    Ramya Suresh

    Hi,
    I was able to fix this issue.
    From the trace file identified the related objects and validated them.
    More details can be found in below MOS note.
    [ID 421711.1]--Understanding and Diagnosing ORA-00600 [17069] Errors
    Thanks for all the inputs...

  • Getting ORA-03113: end-of-file on communication channel error

    Hi,
    We are getting the following error while calling a Oracle stored Procedure from .NET interface.
    Getting ORA-03113: end-of-file on communication channel Process ID: 28954 Session ID: 466 Serial number: 9280
    Actually, The other procedures doesn't have this issue. We are witnessing this error only when we call a specific procedure which returns a data cursor. We have checked for any DBLINK involvement but couldn't find any. Please help us here to resolve this issue. Please let me know if you need any information further.
    Regards,
    Subhadeep

    end-of-file on communication channel
    Cause: The connection between Client and Server process was broken.
    Action: There was a communication error that requires further investigation. First, check for network problems and review the SQL*Net setup. Also, look in the alert.log file for any errors. Finally, test to see whether the server process is dead and whether a trace file was generated at failure time.

  • "ORA-03113: end-of-file on communication channel error" in client side

    Problem Description: we have a production server that oracle 11gr2 installed and oracle clients (application servers) with 11gr2 clients. Sometimes we encounter internal server error 500 at the application server side; and when we check out the application server logs we see ORA-03113 error code.
    when we look at the corresponding error on the Oracle Database Server side we saw the following output in the alert_orcl.log :
    Fatal NI connect error 12170.
    VERSION INFORMATION:
    TNS for 64-bit Windows: Version 11.2.0.1.0 - Production
    Oracle Bequeath NT Protocol Adapter for 64-bit Windows: Version 11.2.0.1.0 - Production
    Windows NT TCP/IP NT Protocol Adapter for 64-bit Windows: Version 11.2.0.1.0 - Production
    Time: 09-ŞUB-2011 12:46:15
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12535
    TNS-12535: TNS: İşlem süresi aşıldı
    ns secondary err code: 12609
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=10.1.10.144)(PORT=59999))
    Wed Feb 09 12:46:15 2011
    what could be the problem or how can i trace it in order to determine the exact problem? is there any parameter that i need to adjust in client side to ensure that every connection reaches the production server ?

    There is often an ORA-0600 or ORA-7445 behind these.
    These should produce an entry in the alert log and an associated trace file which a) can be used in the ORA-600/7445 lookup tool on Metalink and also uploaded to Oracle Support.
    Edited by: Dom Brooks on Feb 10, 2011 1:08 PM
    A bit quick to answer - I didn't see the large section of TNS information from the alert log.

  • [b]desc table_name gets ORA-03113: end-of-file on communication channel[/b]

    My installation running on Windows 2000 Oracle9i. When issue desc table_name i get ORA-03113: end-of-file on communication channel. I have set processes = 300 in parameter file.

    The ORA-03113: end-of-file on communication channel error is a generic error. The ORA-03113 error when connecting suggests that the connection was established, but lost later, like a timeout.
    There are many possible causes for the ORA-03113 error. See MetaLink Note:17613.1 "ORA-03113":
    For example, ORA-3113 could be signaled for any of these scenarios:
    - Server machine crashed
    - Your server process was killed at O/S level
    - Network problems
    - Oracle internal errors / aborts on the server
    - Client incorrectly handling multiple connections
    - etc.. etc.. etc.. - a lot of possible causes !!
    It goes on to note that the ORA-03113 End-Of-File error often has additional messages:
    It is common for this error to be accompanied by other errors such as:
    - ORA-1041 internal error. hostdef extension doesn't exist
    - ORA-3114 not connected to ORACLE
    - ORA-1012 not logged on
    To find more details, check for a trace file in your USER_DUMP_DEST and BACKGROUND_DMP_DEST directory.
    Hope this helps . . .
    Donald K. Burleson
    Oracle Press author
    Author of "Oracle Tuning: The Definitive Reference"
    http://www.rampant-books.com/book_2005_1_awr_proactive_tuning.htm

  • Convrtd to Invterval Part- ORA-03113: end-of-file on communication channel

    Hi all,
    I had a table as Interval Partitioned. In order to create XML- Xpath indexes on it, I converted it to Range Partitioned table.
    I am able to create the XPATH indexes but I get the error: ORA-03113: end-of-file on communication channel
    - When I revert the code to Interval Partitioned without the XMLIndex, it works fine(although takes time as no XML Index)
    - When I convert table to non partitioned table, create the XML Index, it works fine.
    But I need the partitons, so when I create the partitioned table I get the error.
    CREATE TABLE INT_PART_TABLE
    DB_ID VARCHAR2(10 BYTE),
    xML_mESSAGE SYS.XMLTYPE,
    LOAD_TIMESTAMP TIMESTAMP(6)
    XMLTYPE xML_mESSAGE STORE AS BINARY XML
    PARTITION BY RANGE (LOAD_TIMESTAMP)
    PARTITION MAX VALUES LESS THAN (TIMESTAMP' 2013-06-01 00:00:00')
    TABLESPACE CSTR_STG_DATA
    NOCOMPRESS
    NOCACHE
    ENABLE ROW MOVEMENT;
    BEGIN
    DBMS_XMLINDEX.dropparameter('Indx_Par');
    END;
    BEGIN
    DBMS_XMLINDEX.REGISTERPARAMETER(
    'Indx_Par',
    'PATH TABLE Table1
    PATHS (INCLUDE ( /abc:field1/xyz:field2
    /abc:field1/def:field2
    NAMESPACE MAPPING ( xmlns:abc="ABCD"
    xmlns:def="DEFG"
    xmlns:xyz="XYZA"
    end;
    create index INDX_XPATHS on "INT_PART_TABLE" (XML_MESSAGE) indextype is xdb.xmlindex
    parameters ('PARAM Indx_Par') local;
    Now if I execute the following statement in
    SELECT T.xML_mESSAGE
    FROM INT_PART_TABLE1 T
    WHERE XMLEXISTS (
    declare namespace abc="ABCD";
    declare namespacedef="DEFG";
    declare namespace xyz="XYZA";
    let $tt as xs:boolean := fn:exists($p/main/id = ("144283","9085802")])
    return if ($tt) then true()
    else ()'
    PASSING T.xML_mESSAGE AS "p");
    - Is there any other way of writing this Select statement, which may work?
    - Any other thing I need to take care of when defining the table and partitions script so that I don't get this error?

    Hi,
    I think it's time you give a clear (and working) test case so that we can safely try to reproduce the issue.
    What you've given so far has syntax error and name mismatch.
    So please :
    - database version (SELECT * FROM v$version)
    - complete sequence of DLLs
    - some sample XML documents (it doesn't have to be the real ones, but at least something realistic)
    Thanks in advance.
    declare namespace abc="ABCD";
    declare namespacedef="DEFG";
    declare namespace xyz="XYZA";
    let $tt as xs:boolean := fn:exists($p/main/id = ("144283","9085802")])
    return if ($tt) then true()
    else ()'Why all that stuff? You don't have to return a boolean.
    The following works for me on 11.2.0.3 :
    SQL> CREATE TABLE int_part_table (
      2    db_id          VARCHAR2(10)
      3  , xml_message    XMLTYPE
      4  , load_timestamp TIMESTAMP
      5  )
      6  XMLTYPE xml_message STORE AS BINARY XML
      7  PARTITION BY RANGE (load_timestamp) (
      8    PARTITION MAX VALUES LESS THAN (timestamp '2013-06-01 00:00:00')
      9  )
    10  NOCOMPRESS
    11  NOCACHE
    12  ENABLE ROW MOVEMENT;
    Table created
    SQL> insert into int_part_table values (1, xmltype('<main><id>144283</id></main>'), sysdate);
    1 row inserted
    SQL> insert into int_part_table values (1, xmltype('<main><id>9085802</id></main>'), sysdate);
    1 row inserted
    SQL> insert into int_part_table values (1, xmltype('<main><id>1</id></main>'), sysdate);
    1 row inserted
    SQL> commit;
    Commit complete
    SQL> create index int_part_table_uix on int_part_table (xml_message)
      2  indextype is xdb.xmlindex
      3  parameters (
      4  'PATH TABLE INT_PART_TABLE_PT
      5  PATHS ( INCLUDE ( /main/id ) )')
      6  local;
    Index created
    SQL> SELECT xml_message
      2  FROM int_part_table
      3  WHERE XMLExists(
      4         '/main[id=("144283","9085802")]'
      5         PASSING xml_message
      6       )
      7  ;
    XML_MESSAGE
    <main>
      <id>144283</id>
    </main>
    <main>
      <id>9085802</id>
    </main>
    Execution Plan
    Plan hash value: 3517234298
    | Id  | Operation                              | Name                         | Rows  | Bytes | Cost (%CPU)| Time     | Pstart| Pstop |
    |   0 | SELECT STATEMENT                       |                              |     1 |   155 |    34   (6)| 00:00:01 |       |       |
    |   1 |  NESTED LOOPS                          |                              |     1 |   155 |    34   (6)| 00:00:01 |       |       |
    |   2 |   VIEW                                 | VW_SQ_1                      |     1 |    25 |    32   (4)| 00:00:01 |       |       |
    |   3 |    HASH UNIQUE                         |                              |     1 |    47 |         |             |       |       |
    |*  4 |     HASH JOIN SEMI                     |                              |     1 |    47 |    32   (4)| 00:00:01 |       |       |
    |   5 |      PARTITION SYSTEM SINGLE           |                              |     2 |    90 |     2   (0)| 00:00:01 |     1 |     1 |
    |*  6 |       TABLE ACCESS BY LOCAL INDEX ROWID| INT_PART_TABLE_PT            |     2 |    90 |     2   (0)| 00:00:01 |     1 |     1 |
    |*  7 |        INDEX SKIP SCAN                 | SYS117585_INT_PART__PIKEY_IX |     3 |       |     1   (0)| 00:00:01 |     1 |     1 |
    |   8 |      COLLECTION ITERATOR PICKLER FETCH | XQSEQUENCEFROMXMLTYPE        |  8168 | 16336 |    29   (0)| 00:00:01 |       |       |
    |*  9 |   TABLE ACCESS BY USER ROWID           | INT_PART_TABLE               |     1 |   130 |     1   (0)| 00:00:01 | ROWID | ROWID |
    Predicate Information (identified by operation id):
       4 - access("SYS_P3"."VALUE"=SYS_XQ_UPKXML2SQL(VALUE(KOKBF$),2,1,0) AND
                  SUBSTRB("VALUE",1,1599)=SUBSTRB(SYS_XQ_UPKXML2SQL(VALUE(KOKBF$),2,1,0),1,1599))
       6 - filter(SYS_XMLI_LOC_ISNODE("SYS_P3"."LOCATOR")=1)
       7 - access("SYS_P3"."PATHID"=HEXTORAW('704E') )
           filter("SYS_P3"."PATHID"=HEXTORAW('704E') )
       9 - filter("ITEM_6"=TBL$OR$IDX$PART$NUM("DEV"."INT_PART_TABLE",0,7,65535,"INT_PART_TABLE".ROWID))
    Note
       - Unoptimized XML construct detected (enable XMLOptimizationCheck for more information)
    SQL> SELECT xml_message
      2  FROM int_part_table
      3  WHERE XMLExists(
      4         '/main[id="144283" or id="9085802"]'
      5         PASSING xml_message
      6       )
      7  ;
    XML_MESSAGE
    <main>
      <id>144283</id>
    </main>
    <main>
      <id>9085802</id>
    </main>
    Execution Plan
    Plan hash value: 3748936130
    | Id  | Operation                                | Name                         | Rows  | Bytes | Cost (%CPU)| Time     | Pstart| Pstop |
    |   0 | SELECT STATEMENT                         |                              |     1 |   155 |    11  (10)| 00:00:01 |       |       |
    |   1 |  NESTED LOOPS                            |                              |     1 |   155 |    11  (10)| 00:00:01 |       |       |
    |   2 |   VIEW                                   | VW_SQ_1                      |     2 |    50 |     8   (0)| 00:00:01 |       |       |
    |   3 |    HASH UNIQUE                           |                              |     2 |   180 |         |             |       |       |
    |   4 |     CONCATENATION                        |                              |       |       |         |             |       |       |
    |   5 |      NESTED LOOPS                        |                              |       |       |         |             |       |       |
    |   6 |       NESTED LOOPS                       |                              |     1 |    90 |     4   (0)| 00:00:01 |       |       |
    |   7 |        PARTITION SYSTEM SINGLE           |                              |     1 |    45 |     2   (0)| 00:00:01 |     1 |     1 |
    |*  8 |         TABLE ACCESS BY LOCAL INDEX ROWID| INT_PART_TABLE_PT            |     1 |    45 |     2   (0)| 00:00:01 |     1 |     1 |
    |*  9 |          INDEX SKIP SCAN                 | SYS117585_INT_PART__PIKEY_IX |     3 |       |     1   (0)| 00:00:01 |     1 |     1 |
    |  10 |        PARTITION SYSTEM SINGLE           |                              |     1 |       |     1   (0)| 00:00:01 |     1 |     1 |
    |* 11 |         INDEX RANGE SCAN                 | SYS117585_INT_PART__PIKEY_IX |     1 |       |     1   (0)| 00:00:01 |     1 |     1 |
    |* 12 |       TABLE ACCESS BY LOCAL INDEX ROWID  | INT_PART_TABLE_PT            |     1 |    45 |     2   (0)| 00:00:01 |     1 |     1 |
    |  13 |      NESTED LOOPS                        |                              |       |       |         |             |       |       |
    |  14 |       NESTED LOOPS                       |                              |     1 |    90 |     4   (0)| 00:00:01 |       |       |
    |  15 |        PARTITION SYSTEM SINGLE           |                              |     1 |    45 |     2   (0)| 00:00:01 |     1 |     1 |
    |* 16 |         TABLE ACCESS BY LOCAL INDEX ROWID| INT_PART_TABLE_PT            |     1 |    45 |     2   (0)| 00:00:01 |     1 |     1 |
    |* 17 |          INDEX SKIP SCAN                 | SYS117585_INT_PART__PIKEY_IX |     3 |       |     1   (0)| 00:00:01 |     1 |     1 |
    |  18 |        PARTITION SYSTEM SINGLE           |                              |     1 |       |     1   (0)| 00:00:01 |     1 |     1 |
    |* 19 |         INDEX RANGE SCAN                 | SYS117585_INT_PART__PIKEY_IX |     1 |       |     1   (0)| 00:00:01 |     1 |     1 |
    |* 20 |       TABLE ACCESS BY LOCAL INDEX ROWID  | INT_PART_TABLE_PT            |     1 |    45 |     2   (0)| 00:00:01 |     1 |     1 |
    |* 21 |   TABLE ACCESS BY USER ROWID             | INT_PART_TABLE               |     1 |   130 |     1   (0)| 00:00:01 | ROWID | ROWID |
    Predicate Information (identified by operation id):
       8 - filter("SYS_P5"."VALUE"='9085802' AND SYS_XMLI_LOC_ISNODE("SYS_P5"."LOCATOR")=1 AND SUBSTRB("VALUE",1,1599)='9085802')
       9 - access("SYS_P5"."PATHID"=HEXTORAW('704E') )
           filter("SYS_P5"."PATHID"=HEXTORAW('704E') )
      11 - access("SYS_P5"."RID"="SYS_P3"."RID" AND "SYS_P3"."PATHID"=HEXTORAW('0BBD')  AND
                  "SYS_P3"."ORDER_KEY"<"SYS_P5"."ORDER_KEY")
           filter(SYS_ORDERKEY_DEPTH("SYS_P3"."ORDER_KEY")+1=SYS_ORDERKEY_DEPTH("SYS_P5"."ORDER_KEY") AND
                  TBL$OR$IDX$PART$NUM("DEV"."INT_PART_TABLE",0,7,65535,"SYS_P3"."RID")=TBL$OR$IDX$PART$NUM("DEV"."INT_PART_TABLE_PT",0,7,65535,ROWI
                  D) AND "SYS_P5"."ORDER_KEY"<SYS_ORDERKEY_MAXCHILD("SYS_P3"."ORDER_KEY"))
      12 - filter(SYS_XMLI_LOC_ISNODE("SYS_P3"."LOCATOR")=1)
      16 - filter("SYS_P5"."VALUE"='144283' AND SYS_XMLI_LOC_ISNODE("SYS_P5"."LOCATOR")=1 AND SUBSTRB("VALUE",1,1599)='144283' AND
                  (LNNVL("SYS_P5"."VALUE"='9085802') OR LNNVL("SYS_P5"."PATHID"=HEXTORAW('704E') ) OR
                  LNNVL(SYS_XMLI_LOC_ISNODE("SYS_P5"."LOCATOR")=1) OR LNNVL(SUBSTRB("VALUE",1,1599)='9085802')))
      17 - access("SYS_P5"."PATHID"=HEXTORAW('704E') )
           filter("SYS_P5"."PATHID"=HEXTORAW('704E') )
      19 - access("SYS_P5"."RID"="SYS_P3"."RID" AND "SYS_P3"."PATHID"=HEXTORAW('0BBD')  AND
                  "SYS_P3"."ORDER_KEY"<"SYS_P5"."ORDER_KEY")
           filter(SYS_ORDERKEY_DEPTH("SYS_P3"."ORDER_KEY")+1=SYS_ORDERKEY_DEPTH("SYS_P5"."ORDER_KEY") AND
                  TBL$OR$IDX$PART$NUM("DEV"."INT_PART_TABLE",0,7,65535,"SYS_P3"."RID")=TBL$OR$IDX$PART$NUM("DEV"."INT_PART_TABLE_PT",0,7,65535,ROWI
                  D) AND "SYS_P5"."ORDER_KEY"<SYS_ORDERKEY_MAXCHILD("SYS_P3"."ORDER_KEY"))
      20 - filter(SYS_XMLI_LOC_ISNODE("SYS_P3"."LOCATOR")=1)
      21 - filter("ITEM_2"=TBL$OR$IDX$PART$NUM("DEV"."INT_PART_TABLE",0,7,65535,"INT_PART_TABLE".ROWID))I asked in one of your other threads if /main/id was unique per XML document.
    If so, you can use a simple function-based index instead of the XMLIndex :
    SQL> drop index int_part_table_uix;
    Index dropped.
    SQL> create index int_part_table_ix1 on int_part_table (
      2    xmlcast(
      3      xmlquery('/main/id' passing XML_MESSAGE returning content)
      4      as varchar2(10)
      5    )
      6  );
    Index created.
    SQL> SELECT xml_message
      2  FROM int_part_table
      3  WHERE XMLCast(
      4          XMLQuery('/main/id' PASSING xml_message RETURNING CONTENT)
      5          AS VARCHAR2(10)
      6        )
      7  IN ('144283', '9085802');
    XML_MESSAGE
    <main>
      <id>144283</id>
    </main>
    <main>
      <id>9085802</id>
    </main>
    Execution Plan
    Plan hash value: 2864653096
    | Id  | Operation                           | Name               | Rows  | Bytes | Cost (%CPU)| Time  | Pstart| Pstop |
    |   0 | SELECT STATEMENT                    |                    |     2 |   236 |     2   (0)| 00:00:01 |       |       |
    |   1 |  INLIST ITERATOR                    |                    |       |       |            |       |  |       |
    |   2 |   TABLE ACCESS BY GLOBAL INDEX ROWID| INT_PART_TABLE     |     2 |   236 |     2   (0)| 00:00:01 |     1 |     1 |
    |*  3 |    INDEX RANGE SCAN                 | INT_PART_TABLE_IX1 |     2 |       |     1   (0)| 00:00:01 |       |       |
    Predicate Information (identified by operation id):
       3 - access(CAST(EXTRACTVALUE(SYS_MAKEXML(0,"SYS_NC00003$"),'/main/id',null,0,0,524293,1073874944) AS
                  varchar2(10)   )='144283' OR CAST(EXTRACTVALUE(SYS_MAKEXML(0,"SYS_NC00003$"),'/main/id',null,0,0,524293,1073874944
                  ) AS varchar2(10)   )='9085802')

  • Error ORA-03113: end-of-file on communication channel in droppping  a table

    Good evening,
    I am very new on Oracle and I have a problem with some tables. Without any reason, apparently, I can't drop some of my table. Oracle gives me this error:
    ORA-03113: end-of-file on communication channel
    and then close the connection of the user.
    What I should have to do?
    It is very important.
    Thanks a lot
    best regards
    Anna Zanetti

    Good morning, I still have the same problem, I can't drop a table from my database.
    The message is again:
    Re: Error ORA-03113: end-of-file on communication channel
    The alert log file says:
    Fri Nov 17 12:27:31 2006
    Errors in file /usr/oracle/admin/oracledb/udump/oracledb_ora_4369.trc:
    ORA-07445: exception encountered: core dump [0955C61F] [SIGSEGV] [Address not mapped to object] [0xC] [] []
    and in file oracledb_ora_4369.trc there is:
    Exception signal: 11 (SIGSEGV), code: 1 (Address not mapped to object), addr: 0xc, PC: [0x955c61f, 0955C61F]
    Registers:
    %eax: 0x00000000 %ebx: 0x00012d95 %ecx: 0x58301930
    %edx: 0x00000000 %edi: 0x5830d9e8 %esi: 0x00000000
    %esp: 0xbfffae1c %ebp: 0xbfffb060 %eip: 0x0955c61f
    %efl: 0x00210282
    (0x955c61f) movzw 0xc(%eax),%eax(0x955c623) cmp $30,%eax
    (0x955c626) jle 0x955c63e
    (0x955c628) xor %edx,%edx
    (0x955c62a) push %edx
    *** 2006-11-17 12:27:31.658
    ksedmp: internal or fatal error
    ORA-07445: exception encountered: core dump [0955C61F] [SIGSEGV] [Address not mapped to object] [0xC] [] []
    Current SQL statement for this session:
    drop table fiumiforjoin
    ----- Call Stack Trace -----
    calling call entry argument values in hex
    location type point (? means dubious value)
    08856247 call 0885776A 1 ? 0 ? 1 ? 1 ? 0 ? 0 ?
    08290320 call 0885605A 3 ? 0 ? 0 ? 0 ? 0 ? 0 ?
    0955C61F signal 08290320 B ? BFFFAAB0 ? BFFFAB30 ?
    0955D6BE call 0955C61F 5830F01C ? 0 ? FFFFFFFF ? 0 ?
    1 ? 5830F01C ?
    08DD1EEB call 0955CC22 BFFFB394 ? 0 ? 0 ? BFFFB348 ?
    58EAB2B0 ? C ?
    09434EF3 call 08DD1A28 BF2A8C4 ? BFFFC0C0 ?
    BFFFC0C0 ? 4 ? B6AB0300 ?
    B6ABC2E0 ?
    094106E0 call 094326D4 4 ? 0 ? BFFFC0C0 ?
    093D7BB5 call 0940FEF8 3 ? E ? BFFFC1F8 ? A4 ?
    093D630C call 093D7AC4 BFFFCDF0 ? BFFFCD08 ? 17 ?
    1 ? 0 ? A4 ?
    08293DE6 call 0850FFFF 5E ? 14 ? BFFFCDEC ?
    0A1ED44D call 08293DE6 5E ? 14 ? BFFFCDEC ? 0 ?
    08292122 call 0A1ECAE4 BF2A8C0 ? 5E ? BFFFCDEC ? 0 ?
    BFFFD6E8 ? BFFFD6E4 ?
    0941F190 call 0829193C 0 ? 0 ? BF2A8C0 ? BF83090 ?
    F1 ? 0 ?
    08293DE6 call 0850FFFF 3C ? 4 ? BFFFEB08 ?
    08291238 call 082937A8 3C ? 4 ? BFFFEB08 ? 0 ?
    0828F403 call 08291012 3C ? 4 ? BFFFEB08 ?
    08274A3D call 0828F39C BFFFEAEC ? 3C ? 4 ?
    BFFFEB08 ? B6CC017C ?
    B6C1A17C ?
    __libc_start_main() call 08274A3D 2 ? BFFFEBA4 ? BFFFEBB0 ? 0 ?
    +218 B6C1C898 ? B7600020 ?
    Any idea of what I have to do?
    Thanks for your help..
    Best Regards
    Anna Zanetti

  • ORA-03113: end-of-file on communication channel while executing a query

    Hi all,
    I am getting following error while executing one of the query.
    ORA-03113: end-of-file on communication channel
    The query involves subqueries. At one point, in the second last condition of the whole query is the cause. what makes the query to disconnect from database.
    I am pasting the whole query with highlighted part causing the error.
    select
    A.Num_Employee_Id as col_0_0_,
    A.Str_Name_For_Reports as col_1_0_
    from
    Est_Esb_employee_m A
    where
    A.num_office_id=1
    and A.Num_Employee_Id not in
    (select
    B.Num_Employee_Id
    from
    Est_Esb_Employee_Service_D B
    where
    B.Chr_Curr_Status='N'
    and
    B.Dat_Effective_Date is not null
    and
    B.Dat_Effective_Date=
    (select
    max(C.Dat_Effective_Date)
    from
    Est_Esb_Employee_Service_D C
    where
    C.Num_Employee_Id=B.Num_Employee_Id
    and C.Dat_Effective_Date is not null
    and B.Num_Transaction_Id=
    (select
    max(D.Num_Transaction_Id)
    from
    Est_Esb_Employee_Service_D D
    where
    D.Dat_Effective_Date=
    (select
    max(E.Dat_Effective_Date)
    from
    Est_Esb_Employee_Service_D E
    where
    Num_Employee_Id=D.Num_Employee_Id
    and D.Num_Employee_Id=B.Num_Employee_Id
    and B.Num_New_Office_Id=1
    order by
    A.Str_First_Name,
    A.Str_Middle_Name,
    A.Str_Last_Name
    Awaiting your valuable suggestions.
    Regards
    Vijay Kumar

    I would start by compareing the explain plan of both versions of the statement.
    Also by adding such a restriction you might change from an uncorrelated subquery to a correlated subquery. I'm not sure, because your code is hardly readably without formatting.
    In any case you seem to select again and again from the same table. Maybe you should find a way to optimize to query in terms of io (less table access). Then this problem could go away.

  • Error ORA-03113: end-of-file on communication channel (while starting db)

    Hello everybody! :-)
    Looks like a need help with Oracle 11gr2 (RHEL 6 x64). Faced with a problem while starting database:
    sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Dec 7 01:43:45 2012
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to an idle instance.
    SQL> startup
    ORACLE instance started.
    Total System Global Area 2538741760 bytes
    Fixed Size 2216024 bytes
    Variable Size 1828720552 bytes
    Database Buffers 687865856 bytes
    Redo Buffers 19939328 bytes
    Database mounted.
    ORA-03113: end-of-file on communication channel
    Process ID: 6601
    Session ID: 575 Serial number: 5
    This is logfile (/u01/app/oracle/diag/rdbms/orcldocs1/orcldocs1/alert/log.xml):
    <msg time='2012-12-07T01:52:22.363+04:00' org_id='oracle' comp_id='rdbms'
    client_id='' type='UNKNOWN' level='16'
    host_id='localhost.localdomain' host_addr='127.0.0.1' module='[email protected] (TNS V1-V3)'
    pid='6881'>
    <txt>Errors in file /u01/app/oracle/diag/rdbms/orcldocs1/orcldocs1/trace/orcldocs1_ora_6881.trc:
    ORA-19809: limit exceeded for recovery files
    ORA-19804: cannot reclaim 28496896 bytes disk space from 5218762752 limit
    </txt>
    </msg>
    <msg time='2012-12-07T01:52:22.363+04:00' org_id='oracle' comp_id='rdbms'
    client_id='' type='UNKNOWN' level='16'
    host_id='localhost.localdomain' host_addr='127.0.0.1' module='[email protected] (TNS V1-V3)'
    pid='6881'>
    <txt>ARCH: Error 19809 Creating archive log file to &apos;/u01/app/oracle/flash_recovery_area/ORCLDOCS1/archivelog/2012_12_07/o1_mf_1_249_%u_.arc&apos;
    </txt>
    </msg>
    <msg time='2012-12-07T01:52:22.368+04:00' org_id='oracle' comp_id='rdbms'
    client_id='' type='UNKNOWN' level='16'
    host_id='localhost.localdomain' host_addr='127.0.0.1' module='[email protected] (TNS V1-V3)'
    pid='6881'>
    <txt>Errors in file /u01/app/oracle/diag/rdbms/orcldocs1/orcldocs1/trace/orcldocs1_ora_6881.trc:
    ORA-16038: log 3 sequence# 249 cannot be archived
    ORA-19809: limit exceeded for recovery files
    ORA-00312: online log 3 thread 1: &apos;/u01/app/oracle/oradata/orcldocs1/redo03.log&apos;
    </txt>
    </msg>
    <msg time='2012-12-07T01:52:22.368+04:00' org_id='oracle' comp_id='rdbms'
    client_id='' type='UNKNOWN' level='16'
    host_id='localhost.localdomain' host_addr='127.0.0.1' module='[email protected] (TNS V1-V3)'
    pid='6881'>
    <txt>USER (ospid: 6881): terminating the instance due to error 16038
    </txt>
    </msg>
    <msg time='2012-12-07T01:52:23.540+04:00' org_id='oracle' comp_id='rdbms'
    client_id='' type='UNKNOWN' level='16'
    host_id='localhost.localdomain' host_addr='127.0.0.1' module='[email protected] (TNS V1-V3)'
    pid='6881'>
    <txt>Instance terminated by USER, pid = 6881
    </txt>
    </msg>
    How can I resolve it, please advice. Thank you.
    Edited by: user9001403 on 06.12.2012 5:58

    Hi,
    Looks like your archivelog space is exhausted. Increase the db_recovery_file_dest_size size and check.
    SQL>  show parameter db_recovery
    NAME                                 TYPE        VALUE
    db_recovery_file_dest                string      /oracle/flash_recovery_area
    db_recovery_file_dest_size           big integer 3882MRegards,
    Anand.

  • ORA-03113: end-of-file on communication channel while running utlrp.sql

    Hi All,
    I am getting ORA-03113: end-of-file on communication channel while running utlrp.sql.
    Actually I ran utlrp.sql before in my test database and terminated the session in middle after that when ever I am running utlrp.sql i am getting the above error.
    how to resolve the issue.
    Kiran

    Hi,
    Check as follows;
    select owner,object_name,object_type from dba_objects where object_name like
    'UTL%'The objects should only belong to SYS, if they do belong do some other user (example HR, etc). Drop objects belong to other users (not sys).
    Then connect as sys as sysdba and rerun the script utlrp.sql.
    You can also review Oracle Metalink Document: ORA-03113 Error When Executing Utlrp.sql: Doc ID: Note:413922.1
    https://metalink.oracle.com/metalink/plsql/f?p=130:14:5496440446026841247::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,413922.1,1,1,1,helvetica
    Adith

  • Context Index World Lexer ORA-03113: end-of-file on communication channel

    I have release 10g Release 1 (10.1.0.2.0) for Windows and trying to take advantage of the World Lexer.
    My table is:
    create table worldtest(
    filename char(32),
    content blob
    I've created a preference for the WORLD_LEXER:
         begin
         ctx_ddl.create_preference('wlex', 'WORLD_LEXER');
         end;
    Right now I'm working with 10,000 records of PDF, MS-Word, Text, and HTM documents. When I try and create a context index using this lexer:
    create index i_ctx_wc on worldtest(content)
    indextype is ctxsys.context
    parameters ('lexer wlex');
    The following error is returned, and I have to use drop index force to remove the index. Without 'Force' a message is return saying the index is an a loading state, but nothing is occuring.
    create index i_ctx_wc on worldtest(content)
    indextype is ctxsys.context
    ERROR at line 1:
    ORA-03113: end-of-file on communication channel
    The indexing works fine when I leave the world lexer preference out.
    Any suggestions would be wonderful. I've been banging my head on this one for a while.
    Thanks.

    Hi,
    I couldn't reproduce (different version which is perhaps the problem). Check out bug 4056162. ORA-3113 related to the use of the world lexer. The resolution is not published externally, so no help there, but the bug is closed so perhaps support can provide some insight.
    Thanks.

Maybe you are looking for

  • 7110 wide

    Need quick answer please. ... One of our many printers is a HP 6940 which the driver has a selection for "banner" paper. We are able to load a section of about 10-20 pages of fanfolded paper into the tray, and it picks it up and prints continuous log

  • Numbering of film rolls in iPhoto

    When you rename a film roll in iPhoto., the original roll number disappears.  How can I retrieve the roll number? (In the Desktop & Screensaver pref. pane, the sidebar only shows roll numbers.)  I'm using iPhoto. 5.0.4, and Desktop & Screen Saver v.3

  • Email notification from XSJS

    Hello,          We have a customer onboarding scenario, that requires to send mail notifications. In one of the reply's in the SCN: http://scn.sap.com/thread/3507515 ,it was mentioned that we do not have smtp functionality enabled from xsjs. Can you

  • [svn:fx-trunk] 8741: Merged 3.x revisions 8623,8685,8740 - trunk

    Revision: 8741 Author:   [email protected] Date:     2009-07-22 14:00:56 -0700 (Wed, 22 Jul 2009) Log Message: Merged 3.x revisions 8623,8685,8740 -> trunk Modified Paths:     flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as  

  • Knowing the Total Swap size in solaris

    Dear all can anyone help me finding out Total Swap size(constant) value in solaris 10 I tried swap -s and used (Used+available as TOTAL swap) its keep changing, as its is a current swap size at that time. actually My intention is to used this forumul