Register Login

What are Common Errors reported by CHECK_TABLE_CONSISTENCY?

Updated May 18, 2018

Hello Experts,

What are common errors reported by CHECK_TABLE_CONSISTENCY?

Kindly share your valuable views here.

Thanks in advance.


Comments

  • 27 Jan 2016 11:34 am Abhijeet Mudgal Best Answer

    In general you should execute the consistency check another time on a table with critical errors. If the error isn't reproducible, it was most likely a timing issue in combination with concurrent workload, and so the error can be ignored. If the error is reproducible and can't be eliminated with a save workaround, it is recommended to open a SAP incident in order to request assistance.

    The following table lists popular errors and provides some further details like criticality or possible cleanup activities:

    Error code Error string  Error details Severity Description
    0

     

    no error found

     

    This entry indicates that a consistency check finished without errors.

    5094

    ERROR_DELTA_REPLAY_FAILED

    Could not replay delta log for table <schema>:<table>: exception during deltalog replay. See trace file for more information

    Could not replay delta log for table <schema>:<table>: Attribute engine function not implemented

    critical

    This error indicates a critical delta storage related inconsistency. The message "attribute engine function not implemented" is displayed when an INVERTED HASH index (SAP Note 2109355) is used on a table with paged attributes and data aging.

    5096

    ERROR_INDEX_SCAN_TIMEOUT

    Retry exceeded maximum

    harmless

    This error is normally caused by a high workload on the underlying index.

    Schedule CHECK_TABLE_CONSISTENCY runs at times of low activity on the system in order to minimize the occurrences of this error. 

    5097

    ERROR_TABLE_LOCK_TIMEOUT

    Failed to lock table <schema>:<table> for consistency check: ERROR [CODE-2561] distributed metadata error: cannot find table object

    harmless

    This error indicates that the underlying table was dropped in parallel to CHECK_TABLE_CONSISTENCY, e.g. because it was a temporary table.

    Schedule CHECK_TABLE_CONSISTENCY runs at times of low activity on the system in order to minimize the occurrences of this error. 

    5098

    ERROR_CANNOT_PROCEED_TO_CHECK

    table does not exist

    harmless

    This error indicates that the underlying table was dropped in parallel to CHECK_TABLE_CONSISTENCY, e.g. because it was a temporary table.

    Schedule CHECK_TABLE_CONSISTENCY runs at times of low activity on the system in order to minimize the occurrences of this error. 

    5099

    ERROR_METADATA_OUTDATED

    metadata version changed while running checks: <from> -> <to>

    harmless

    This error indicates that the underlying table was adjusted with a DDL operation in parallel to CHECK_TABLE_CONSISTENCY. As a consequence you can't rely on the result of the consistency check for this table.

    Schedule CHECK_TABLE_CONSISTENCY runs at times of low activity on the system in order to minimize the occurrences of this error. 

    5100

    ERROR_PRIMARY_KEY_NULL

    Key column value is NULL at udiv <udiv> in <schema>:<table>

    critical

    This error indicates that NULL values exist in the primary key, what is generally not allowed. If there are NULL combinations in the underlying columns, you can repair this inconsistency by recreating the primary key. Otherwise you have to analyze and resolve the NULL values in the underlying columns.

    5101

    ERROR_PRIMARY_KEY_DUPL

    Found duplicate primary key <key>

    critical

    This error indicates that duplicate values exist in the primary key, what is generally not allowed. If there are no duplicate combinations in the underlying columns, you can repair this inconsistency by recreating the primary key. Otherwise you have to analyze, combine and remove duplicate combinations in the underlying columns.

    5110

    ERROR_CONCAT_ATTRIBUTES_NULL

    Corrupt value at udiv <udiv>

    critical

    This error indicates a wrong value in a CONCAT attribute. Technically this corruption can be repaired by dropping and recreating the involved CONCAT attribute. It is recommended to perform an analysis beforehand, because in the worst case (CONCAT attribute correct, underlying columns wrong) the recreation of the CONCAT attribute will remove the correct values and overwrite them with wrong values from the underlying columns.

    See SAP Note 1986747 for more information regarding CONCAT attributes.

    5120

    ERROR_ROWID_NULL

    Found NULL rowid at udiv <udiv> in <schema>:<table>

    critical

    This error indicates a NULL value for the $rowid$ of a record.

    5121

    ERROR_ROWID_DUPL

    Duplicate rowid <rowid> at udivs <udiv1> and <udiv2> in <schema>:<table>

    critical

    This error indicates a duplicate $rowid$ values. This problem may happen with the history partition of an in-memory optimized DSO. SAP generally recommends not to use in-memory-optimized DSOs.

    5122

    ERROR_ROWID_NOMAX

    Could not retrieve maximum rowid in <schema>:<table>

    critical

    This error indicates problems evaluating the maximum $rowid$ values.

    5123

    ERROR_ROWID_RUNTIME 

    Maximum rowid in table (<max_rowid1>) is larger than max rowid in runtime data (<max_rowid2>) in <schema>:<table>

    critical This inconsistency can be introduced by a SAP HANA upgrade to SPS 09. See SAP Note2125399 for more information.
    5130

    ERROR_PRIMARY_KEY_CONCAT_DIFF

    Externalkey concat at udiv <id> is not equal to value computed from key columns (<key_column_list>) in <schema>:<table>

    critical

    This error indicates an inconsistency between the primary key and the underlying individual primary key columns. Technically this inconsistency can be repaired by recreating the primary key. It is recommended to perform an analysis beforehand, because in the worst case (primary key correct, underlying columns wrong) the recreation of the primary key will remove the correct values and overwrite them with wrong values from the underlying columns.

    5199

    ERROR_CHECK_FAILED

    Consistency check failed for disk lob

    critical

    A hybrid LOB on disk is corrupted. See SAP Note 2220627 for more information related to SAP HANA LOBs.

    5204

    SPEC_NOT_VALID

    The partition specification is invalid. The table has a primary key. RoundRobin is only allowed for tables without primary keys.

    critical

    Make sure that tables with ROUNDROBIN partitioning doen't have a primary key defined.

    5209

    REPLICATE_INCONSISTENT

    At least one replicate does not match the master replicate.

    critical

    An inconsistency exists in the area of table replication. You can correct the inconsistency be re-establishing a table replication from scratch.

    5990

    ERROR_INVALID_FIELD

    invalid field;rowid=<rowid>;offset=<offset>;typeid=<typeid>

    critical

    This error indicates a problem with a table column.

    5991

    ERROR_VARIABLE_PART_BINDING

    Found invalid v-slot binding while checking sid=<sid>

    critical

    This error can be a consequence of changes in the row store table handling as of SAP HANA SPS 07 See SAP Note 1997637 for more details.

    5993

    ERROR_METADATA_SEGMENT_SEPARATION

    Found unseparated v-slot;sid=<sid>

    critical

    This error indicates that metadata was found at an unexpected position in memory.

    5995

    ERROR_LENGTH

    Found invalid length value;sid=<sid>

    critical

    This error is a consequence of column values being longer than the defined column length. Check and - if possible - adjust the field lengths or field values to make both consistent.

    5996

    ERROR_NULLITY

    Found NULL at udiv <udiv>, rowid <rowid> for <schema>:<table>

    broken not null constraint; rowid=<rowid>

    critical

    This error indicates that a NULL value was found in a NOT NULL column.

     

     

    IndexMgr: index not found

    critical

    This error is reported by lower SAP HANA layers rather than CHECK_TABLE_CONSISTENCY. It indicates that a table exists in metadata, but it is not physically accessible. TABLES lists the column table, but M_CS_TABLES doesn't show it.

    This situation can be a consequence of errors like "Table.cpp(00111) : Exception in Table::Table <table_name>" and a restart of the nameserver may resolve the issue.


×