Something easy? ORA-01450: maximum key length (6398) exceeded 2006-01-19 - By Wolfson Larry - lwolfs
Got an import from a client that kept getting
IMP-00003: ORACLE error 1450 encountered ORA-01450 (See ORA-01450.ora-code.com): maximum key length (6398) exceeded
when creating index for table below.
1) What is the OS of the machine from which the database is exported? Linux Fedora Core release 2 (Tettnang) 2.6.8-1.521smp
2) What is the version of the exporting database? 9.2.0.1.0
3) What is the version of the export utility? 9.2.0.1.0
4) What is the database characterset of the exporting database? WE8ISO8859P1
5) NLS_LANG setting for the account used to export the database: AMERICAN_AMERICA.WE8ISO8859P1
6) What are the export parameters? exp username/password owner= file=user20051201.dmp consistent=y log=user20051201.log
16) what is the db_block_size of the database the export came from? 8192
Imported to 9.2.0.4 On SUN with 8192 blocksize.
Oracle support told me to go to a larger blocksize (16k) The rows were loaded so I just defined the table below and selected the original data into it. After a rename the index creation worked fine and the users say it's working well.
Just wondering what did the CHAR attribute do for them? Or rather what did I lose?
TIA Larry
--,CLASS VARCHAR2(2000 CHAR) NOT NULL ENABLE --,TARGET_NAME VARCHAR2(2000 CHAR) NOT NULL ENABLE --,ACTIONS VARCHAR2(2000 CHAR) then took out CHAR attribute. CREATE TABLE X_PERMISSION (PERMISSION_ID NUMBER(38, 0) NOT NULL ENABLE ,CREATION_DATE TIMESTAMP (6) NOT NULL ENABLE ,LAST_MODIFICATION_DATE TIMESTAMP (6) ,CLASS VARCHAR2(2000) NOT NULL ENABLE ,TARGET_NAME VARCHAR2(2000) NOT NULL ENABLE ,ACTIONS VARCHAR2(2000) ) *************************************************************************** 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. **************************************************************************** -- http://www.freelists.org/webpage/oracle-l
|
|