[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
Similar Messages
-
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,
Subhadeepend-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 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.
KiranHi,
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 -
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 -
Oracle error ORA-03113: end-of-file on communication channel
Dear Support
I am getting "ORA-03113: end-of-file on communication channel" when I am trying to access my application.
The current setup is following
- two node Sun Cluster with node name as sep1n1 and sep2n2
- running Oracle RAC (oracle database 10g) with instance name as ADVFRW1 and ADVFRW2
Please see attached oracle trace file which was generated at the time of problem.
Can you please help me to know what can be the reason of this oracle error/crash?
Thanks
Regards
VSI don't see any Trace file.
Network Problems?
Are the databases up and running? -
Getting error "ORA-03113: end-of-file on communication channel"
HI ,
When Iam trying to compile a procedure in SQL *PLUS ,iam getting the following error :
ORA-03113: end-of-file on communication channel and the connection is getting lost .There is no issue with the code .
When i compile the same procedure in sql developer ,connection is getting lost and getting error
"Connection Closed
Vendor Code 17008"
Please help me to resolve the issue .
Thanks in advance ...Hi
Here is the code which is not getting compiled and is giving the above said error
CREATE OR REPLACE PROCEDURE SP_Upload_CrossWalk
(src_dom_nm IN VARCHAR2, src_sys_nm IN VARCHAR2, src_dta_elem_nm IN VARCHAR2, src_cd_val_txt IN VARCHAR2,
src_cd_val_desc IN VARCHAR2,src_cd_val_grp_desc IN VARCHAR2, tgt_dom_nm IN VARCHAR2, tgt_sys_nm IN VARCHAR2,
tgt_dta_elem_nm IN VARCHAR2, tgt_cd_val_txt IN VARCHAR2, tgt_cd_val_desc IN VARCHAR2,cd_map_typ_desc IN VARCHAR2,
eff_dttm IN VARCHAR2, term_dttm IN VARCHAR2, errtext OUT VARCHAR2)
IS
src_dom NUMBER;
src_key NUMBER;
src_elem NUMBER;
tgt_dom NUMBER;
tgt_sys NUMBER;
tgt_elem NUMBER;
src_val_seq NUMBER;
tgt_val_seq NUMBER;
src_cd_val_seq NUMBER;
cd_val_map_key_sq NUMBER;
temp_var VARCHAR2(500);
var_len NUMBER;
map_code CHAR(1);
invalidlength_exception EXCEPTION;
unknown_exception Exception;
BEGIN
var_len := LENGTH(src_cd_val_txt);
IF var_len > 20 THEN
temp_var := 'Length of Source Code Value Text Name is more than 20 characters';
RAISE invalidlength_exception;
END IF;
var_len := LENGTH(src_cd_val_desc);
IF var_len > 255 THEN
temp_var := 'Length of Code Value Desc is more than 255 characters';
RAISE invalidlength_exception;
END IF;
var_len := LENGTH(tgt_cd_val_txt);
IF var_len > 20 THEN
temp_var := 'Length of Target Code Value Text Name is more than 20 characters';
RAISE invalidlength_exception;
END IF;
var_len := LENGTH(tgt_cd_val_desc);
IF var_len > 255 THEN
temp_var := 'Length of Target Code Value Desc is more than 255 characters';
RAISE invalidlength_exception;
END IF;
var_len := LENGTH(src_cd_val_grp_desc);
IF var_len > 255 THEN
temp_var := 'Length of Code Value Group Desc is more than 255 characters';
RAISE invalidlength_exception;
END IF;
BEGIN
SELECT dom_key INTO src_dom FROM cu_cdm_dom WHERE dom_nm = src_dom_nm;
EXCEPTION
WHEN TOO_MANY_ROWS THEN
temp_var := 'Too many rows for Domain Key value lookup for Source Domain Name: '||src_dom_nm;
RAISE TOO_MANY_ROWS;
WHEN NO_DATA_FOUND THEN
temp_var := 'Domain Key value lookup failed for Source Domain Name: '||src_dom_nm;
RAISE NO_DATA_FOUND;
WHEN OTHERS THEN
temp_var := 'Unknown error in the Domain Key value lookup for Source Domain Name: '||src_dom_nm||' :
'|| sqlerrm;
RAISE unknown_exception;
END;
BEGIN
SELECT sys_key INTO src_key FROM cu_cdm_sys WHERE sys_nm = src_sys_nm;
EXCEPTION
WHEN TOO_MANY_ROWS THEN
temp_var := 'Too many rows for System Key value lookup for Source System Name: '||src_sys_nm;
RAISE TOO_MANY_ROWS;
WHEN NO_DATA_FOUND THEN
temp_var := 'System Key value lookup failed for Source System Name: '||src_sys_nm;
RAISE NO_DATA_FOUND;
WHEN OTHERS THEN
temp_var := 'Unknown error in the System Key value lookup for Source System Name: '||src_sys_nm||' :
'|| sqlerrm;
RAISE unknown_exception;
END;
BEGIN
SELECT dta_elem_key INTO src_elem FROM cu_cdm_dta_elem WHERE dta_elem_phys_nm = src_dta_elem_nm
AND dom_key = src_dom AND sys_key = src_key;
EXCEPTION
WHEN TOO_MANY_ROWS THEN
temp_var := 'Too many rows for Data Element Key value lookup for Source Data Element Physical Name:
'||src_dta_elem_nm|| ', Source Domain Key: '||src_dom||' and Source System Key: '||src_key;
RAISE TOO_MANY_ROWS;
WHEN NO_DATA_FOUND THEN
temp_var := 'Data Element Key value lookup failed for Source Data Element Physical Name:
'||src_dta_elem_nm|| ', Source Domain Key: '||src_dom||' and Source System Key: '||src_key;
RAISE NO_DATA_FOUND;
WHEN OTHERS THEN
temp_var := 'Unknown error in the Data Element Key value lookup for Source Data Element Physical
Name: '||src_dta_elem_nm|| ', Source Domain Key: '||src_dom||' and Source System Key: '||src_key||' : '|| sqlerrm;
RAISE unknown_exception;
END;
BEGIN
SELECT dom_key INTO tgt_dom FROM cu_cdm_dom WHERE dom_nm = tgt_dom_nm;
EXCEPTION
WHEN TOO_MANY_ROWS THEN
temp_var := 'Too many rows for Domain Key value lookup for Target Domain Name: '||tgt_dom_nm;
RAISE TOO_MANY_ROWS;
WHEN NO_DATA_FOUND THEN
temp_var := 'Domain Key value lookup failed for Target Domain Name: '||tgt_dom_nm;
RAISE NO_DATA_FOUND;
WHEN OTHERS THEN
temp_var := 'Unknown error in the Domain Key value lookup for Target Domain Name: '||tgt_dom_nm||' :
'|| sqlerrm;
RAISE unknown_exception;
END;
BEGIN
SELECT sys_key INTO tgt_sys FROM cu_cdm_sys WHERE sys_nm = tgt_sys_nm;
EXCEPTION
WHEN TOO_MANY_ROWS THEN
temp_var := 'Too may rows for System Key value lookup for Target System Name: '||tgt_sys_nm;
RAISE TOO_MANY_ROWS;
WHEN NO_DATA_FOUND THEN
temp_var := 'System Key value lookup failed for Target System Name: '||tgt_sys_nm;
RAISE NO_DATA_FOUND;
WHEN OTHERS THEN
temp_var := 'Unknown error in the System Key value lookup for Target System Name: '||tgt_sys_nm||' :
'|| sqlerrm;
RAISE unknown_exception;
END;
BEGIN
SELECT dta_elem_key INTO tgt_elem FROM cu_cdm_dta_elem WHERE dta_elem_phys_nm = tgt_dta_elem_nm
AND dom_key = tgt_dom AND sys_key = tgt_sys;
EXCEPTION
WHEN TOO_MANY_ROWS THEN
temp_var := 'Too many rows for Data Element Key value lookup for Target Data Element Physical Name:
'||tgt_dta_elem_nm|| ', Target Domain Key: '||tgt_dom||' and Target System Key: '||tgt_sys;
RAISE TOO_MANY_ROWS;
WHEN NO_DATA_FOUND THEN
temp_var := 'Data Element Key value lookup failed for Target Data Element Physical Name:
'||tgt_dta_elem_nm|| ', Target Domain Key: '||tgt_dom||' and Target System Key: '||tgt_sys;
RAISE NO_DATA_FOUND;
WHEN OTHERS THEN
temp_var := 'Unknown error in the Data Element Key value lookup for Target Data Element Physical
Name: '||tgt_dta_elem_nm|| ', Target Domain Key: '||tgt_dom||' and Target System Key: '||tgt_sys||' : '|| sqlerrm;
RAISE unknown_exception;
END;
BEGIN
SELECT MIN(cd_map_typ_cd) INTO map_code FROM cu_cdm_cd_map_typ WHERE cd_map_typ_desc = cd_map_typ_desc;
EXCEPTION
WHEN TOO_MANY_ROWS THEN
temp_var := 'Too many values for Code Map Type Code value lookup for Code Map Type Desc:
'||cd_map_typ_desc;
RAISE TOO_MANY_ROWS;
WHEN NO_DATA_FOUND THEN
temp_var := 'Code Map Type Code value lookup failed for Code Map Type Desc: '||cd_map_typ_desc;
RAISE NO_DATA_FOUND;
WHEN OTHERS THEN
temp_var := 'Unknown error in the Code Map Type Code value lookup for Code Map Type Desc:
'||cd_map_typ_desc||' : '|| sqlerrm;
RAISE unknown_exception;
END;
BEGIN
SELECT cu_cdm_src_cd_val_grp_key_sq.nextval INTO src_cd_val_seq FROM dual;
EXCEPTION
WHEN OTHERS THEN
temp_var := 'Error in generating the value for the sequence CU_CDM_SRC_CD_VAL_GRP_KEY_SQ'||' : '||
sqlerrm;
RAISE unknown_exception;
END;
BEGIN
SELECT cu_cdm_cd_val_key_sq.nextval INTO src_val_seq FROM dual;
EXCEPTION
WHEN OTHERS THEN
temp_var := 'Error in generating the value (source) for the sequence CU_CDM_CD_VAL_KEY_SQ'||' : '||
sqlerrm;
RAISE unknown_exception;
END;
BEGIN
SELECT cu_cdm_cd_val_key_sq.nextval INTO tgt_val_seq FROM dual;
EXCEPTION
WHEN OTHERS THEN
temp_var := 'Error in generating the value (target) for the sequence CU_CDM_CD_VAL_KEY_SQ'||' : '||
sqlerrm;
RAISE unknown_exception;
END;
BEGIN
SELECT cu_cdm_cd_val_map_key_sq.nextval INTO cd_val_map_key_sq FROM dual;
EXCEPTION
WHEN OTHERS THEN
temp_var := 'Error in generating the value for the sequence CU_CDM_CD_VAL_MAP_KEY_SQ'||' : '||
sqlerrm;
RAISE unknown_exception;
END;
BEGIN
BEGIN
INSERT INTO cu_cdm_cd_val_mstr(cd_val_key, cd_val_eff_dttm, dta_elem_key, cd_val_txt,
cd_val_desc, coode_val_term_dttm)
VALUES(src_val_seq, to_date(eff_dttm, 'MM-DD-YYYY'), src_elem, src_cd_val_txt,
src_cd_val_desc, to_date(term_dttm, 'MM-DD-YYYY'));
EXCEPTION
WHEN DUP_VAL_ON_INDEX THEN
temp_var := 'Primary Key Violation, key already exists in the table CU_CDM_CD_VAL_MSTR';
RAISE DUP_VAL_ON_INDEX;
WHEN OTHERS THEN
temp_var := 'Unknown error inserting into the table CU_CDM_CD_VAL_MSTR :'||' : '|| sqlerrm;
RAISE unknown_exception;
END;
BEGIN
INSERT INTO cu_cdm_cd_val_mstr(cd_val_key, cd_val_eff_dttm, dta_elem_key, cd_val_txt,
cd_val_desc, coode_val_term_dttm)
VALUES(tgt_val_seq, to_date(eff_dttm, 'MM-DD-YYYY'), tgt_elem, tgt_cd_val_txt,
tgt_cd_val_desc, to_date(term_dttm, 'MM-DD-YYYY'));
EXCEPTION
WHEN DUP_VAL_ON_INDEX THEN
temp_var := 'Primary Key Violation, key already exists in the table CU_CDM_CD_VAL_MSTR';
RAISE DUP_VAL_ON_INDEX;
WHEN OTHERS THEN
temp_var := 'UUnknown error inserting into the table CU_CDM_CD_VAL_MSTR'||' : '|| sqlerrm;
RAISE unknown_exception;
END;
BEGIN
INSERT INTO cu_cdm_src_cd_val_grp(src_cd_val_grp_key, src_cd_val_grp_eff_dttm,
src_cd_val_grp_desc, src_cd_val_term_dttm)
VALUES(src_cd_val_seq, to_date(eff_dttm, 'MM-DD-YYYY'), src_cd_val_grp_desc,
to_date(term_dttm, 'MM-DD-YYYY'));
EXCEPTION
WHEN DUP_VAL_ON_INDEX THEN
temp_var := 'Primary Key Violation, key already exists in the table CU_CDM_SRC_CD_VAL_GRP';
RAISE DUP_VAL_ON_INDEX;
WHEN OTHERS THEN
temp_var := 'Unknown error inserting into the table CU_CDM_SRC_CD_VAL_GRP'||' : '|| sqlerrm;
RAISE unknown_exception;
END;
BEGIN
INSERT INTO cu_cdm_cd_val_map(cd_val_map_key, cd_map_eff_dttm, cd_map_typ_cd,
cd_map_term_dttm, tgt_cd_val_key, tgt_cd_val_eff_dttm, src_cd_val_grp_key, src_cd_val_grp_eff_dttm)
VALUES(cd_val_map_key_sq, to_date(eff_dttm, 'MM-DD-YYYY'), map_code, to_date(term_dttm,
'MM-DD-YYYY'),
tgt_val_seq, to_date(eff_dttm, 'MM-DD-YYYY'), src_cd_val_seq, to_date(eff_dttm,
'MM-DD-YYYY'));
EXCEPTION
WHEN DUP_VAL_ON_INDEX THEN
temp_var := 'Primary Key Violation, key already exists in the table CU_CDM_CD_VAL_MAP';
RAISE DUP_VAL_ON_INDEX;
WHEN OTHERS THEN
temp_var := 'Unknown error inserting into the table CU_CDM_CD_VAL_MAP'||' : '|| sqlerrm;
RAISE unknown_exception;
END;
END;
COMMIT;
EXCEPTION
WHEN NO_DATA_FOUND THEN
errtext := temp_var ||' : '|| sqlerrm;
WHEN TOO_MANY_ROWS THEN
errtext := temp_var ||' : '|| sqlerrm;
WHEN DUP_VAL_ON_INDEX THEN
errtext := temp_var ||' : '|| sqlerrm;
WHEN invalidlength_exception THEN
errtext := temp_var;
WHEN unknown_exception THEN
errtext := temp_var ||' : '|| sqlerrm;
WHEN OTHERS THEN
errtext := sqlcode ||' : '|| sqlerrm;
END SP_Upload_CrossWalk;
Please help me in this regard
Regards
Deepak -
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') -
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 KumarI 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. -
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 SureshHi,
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... -
ORA-03113: end-of-file on communication channel
Hi
While I startup Oracle database, i get the following error. What could be the issue and how to resolve this.
SQL> startup
ORACLE instance started.
Total System Global Area 864333824 bytes
Fixed Size 2231368 bytes
Variable Size 704644024 bytes
Database Buffers 150994944 bytes
Redo Buffers 6463488 bytes
Database mounted.
ORA-03113: end-of-file on communication channel
Process ID: 6507
Session ID: 580 Serial number: 5
Below is the content from alert log and trace log
*#alert_orcl.log#*
Bad header found during crash/instance recovery
Reading datafile '+DATA/orcl/datafile/sysaux.257.762570243' for corruption at rdba: 0x0080f01b (file 2, block 61467)
Data in bad block:
type: 255 format: 2 rdba: 0x0000a2ff
last change scn: 0x0000.0080019f seq: 0x0 flg: 0x00
spare1: 0x0 spare2: 0x0 spare3: 0x4ff
consistency value in tail: 0x643e0346
check value in block header: 0x0
Read datafile mirror 'ASM5' (file 2, block 61467) found same corrupt data (no logical check)
block checksum disabled
Reading datafile '+DATA/orcl/datafile/sysaux.257.762570243' for corruption at rdba: 0x0080019f (file 2, block 415)
Read datafile mirror 'ASM4' (file 2, block 415) found same corrupt data (no logical check)
Read datafile mirror 'ASM1' (file 2, block 61467) found same corrupt data (no logical check)
Hex dump of (file 2, block 34539) in trace file /appl/oracle/diag/rdbms/orcl/orcl/trace/orcl_p000_6831.trc
Corrupt block relative dba: 0x008086eb (file 2, block 34539)
Bad header found during crash/instance recovery
Data in bad block:
type: 1 format: 6 rdba: 0x0000a201
last change scn: 0x0000.008086eb seq: 0x0 flg: 0x00
Read datafile mirror 'ASM3' (file 2, block 415) found same corrupt data (no logical check)
spare1: 0xbb spare2: 0xe1 spare3: 0x4ff
consistency value in tail: 0x02c20304
check value in block header: 0x0
block checksum disabled
Reading datafile '+DATA/orcl/datafile/sysaux.257.762570243' for corruption at rdba: 0x008086eb (file 2, block 34539)
Read datafile mirror 'ASM2' (file 2, block 34539) found same corrupt data (no logical check)
Hex dump of (file 2, block 420) in trace file /appl/oracle/diag/rdbms/orcl/orcl/trace/orcl_p002_6839.trc
Corrupt block relative dba: 0x008001a4 (file 2, block 420)
Bad header found during crash/instance recovery
Data in bad block:
type: 255 format: 2 rdba: 0x0000a206
last change scn: 0xe1f3.008001a4 seq: 0x74 flg: 0x00
spare1: 0x0 spare2: 0x0 spare3: 0x401
consistency value in tail: 0x474f4c20
check value in block header: 0x0
block checksum disabled
Reading datafile '+DATA/orcl/datafile/sysaux.257.762570243' for corruption at rdba: 0x008001a4 (file 2, block 420)
Read datafile mirror 'ASM4' (file 2, block 420) found same corrupt data (no logical check)
Read datafile mirror 'ASM1' (file 2, block 34539) found same corrupt data (no logical check)
Read datafile mirror 'ASM3' (file 2, block 420) found same corrupt data (no logical check)
Hex dump of (file 1, block 3097) in trace file /appl/oracle/diag/rdbms/orcl/orcl/trace/orcl_p002_6839.trc
Corrupt block relative dba: 0x00400c19 (file 1, block 3097)
Bad header found during crash/instance recovery
Data in bad block:
type: 2 format: 6 rdba: 0x0000a202
last change scn: 0x0000.00400c19 seq: 0x0 flg: 0x00
spare1: 0xdf spare2: 0xe2 spare3: 0x4ff
consistency value in tail: 0x09c10280
check value in block header: 0x0
Hex dump of (file 2, block 34765) in trace file /appl/oracle/diag/rdbms/orcl/orcl/trace/orcl_p000_6831.trc block checksum disabled
Corrupt block relative dba: 0x008087cd (file 2, block 34765)
Reading datafile '+DATA/orcl/datafile/system.256.762570243' for corruption at rdba: 0x00400c19 (file 1, block 3097)
Bad header found during crash/instance recovery
Data in bad block:
type: 255 format: 1 rdba: 0x0000a206
last change scn: 0xe27b.008087cd seq: 0x74 flg: 0x00
spare1: 0x0 spare2: 0x0 spare3: 0x401
Read datafile mirror 'ASM5' (file 1, block 3097) found same corrupt data (no logical check)
consistency value in tail: 0x00000000
check value in block header: 0x0
block checksum disabled
Reading datafile '+DATA/orcl/datafile/sysaux.257.762570243' for corruption at rdba: 0x008087cd (file 2, block 34765)
Read datafile mirror 'ASM3' (file 2, block 34765) found same corrupt data (no logical check)
Read datafile mirror 'ASM2' (file 1, block 3097) found same corrupt data (no logical check)
Hex dump of (file 3, block 272) in trace file /appl/oracle/diag/rdbms/orcl/orcl/trace/orcl_p002_6839.trc
Reading datafile '+DATA/orcl/datafile/undotbs1.258.762570243' for corruption at rdba: 0x00c00110 (file 3, block 272)
Read datafile mirror 'ASM1' (file 3, block 272) found same corrupt data (logically corrupt)
Read datafile mirror 'ASM5' (file 2, block 34765) found same corrupt data (no logical check)
Hex dump of (file 2, block 34771) in trace file /appl/oracle/diag/rdbms/orcl/orcl/trace/orcl_p000_6831.trc
Corrupt block relative dba: 0x008087d3 (file 2, block 34771)
Bad header found during crash/instance recovery
Data in bad block:
type: 1 format: 6 rdba: 0x0000a201
last change scn: 0x0000.008087d3 seq: 0x0 flg: 0x00
spare1: 0x3a spare2: 0xe3 spare3: 0x4ff
consistency value in tail: 0x00045055
check value in block header: 0x0
block checksum disabled
Reading datafile '+DATA/orcl/datafile/sysaux.257.762570243' for corruption at rdba: 0x008087d3 (file 2, block 34771)
Read datafile mirror 'ASM3' (file 2, block 34771) found same corrupt data (no logical check)
Read datafile mirror 'ASM2' (file 3, block 272) found same corrupt data (logically corrupt)
RECOVERY OF THREAD 1 STUCK AT BLOCK 272 OF FILE 3
Read datafile mirror 'ASM5' (file 2, block 34771) found same corrupt data (no logical check)
Wed Jun 27 05:49:55 2012
Hex dump of (file 2, block 65353) in trace file /appl/oracle/diag/rdbms/orcl/orcl/trace/orcl_dbw0_6713.trc
Corrupt block relative dba: 0x0080ff49 (file 2, block 65353)
Bad header found during buffer corrupt after write
Data in bad block:
type: 1 format: 6 rdba: 0x0000a206
last change scn: 0xe2bf.0080ff49 seq: 0x74 flg: 0x00
spare1: 0xf5 spare2: 0xe0 spare3: 0x602
consistency value in tail: 0x00000000
check value in block header: 0x0
block checksum disabled
Reread of rdba: 0x0080ff49 (file 2, block 65353) found different data
Hex dump of (file 2, block 65356) in trace file /appl/oracle/diag/rdbms/orcl/orcl/trace/orcl_dbw0_6713.trc
Corrupt block relative dba: 0x0080ff4c (file 2, block 65356)
Bad header found during buffer corrupt after write
Data in bad block:
type: 2 format: 6 rdba: 0x0000a206
last change scn: 0xe2a7.0080ff4c seq: 0x74 flg: 0x00
spare1: 0xbf spare2: 0xe2 spare3: 0x602
consistency value in tail: 0x00000059
check value in block header: 0x0
block checksum disabled
Reread of rdba: 0x0080ff4c (file 2, block 65356) found different data
Hex dump of (file 2, block 66114) in trace file /appl/oracle/diag/rdbms/orcl/orcl/trace/orcl_dbw0_6713.trc
Corrupt block relative dba: 0x00810242 (file 2, block 66114)
Bad header found during preparing block for write
Data in bad block:
type: 255 format: 1 rdba: 0x0000a206
last change scn: 0xe1bb.00810242 seq: 0x74 flg: 0x00
spare1: 0x0 spare2: 0x0 spare3: 0x401
consistency value in tail: 0x800102c1
check value in block header: 0x0
block checksum disabled
Errors in file /appl/oracle/diag/rdbms/orcl/orcl/trace/orcl_dbw0_6713.trc (incident=292893):
ORA-00600: internal error code, arguments: [kcbzpbuf_1], [4], [1], [], [], [], [], [], [], [], [], []
Incident details in: /appl/oracle/diag/rdbms/orcl/orcl/incident/incdir_292893/orcl_dbw0_6713_i292893.trc
Use ADRCI or Support Workbench to package the incident.
See Note 411.1 at My Oracle Support for error and packaging details.
Exception [type: SIGBUS, Non-existent physical address] [ADDR:0x72BFFFF8] [PC:0x3612E7CAE9, _wordcopy_bwd_dest_aligned()+185] [flags: 0x0, count: 1]
Errors in file /appl/oracle/diag/rdbms/orcl/orcl/trace/orcl_p000_6831.trc (incident=293021):
ORA-07445: exception encountered: core dump [_wordcopy_bwd_dest_aligned()+185] [SIGBUS] [ADDR:0x72BFFFF8] [PC:0x3612E7CAE9] [Non-existent physical address] []
Incident details in: /appl/oracle/diag/rdbms/orcl/orcl/incident/incdir_293021/orcl_p000_6831_i293021.trc
Use ADRCI or Support Workbench to package the incident.
See Note 411.1 at My Oracle Support for error and packaging details.
Exception [type: SIGSEGV, SI_KERNEL(general_protection)] [ADDR:0x0] [PC:0x546B040, kcbs_dump_adv_state()+634] [flags: 0x0, count: 2]
Wed Jun 27 05:49:59 2012
Dumping diagnostic data in directory=[cdmp_20120627054959], requested by (instance=1, osid=6831 (P000)), summary=[incident=293021].
Errors in file /appl/oracle/diag/rdbms/orcl/orcl/trace/orcl_p000_6831.trc (incident=293022):
ORA-07445: exception encountered: core dump [kcbs_dump_adv_state()+634] [SIGSEGV] [ADDR:0x0] [PC:0x546B040] [SI_KERNEL(general_protection)] []
ORA-07445: exception encountered: core dump [_wordcopy_bwd_dest_aligned()+185] [SIGBUS] [ADDR:0x72BFFFF8] [PC:0x3612E7CAE9] [Non-existent physical address] []
Incident details in: /appl/oracle/diag/rdbms/orcl/orcl/incident/incdir_293022/orcl_p000_6831_i293022.trc
Use ADRCI or Support Workbench to package the incident.
See Note 411.1 at My Oracle Support for error and packaging details.
Exception [type: SIGSEGV, SI_KERNEL(general_protection)] [ADDR:0x0] [PC:0x546B040, kcbs_dump_adv_state()+634] [flags: 0x0, count: 1]
Errors in file /appl/oracle/diag/rdbms/orcl/orcl/incident/incdir_293021/orcl_p000_6831_i293021.trc:
ORA-00607: Internal error occurred while making a change to a data block
ORA-00602: internal programming exception
ORA-07445: exception encountered: core dump [kcbs_dump_adv_state()+634] [SIGSEGV] [ADDR:0x0] [PC:0x546B040] [SI_KERNEL(general_protection)] []
ORA-07445: exception encountered: core dump [_wordcopy_bwd_dest_aligned()+185] [SIGBUS] [ADDR:0x72BFFFF8] [PC:0x3612E7CAE9] [Non-existent physical address] []
Errors in file /appl/oracle/diag/rdbms/orcl/orcl/trace/orcl_dbw0_6713.trc (incident=292894):
ORA-07445: exception encountered: core dump [kcbs_dump_adv_state()+634] [SIGSEGV] [ADDR:0x0] [PC:0x546B040] [SI_KERNEL(general_protection)] []
ORA-00600: internal error code, arguments: [kcbzpbuf_1], [4], [1], [], [], [], [], [], [], [], [], []
Incident details in: /appl/oracle/diag/rdbms/orcl/orcl/incident/incdir_292894/orcl_dbw0_6713_i292894.trc
Use ADRCI or Support Workbench to package the incident.
See Note 411.1 at My Oracle Support for error and packaging details.
Dumping diagnostic data in directory=[cdmp_20120627055004], requested by (instance=1, osid=6713 (DBW0)), summary=[incident=292893].
Wed Jun 27 05:50:08 2012
PMON (ospid: 6679): terminating the instance due to error 471
Wed Jun 27 05:50:08 2012
ORA-1092 : opitsk aborting process
Wed Jun 27 05:50:08 2012
License high water mark = 4
Instance terminated by PMON, pid = 6679
USER (ospid: 6860): terminating the instance
Instance terminated by USER, pid = 6860
*#trace logs#*
Corrupt block relative dba: 0x00810242 (file 2, block 66114)
Bad header found during preparing block for write
Data in bad block:
type: 255 format: 1 rdba: 0x0000a206
last change scn: 0xe1bb.00810242 seq: 0x74 flg: 0x00
spare1: 0x0 spare2: 0x0 spare3: 0x401
consistency value in tail: 0x800102c1
check value in block header: 0x0
block checksum disabled
kcra_dump_redo_internal: skipped for critical process
kcbz_try_block_recovery <1, 8454722>: tries=0 max=5 cur=1340797795 last=0
BH (0x7bbe0fc8) file#: 2 rdba: 0x00810242 (2/66114) class: 1 ba: 0x7b8f4000
set: 12 pool: 3 bsz: 8192 bsi: 0 sflg: 2 pwc: 0,0
dbwrid: 0 obj: 68150 objn: -1 tsn: 1 afn: 2 hint: f
hash: [0x912f45b0,0x912f45b0] lru-req: [0x7bbdfdb0,0x90deff60]
lru-flags: on_auxiliary_list
obj-flags: object_write_list
ckptq: [0x7bbfc4c8,0x7bbea0a8] fileq: [NULL] objq: [0x8b251480,0x8b251480] objaq: [0x8b251450,0x7bbe0e88]
st: INST_RCV md: NULL rsop: 0x90d110e0
flags: buffer_dirty being_written block_written_once recovery_resilver
recovery_read_complete
cr pin refcnt: 0 sh pin refcnt: 0
kcra_dump_redo_internal: skipped for critical process
Incident 292893 created, dump file: /appl/oracle/diag/rdbms/orcl/orcl/incident/incdir_292893/orcl_dbw0_6713_i292893.trc
ORA-00600: internal error code, arguments: [kcbzpbuf_1], [4], [1], [], [], [], [], [], [], [], [], []
Incident 292894 created, dump file: /appl/oracle/diag/rdbms/orcl/orcl/incident/incdir_292894/orcl_dbw0_6713_i292894.trc
ORA-07445: exception encountered: core dump [kcbs_dump_adv_state()+634] [SIGSEGV] [ADDR:0x0] [PC:0x546B040] [SI_KERNEL(general_protection)] []
ORA-00600: internal error code, arguments: [kcbzpbuf_1], [4], [1], [], [], [], [], [], [], [], [], []Did you actually read the alert-log ??
The problem is clear in there. Your datafiles are corrupted!!!
While the database is trying to correct these, a lot of ORA-00600 and ORA-07445's are generated.
Consult Oracle Support to get this resolved
Thanks
FJFranken -
Java Stored Proc - ORA-03113: end-of-file on communication channel
Help with error please.
Running java stored procedure and getting
end-of-file error. This error occurs after successful connection established.
Simple function returns a java.util.String that is a coded version of the DATE parameter. Procedure does not use a connection object.
Error message and description list below.
ERROR at line 1:
ORA-03113: end-of-file on communication channel
Cause: An unexpected end-of-file was processed on the communication channel. The problem could not be handled by the Net8, two task, software. This message could occur if the shadow two-task process associated with a Net8 connect has terminated abnormally, or if there is a physical failure of the interprocess communication vehicle, that is, the network or server machine went down.
Action: If this message occurs during a connection attempt, check the setup files for the appropriate Net8 driver and confirm Net8 software is correctly installed on the server. If the message occurs after a connection is well established, and the error is not due to a physical failure, check if a trace file was generated on the server at failure time. Existence of a trace file may suggest an Oracle internal error that requires the assistance of customer support.
I am currently looking into the trace file as suggested.
ThanksCheck parameters in intisid.ora:
java_pool_size > 50 Mbytes
java_soft_sessionspace_limit = 4 MBytes
max_java_sessionspace_size = 2 Gbytes
See note 103855.1, 105472.1 in Metalink.
null -
ORA-03113: end-of-file on communication channel ; On All Indexed fields
Hi Friends,
Please help
I am getting the following error,when querying a table in 10.2.0.4.0.
ERROR at line 1:
ORA-03113: end-of-file on communication channel
When I exclude one of the indexed fields in the where condition it works fine.I rebuilded/dropped index,But still oracle throws me out.
Please see some Infom from Alter.log and Trace files
Alter log
Errors in file d:\oracle\product\10.2.0\admin\cvs2\udump\cvs2_ora_3064.trc:
ORA-07445: exception encountered: core dump ACCESS_VIOLATION __VInfreq__qksqbFind1RowTabs+72 PC:0x313865C ADDR:0x131 UNABLE_TO_READ] [
Trace file
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Windows XP Version V5.1 Service Pack 3
CPU : 2 - type 586, 2 Physical Cores
Process Affinity : 0x00000000
Memory (Avail/Total): Ph:829M/2038M, Ph+PgF:2573M/3933M, VA:964M/2047M
Instance name: cvs2
Redo thread mounted by this instance: 1
Oracle process number: 28
Windows thread id: 3064, image: ORACLE.EXE (SHAD)
*** ACTION NAME:() 2009-06-09 16:50:51.357
*** MODULE NAME:(SQL*Plus) 2009-06-09 16:50:51.357
*** SERVICE NAME:(CVS2) 2009-06-09 16:50:51.357
*** SESSION ID:(148.7775) 2009-06-09 16:50:51.357
*** 2009-06-09 16:50:51.357
ksedmp: internal or fatal error
ORA-07445: exception encountered: core dump ACCESS_VIOLATION __VInfreq__qksqbFind1RowTabs+72 PC:0x313865C ADDR:0x131 UNABLE_TO_READ] [
Current SQL statement for this session:
Call Stack Trace calling call entry argument values in hex
location type point (? means dubious value) -------- ----------------------------
__VInfreq__qksqbFin 00000000
d1RowTabs+72
kkogtp+366 CALLrel qksqbFind1RowTabs+
0
vopastp+276 CALLrel kkogtp+0 9C17008 9C17008 9C16808 0
voppfdDescendents+ CALLrel vopastp+0 9C16808 1 0
374
voppfd+88 CALLrel voppfdDescendents+ 9C16808 1
0
opitca+854 CALLrel voppfd+0 9C16808 1
__PGOSF346__kksFull CALLrel _opitca+0 9ECB128 3D2396F0
TypeCheck+15
_rpiswu2+426 CALLreg 00000000 BF9C004
kksLoadChild+8074 CALLrel rpiswu2+0 457453CC 9D 3DE12CF8 5
3DE12A00 9D 3DE12D24 0 5CDB50
0 BF9C004 0
kxsGetRuntimeLock+ CALLrel kksLoadChild+0 C669558 3D738E24 BF9CA5C
and it goes and goes.....
Thanks In Advance
SSNI'm not 100% sure, but I'd suggest you to open SR in metalink. And send these trace files them for analyze
Kamran Agayev A. (10g OCP)
http://kamranagayev.wordpress.com
[Step by Step install Oracle on Linux and Automate the installation using Shell Script |http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/] -
Simple Spatial Query caused ORA-03113: end-of-file on communication channel
I try to run a simple spatial query to find the ID's which inside the specified circle
select n.ID,n.FEATURE_ID
from NC_MANGROVE n
where sdo_relate(n.shape,
mdsys.sdo_geometry(2003,null,null,
mdsys.sdo_elem_info_array(1,1003,4),
mdsys.sdo_ordinate_array(848948,834940,848908,834980,848908,834900)),
'mask=ANYINTERACT querytype=WINDOW')='TRUE';
but it end up of ORA-03113: end-of-file on communication channel
Then I try another query, which I think do the similar thing
select n.ID,n.FEATURE_ID
from NC_MANGROVE n
where sdo_within_distance(n.shape,
mdsys.sdo_geometry(2001,null,mdsys.sdo_point_type(848908,834900,null),null,null),
'distance=40')='TRUE';
but same error occurs.
Is it the SQL*net configure problem. I am using Oracle 8.1.7 for both client and server.
Please help
TommyDoes SDO_FILETER Queries work fine? If so there is already reported bug and patch for that on Metalink site. Get all the patches for 8.17 spatial and install those.
-
ORA-03113: end-of-file on communication channel in Toad
Hi,
When i am running any commands from SQL Plus i am not getting the Error while logged in a s sys as sysdba
But the same command while running in Toad using sys as sysdba I am getting the Error as :ORA-03113: end-of-file on communication channel.
The Database does not occured any Error during Start up its mounted and opened
Kindly any help will be needful for me.
Thanks and RegardsHi,
I checked the Alert log file in the bdump directory and its giving as:
Hi,
I checked the Alert log file in the bdump directory and its giving as:
Sun Mar 7 13:43:31 2010
Setting recovery target incarnation to 1
Sun Mar 7 13:43:31 2010
Successful mount of redo thread 1, with mount id 3004982143
Sun Mar 7 13:43:31 2010
Database mounted in Exclusive Mode
Completed: ALTER DATABASE MOUNT
Sun Mar 7 13:43:31 2010
ALTER DATABASE OPEN
Sun Mar 7 13:43:31 2010
Thread 1 opened at log sequence 199
Current log# 1 seq# 199 mem# 0: /oracle/oradata/testdb/redo01.log
Successful open of redo thread 1
Sun Mar 7 13:43:31 2010
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
Sun Mar 7 13:43:31 2010
SMON: enabling cache recovery
Sun Mar 7 13:43:31 2010
Successfully onlined Undo Tablespace 1.
Sun Mar 7 13:43:31 2010
SMON: enabling tx recovery
Hex dump of (file 1, block 52484) in trace file /oracle/admin/testdb/bdump/testdb_smon_3460.trc
Corrupt block relative dba: 0x0040cd04 (file 1, block 52484)
Bad check value found during buffer read
Data in bad block:
type: 6 format: 2 rdba: 0x0040cd04
last change scn: 0x0000.0012d539 seq: 0x1 flg: 0x06
spare1: 0x0 spare2: 0x0 spare3: 0x0
consistency value in tail: 0xd5390601
check value in block header: 0x62e3
computed block checksum: 0x600
Reread of rdba: 0x0040cd04 (file 1, block 52484) found same corrupted data
Sun Mar 7 13:43:31 2010
Errors in file /oracle/admin/testdb/bdump/testdb_smon_3460.trc:
ORA-00604: error occurred at recursive SQL level 1
ORA-01578: ORACLE data block corrupted (file # 1, block # 52484)
ORA-01110: data file 1: '/oracle/oradata/testdb/system01.dbf'
Sun Mar 7 13:43:31 2010
Database Characterset is AL32UTF8
replication_dependency_tracking turned off (no async multimaster replication found)
Starting background process QMNC
QMNC started with pid=14, OS id=3474
Sun Mar 7 13:43:32 2010
db_recovery_file_dest_size of 2048 MB is 0.00% used. This is a
user-specified limit on the amount of space that will be used by this
database for recovery-related files, and does not reflect the amount of
space available in the underlying filesystem or ASM diskgroup.
Sun Mar 7 13:43:33 2010
Completed: ALTER DATABASE OPEN
Sun Mar 7 13:44:22 2010
Errors in file /oracle/admin/test/udump/testdb_ora_3956.trc:
ORA-07445: exception encountered: core dump [ttcclr()+1770] [SIGSEGV] [Address not mapped to object] [0x14] [] []
Sun Mar 7 13:44:31 2010
Errors in file /oracle/admin/test/udump/testdb_ora_3958.trc:
ORA-07445: exception encountered: core dump [ttcclr()+1770] [SIGSEGV] [Address not mapped to object] [0x12] [] []
Sun Mar 7 13:53:26 2010
Errors in file /oracle/admin/test/udump/testdb_ora_3960.trc:
ORA-07445: exception encountered: core dump [ttcclr()+1770] [SIGSEGV] [Address not mapped to object] [0x14] [] []
Sun Mar 7 14:12:09 2010
Errors in file /oracle/admin/test/udump/testdb_ora_3994.trc:
ORA-07445: exception encountered: core dump [ttcclr()+1770] [SIGSEGV] [Address not mapped to object] [0x1A] [] [] -
ORA-03113: end-of-file on communication channel, Please help
hello Seniors,
i have strange situation, facing it for the first time.
i m/s detail form and i am entering data. i successfully saved few records.
i completed entering one more record and for a reason i left it unsaved.
after lets say may be a minute or so, i got back to work and then tried to save the unsaved record
displayed on screen. when i pressed save button i got error;
ORA-03113: end-of-file on communication channel
leaving the form as is with this error displayed, i notice that i can very well use the db at server level
by running other sqls, meaning other resources are functioning. even i tried to open the same application again
leaving the erroneous form as is, and tried to enter in another form , it communicated well and saved without any errors.
also there is one more errro along with this, when i query; says "Unable to perform query"
ORA-01041: internal error. hostdef extension doesn't exist
and when exit the current form it quits the entire application and kills that particular session,
but the db is still up and running with no errors.
The Tnsping <hostname> is responding.
i want to know while entring on a form, is there any time-out limit between the entry and saving point?
or any other solution please help. vm thankful.
my db
SQL*Plus: Release 10.2.0.1.0 - Production on Sat Jul 25 09:31:46 2009
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Release 10.2.0.1.0 - Production
form;
Forms [32 Bit] Version 6.0.8.25.2 (Production)
Oracle Database 10g Release 10.2.0.1.0 - Production
Oracle Toolkit Version 6.0.8.25.0 (Production)
PL/SQL Version 8.0.6.3.0 (Production)
Oracle Procedure Builder V6.0.8.21.0 Build #1459 - Production
PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
Oracle Query Builder 6.0.7.1.0 - Production
Oracle Virtual Graphics System Version 6.0.5.38.0 (Production)
Oracle Tools GUI Utilities Version 6.0.8.25.0 (Production)
Oracle Multimedia Version 6.0.8.25.0 (Production)
Oracle Tools Integration Version 6.0.8.18.0 (Production)
Oracle Tools Common Area Version 6.0.8.18.0
Oracle CORE Version 4.0.6.0.0 - Production
Edited by: user10967485 on Jul 25, 2009 12:47 AM
Edited by: user10967485 on Jul 25, 2009 12:52 AMi was testing entering into different forms of my application.
what i notice that this problem persist with just one form i.e. my purchase order header-details form.
whats happening is, it allows just the first or rather 1 record (incase if are in a query mode and select create record),
saving the next or IInd record returns this error. God knows why..?
can you please suggest any debugging technique to catch the theif?
i have WNFI, POSt-FORM-COMMIT, KEY-COMMIT, PRE-COMMIT, PRE-FORM at form level
at heade block i have ;
PRE-INSERT,UPDATE,DELETE, PRE-RECORD,POST-QUERY, KEY-ENTQRY, ON-POPULTE-DET
at detail blcok i have;
PRE-INSERT,UPDATE,PRE-RECORD,POST-QUERY,WHEN-REMOVE-RECORD.
sqlnet.ora, i have at 4 different dir;
C:\orant\NET80\ADMIN & C:\orant\NET80\ADMIN\SAMPLE AND
C:\oracle\product\10.2.0\db_1\NETWORK\ADMIN & C:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\SAMPLE
I am not so good with Dba interface, so please suggest me which particular file should refer and
where & what exactly should i look for..? as the file contains a comrehensive entries.
thankyou once again.
on displaying error from Help i get this;
INSERT INTO PURCHASE_ORDER_DETAIL) VALUES ) RETURNING ROWID,POD_COMP_CODE,POD_DATE,POD_POH_CODE,POD_POH_NO,POD_REMARKS,POD_CR_UID,POD_CR_DT,POD_UPD_UID,POD_UPD_DT,POD_PROD_CODE,POD_UOM,POD_QTY,POD_RATE,POD_CURR_CODE,POD_FX_RATE,POD_fc_AMOUNT,POD_LC_AMOUNT INTO :1,:2,:3,:4,:5,:6,:7,:8,:9,:10,:11,:12,:13,:14,:15,:16,:17,:18
ORA-03113: end of on communication channel.
Maybe you are looking for
-
all of my songs are gone and when i try to sync again the sync is 2 seconds long and nothing happens plus all of my photos from my computer synced to my phone and i cant delete them and i dont have neough storage PLEASE HELP ABOUT TO CRY
-
Do I need to partition external drive?
I'm about to format my first external hard drive and am unsure whether I need to partition it as I'm new to this (my experience of backing up is limited to emailing files to my webmail provider's server). I bought the drive primarily for backup in ca
-
Convert FMB to XML File on Unix
Hello, I want to convert a FMB-File to XML in my HP-UX-Middletier-Environment.The Script frm2xml.sh is only shipped with IDS. Can someone upload the frmf2xml.sh from a linux or Solaris IDS-Enviroment? Robert
-
Time Machine 1.1 sometimes deletes backups that should keep
About two years ago I was intrigued about the disparition of several Time Machine backups. After changing to a larger external backup disk, I've been trying to follow the behavior of Time Machine. Overall, it seems to be quite predictable, correspond
-
I am teenager making my first steps into programming by learning cocoa and objective-c. I decided to make a basic four-function calculator and have some questions related to formatters - specifically the NSNumber formatter. When the user clicks a n