ORA-00600: internal error when delete master rows in a materialized view
I have a materialized view in 11g2 on Redhat 5, defined asCREATE MATERIALIZED VIEW mv_idty
PARALLEL BUILD IMMEDIATE REFRESH FAST ON COMMIT ENABLE QUERY REWRITE AS
select IDTY_NAME_FIRST,IDTY_NAME_MIDDLE,IDTY_NAME_LAST,IDTY_NAME_SUFFIX,IDTY_SSN,
IDTY_DR_LIC_NUM,IDTY_DR_LIC_STA,x.person_id,i.rowid i_rowid,x.rowid x_rowid
from idty i,person_x_idty x where x.idty_id=i.idty_id; I deleted a few rows from the master tables and get error13:58:48 SQL> delete idty where idty_id like 'test_row%' ;
7 rows deleted.
13:58:52 SQL> commit;
commit
ERROR at line 1:
ORA-12008: error in materialized view refresh path
ORA-00600: internal error code, arguments: [kkzfrfajv_markdml-1], [], [], [], [], [], [], [], [], [], [], [] I have other materialized views and they all delete master OK. This is the simplest one but causes problem. HELP!
Edited by: user13148231 on Aug 11, 2010 5:45 PM
Checked note 743766.1. It is not 100% relevant as it is about import, but the query is usefulselect sowner, vname, mowner, master from sys.snap_reftime$It reveals the materialized view some how based on other schema.
Recreate the materialized view. problem solved.
Similar Messages
-
ORA-00600: Internal Error when running XSQl Script
Hi,
when running a xsql script with JDeveloper 3.1
the following message appears:
<?xml version="1.0" ?>
- <!-- IRON.xsql Return the results of a table
-->
- <xsql-error action="xsql:query">
<statement>select ename,job,sal from emp where
ename='ALLEN'</statement>
<message>ORA-00600: Interner Fehlercode, Argumente: [ttcgcshnd-
1], [0], [], [], [], [], [], []</message>
</xsql-error>
Does anybody knows, what's wrong ?
Regards
Andylooks like bug #1725012, fixed in either 9.0.1 or 8.1.7.2
(these are RDBMS versions). -
Hi
I was trying to delete a row in one of the tables in the database and i got the following error:
ORA-00600: internal error code, arguments: [25027], [8], [1], [], [], [], [], []Also i got a message in OEM as follows:
ORA-error stack (00600[25027]) logged in /var/oracle/Storage1/mydb/logs/bdump/alert_snos.logand when i looked at this log file:
Thu Jun 11 22:19:40 2009
Errors in file /var/oracle/Storage1/mydb/logs/udump/snos_ora_23891.trc:
ORA-00600: internal error code, arguments: [25027], [8], [1], [], [], [], [], []
Thu Jun 11 22:20:09 2009
Errors in file /var/oracle/Storage1/mydb/logs/udump/snos_ora_23855.trc:
ORA-00600: internal error code, arguments: [25027], [8], [1], [], [], [], [], []
Thu Jun 11 22:20:48 2009
Errors in file /var/oracle/Storage1/mydb/logs/udump/snos_ora_23855.trc:
ORA-00600: internal error code, arguments: [25027], [8], [1], [], [], [], [], []
Thu Jun 11 22:48:38 2009 and when i opened the trc files i couldn't figure out whats going on!
The delete statment was so simple:
delete from SFLSRCSYSTEMS
where id = 1I still want to delete that row and don't know what to do.. Please help
SwaidSubject: ORA-600 [25027]
Doc ID: 284433.1 Type: REFERENCE
Modified Date : 30-APR-2009 Status: PUBLISHED
Note: For additional ORA-600 related information please read Note 146580.1
PURPOSE:
This article represents a partially published OERI note.
It has been published because the ORA-600 error has been
reported in at least one confirmed bug.
Therefore, the SUGGESTIONS section of this article may help
in terms of identifying the cause of the error.
This specific ORA-600 error may be considered for full publication
at a later date. If/when fully published, additional information
will be available here on the nature of this error.
SUGGESTIONS:
If the Known Issues section below does not help in terms of identifying
a solution, please submit the trace files and alert.log to Oracle
Support Services for further analysis.
Known Issues:
Bug# 7263842 * See Note 7263842.8
* This bug is alerted in Note 784633.1
ORA-955 during CTAS / OERI [ktsircinfo_num1] / dictionary inconsistency for PARTITIONED Tables
Fixed: 10.2.0.5, 11.2, 10.2.0.4.P19
Bug# 7190270 * See Note 7190270.8
* This bug is alerted in Note 784633.1
Various ORA-600 errors / dictionary inconsistency from CTAS / DROP
Fixed: 10.2.0.5, 10.2.0.4.P09
Bug# 6666915 See Note 6666915.8
OERI[25027] / dictionary corruption from concurrent partition DDL
Fixed: 10.2.0.5, 11.1.0.7, 11.2
Bug# 4925342 See Note 4925342.8
OERI [25027] / OERI [25012] on IOT analyze estimate statistics
Fixed: 9.2.0.8, 10.2.0.3, 11.1.0.6
Bug# 4310371 See Note 4310371.8
OERI [25027] from concurrent startup / shutdown in RAC
Fixed: 9.2.0.8
Bug# 4177651 See Note 4177651.8
Row migration within a MERGE may OERI[25027]
Fixed: 10.2.0.1
Bug# 4020195 See Note 4020195.8
OERI 25027 can occur in RAC accessing transported tablespace
Fixed: 10.1.0.5, 10.2.0.1
Bug# 3963135 See Note 3963135.8
OERI[kcbgcur_3] / OERI:25027 during bitmap index updates
Fixed: 10.1.0.5, 10.2.0.1
Bug# 3829900 See Note 3829900.8
OERI[25027] possible accessing index in 10g
Fixed: 10.1.0.4, 10.2.0.1
Bug# 2942185 See Note 2942185.8
Corruption occurs on direct path load into IOT with ADDED columns
Fixed: 9.2.0.6, 10.1.0.4, 10.2.0.1
Bug# 2926182 See Note 2926182.8
OERI[25027] / ORA-22922 accessing LOB columns in IOT in AFTER UPDATE trigger
Fixed: 9.2.0.5, 10.1.0.2 -
when i execute dbcheck in db13, i receive this message:
ORA-00600: internal error code, arguments: [25012], [19], [21], [], [], [], [], []
i have Oracle 9.2.0 and i don't find any note in the OSS notes.This may point you in the right direction?
Look at Note 758563 - Oracle Metalink access for SAP customers.
Oracle Metalink WebSite is:
https://metalink.oracle.com/metalink/plsql/f?p=200:101:5428529246127535152
Metalink Username and Password deleted by Moderator.
Please do not post this kind of information in the forum.
Thanks.
Then do a search on ORA-00600: internal error code, arguments: [25012]
This should get you started.
Message was edited by: Christian Graf -
Hi Exports,
I am getting the ORA-00600: internal error code, arguments: [17183], [0x033134908], [], [], [], [], [], []
The temporary tablespace of the database is full and i am trying to do the following steps.
SQL> select * from dba_temp_files;
FILE_NAME FILE_ID TABLESPACE_NAME BYTES Blocks Etat RELATIVE_FNO AUT MAXBYTES MAXBLOCKS INCREMENT_BY
USER_BYTES USER_BLOCKS
G:\ORADATA\TEMP01.DBF 1 TEMP 3.4359E+10 4,194,176 AVAILA 1 YES 3.4360E+10 4194302 80
3.4358E+10 4194048
J:\ORADATA\TIVOLIORTEMPTS.DBF 5 TIVOLIORTEMPTS 104857600 12,800 AVAILA 1 NO 0 0 0
103809024 12672
J:\ORADATA\TEMP_ORISSA_MASTER.TMP 2 TEMP_ORISSA_MASTER 10485760 1,280 AVAILA 1 YES 52428800 6400 128
9437184 1152
J:\ORADATA\TEMP_ORISSA_BENCHMARK.TMP 3 TEMP_ORISSA_BENCHMARK 680525824 83,072 AVAILA 1 YES 1073741824 131072 2
679477248 82944
J:\ORADATA\TEMP_ORISSA_TRANSACTION 4 TEMP_ORISSA_TRANSACTION 104857600 12,800 AVAILA 1 YES 1073741824 131072 2
103809024 12672
5 rows selected.
SQL> select TABLESPACE_NAME, BYTES_USED, BYTES_FREE from V$TEMP_SPACE_HEADER;
TABLESPACE_NAME BYTES_USED BYTES_FREE
TEMP 3.4359E+10 0
TEMP_ORISSA_MASTER 4194304 6291456
TEMP_ORISSA_BENCHMARK 680525824 0
TEMP_ORISSA_TRANSACTION 37748736 67108864
TIVOLIORTEMPTS 1048576 103809024
5 rows selected.
SQL> CREATE TEMPORARY TABLESPACE MYTEMPFILE
2 TEMPFILE 'G:\ORADATA\TEMP001.dbf'
3 SIZE 1000M AUTOEXTEND ON NEXT 10M MAXSIZE 2000M;
Tablespace created.
SQL> ALTER DATABASE DEFAULT TEMPORARY TABLESPACE MYTEMPFILE;
Database altered.
SQL> select TABLESPACE_NAME, BYTES_USED, BYTES_FREE from V$TEMP_SPACE_HEADER;
TABLESPACE_NAME BYTES_USED BYTES_FREE
TEMP 3.4359E+10 0
TEMP_ORISSA_MASTER 4194304 6291456
TEMP_ORISSA_BENCHMARK 680525824 0
TEMP_ORISSA_TRANSACTION 37748736 67108864
TIVOLIORTEMPTS 1048576 103809024
MYTEMPFILE 1048576 1047527424
6 rows selected.
SQL> ALTER DATABASE TEMPFILE 'G:\ORADATA\TEMP01.DBF' DROP INCLUDING DATAFILES;
ALTER DATABASE TEMPFILE 'G:\ORADATA\TEMP01.DBF' DROP INCLUDING DATAFILES
ERROR at line 1:
ORA-25152: TEMPFILE cannot be dropped at this time
SQL> select TABLESPACE_NAME, BYTES_USED, BYTES_FREE from V$TEMP_SPACE_HEADER;
TABLESPACE_NAME BYTES_USED BYTES_FREE
TEMP_ORISSA_MASTER 4194304 6291456
TEMP_ORISSA_BENCHMARK 680525824 0
TEMP_ORISSA_TRANSACTION 37748736 67108864
TIVOLIORTEMPTS 1048576 103809024
MYTEMPFILE 11534336 1037041664
5 rows selected.
SQL> select STATUS,ENABLED,STATUS,BYTES/1024/1024 from v$tempfile;
Etat ENABLED Etat BYTES/1024/1024
OFFLIN READ WRITE OFFLIN 0
ONLINE READ WRITE ONLINE 100
ONLINE READ WRITE ONLINE 10
ONLINE READ WRITE ONLINE 649
ONLINE READ WRITE ONLINE 100
ONLINE READ WRITE ONLINE 1000
6 rows selected.
SQL> desc v$tempfile;
Name Null? Type
FILE# NUMBER
CREATION_CHANGE# NUMBER
CREATION_TIME DATE
TS# NUMBER
RFILE# NUMBER
STATUS VARCHAR2(7)
ENABLED VARCHAR2(10)
BYTES NUMBER
BLOCKS NUMBER
CREATE_BYTES NUMBER
BLOCK_SIZE NUMBER
NAME VARCHAR2(513)
SQL> select file#,STATUS,ENABLED,STATUS,BYTES/1024/1024 from v$tempfile;
FILE# Etat ENABLED Etat BYTES/1024/1024
1 OFFLIN READ WRITE OFFLIN 0
5 ONLINE READ WRITE ONLINE 100
2 ONLINE READ WRITE ONLINE 10
3 ONLINE READ WRITE ONLINE 649
4 ONLINE READ WRITE ONLINE 100
6 ONLINE READ WRITE ONLINE 1000
6 rows selected.
SQL> ALTER DATABASE TEMPFILE 'G:\ORADATA\TEMP01.DBF' DROP INCLUDING DATAFILES;
ALTER DATABASE TEMPFILE 'G:\ORADATA\TEMP01.DBF' DROP INCLUDING DATAFILES
ERROR at line 1:
ORA-25152: TEMPFILE cannot be dropped at this time
SQL> ALTER DATABASE TEMPFILE 'G:\ORADATA\TEMP01.DBF' offline;
Database altered.
SQL> ALTER DATABASE TEMPFILE 'G:\ORADATA\TEMP01.DBF' DROP INCLUDING DATAFILES;
ALTER DATABASE TEMPFILE 'G:\ORADATA\TEMP01.DBF' DROP INCLUDING DATAFILES
ERROR at line 1:
ORA-25152: TEMPFILE cannot be dropped at this time
SQL> select * from dba_temp_files;
FILE_NAME FILE_ID TABLESPACE_NAME BYTES Blocks Etat RELATIVE_FNO AUT MAXBYTES MAXBLOCKS INCREMENT_BY
USER_BYTES USER_BLOCKS
G:\ORADATA\TEMP01.DBF 1 TEMP AVAILA
J:\ORADATA\TIVOLIORTEMPTS.DBF 5 TIVOLIORTEMPTS 104857600 12,800 AVAILA 1 NO 0 0 0
103809024 12672
J:\ORADATA\TEMP_ORISSA_MASTER.TMP 2 TEMP_ORISSA_MASTER 10485760 1,280 AVAILA 1 YES 52428800 6400 128
9437184 1152
J:\ORADATA\TEMP_ORISSA_BENCHMARK.TMP 3 TEMP_ORISSA_BENCHMARK 680525824 83,072 AVAILA 1 YES 1073741824 131072 2
679477248 82944
J:\ORADATA\TEMP_ORISSA_TRANSACTION 4 TEMP_ORISSA_TRANSACTION 104857600 12,800 AVAILA 1 YES 1073741824 131072 2
103809024 12672
G:\ORADATA\TEMP001.DBF 6 MYTEMPFILE 1048576000 128,000 AVAILA 1 YES 2097152000 256000 1280
1047527424 127872
6 rows selected.
SQL> select file#,STATUS,ENABLED,STATUS,BYTES/1024/1024 from v$tempfile;
FILE# Etat ENABLED Etat BYTES/1024/1024
1 OFFLIN READ WRITE OFFLIN 0
5 ONLINE READ WRITE ONLINE 100
2 ONLINE READ WRITE ONLINE 10
3 ONLINE READ WRITE ONLINE 649
4 ONLINE READ WRITE ONLINE 100
6 ONLINE READ WRITE ONLINE 1000
6 rows selected.
SQL> ALTER DATABASE DEFAULT TEMPORARY TABLESPACE temp;
Database altered.
SQL> select TABLESPACE_NAME, BYTES_USED, BYTES_FREE from V$TEMP_SPACE_HEADER;
TABLESPACE_NAME BYTES_USED BYTES_FREE
TEMP_ORISSA_MASTER 4194304 6291456
TEMP_ORISSA_BENCHMARK 680525824 0
TEMP_ORISSA_TRANSACTION 37748736 67108864
TIVOLIORTEMPTS 1048576 103809024
MYTEMPFILE 28311552 1020264448
5 rows selected.
SQL> ALTER DATABASE TEMPFILE 'G:\ORADATA\TEMP01.DBF' online;
Database altered.
SQL> select TABLESPACE_NAME, BYTES_USED, BYTES_FREE from V$TEMP_SPACE_HEADER;
TABLESPACE_NAME BYTES_USED BYTES_FREE
TEMP 3.4359E+10 0
TEMP_ORISSA_MASTER 4194304 6291456
TEMP_ORISSA_BENCHMARK 680525824 0
TEMP_ORISSA_TRANSACTION 37748736 67108864
TIVOLIORTEMPTS 1048576 103809024
MYTEMPFILE 28311552 1020264448
6 rows selected.
SQL> ALTER DATABASE DEFAULT TEMPORARY TABLESPACE MYTEMPFILE;
Database altered.
SQL> ALTER DATABASE TEMPFILE 'G:\ORADATA\TEMP01.DBF' DROP INCLUDING DATAFILES;
ALTER DATABASE TEMPFILE 'G:\ORADATA\TEMP01.DBF' DROP INCLUDING DATAFILES
ERROR at line 1:
ORA-25152: TEMPFILE cannot be dropped at this time
SQL> ALTER DATABASE TEMPFILE 'G:\ORADATA\TEMP01.DBF' offline;
Database altered.
SQL> ALTER DATABASE TEMPFILE 'G:\ORADATA\TEMP01.DBF' DROP INCLUDING DATAFILES;
ALTER DATABASE TEMPFILE 'G:\ORADATA\TEMP01.DBF' DROP INCLUDING DATAFILES
ERROR at line 1:
ORA-25152: TEMPFILE cannot be dropped at this time
SQL> ALTER DATABASE TEMPFILE 'G:\ORADATA\TEMP01.DBF' online;
Database altered.
SQL> ALTER DATABASE DEFAULT TEMPORARY TABLESPACE temp;
Database altered.
SQL> select TABLESPACE_NAME, BYTES_USED, BYTES_FREE from V$TEMP_SPACE_HEADER;
TABLESPACE_NAME BYTES_USED BYTES_FREE
TEMP 3.4359E+10 0
TEMP_ORISSA_MASTER 4194304 6291456
TEMP_ORISSA_BENCHMARK 680525824 0
TEMP_ORISSA_TRANSACTION 37748736 67108864
TIVOLIORTEMPTS 1048576 103809024
MYTEMPFILE 32505856 1016070144
6 rows selected.
SQL> exit
I am not able to drop the Temp file as it is used by some users.
When i checked my Alert Log then i am getting the ora-600 error....
When i check metalink for this argument i found that its a bug in 91 &10gR2
Please suggest some solution of this problem.
Is it a serious issue of database.Robert Geier wrote:
If you kill the sessions using the tempfile, or restart the database you may be able to drop it. Or you could try to shrink the tempfile instead of drop.
Not sure why you are doing that though ? If the temp tablespace is full, check what is using the space, or add another tempfile to the tablespace.No I am not killing the sessions... But i just checked using following query that some users are using the temp Tablespace at that time. But i did not kill any session.
select 'alter system kill session '''||a.sid||','||a.serial#||''' immediate;'
from
v$session a,
v$sort_usage b,
v$process c,
v$parameter d
where
d.name = 'db_block_size'
and
a.saddr = b.session_addr
and
a.paddr = c.addr
and
b.tablespace='TEMP'
and
a.status='ACTIVE'
order by
b.tablespace,
b.segfile#,
b.segblk#,
b.blocks; -
Hi
Getting ORA-00600: internal error code, arguments: [upsRowVec4] error while executing merge statement in oracle 11gR2
MERGE INTO app_mast_out OUT USING
(SELECT
/*+index(ip75) index(out1)*/
DISTINCT ip75.cab_type,
out1.rowid rw
FROM app_mast_ip0075t1 ip75,
app_mast_out out1
WHERE OUT1.de026 = SUBSTR (ip75.mcc, 2, 4)
AND deleted ='N'
AND OUT1.PROCESS_ID ='B14.280410.0367'
) cab ON(OUT.PROCESS_ID='B14.280410.0367' AND out.rowid=cab.rw)
WHEN MATCHED THEN
UPDATE SET out.CAB_TYPE=cab.cab_type
trace file output
Incident 8907 created, dump file: /u01/app/oracle/diag/rdbms/geni11g/geni11g/incident/incdir_8907/geni11g_ora_19900_i8907.trc
ORA-00600: internal error code, arguments: [upsRowVec4], [], [], [], [], [], [], [], [], [], [], []
incident trace file output
Dump continued from file: /u01/app/oracle/diag/rdbms/geni11g/geni11g/trace/geni11g_ora_19900.trc
ORA-00600: internal error code, arguments: [upsRowVec4], [], [], [], [], [], [], [], [], [], [], []
========= Dump for incident 8907 (ORA 600 [upsRowVec4]) ========
*** 2010-04-28 13:22:56.245
dbkedDefDump(): Starting incident default dumps (flags=0x2, level=3, mask=0x0)
----- Current SQL Statement for this session (sql_id=8ccz9u3h32tq7) -----
MERGE INTO APP_MAST_OUT OUT USING (SELECT /*+index(ip75) index(out1)*/ DISTINCT IP75.CAB_TYPE,OUT1.ROWID RW FROM APP_MAST_IP0075T1 IP75,APP_MAST_OUT OUT1 WHERE OUT1.DE026 = SUBSTR (IP75.MCC, 2, 4) AND DELETED='N' AND OUT1.PROCESS_ID=:B1 ) CAB ON(OUT.PROCESS_ID=:B1 AND OUT.ROWID=CAB.RW) WHEN MATCHED THEN UPDATE SET OUT.CAB_TYPE=CAB.CAB_TYPE
----- PL/SQL Stack -----
----- PL/SQL Call Stack -----
object line object
handle number name
0x1a38469d8 86 procedure FINTECH.SPR_MAST_OUTFEE_DATA
0x1a4ac12b0 388 procedure FINTECH.SPR_MAST_OUTLEGACYCATEGORIZE
----- Call Stack Trace -----
calling call entry argument values in hex
location type point (? means dubious value)
skdstdst()+36 call kgdsdst() 000000000 ? 000000000 ?
7FBFFE41B8 ? 000000001 ?
7FBFFE86B8 ? 000000000 ?
ksedst1()+98 call skdstdst() 000000000 ? 000000000 ?
7FBFFE41B8 ? 000000001 ?
000000000 ? 000000000 ?
ksedst()+34 call ksedst1() 000000000 ? 000000001 ?
7FBFFE41B8 ? 000000001 ?
000000000 ? 000000000 ?
dbkedDefDump()+2736 call ksedst() 000000000 ? 000000001 ?
7FBFFE41B8 ? 000000001 ?
000000000 ? 000000000 ?
ksedmp()+36 call dbkedDefDump() 000000003 ? 000000002 ?
7FBFFE41B8 ? 000000001 ?
000000000 ? 000000000 ?
ksfdmp()+64 call ksedmp() 000000003 ? 000000002 ?
7FBFFE41B8
please give the solution as it is live environmentHi,
how does a update work? I see now a merge with only an update, so you can rewrite it to an update statement. And you don't need the distinct, rowid makes it already unique.
Herald ten Dam
htendam.wordpress.com -
hello,
I have a table with 7 columns, 6 columns are of datatype of VARCHAR2/DATE/NUMBER, one column is of datatype SYS.XMLTYPE.
I am trying to insert one record into the table. The insert script is as below:
INSERT INTO t1
VALUES (234556789,1045,0,SYSDATE,SYSDATE,'SYSTEM',XMLTYPE('<GSL>300</GSL>'));
There are no garbage characters in the above insert statement.
When I run this script on UNIX I get the error below:
ERROR at line 1:
ORA-00600: internal error code, arguments: [17177], [0x000000000], [], [], [],
ORA-31011: XML parsing failed
ORA-06512: at "SYS.XMLTYPE", line 0
ORA-06512: at line 1
I verified the ora 31011 which says
31011, 00000, "XML parsing failed"
// *Cause: XML parser returned an error while trying to parse the document.
// *Action: Check if the document to be parsed is valid.
But the xml document is a valid document. The same insert script works on an NT machine without any errors.
The version of oracle on unix is 9.2.0.3.0.
The characterset is UTF8
I fired the query below to verify:
SQL> select substr(dbms_java.longname(object_name),1,35) as class, status
from all_o 2 bjects
where obj 3 ect_type = 'JAVA CLASS'
and obje 4 ct_name = dbms_java.shortname('oracle/xml/parser/v2/DOMParser');
CLASS
STATUS
oracle/xml/parser/v2/DOMParser
VALID
Is there any setting (enviroment or any other setting ) needed on UNIX to be able to successfully insert this record in the table. What are the steps I need to do to insert this record
The problems seems to be in XML insert. Can anyone help pls ASAP.
thanks
aananthHi,
the bitmap parameter disables the use of bitmap plans for tables w. only B-tree indexes. This will cause a performance problem in a DWH. So I would prefer to change the optimzer mode. The optimizer than uses a mix of costs and heuristics to find a best plan for fast delivery of the first few rows. This will not produce so much problems.
Regards,
Detlef -
Hi All,
I'm using Oracle 11g. I've successfully created a trigger for insert and update.
Here is my trigger.
*CREATE OR REPLACE TRIGGER {OracleAssistSchema}.trg_emp_general_insert_update*
*BEFORE INSERT OR UPDATE OF ssn,last_name,first_name,middle_initial,name_prefix,name_suffix,custom_id,date_of_birth,number_of_children,current_appointment_date,agency,service_type,retirement_system,annual_leave_balance,sick_leave_balance,frozen_sick_leave_balance,fegli_code,fehb_code,ss_earnings_pre1951,pay_schedule,pay_rate,pay_effective_date,biweekly_tod,tod_effective_date,contains_excess_lwop,gender,home_phone,address1,address2,address3,city,state,zip,zip_four,county,country,email_address,married,spouse_ssn,spouse_last_name,spouse_first_name,spouse_middle_initial,spouse_name_prefix,spouse_name_suffix,spouse_date_of_birth,spouse_gender,date_of_marriage,place_of_marriage,position_description,csrs_ss_abroad_yrs,csrs_ss_abroad_mos,fers_ss_abroad_yrs,fers_ss_abroad_mos,unhealthful_service_yrs,unhealthful_service_mos,unhealthful_service_days,non_federal_credit_leave_yrs,non_federal_credit_leave_mos,pay_plan,grade,fegli_base_check,fegli_base,work_schedule,country_code,selected_date,selected_user_id,selected_report_id ON {OracleAssistSchema}.emp_general*
FOR EACH ROW
DECLARE
p_first_service_from_date DATE;
p_last_service_to_date DATE;
p_first_salary_from_date DATE;
p_last_salary_to_date DATE;
--p_first_ss_year NUMBER;*
--p_first_fers_year NUMBER;*
p_employee_id NUMBER;
p_current_appointment_date DATE;
p_pay_effective_date DATE;
v_dob DATE;
BEGIN
IF inserting THEN
SELECT seq_emp_general.nextval
INTO :NEW.id
FROM dual;
*:NEW.created_timestamp := SYSDATE;*
*:NEW.last_updated_timestamp := SYSDATE;*
*:NEW.profile_last_updated_timestamp := SYSDATE;*
ELSIF updating THEN
v_dob := :NEW.date_of_birth;
p_pay_effective_date := :NEW.pay_effective_date;
p_current_appointment_date := :NEW.current_appointment_date;
p_employee_id := :NEW.id;
SELECT MIN(from_date)
INTO p_first_service_from_date
FROM emp_service
WHERE employee_id = p_employee_id;
SELECT MAX(to_date)
INTO p_last_service_to_date
FROM emp_service
WHERE employee_id = p_employee_id;
SELECT MIN(from_date)
INTO p_first_salary_from_date
FROM emp_salary
WHERE employee_id = p_employee_id;
SELECT MAX(to_date)
INTO p_last_salary_to_date
FROM emp_salary
WHERE employee_id = p_employee_id;
-- no longer used: 8-10-08 AJB
--SELECT MIN(YEAR)*
--INTO p_first_ss_year*
--FROM emp_ss_earnings*
--WHERE employee_id = p_employee_id;*
--SELECT MIN(YEAR)*
--INTO p_first_fers_year*
--FROM emp_fers_earnings*
--WHERE employee_id = p_employee_id;*
*:NEW.last_updated_timestamp := SYSDATE;*
IF v_dob >= p_first_service_from_date THEN
Raise_application_error((-20029),'ERROR: date_of_birth cannot be after the first service history from_date');
ROLLBACK;
ELSIF v_dob >= p_first_salary_from_date THEN
Raise_application_error((-20029),'ERROR: date_of_birth cannot be after the first salary history from_date');
ROLLBACK;
-- 5-15-08 AJB: No longer check for earnings against DOB
--ELSIF (To_date((p_first_ss_year + 1),'yyyy') < v_dob)*
-- OR (To_date((p_first_fers_year + 1),'yyyy') < v_dob) THEN
-- Raise_application_error((-20008),'Error: date_of_birth cannot be after the first ss_earnings or fers_earnings year');
-- ROLLBACK;
ELSIF p_current_appointment_date < p_last_service_to_date THEN
Raise_application_error((-20029),'ERROR: current_appointment_date cannot be before the final service history to_date.');
ROLLBACK;
ELSIF p_pay_effective_date < p_last_salary_to_date THEN
Raise_application_error((-20029),'ERROR: pay_effective_date cannot be before the final salary history to_date.');
ROLLBACK;
ELSE
*:NEW.profile_last_updated_timestamp := SYSDATE;*
END IF;
END IF;
END;
When I went to Oracle Enterprise Manager, opened this trigger, and tried to compile it. I got the following error.
*Failed to compile: ORA-00600: internal error code, arguments: [kkdlReadOnDiskDefVal: error], [1403], [0], [73], [], [], [], [], [], [], [], []*
Any one have any ideas?
Any help must be much appreciates.
Thanks,
Khoi LeRefer to these notes:
Bug 6368200 - ORA-600 [kkdlReadOnDiskDefVal: error] can occur [ID 6368200.8]
Bug 9582272 - OERI [kkdlReadOnDiskDefVal: error] on ALTER TRIGGER [ID 9582272.8] -
User Managed Back-up : ORA-00600: internal error code
Hallo!I was trying to assess whether I can implement a user managed Oracle 10g database backup of an orcl instance (for testing purposes).I know how to use RMAN but I am just curious about a user-managed back-up and recovery solution
My idea was to copy the db files (controlfiles,datafiles,redo log files)in the oradata/orcl directory to a different disk partition,delete the orcl folder,return the copied orcl folder to the oradata folder and startup the instance.
After doing this,I tried to startup the instance but it could only reach the mount stage.When I typed the alter database open command,the error below resulted
ORA-00600: internal error code, arguments: [kcratr1_lastbwr], [], [], [], [],[], [], []
I am aware I can use the recover database command in RMAN but for curiosity purposes,I would like to know if an alternative option exists to recover the db assuming a user managed backup without RMAN.
Thanks.My idea was to copy the db files (controlfiles,datafiles,redo log files)Was the database
a. SHUTDOWN IMMEDIATE/NORMAL before you did the copy
OR
b. in Backup mode with ALTER DATABASE BEGIN BACKUP
You need either of a. or b. (Oracle cannot stop you from copying files when the database is open but needs to know that they are copied in a fuzzy state and that is one of the several things that the ALTER DATABASE BEGIN BACKUP does).
If you used method b. you also need an ALTER DATABASE END BACKUP, ALTER SYSTEM SWITCH LOGFILE and a backup of the ArchiveLogs generated between the BEGIN BACKUP and END BACKUP.
Hemant K Chitale -
hi everybody ;
i have 9.2.0.7 db runs on SLES9 on host A. and i take full rman database backup to make a new database on different host ( host B ) with different file structure. ( sid is the same ) i had already 1 database on host B. after this duplicate now there are 2 database on host B.
i take daily full database rman backup on the new host for my new database and there is no problem. when i try to take extra full export backup i get an error ;
Dynamic link error: libxdb.so: cannot open shared object file: No such file or directory
*** 2010-08-05 09:46:12.868
ksedmp: internal or fatal error
ORA-00600: internal error code, arguments: [unable to load XDB library], [], [], [], [], [], [], []
as i search ; i have to stop the database and listener and set the LD_LIBRARY_PATH variable. how can i make this without make any mistake for the first database runs on Host B.
because 2 database must be up and running on host B. can you explaın these operation step by step ?
thank you ....craft wrote:
any idea ?
>any idea ?
your database is out off support you should consider to upgrade. ORA-00600 indicate for bug -
Ora-00600: internal error on 11g database in windows 2007 environment
Hello , i have these problems please help me to solve it.
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Windows\system32>emctl status dbconsole
Environment variable ORACLE_SID not defined. Please define it.
C:\Windows\system32>set ORACLE_SID=testsid
C:\Windows\system32>emctl status dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
https://local:1158/em/console/aboutApplication
Oracle Enterprise Manager 11g is not running.
Logs are generated in directory C:\app\23333941\product\11.1.0\db_3/local_testsid/sysman/log
C:\Windows\system32>sqlplus sys/@**** as sysdba
SQL*Plus: Release 11.1.0.6.0 - Production on Fri Jul 5 09:27:37 2013
Copyright (c) 1982, 2007, Oracle. All rights reserved.
SQL*Plus: Release 11.1.0.6.0 - Production
Copyright (c) 1982, 2007, Oracle. All rights reserved.
Use SQL*Plus to execute SQL, PL/SQL and SQL*Plus statements.
Usage 1: sqlplus -H | -V
-H Displays the SQL*Plus version and the
usage help.
-V Displays the SQL*Plus version.
Usage 2: sqlplus [ [<option>] [<logon>] [<start>] ]
<option> is: [-C <version>] [-L] [-M "<options>"] [-R <level>] [-S]
-C <version> Sets the compatibility of affected commands to the
version specified by <version>. The version has
the form "x.y[.z]". For example, -C 10.2.0
-F Enables the failover mode for a RAC environment.
-L Attempts to log on just once, instead of
reprompting on error.
-M "<options>" Sets automatic HTML markup of output. The options
have the form:
HTML [ON|OFF] [HEAD text] [BODY text] [TABLE text]
[ENTMAP {ON|OFF}] [SPOOL {ON|OFF}] [PRE[FORMAT] {ON|OFF}]
-R <level> Sets restricted mode to disable SQL*Plus commands
that interact with the file system. The level can
be 1, 2 or 3. The most restrictive is -R 3 which
disables all user commands interacting with the
file system.
-S Sets silent mode which suppresses the display of
the SQL*Plus banner, prompts, and echoing of
commands.
<logon> is: (<username>[/<password>][@<connect_identifier>] | /)
[AS SYSDBA | AS SYSOPER | AS SYSASM] | /NOLOG | [EDITION=value]
Specifies the database account username, password and connect
identifier for the database connection. Without a connect
identifier, SQL*Plus connects to the default database.
The AS SYSDBA, AS SYSOPER and AS SYSASM options are database
administration privileges.
<connect_identifier> can be in the form of Net Service Name
or Easy Connect.
@[<net_service_name> | [//]Host[:Port]/<service_name>]
<net_service_name> is a simple name for a service that resolves
to a connect descriptor.
Example: Connect to database using Net Service Name and the
database net service name is ORCL.
sqlplus myusername/mypassword@ORCL
Host specifies the host name or IP address of the database
server computer.
Port specifies the listening port on the database server.
<service_name> specifies the service name of the database you
want to access.
Example: Connect to database using Easy Connect and the
Service name is ORCL.
sqlplus myusername/mypassword@Host/ORCL
The /NOLOG option starts SQL*Plus without connecting to a
database.
The EDITION specifies the value for Application
Edition
<start> is: @<URL>|<filename>[.<ext>] [<parameter> ...]
Runs the specified SQL*Plus script from a web server (URL) or the
local file system (filename.ext) with specified parameters that
will be assigned to substitution variables in the script.
When SQL*Plus starts, and after CONNECT commands, the site profile
(e.g. $ORACLE_HOME/sqlplus/admin/glogin.sql) and the user profile
(e.g. login.sql in the working directory) are run. The files may
contain SQL*Plus commands.
Refer to the SQL*Plus User's Guide and Reference for more information.
C:\Windows\system32>sqlplus sys/1118@testsid as sysdba
SQL*Plus: Release 11.1.0.6.0 - Production on Fri Jul 5 09:29:03 2013
Copyright (c) 1982, 2007, Oracle. All rights reserved.
ERROR:
ORA-12154: TNS:could not resolve the connect identifier specified
Enter user-name: sysdba
Enter password:
ERROR:
ORA-01033: ORACLE initialization or shutdown in progress
Process ID: 0
Session ID: 0 Serial number: 0
Enter user-name: sys
Enter password:
ERROR:
ORA-01033: ORACLE initialization or shutdown in progress
Process ID: 0
Session ID: 0 Serial number: 0
SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
C:\Windows\system32>sqlplus/nolog
SQL*Plus: Release 11.1.0.6.0 - Production on Fri Jul 5 09:32:59 2013
Copyright (c) 1982, 2007, Oracle. All rights reserved.
SQL> connect/as sysdba
Connected.
SQL> create table test(id number, id1 number);
create table test(id number, id1 number)
ERROR at line 1:
ORA-01109: database not open
SQL> select status from v$instance;
STATUS
MOUNTED
SQL> alter database open;
ERROR at line 1:
ORA-00600: internal error code, arguments: [kcrfr_update_nab_2], [0x51434A54],
[2], [], [], [], [], []
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
C:\Windows\system32>startup mount
'startup' is not recognized as an internal or external command,
operable program or batch file.
C:\Windows\system32>sqlplus/nolog
SQL*Plus: Release 11.1.0.6.0 - Production on Fri Jul 5 10:05:42 2013
Copyright (c) 1982, 2007, Oracle. All rights reserved.
SQL> connect/as sysdba
Connected.
SQL> startup mount;
ORA-01081: cannot start already-running ORACLE - shut it down first
SQL> recover database;
Media recovery complete.
SQL> select GROUP#,SEQUENCE#,ARCHIVED,STATUS from v$log order by SEQUENCE#;
GROUP# SEQUENCE# ARC STATUS
2 539 NO INACTIVE
3 540 NO ACTIVE
1 541 NO CURRENT
SQL> recover database;
ORA-00283: recovery session canceled due to errors
ORA-00264: no recovery required
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
C:\Windows\system32>sqlplus/nolog
SQL*Plus: Release 11.1.0.6.0 - Production on Fri Jul 5 10:17:10 2013
Copyright (c) 1982, 2007, Oracle. All rights reserved.
SQL> connect / as sysdba
Connected.
SQL> startup mount
ORA-01081: cannot start already-running ORACLE - shut it down first
SQL> shutdown immediate;
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
SQL> startup;
ORACLE instance started.
Total System Global Area 313860096 bytes
Fixed Size 1332892 bytes
Variable Size 276826468 bytes
Database Buffers 29360128 bytes
Redo Buffers 6340608 bytes
Database mounted.
Database opened.
SQL> recover database;
ORA-00283: recovery session canceled due to errors
ORA-01124: cannot recover data file 1 - file is in use or recovery
ORA-01110: data file 1:
'C:\APP\23333941\ORADATA\TEST\DATAFILE\O1_MF_SYSTEM_8XB8TY3S_.DBF'
SQL> select GROUP#,SEQUENCE#,ARCHIVED,STATUS from v$log order by SEQUENCE#;
GROUP# SEQUENCE# ARC STATUS
3 540 NO INACTIVE
1 541 NO INACTIVE
2 542 NO CURRENT
SQL> restore database;
SP2-0734: unknown command beginning "restore da..." - rest of line ignored.
SQL> recover database;
ORA-00283: recovery session canceled due to errors
ORA-01124: cannot recover data file 1 - file is in use or recovery
ORA-01110: data file 1:
'C:\APP\23333941\ORADATA\TEST\DATAFILE\O1_MF_SYSTEM_8XB8TY3S_.DBF'
SQL>
Thanks with regards Ganaa;What happened prior that resulted in the disaster scenario that you posted/
When was the last time the DB opened with out error?
What changed since then? -
ORA-00600: internal error code while drop package !
Friends ,
I am using oracle 10g in Oracle Ent Linux 5.0 . Now I want to drop a user , when I give the 'drop user' command I got the below error :
SQL> drop user user cascade;
drop user user cascade
ERROR at line 1:
ORA-00600: internal error code, arguments: [psdtyfnd_with_suffix], [], [], [],
Then I try to manually drop all the object of the specified schema . All objects are dropped except a 'PACKAGE' . When I manually drop that PACKAGE
again then I found the above error again . Now I am sure that this 'package' is the main culprit .
Now would anyone please help me how I drop this package manually ?Hi,
Glad to know that its solved.
The cause of this issue is not known. It is believed that importing into a database where these pipelined functions already exist may be the cause, but testing has failed to reproduce the problem.
In one of the bugs logged for a similar issue, problem will normally happen only on upgrade and not under regular running of the DB. Therefore, it should be of relatively low impact to the real users. Also, Upgrading to 11g you shouldn't encounter this problem.
Regards,
Suntrupth -
ORA-00600: internal error code While trying to view cube
While trying to view cube, i encounter the following error
oracle.dss.dataSource.common.QueryRuntimeException: BIB-9509 Oracle OLAP did not create cursor.
oracle.express.idl.util.OlapiException: java.sql.SQLException: ORA-00600: internal error code, arguments: [xsLMapCrtAddPhrase01], [], [], [], [], [], [], [], [], [], [], []
ORA-06512: at "SYS.GENDEFINITIONMANAGERINTERFACE", line 42
ORA-06512: at line 1
oracle.dss.dataSource.common.OLAPException: BIB-9509 Oracle OLAP did not create cursor.
oracle.express.idl.util.OlapiException: java.sql.SQLException: ORA-00600: internal error code, arguments: [xsLMapCrtAddPhrase01], [], [], [], [], [], [], [], [], [], [], []
ORA-06512: at "SYS.GENDEFINITIONMANAGERINTERFACE", line 42
ORA-06512: at line 1
oracle.express.idl.util.OlapiException: java.sql.SQLException: ORA-00600: internal error code, arguments: [xsLMapCrtAddPhrase01], [], [], [], [], [], [], [], [], [], [], []
ORA-06512: at "SYS.GENDEFINITIONMANAGERINTERFACE", line 42
ORA-06512: at line 1
at oracle.dss.dataSource.common.QueryDataDirector.addDataDirectorListener(QueryDataDirector.java:795)
at oracle.dss.dataView.ModelAdapter.setDataDirector(ModelAdapter.java:173)
at oracle.dss.crosstab.CrosstabModelAdapter.setDataSource(CrosstabModelAdapter.java:54)
at oracle.dss.dataView.Dataview.setDataSource(Dataview.java:396)
at oracle.olap.awm.dataobject.dialog.olapi.UBiBeanUtil.getCrosstab(Unknown Source)
at oracle.olap.awm.dataobject.dialog.olapi.UBiBeanUtil.showCrosstab(Unknown Source)
at oracle.olap.awm.dataobject.dialog.olapi.UBiBeanUtil.showData(Unknown Source)
at oracle.olap.awm.navigator.node.olapi.UCubeNode.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
This is with a simple cube with only one dimension. i had created the same cube earlier with 10 dimensions but same error occurred. i felt it had to do with my setup of the cube. I have recreated the cube a couple of times with different names but same error exists. interestingly all dimensions are viewable after maintenance.
I am begining to doubt the efficacy of AWM + oracle OLAP in use for a production environment. i have been at this for quite some time but no solution yet. please i would appreciate anyhelpHave you ever had any cube working in this environment? yes. i had created multiple versions of the same cube with fewer dimensions. I had created a cube (USAGE) with 5 dimensions, it worked. I later created same cube with 10 dimensions, that was the Genesis of the error. i had exported the eif file, deleted the awm, reimpored the awm, same errors. recreated the cube same error. i even tried recreating the cube wih one dimension but the same error persists.
database is Release 11.1.0.7.0
AWM standalone client :awm11.1.0.7.0B -
Can anyone please try check out this ORA-600 error, ORA-00600: internal error code, arguments: [kcrfr_update_nab_2], [0xB1B59DA4],
[2], [], [], [], [], [].
My db went down abruptly due to power source ....now the database mounts successfully but when u try opening the db i.e. alter database open; it comes up with the error. Plz kindly treat urgently.ThanksFor all kind of internal errors, you should open SR (Service Request) in metalink. You need to contact Oracle Support
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/] -
Hi,
Using owb 11.2.0.3 and encountering
ORA-00600: internal error code, arguments: [kglpin-bad-lock], [0x70000062E067FC8], [], [], [], [], [], [], [], [], [], []
this error when a proces sflow runs a mapping.
It fails and data remains unchanged.
When proces sflow next runs it succeeds.
Any ideas?
ThanksDon't multipost, please. Stay in your original thread ORA-00600: internal error code, arguments: [kglpin-bad-lock], [0x70000062E067FC8], [], [], [], [], [], [], [], [], [], […
Mod: locking.
Maybe you are looking for
-
Short Dump Error while executing the DTP
Hello Experts, I am facing an issue with DTP. Data has been loaded to PSA successfully but while executing the DTP for loading from PSA to DSO (WO) throwing a short dump RAISE_EXCEPTION. Short text Exception condition "NO_DS_LG_FOUND" raised. "RA
-
Hi , I need to create a csv file and load that csv file into database. But while creating csv i am facing problems with line seperators.After typing one line i am pressing "Enter Key" to terminate that line and go to next line.But that is not inserti
-
What video camera to get????
Hi all, I've dug through the posts and can't find an answer yet.... I am trying to choose a new video camera. I am using a MacBook Pro, 2GB, 2GHZ. I plan on using iMovie HD 6 since 08 is missing so many features. I've been given a budget of $500 and
-
I have created an omniportlet that connects to a database, and retrives some values into a defined HTML layout. Now I'm curious. I have many user of the portal, and they each should see diferent data. I have only one Database user to work with, but c
-
Application designer issue - Cannot display image preview
Hi guys, When I attempt to use an image icon as the label for a pushbutton, I receive this message in App Designer: "Cannot display image preview. The ImgDisplay ActiveX control may not be properly registered. Use the Install Workstation functionalit