HomeOracleOracle Error ORA-01409: NOSORT option may not be used; rows are not in ascending order

Oracle Error ORA-01409: NOSORT option may not be used; rows are not in ascending order

Oracle Error Message

ORA-01409: NOSORT option may not be used; rows are not in ascending order

Reason for the Error

Creation of index with NOSORT option when rows were not ascending. For non-unique indexes the rowid is considered part of the index key. Therefore, if you create an index nosort and two of the rows in the table have the same key and are stored in ascending order, but get split accross two extents where the dba of the first block in the second extent is less than the dba of the last block in the first extent, then the create index nosort may fail.

Solution

Create the index without the NOSORT option, or ensure table is stored in one extent.

Share:

Leave A Reply

Your email address will not be published. Required fields are marked *

You May Also Like

Oracle Error Message CLSGN-32767: Internal error. Reason for the Error An unexpected error occurred. Solution Examine the message(s) that accompany...
Oracle Error Message CLSGN-00211: OCR batch operation failed. string Reason for the Error Setting a set of Oracle Cluster Registry...
Oracle Error Message CLSGN-00210: failed to get value for OCR key “string”. string Reason for the Error It was not...