Skip to main content
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    ue_01 error: unique constraint (XXX01.Z0101_ID) violated

    • Article Type: General
    • Product: Aleph
    • Product Version: 16.02

    All of a sudden very few titles are appearing in our browse index. ue_01 has error:.

    Oracle error: io_z0101_write.
    ORA-00001: unique constraint (XXX01.Z0101_ID) violated.

    I checked the z0101 file in XXX01 it had one test record, so I dropped the z0101 table to see if that might help and it did not -- I'm still getting the error.

    This can occur when the z0101_rec_key of the z0101 it is trying to write is the same as one already in the file.

    In this case, the z0101 record has:.

    02 z0101_rec_key \.
    03 sequence ..............

    Z0101_REC_KEY can't be NULL. The empty z0101 sequence causes that error.

    The value of the z0101_rec_key is acquired from the util g/2 "last-z0101-sequence" counter. This error indicates that the counter is missing or set too low.

    To see what it *should* be set to, do this SQL:.

    SQL-xxx01> select max (Z0101_REC_KEY) from z0101;

    Additional Information


    • Article last edited: 10/8/2013