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: Something easy? ORA-01450: maximum key length (6398)exceeded

Wolfson Larry - lwolfs


Gints, Norman,
         Thanks for your replies. I have a better understanding
of what's going on.
Oracle support did get the original to work, but they did it on a database.
 I'll see what application group has to say.

 Thanks again,

One character generally can take 1 or more bytes If you define CLASS
VARCHAR2(2000) which is equivalent to CLASS VARCHAR2(2000 BYTE) you can
store up to 2000 single-byte characters or less multi-byte characters
mixed with single-byte characters. For example you cannot insert 1999
single-byte caharacters and 1 multi-byte character.
If you define CLASS VARCHAR2(2000 CHAR) then you can insert 2000 chars
irrespective of their single- or multi- bytes.


a bit more

-----Original Message-----
From: oracle-l-bounce@(protected)
Sent: Friday, January 20, 2006 2:39 AM
To: Wolfson Larry - lwolfs; oracle-l@(protected)
Subject: Re: Something easy? ORA-01450: maximum key length


>> Got an import from a client that kept getting

>> IMP-00003: ORACLE error 1450 encountered
>> ORA-01450: maximum key length (6398) exceeded

>> when creating index for table below.

You need to patch to 9204 or above (9207 is currently the highest, 9208
coming 'soon'). I had exactly the same problem on a 9203 (I think)
database. We had a table with an index that was over 4000 bytes long.
I've no idea how it was create or how the problem was detected - it was
over a year and a half ago, and I'm getting old) but I've a funny
feeling that it was a bug introduced at some point.

Our app was a third party one (oh hum) and full of little niceties such
as an index consisting of two columns each varchar2(4000) etc. It also
had no primary keys on the tables and suffered from duplicates all the
time. This was due to 'select max(id) from table; add 1; use as new id.
Oops !). I'm no longer at that company :o)

See note 136158.1 for details - although it appears to imply that 6498
is the max key size in a 16K block, yet yours is barfing at 6398. Who's
nicked the 100 bytes ? However, you also show that your block sizes are
8192 each which surprises me as an 8K block supports a maximum key
length of only 3218 bytes. (Which might really be 3118 - who knows?).

You might also be hitting bug 1919383, see note 1919383.8 for details.



Norman Dunbar.
Contract Oracle DBA.
Rivers House, Leeds.

Internal : 7 28 2051
External : 0113 231 2051

Information in this message may be confidential and may be legally
privileged. If you have received this message by mistake, please notify
the sender immediately, delete it and do not copy it to anyone else.

We have checked this email and its attachments for viruses. But you
should still check any attachment before opening it.

We may have to make this message and any reply to it public if asked to
under the Freedom of Information Act, Data Protection Act or for
litigation. Email messages and attachments sent to or from any
Environment Agency address may also be accessed by someone other than
the sender or recipient, for business purposes.

If we have sent you information and you wish to use it please read our
terms and conditions which you can get by calling us on 08708 506 506.
Find out more about the Environment Agency at
The information contained in this communication is confidential, is
intended only for the use of the recipient named above, and may be
legally privileged.

If the reader of this message is not the intended recipient, you are
hereby notified that any dissemination, distribution or copying of this
communication is strictly prohibited.

If you have received this communication in error, please resend this
communication to the sender and delete the original message or any copy
of it from your computer system.

Thank you.