Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: ORA-600 Error [Possible Data Loss]
We have found the cause of the problem. If populate the varray for a row with 100 values, copy that data to a temporary table and then perform split and exchange partition operations everything is fine. However if we populate the varray with 1000 values for a row and then perform the same operations. Selecting from the partition results in the error.
For those wanting details ...
create or replace type int_values as varray(16384) of number(38);
create table arch_wave_i
(pv_id number(38),
timestamp date,
nanosecs number(9),
stat number(8),
sevr number(8),
ostat number(16),
value int_values)
partition by range (timestamp)
( partition first values less than
(TO_DATE('01/01/2003 00:00:00', 'mm/dd/yyyy hh24:mi:ss')),
partition bin values less than (MAXVALUE) );
create index archive_wave_index on archive_wave_i (timestamp, pv_id) local;
create table arch_wave_i
(pv_id number(38),
timestamp date,
nanosecs number(9),
stat number(8),
sevr number(8),
ostat number(16),
value int_values)
partition by range (timestamp)
( partition first values less than
(TO_DATE('01/01/2003 00:00:00', 'mm/dd/yyyy hh24:mi:ss')),
partition SEP1803 values less than
(TO_DATE('09/19/2003 00:00:00', 'mm/dd/yyyy hh24:mi:ss')),
partition bin values less than (MAXVALUE) );
create index arch_wave_i_index on arch_wave_i (timestamp, pv_id) local;
To create the error
To recreate the problem:
1. Populate arch_wave_i with one or more rows that have the
following characteristics:
a. the timestamp field is >= '09/18/2003 00:00:00' and
< '09/19/2003 00:00:00'
b. the value field is an array of 1000 or more integer
values (the actual values do not matter)
c. the other fields (pv_id, nanosecs, stat, sevr, ostat)
may be set to 0
2. create table temp_wave_i as select * from arch_wave_i; 3. create index temp_wave_i_index on temp_wave_i (timestamp, pv_id); 4. alter session set nls_date_format = 'mm/dd/yyyy hh24:mi:ss'; 5. alter table archive_wave_i split partition bin at('09/19/2003 00:00:00') into
Ian MacGregor
Stanford Linear Accelerator Center
ian_at_slac.stanford.edu
-----Original Message-----
Sent: Thursday, September 18, 2003 1:35 PM
To: Multiple recipients of list ORACLE-L
Ian,
I was going to recommend to try exporting your problematic partition with direct=y, that way normal SQL query processing layer is bypassed in Oracle kernel & all data belonging to segment is read directly (thus hopefully avoiding the koxsisz1 crash) ... but I'm not sure whether varrays don't turn exp to conventional as is the case with objects and LOBs...
Tanel.
> The error was first discovered when we tried to move a partition. (
> alter
table archive_wave_i move partition SEP1103 tablespace
CHANARCH_NLC_2003_09_DATA). The table was renamed to OLD_archive_wave_i
once it was determined that no new varray data was accessible. My theory is that this is logical corruption of the data dictionary, but I have not worked out the particulars.
>
>
> > >
> >
>
>
>
> >> > select value from chanarch_nlc.old_archive_wave_i partition
> > This is not my week ...
> >
> > Has anyone seen anything like this
> >
> >
>> To REMOVE yourself from this mailing list, send an E-Mail message
> Fat City Network Services -- 858-538-5051 http://www.fatcity.com
> San Diego, California -- Mailing list and web hosting services
> ---------------------------------------------------------------------
>> To REMOVE yourself from this mailing list, send an E-Mail message
> Fat City Network Services -- 858-538-5051 http://www.fatcity.com
> San Diego, California -- Mailing list and web hosting services
> ---------------------------------------------------------------------
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Tanel Poder INET: tanel.poder.003_at_mail.ee Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: MacGregor, Ian A. INET: ian_at_SLAC.Stanford.EDU Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Mon Sep 22 2003 - 17:14:39 CDT