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

Re: ORA - 14642 : partition exchange error

Jonathan Lewis



I think you're running into a problem with the
Hakan factor. This is a number used by the
bitmap index algorithms to limit the number
of rows that Oracle assumes can be stored
in a single block. It is (generally) dictated at
table creation time by the number and type
of non-null columns. Check tab$.spare1
just after creating a table.

Things can go wrong with partitioned tables,
though, as the table has a Hakan factor, but
in your case you've created a table to exchange
with it that has a different Hakan factor.

The closest reference to your problem comes
from (a) minimize_records_per_block, which
can only be used in the absence of bitmap indexes
on a table and resets the Hakan factor, and (b) a
note about dropping bitmap indexes before your
first compress a data segment in a partitioned


Jonathan Lewis

The Co-operative Oracle Users' FAQ

March 2004 Hotsos Symposium - The Burden of Proof
Dynamic Sampling - an investigation
March 2004 Charlotte OUG (www.cltoug.org) CBO Tutorial
April 2004 Iceland
June 2004    UK - Optimising Oracle Seminar

----- Original Message -----
From: "Senthil Ramanujam" <sramanujam@(protected)>
To: <oracle-l@(protected)>
Sent: Monday, March 01, 2004 4:45 PM
Subject: ORA - 14642 : partition exchange error

> 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
> any thoughts? has anyone seen this before? am i running into any known
> issues?
> appreciate it. thanks.
> senthil

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