Description: If you experience hardware or operating system failure, you can use the SYSCS_UTIL.SYSCS_CHECK_TABLE function to verify that the database is still consistent.
Keywords: Consistency, checking database

# Checking database consistency

If you experience hardware or operating system failure, you can use the SYSCS_UTIL.SYSCS_CHECK_TABLE function to verify that the database is still consistent.

Check consistency only if there are indications that such a check is needed because a consistency check can take a long time on a large database.

- The SYSCS_CHECK_TABLE function
- Sample SYSCS_CHECK_TABLE error messages
  This section provides examples of error messages that the SYSCS_UTIL.SYSCS_CHECK_TABLE() function can return.
- Sample SYSCS_CHECK_TABLE queries

Parent topic: Part two: Derby Administration Guide
Related concepts
Backing up and restoring databases
Logging on a separate device
Obtaining locking information
Reclaiming unused space