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

  1. SELECT *
  2. FROM system.errors
  3. WHERE value > 0
  4. ORDER BY code ASC
  5. LIMIT 1
  6. ┌─name─────────────┬─code─┬─value─┐
  7. CANNOT_OPEN_FILE 76 1
  8. └──────────────────┴──────┴───────┘