ClickHouse/docs/en/operations/system-tables/errors.md
2020-12-09 18:50:58 +03:00

774 B

system.errors

Contains error codes with the number of times they have been triggered.

Columns:

  • name (String) — name of the error (errorCodeToName).
  • code (Int32) — code number of the error.
  • value (UInt64) — the number of times this error has been happened.

Example

SELECT *
FROM system.errors
WHERE value > 0
ORDER BY code ASC
LIMIT 1

┌─name─────────────┬─code─┬─value─┐
 CANNOT_OPEN_FILE    76      1 
└──────────────────┴──────┴───────┘