title | category |
---|---|
Error Codes and Troubleshooting |
user guide |
This document describes the problems encountered during the use of TiDB and provides the solutions.
TiDB is compatible with the error codes in MySQL, and in most cases returns the same error code as MySQL. In addition, TiDB has the following unique error codes:
Error code | Description | Solution |
---|---|---|
9001 | The PD request timed out. | Check the state/monitor/log of the PD server and the network between the TiDB server and the PD server. |
9002 | The TiKV request timed out. | Check the state/monitor/log of the TiKV server and the network between the TiDB server and the TiKV server. |
9003 | The TiKV server is busy and this usually occurs when the workload is too high. | Check the state/monitor/log of the TiKV server. |
9004 | This error occurs when a large number of transactional conflicts exist in the database. | Check the code of application. |
9005 | A certain Raft Group is not available, such as the number of replicas is not enough. This error usually occurs when the TiKV server is busy or the TiKV node is down. | Check the state/monitor/log of the TiKV server. |
9006 | The interval of GC Life Time is too short and the data that should be read by the long transactions might be cleared. | Extend the interval of GC Life Time. |
9500 | A single transaction is too large. | See here for the solution. |
See the troubleshooting and FAQ documents.