ERROR
In an Oracle SDE geodatabase, the 'compress_log' table displays in ArcCatalog after a compress is performed in ArcGIS for Desktop 10.1. If this table is already registered with the geodatabase, performing the compress on the geodatabase again produces the following error:
"Failed to compress the database. Underlying DBMS error [Error inserting into <schema>.COMPRESS_LOG.::ORA-01400: cannot insert NULL into ("SDE"."COMPRESS_LOG"."OBJECTID")][SDE.DEFAULT]".
When registered with the geodatabase, the column 'OBJECTID' is added into the compress_log table. The OBJECTID column does not allow null values. When new records are inserted into the compress_log table, the value for OBJECTID column is null, which conflicts with the 'not null' constraint.
Get help from ArcGIS experts
Download the Esri Support App