Home > ORA-XXX > ORA-01450: maximum key length (3118) exceeded

ORA-01450: maximum key length (3118) exceeded

When I imported user dump, the following errors show. It showed that it hit the maximum key length.  I checked with oracle support, it said that there are maximum keys limitation based on different db_block_size of tablespace (the details refer to ORA-01450 and Maximum Key Length – How it is Calculated [ID 136158.1])

IMP-00017: following statement failed with ORACLE error 1450:
“CREATE UNIQUE INDEX “ADDRESS_PK” ON “ADDRESS” (“ADDRID” )  PCTFREE 10 INITR”
“ANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFF”
“ER_POOL DEFAULT)                      LOGGING”
IMP-00003: ORACLE error 1450 encountered
ORA-01450: maximum key length (3118) exceeded

Finally, I checked with the source and destination database db_block_size.  I found that the source database db_block_size is 8k, while the destination db_block_size is 4K.  Then I created anther tablespace with 8K block_size at destination database, the problem was fixed.


Advertisements
Categories: ORA-XXX
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: