All Oracle Error Codes
Oracle DBA Forum

Frequent Oracle Errors

TNS:could not resolve the connect identifier specified
Backtrace message unwound by exceptions
invalid identifier
PL/SQL compilation error
internal error
missing expression
table or view does not exist
end-of-file on communication channel
TNS:listener unknown in connect descriptor
insufficient privileges
PL/SQL: numeric or value error string
TNS:protocol adapter error
ORACLE not available
target host or object does not exist
invalid number
unable to allocate string bytes of shared memory
resource busy and acquire with NOWAIT specified
error occurred at recursive SQL level string
ORACLE initialization or shutdown in progress
archiver error. Connect internal only, until freed
snapshot too old
unable to extend temp segment by string in tablespace
Credential retrieval failed
missing or invalid option
invalid username/password; logon denied
unable to create INITIAL extent for segment
out of process memory when trying to allocate string bytes
shared memory realm does not exist
cannot insert NULL
TNS:unable to connect to destination
remote database not found ora-02019
exception encountered: core dump
inconsistent datatypes
no data found
TNS:operation timed out
PL/SQL: could not find program
existing state of packages has been discarded
maximum number of processes exceeded
error signaled in parallel query server
ORACLE instance terminated. Disconnection forced
TNS:packet writer failure
see ORA-12699
missing right parenthesis
name is already used by an existing object
cannot identify/lock data file
invalid file operation
quoted string not properly terminated

ORA - 14642 : partition exchange error

Senthil Ramanujam


Hi All,

I came across an interesting issue and thought i could get some info
from the list. i did google around and metalinked, but no luck.

Environment: - Solaris 8 / HP-11i

Actually, i was getting ORA-14642 when i was trying to exchange
partition on one of my core tables. The example given below is how i can
reproduce with simple example table. it shows me that if the table row
length exceeds 8 characters, then it throws an error. If i reduce the
column(mytext) length from 5 to 4 or anything less than 5, then
everything runs fine.

I know it doesnt makes sense to create table and then alter the same. it
was the old script and we were able to fix this issue by creating the
right column and constraints(i mean, no "alter" command run).

I was just curious to know why it was failing and it seems like it was
failing based on row length in this case. Originally it was failing on
my hp(11i?) box and i tried the same on Solaris(8) and it failed there too.

any thoughts? has anyone seen this before? am i running into any known

appreciate it. thanks.


SQL> select * from v$version;

Oracle9i Enterprise Edition Release - 64bit Production
PL/SQL Release - Production
CORE     Production
TNS for Solaris: Version - Production
NLSRTL Version - Production

SQL> show release
release 902000100

SQL> drop table pt;

Table dropped.

SQL> create table pt (
2   no     number(2) not null,
3   mytext1 char(5) not null,
4   no1    number(2)
5 ) partition by range(no) (
6   partition pt1 values less than (1)
7 );

Table created.

SQL> create bitmap index ptidx1 on pt(no) local;

Index created.

SQL> alter table pt drop column no1;

Table altered.

SQL> alter table pt add (no1 number(2) default 0 not null);

Table altered.

SQL> create bitmap index ptidx2 on pt(no1) local;

Index created.

SQL> drop table pt1;

Table dropped.

SQL> create table pt1 as select * from pt where 1=0;

Table created.

SQL> create bitmap index pt1idx1 on pt1(no);

Index created.

SQL> create bitmap index pt1idx2 on pt1(no1);

Index created.

SQL> alter table pt add partition pt2 values less than (2);

Table altered.

SQL> alter table pt exchange partition pt2 with table pt1 including
indexes without validation;
alter table pt exchange partition pt2 with table pt1 including indexes
without validation
ERROR at line 1:
ORA-14642: Bitmap index mismatch for tables in ALTER TABLE EXCHANGE

Please see the official ORACLE-L FAQ: http://www.orafaq.com
To unsubscribe send email to: oracle-l-request@(protected)
put 'unsubscribe' in the subject line.
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html