错误代码
undefined
Oracle
- ORA-00001Unique constraint violated(违反唯一约束)
- ORA-00054Resource busy and acquire with NOWAIT specified or timeout expired(资源正忙,且指定了 NOWAIT 或等待超时)
- ORA-00060Deadlock detected while waiting for resource(等待资源时检测到死锁)
- ORA-01017Invalid username/password; logon denied(用户名/密码无效;登录被拒绝)
- ORA-01555Snapshot too old: rollback segment number too small(快照过旧:回滚段编号过小)
- ORA-01652Unable to extend temp segment by N in tablespace(无法在表空间中将临时段扩展 N)
- ORA-04031Unable to allocate N bytes of shared memory(无法分配 N 字节共享内存)
- ORA-12154TNS: could not resolve the connect identifier specified(TNS:无法解析指定的连接标识符)
- ORA-12514TNS: listener does not currently know of service requested in connect descriptor(TNS:监听程序当前无法识别连接描述符中请求的服务)
- ORA-00942Table or view does not exist(表或视图不存在)
- ORA-01031Insufficient privileges(权限不足)
- ORA-00257Archiver error. Connect internal only, until freed(归档进程错误。在释放之前仅允许内部连接)
- ORA-01000Maximum open cursors exceeded(超出打开游标的最大数)
- ORA-00018Maximum number of sessions exceeded(超出最大会话数)
- ORA-28000The account is locked(账户已锁定)
- ORA-01578Oracle data block corrupted (file #, block #)(Oracle 数据块损坏(文件号,块号))
- ORA-01722Invalid number(无效数字)
- ORA-02049Timeout: distributed transaction waiting for lock(超时:分布式事务正在等待锁)
- enq: TX - row lock contention等待:会话被另一事务持有的行级锁阻塞
- log file sync等待:会话在提交时等待 LGWR 将 redo 刷新到磁盘
- db file sequential read等待:单块物理读,通常为索引或表查找
- db file scattered read等待:多块物理读,通常为全表扫描或索引快速全扫描
- buffer busy waits等待:争用一个正被其他会话读取或修改的缓冲区
- gc buffer busy等待(RAC):争用正在实例间传输的 cache fusion 块
- library cache lock等待:library cache 对象句柄争用(解析/DDL 串行化)
- ORA-00604error occurred at recursive SQL level(递归 SQL 级别出错)
- ORA-01438value larger than specified precision allowed for this column(值大于此列允许的指定精度)
- ORA-01400cannot insert NULL into (column)(无法将 NULL 插入(列))
- ORA-02291integrity constraint violated - parent key not found(违反完整约束条件 - 未找到父项关键字)
- ORA-02292integrity constraint violated - child record found(违反完整约束条件 - 已找到子记录)
- ORA-00979not a GROUP BY expression(不是 GROUP BY 表达式)
- ORA-00918column ambiguously defined(列定义不明确)
- ORA-06550line/column PLS-... PL/SQL compilation error(行/列 PLS-... PL/SQL 编译错误)
- ORA-04068existing state of packages has been discarded(已丢弃程序包的当前状态)
- ORA-01427single-row subquery returns more than one row(单行子查询返回多个行)
- ORA-12899value too large for column(列的值太大)
- ORA-30926unable to get a stable set of rows in the source tables(无法在源表中获得一组稳定的行)
- ORA-08103object no longer exists(对象不再存在)
- ORA-01843not a valid month(无效的月份)
- ORA-14400inserted partition key does not map to any partition(插入的分区关键字未映射到任何分区)
- ORA-01536space quota exceeded for tablespace(超出表空间的空间限额)
- direct path read等待:会话绕过 buffer cache 将块直接读入 PGA
- latch: cache buffers chains等待:cache buffers chains latch 争用
- ORA-00955name is already used by an existing object(名称已由现有对象使用)
- ORA-02449unique/primary keys in table referenced by foreign keys(表中的唯一/主键被外键引用)
- ORA-01950no privileges on tablespace 'name'(对表空间 'name' 无权限)
- ORA-01110data file N: 'path'(数据文件 N:'path')
- ORA-16038log N sequence# M cannot be archived(日志 N 序列号 M 无法归档)
- ORA-19809limit exceeded for recovery files(恢复文件超出限制)
- ORA-00376file N cannot be read at this time(文件 N 当前无法读取)
- ORA-12520TNS:listener could not find available handler for requested type of server(监听程序找不到所请求服务器类型的可用处理程序)
- ORA-28001the password has expired(密码已过期)
- ORA-38029object statistics are locked(对象统计信息已锁定)
- ORA-00845MEMORY_TARGET not supported on this system(此系统不支持 MEMORY_TARGET)
- ORA-27102out of memory(内存不足)
- ORA-04030out of process memory when trying to allocate N bytes(尝试分配 N 字节时进程内存不足)
- ORA-12537TNS:connection closed(TNS:连接已关闭)
- ORA-03135connection lost contact(连接失去联系)
- ORA-01033ORACLE initialization or shutdown in progress(ORACLE 正在初始化或关闭)
- ORA-00600internal error code, arguments: [...](内部错误代码,参数:[...])
- ORA-07445exception encountered: core dump(遇到异常:core dump)
- ORA-01102cannot mount database in EXCLUSIVE mode(无法以 EXCLUSIVE 模式装载数据库)
- ORA-29913error in executing ODCIEXTTABLEOPEN callout(执行 ODCIEXTTABLEOPEN callout 时出错)
- ORA-19804cannot reclaim N bytes disk space from M bytes limit(无法从 M 字节的限制中回收 N 字节磁盘空间)
- ORA-00494enqueue held for too long by 'inst N, osid M'(enqueue 被 'inst N, osid M' 持有时间过长)
- ORA-04021timeout occurred while waiting to lock object(等待锁定对象时超时)
- ORA-04061existing state of package/procedure has been invalidated(包/过程的现有状态已失效)
- ORA-01466unable to read data - table definition has changed(无法读取数据 —— 表定义已更改)
- ORA-08176consistent read failure; rollback data not available(一致性读失败;回滚数据不可用)
- ORA-00020maximum number of processes (N) exceeded(超出最大进程数 N)
- ORA-01113file N needs media recovery(文件 N 需要介质恢复)
- ORA-02393exceeded call limit on CPU usage(超出单次调用的 CPU 使用限制)
- ORA-12801error signaled in parallel query server Pnnn(并行查询服务器 Pnnn 中发出错误信号)
PostgreSQL
- 23505unique_violation
- 23503foreign_key_violation
- 23502not_null_violation
- 40P01deadlock_detected
- 40001serialization_failure
- 53300too_many_connections
- 53100disk_full
- 57014query_canceled
- 42P01undefined_table
- 42703undefined_column
- 42501insufficient_privilege
- 28P01invalid_password
- 08006connection_failure
- 55P03lock_not_available
- 54000program_limit_exceeded
- 22001string_data_right_truncation
- 25P02in_failed_sql_transaction
- 53200out_of_memory
- 42883undefined_function
- 42804datatype_mismatch
- 22P02invalid_text_representation
- 22003numeric_value_out_of_range
- 23514check_violation
- 22012division_by_zero
- 42601syntax_error
- 42P07duplicate_table
- 42701duplicate_column
- 3D000invalid_catalog_name
- 3F000invalid_schema_name
- 0A000feature_not_supported
- 57P03cannot_connect_now
- 2BP01dependent_objects_still_exist
- 55006object_in_use
- 22007invalid_datetime_format
- 54001statement_too_complex
- 58030io_error
- 22004null_value_not_allowed
- 42P18indeterminate_datatype
- 42P02undefined_parameter
- 2F003prohibited_sql_statement_attempted
- 40003statement_completion_unknown
- 08003connection_does_not_exist
- 25006read_only_sql_transaction
- 21000cardinality_violation
- 08001sqlclient_unable_to_establish_sqlconnection
- 08004sqlserver_rejected_establishment_of_sqlconnection
- 57P01admin_shutdown
- 53400configuration_limit_exceeded
- XX001data_corrupted
- XX002index_corrupted
- 25001active_sql_transaction
- 42P16invalid_table_definition
- P0001raise_exception
- 23P01exclusion_violation
- 23001restrict_violation
- 42P17invalid_object_definition
- 42710duplicate_object
- 22008datetime_field_overflow
- 22026string_data_length_mismatch
- 2201Binvalid_regular_expression
- 44000with_check_option_violation
- 40002transaction_integrity_constraint_violation
MySQL
- 1045Access denied for user (using password: YES/NO)(用户访问被拒绝(使用密码:YES/NO))
- 1062Duplicate entry for key(键的重复条目)
- 1213Deadlock found when trying to get lock; try restarting transaction(尝试获取锁时发现死锁;请尝试重新开始事务)
- 1205Lock wait timeout exceeded; try restarting transaction(超出锁等待超时;请尝试重新开始事务)
- 1040Too many connections(连接过多)
- 1064You have an error in your SQL syntax(SQL 语法错误)
- 1146Table doesn't exist(表不存在)
- 1054Unknown column in field list(字段列表中存在未知列)
- 2002Can't connect to local MySQL server through socket(无法通过 socket 连接到本地 MySQL 服务器)
- 2003Can't connect to MySQL server (TCP/IP)(无法连接到 MySQL 服务器(TCP/IP))
- 2006MySQL server has gone away(MySQL 服务器已断开)
- 1114The table is full(表已满)
- 1215Cannot add foreign key constraint(无法添加外键约束)
- 1451Cannot delete or update a parent row: a foreign key constraint fails(无法删除或更新父行:外键约束失败)
- 1452Cannot add or update a child row: a foreign key constraint fails(无法添加或更新子行:外键约束失败)
- 1366Incorrect string/integer value for column(列的字符串/整数值不正确)
- 1044Access denied for user to database(用户对数据库的访问被拒绝)
- 1264Out of range value for column(列的值超出范围)
- 1052Column 'x' in field list is ambiguous(字段列表中的列 'x' 不明确)
- 1136Column count doesn't match value count(列数与值数不匹配)
- 1048Column 'x' cannot be null(列 'x' 不能为 null)
- 1292Incorrect datetime value / truncated incorrect value(日期时间值不正确 / 截断了不正确的值)
- 1406Data too long for column(列的数据过长)
- 1071Specified key was too long; max key length is 767 bytes(指定的键过长;最大键长度为 767 字节)
- 1050Table already exists(表已存在)
- 1051Unknown table 'x'(未知表 'x')
- 1091Can't DROP 'x'; check that column/key exists(无法 DROP 'x';请检查该列/键是否存在)
- 1093You can't specify target table 'x' for update in FROM clause(不能在 FROM 子句中指定要更新的目标表 'x')
- 1305PROCEDURE does not exist(PROCEDURE 不存在)
- 1227Access denied; you need (at least one of) the PRIVILEGE(访问被拒绝;需要(至少一项)PRIVILEGE 权限)
- 3730Cannot drop table referenced by a foreign key constraint(无法删除被外键约束引用的表)
- 2013Lost connection to MySQL server during query(查询期间与 MySQL 服务器的连接丢失)
- 1153Got a packet bigger than 'max_allowed_packet' bytes(收到的数据包大于 'max_allowed_packet' 字节)
- 1969MariaDB: Query execution was interrupted (max_statement_time exceeded)(MariaDB:查询执行被中断(超出 max_statement_time))
- 1927MariaDB: ER_CONNECTION_KILLED: Connection was killed(连接已被终止)
- 1290ER_OPTION_PREVENTS_STATEMENT: running with the --read-only option(以 --read-only 选项运行)
- 1836ER_READ_ONLY_MODE: Running in read-only mode(以只读模式运行)
- 3819ER_CHECK_CONSTRAINT_VIOLATED: Check constraint is violated(违反 CHECK 约束)
- 1118ER_TOO_BIG_ROWSIZE: Row size too large(行大小过大)
- 1170ER_BLOB_KEY_WITHOUT_LENGTH: BLOB/TEXT column used in key specification without a key length(在键定义中使用 BLOB/TEXT 列但未指定键长度)
- 1592ER_BINLOG_UNSAFE_STATEMENT: Unsafe statement written to the binary log(不安全的语句被写入二进制日志)
- 3140ER_INVALID_JSON_TEXT: Invalid JSON text(无效的 JSON 文本)
- 1526ER_NO_PARTITION_FOR_GIVEN_VALUE: Table has no partition for value(表中没有对应该值的分区)
- 1049Unknown database 'name'(未知数据库 'name')
- 1364Field 'name' doesn't have a default value(字段 'name' 没有默认值)
- 1206The total number of locks exceeds the lock table size(锁的总数超过了锁表大小)
- 1236Got fatal error 1236 from master when reading data from binary log(从 master 读取二进制日志数据时收到致命错误 1236)
- 1129Host 'host' is blocked because of many connection errors(主机 'host' 因连接错误过多而被阻止)
- 1194Table 'name' is marked as crashed and should be repaired(表 'name' 被标记为已崩溃,应当修复)
- 1615Prepared statement needs to be re-prepared(预处理语句需要重新准备)
- 1553Cannot drop index needed in a foreign key constraint(无法删除外键约束所需的索引)
- 3948Loading local data is disabled; this must be enabled on both the client and server sides(加载本地数据已禁用;必须在客户端和服务器端同时启用)
- 1075Incorrect table definition; there can be only one auto column and it must be defined as a key(表定义不正确;只能有一个自增列,且必须将其定义为键)
- 1055Expression not in GROUP BY (only_full_group_by)(表达式不在 GROUP BY 中)
- 1267Illegal mix of collations(非法的排序规则混用)
- 1030Got error N from storage engine(从存储引擎收到错误 N)
- 1197Multi-statement transaction required more than 'max_binlog_cache_size'(多语句事务所需空间超过了 'max_binlog_cache_size')
- 1785Statement violates GTID consistency(语句违反 GTID 一致性)
- 3024Query execution was interrupted, maximum statement execution time exceeded(查询执行被中断,超出最大语句执行时间)
- 1298Unknown or incorrect time zone(未知或不正确的时区)
- 1418Function has none of DETERMINISTIC, NO SQL, or READS SQL DATA (binary logging enabled)(函数未声明 DETERMINISTIC、NO SQL 或 READS SQL DATA 中的任何一项)
- 1231Variable can't be set to the value of ...(变量不能设置为 ... 的值)
SQL Server
- 1205Transaction (Process ID) was deadlocked on lock resources with another process and has been chosen as the deadlock victim(事务(进程 ID)与另一个进程在锁资源上发生死锁,已被选为死锁牺牲者)
- 2627Violation of PRIMARY KEY / UNIQUE KEY constraint. Cannot insert duplicate key in object(违反 PRIMARY KEY / UNIQUE KEY 约束。不能在对象中插入重复键)
- 2601Cannot insert duplicate key row in object with unique index. The duplicate key value is ...(不能在具有唯一索引的对象中插入重复键行。重复键值为 ...)
- 547The INSERT/UPDATE/DELETE statement conflicted with the FOREIGN KEY / CHECK constraint(INSERT/UPDATE/DELETE 语句与 FOREIGN KEY / CHECK 约束冲突)
- 18456Login failed for user(用户登录失败)
- 8152String or binary data would be truncated(字符串或二进制数据将被截断)
- 2628String or binary data would be truncated in table, column ...; truncated value(表、列 ... 中的字符串或二进制数据将被截断;截断的值)
- 1222Lock request time out period exceeded(已超过锁请求超时时段)
- 9002The transaction log for database is full due to ...(数据库的事务日志已满,原因为 ...)
- 1105Could not allocate space for object in database because the filegroup is full(由于文件组已满,无法在数据库中为对象分配空间)
- 208Invalid object name(对象名无效)
- 229The SELECT/EXECUTE permission was denied on the object(拒绝了对对象的 SELECT/EXECUTE 权限)
- 4060Cannot open database requested by the login. The login failed(无法打开登录所请求的数据库。登录失败)
- 233A connection was successfully established with the server, but then an error occurred (no process is on the other end of the pipe)(已成功与服务器建立连接,但随后发生错误(管道的另一端上无任何进程))
- 823The operating system returned error to SQL Server during a read/write at offset in file (I/O error)(操作系统在文件的偏移量处读/写时向 SQL Server 返回了错误(I/O 错误))
- 824SQL Server detected a logical consistency-based I/O error (page corruption)(SQL Server 检测到基于逻辑一致性的 I/O 错误(页损坏))
- 701There is insufficient system memory in resource pool to run this query(资源池中的系统内存不足,无法运行此查询)
- 845Time-out occurred while waiting for buffer latch(等待缓冲区闩锁时超时)
- 3201Cannot open backup device. Operating system error (backup device error)(无法打开备份设备。操作系统错误(备份设备错误))
- 8134Divide by zero error encountered(遇到以零作除数错误)
- 245Conversion failed when converting the value to data type(将值转换为数据类型时失败)
- 515Cannot insert the value NULL into column(不能将值 NULL 插入列)
- 8115Arithmetic overflow error converting expression to data type(将表达式转换为数据类型时发生算术溢出错误)
- 512Subquery returned more than 1 value(子查询返回的值不止一个)
- 207Invalid column name(列名无效)
- 156Incorrect syntax near the keyword(关键字附近有语法错误)
- 2812Could not find stored procedure(找不到存储过程)
- 8623The query processor ran out of internal resources and could not produce a query plan(查询处理器耗尽了内部资源,无法生成查询计划)
- 4104The multi-part identifier could not be bound(无法绑定由多个部分组成的标识符)
- 2714There is already an object named in the database(数据库中已存在名为 ... 的对象)
- 601Could not continue scan with NOLOCK due to data movement(由于数据移动,无法继续以 NOLOCK 方式扫描)
- 50000用 RAISERROR 引发的自定义错误
- 3902The COMMIT TRANSACTION request has no corresponding BEGIN TRANSACTION(COMMIT TRANSACTION 请求没有对应的 BEGIN TRANSACTION)
- 1101Could not allocate a new page because of insufficient disk space in filegroup(文件组磁盘空间不足,无法分配新页)
- 3729Cannot DROP because it is being referenced by object(无法 DROP,因为它正被对象引用)
- 3961Snapshot isolation transaction failed because the object was modified by a DDL statement(快照隔离事务失败,因为对象已被 DDL 语句修改)
- 1785Introducing FOREIGN KEY constraint may cause cycles or multiple cascade paths(引入 FOREIGN KEY 约束可能导致循环或多重级联路径)
- 9421XML parsing: illegal xml character(XML 解析:非法 XML 字符)
- 15151Cannot find the object/principal because it does not exist or you do not have permission(找不到对象/主体,因为它不存在或您没有权限)
- 4834You do not have permission to use the bulk load statement(您没有使用大容量加载语句的权限)
- 10928Resource limit for the database has been reached (Azure SQL)(已达到数据库的资源限制)
- 40544The database has reached its size quota (Azure SQL)(数据库已达到大小配额)
- 40613Database is not currently available (Azure SQL)(数据库当前不可用)
- 102Incorrect syntax near 'token'('token' 附近有语法错误)
- 8114Error converting data type X to Y(将数据类型 X 转换为 Y 时出错)
- 1204The instance of the SQL Server Database Engine cannot obtain a LOCK resource(SQL Server 数据库引擎实例无法获取 LOCK 资源)
- 3906Failed to update database because the database is read-only(无法更新数据库,因为数据库为只读)
- 15023User already exists in the current database(用户在当前数据库中已存在)
- 18452Login failed. The login is from an untrusted domain and cannot be used with Windows authentication(登录失败。该登录名来自不受信任的域,不能用于 Windows 身份验证)
- 605Attempt to fetch logical page belongs to a different allocation unit(尝试获取的逻辑页属于另一个分配单元)
- 4922ALTER TABLE ALTER COLUMN failed because one or more objects access this column(ALTER TABLE ALTER COLUMN 失败,因为有一个或多个对象访问此列)
- 7202Could not find server 'name' in sys.servers(在 sys.servers 中找不到服务器 'name')
- 40501The service is currently busy. Retry the request after 10 seconds(服务当前繁忙。请在 10 秒后重试请求)
- 8645A time out occurred while waiting for memory resources to execute the query(等待执行查询所需的内存资源时超时)
- 8651Could not perform the operation because the requested memory grant was not available(无法执行操作,因为请求的内存授予不可用)
- 5061ALTER DATABASE failed because a lock could not be placed on database(ALTER DATABASE 失败,因为无法在数据库上加锁)
- 3702Cannot drop database because it is currently in use(无法删除数据库,因为它当前正在使用)
- 15138The database principal owns a schema in the database, and cannot be dropped(数据库主体在数据库中拥有架构,无法删除)
- 1934INSERT/UPDATE failed because the following SET options have incorrect settings(INSERT/UPDATE 失败,因为以下 SET 选项的设置不正确)
- 468Cannot resolve the collation conflict(无法解决排序规则冲突)
- 4864Bulk load data conversion error (type mismatch or invalid character)(大容量加载数据转换错误(类型不匹配或无效字符))
- 916The server principal is not able to access the database under the current security context(服务器主体无法在当前安全上下文中访问数据库)
MongoDB
- E11000E11000 duplicate key error collection(E11000 集合中的重复键错误)
- 11000DuplicateKey(错误代码 11000)
- 13Unauthorized(错误代码 13)
- 18AuthenticationFailed(错误代码 18)
- 11600InterruptedAtShutdown(错误代码 11600)
- 50MaxTimeMSExpired(错误代码 50)
- 251NoSuchTransaction(错误代码 251)
- 112WriteConflict(错误代码 112)
- 133FailedToSatisfyReadPreference(错误代码 133)
- 6HostUnreachable(错误代码 6)
- 89NetworkTimeout(错误代码 89)
- 262ExceededTimeLimit(错误代码 262)
- 292QueryExceededMemoryLimitNoDiskUseAllowed(错误代码 292)
- 26NamespaceNotFound(错误代码 26)
- 43CursorNotFound(错误代码 43)
- 211KeyNotFound(错误代码 211)
- 121DocumentValidationFailure
- 40ConflictingUpdateOperators
- 66ImmutableField(无法更新 _id)
- 2BadValue
- 14TypeMismatch
- 10334BSONObjectTooLarge
- 46LockBusy
- 96OperationFailed
- 72InvalidOptions
- 9FailedToParse
- 134ReadConcernMajorityNotAvailableYet
- 202NetworkInterfaceExceededTimeLimit
- 31 RoleNotFoundRole not found(未找到角色)
- 263 OperationNotSupportedInTransactionOperation not supported inside a multi-document transaction(多文档事务中不支持该操作)
- 20 IllegalOperationIllegal operation(非法操作)
- 48 NamespaceExistsNamespace (collection) already exists(命名空间(集合)已存在)
- 11601 InterruptedOperation was interrupted(操作被中断)
- 85 IndexOptionsConflictIndex already exists with different options / different name(索引已存在但选项不同/名称不同)
- 67 CannotCreateIndexCannot create index(无法创建索引)
- 27 IndexNotFoundIndex not found(未找到索引)
- 79 UnknownReplWriteConcernUnknown replica set write concern(未知的副本集写关注)
- 10107 NotWritablePrimarynot master / not writable primary(不是 master / 不是可写的主节点)
- 91 ShutdownInProgressThe server is in the process of shutting down(服务器正在关闭)
- 189 PrimarySteppedDownPrimary stepped down while operation was in progress(操作进行期间主节点已降级)
- 24 LockTimeoutOperation exceeded time limit waiting for a lock(操作等待锁时超出时间限制)
- 7 HostNotFoundCould not find host(找不到主机)
- 175 QueryPlanKilledQuery plan killed during execution(查询计划在执行期间被终止)
- 11602 InterruptedDueToReplStateChangeOperation interrupted due to a replication state change(操作因复制状态变化而被中断)
- 136 CappedPositionLostCapped collection position lost(固定集合位置丢失)
- 28 PathNotViableCannot use the part of the path to traverse the element(无法使用路径的一部分遍历元素)
- 216 ElectionInProgressElectionInProgress
- 225 TransactionTooOldTransactionTooOld
- 246 SnapshotUnavailableSnapshotUnavailable
- 257 TransactionTooLargeTransactionTooLarge
- 276 IndexBuildAbortedIndexBuildAborted
- 86 IndexKeySpecsConflictIndexKeySpecsConflict
- 166 CommandNotSupportedOnViewCommandNotSupportedOnView
- 168 InvalidPipelineOperatorInvalidPipelineOperator
- 118 NamespaceNotShardedNamespaceNotSharded
Redis
- WRONGTYPEWRONGTYPE Operation against a key holding the wrong kind of value(对持有错误类型值的键执行了操作)
- OOMOOM command not allowed when used memory > 'maxmemory'(已用内存 > 'maxmemory' 时不允许执行命令)
- NOAUTHNOAUTH Authentication required(需要认证)
- WRONGPASSWRONGPASS invalid username-password pair or user is disabled(用户名-密码组合无效或用户已禁用)
- READONLYREADONLY You can't write against a read only replica(不能对只读副本执行写入)
- MASTERDOWNMASTERDOWN Link with MASTER is down and replica-serve-stale-data is set to 'no'(与 MASTER 的连接已断开,且 replica-serve-stale-data 设为 'no')
- CLUSTERDOWNCLUSTERDOWN The cluster is down / Hash slot not served(集群已宕机 / 哈希槽未被服务)
- LOADINGLOADING Redis is loading the dataset in memory(Redis 正在将数据集加载到内存中)
- BUSYBUSY Redis is busy running a script. You can only call SCRIPT KILL or SHUTDOWN NOSAVE(Redis 正忙于运行脚本。只能调用 SCRIPT KILL 或 SHUTDOWN NOSAVE)
- MISCONFMISCONF Redis is configured to save RDB snapshots, but it's currently unable to persist to disk(Redis 已配置为保存 RDB 快照,但当前无法持久化到磁盘)
- CROSSSLOTCROSSSLOT Keys in request don't hash to the same slot(请求中的键未哈希到同一槽)
- MOVEDMOVED slot ip:port(集群重定向)
- ASKASK slot ip:port(集群重定向)
- NOSCRIPTNOSCRIPT No matching script. Please use EVAL(没有匹配的脚本。请使用 EVAL)
- EXECABORTEXECABORT Transaction discarded because of previous errors(由于之前的错误,事务已被丢弃)
- NOPERMNOPERM this user has no permissions to run the command or access one of the keys(该用户无权运行此命令或访问其中某个键)
- ERR value is not an integer or out of rangeERR value is not an integer or out of range(值不是整数或超出范围)
- ERR value is not a valid floatERR value is not a valid float(值不是有效的浮点数)
- ERR increment or decrement would overflowERR increment or decrement would overflow(递增或递减将导致溢出)
- ERR max number of clients reachedERR max number of clients reached(已达到最大客户端数)
- BUSYKEYBUSYKEY Target key name already exists(目标键名已存在)
- ERR no such keyERR no such key(键不存在)
- ERR DUMP payload version or checksum are wrongERR DUMP payload version or checksum are wrong(DUMP 负载的版本或校验和错误)
- NOREPLICASNOREPLICAS Not enough good replicas to write(没有足够的正常副本可供写入)
- ERR This instance has cluster support disabledERR This instance has cluster support disabled(此实例已禁用集群支持)
- ERR unknown subcommandERR unknown subcommand or wrong number of arguments(未知子命令或参数数量错误)
- ERR Client sent AUTH, but no password is setERR AUTH <password> called without any password configured for the default user (Redis 6+) / ERR Client sent AUTH, but no password is set (Redis <6)(调用了 AUTH,但服务器未配置密码)
- ERR DEBUG command not allowedDEBUG command not allowed(不允许使用 DEBUG 命令)
- ERR Can't save in background: fork failedBackground save failed: fork failed(后台保存失败:fork 失败)
- NOPROTO unsupported protocol versionUnsupported RESP protocol version(不支持的 RESP 协议版本)
- ERR Unknown option or number of arguments for CONFIG SETUnknown option or number of arguments for CONFIG SET (older versions: Unsupported CONFIG parameter)(CONFIG SET 的选项未知或参数数量错误)
- ERR MULTI calls can not be nestedMULTI calls can not be nested(MULTI 调用不能嵌套)
- ERR Lua script attempted to access nonexistent global variableLua script attempted to access a nonexistent global variable(Lua 脚本试图访问不存在的全局变量)
- ERR unknown commandUnknown command(未知命令)
- TRYAGAIN Multiple keys request during rehashing of slotMultiple keys request during rehashing of slot (cluster)(槽重新哈希期间的多键请求)
- ERR DISCARD without MULTIDISCARD without MULTI(未执行 MULTI 就调用 DISCARD)
- BUSYGROUP Consumer Group name already existsConsumer group already exists(消费者组已存在)
- NOGROUP No such key or consumer groupNo such key or consumer group in stream(stream 中不存在该键或消费者组)
- NOTBUSY No scripts in execution right nowNo scripts in execution right now(当前没有正在执行的脚本)
- DENIED Redis is running in protected modeRedis is running in protected mode(Redis 正以保护模式运行)
- ERR Can't execute '<cmd>': only (P|S)SUBSCRIBE / (P|S)UNSUBSCRIBE / PING / QUIT / RESET are allowed in this contextCommand not allowed in subscribe context(在订阅上下文中不允许该命令)
- ERR SELECT is not allowed in cluster modeSELECT is not allowed in cluster mode(集群模式下不允许 SELECT)
- ERR wrong number of arguments for commandWrong number of arguments for command(命令的参数数量错误)
- ERR Background save already in progressBackground save already in progress(后台保存已在进行中)
- ERR bit offset is not an integer or out of rangeBit offset is not an integer or out of range(位偏移量不是整数或超出范围)
- ERR Protocol error: invalid multibulk lengthProtocol error: invalid multibulk length(协议错误:无效的 multibulk 长度)
- ERR Number of keys can't be greater than number of argsEVAL/EVALSHA: numkeys exceeds argument count(EVAL/EVALSHA:numkeys 超过参数数量)
- ERR WATCH inside MULTI is not allowedWATCH inside MULTI is not allowed(不允许在 MULTI 中使用 WATCH)
- ERR WAIT cannot be used with replica instancesWAIT cannot be used with replica instances(WAIT 不能用于副本实例)
- ERR Background append only file rewriting already in progressAOF rewrite already in progress(AOF 重写已在进行中)
- IOERR error or timeout reading from target instanceMIGRATE: I/O error or timeout to target(MIGRATE:与目标之间发生 I/O 错误或超时)
- ERR Error compiling script (new function)Error compiling Lua script(编译 Lua 脚本出错)
- ERR FAILOVER requires connected replicas.FAILOVER requires connected replicas(FAILOVER 需要已连接的副本)
- ERR invalid expire time in 'set' commandinvalid expire time in SET(SET 中的过期时间无效)
Elasticsearch
- cluster_block_exceptionClusterBlockException[blocked by: [TOO_MANY_REQUESTS/12/disk usage exceeded flood-stage watermark, index has read-only-allow-delete block]] (before 7.x: FORBIDDEN/12/index read-only / allow delete (api))(磁盘使用超过 flood-stage 水位线,索引被设为 read-only-allow-delete)
- index_read_only_allow_deleteTOO_MANY_REQUESTS/12/disk usage exceeded flood-stage watermark, index has read-only-allow-delete block (legacy: FORBIDDEN/12/index read-only / allow delete (api))(磁盘使用超过 flood-stage 水位线,索引带有 read-only-allow-delete 块)
- high_disk_watermark_exceededhigh disk watermark [90%] exceeded / flood stage disk watermark [95%] exceeded(超过磁盘 high 水位线 [90%] / flood stage 水位线 [95%])
- circuit_breaking_exceptionCircuitBreakingException[[parent] Data too large, data for [<...>] would be [...], which is larger than the limit of [...]](数据过大,超过熔断器限制)
- mapper_parsing_exceptionmapper_parsing_exception: failed to parse field [...] of type [...](无法解析类型为 [...] 的字段 [...])
- strict_dynamic_mapping_exceptionstrict_dynamic_mapping_exception: mapping set to strict, dynamic introduction of [...] within [...] is not allowed(mapping 设为 strict,不允许动态添加字段)
- illegal_argument_exception_fielddataillegal_argument_exception: Fielddata is disabled on text fields by default. Set fielddata=true on [your_field] in order to load fielddata in memory(text 字段默认禁用 fielddata)
- search_phase_execution_exceptionsearch_phase_execution_exception: all shards failed / Failed to execute phase [query](所有分片均失败 / 执行 [query] 阶段失败)
- too_many_clausestoo_many_clauses: maxClauseCount is set to 1024 (query contains too many clauses)(查询包含的子句过多)
- version_conflict_engine_exceptionversion_conflict_engine_exception: [_doc][id]: version conflict, current version [x] is different than the one provided [y] (HTTP 409)(版本冲突,当前版本与提供的版本不同)
- document_missing_exceptiondocument_missing_exception: [_doc][id]: document missing(文档不存在)
- index_not_found_exceptionindex_not_found_exception: no such index [index_name] (HTTP 404)(索引不存在)
- resource_already_exists_exceptionresource_already_exists_exception: index [index_name/uuid] already exists (HTTP 400)(索引已存在)
- cluster_health_redcluster health status: RED / unassigned shards(集群健康状态:RED / 未分配的分片)
- no_shard_available_action_exceptionno_shard_available_action_exception: No shard available for [...](没有可用的分片)
- es_rejected_execution_exceptiones_rejected_execution_exception: rejected execution of ... on ... (queue capacity ...) (HTTP 429)(线程池队列已满,执行被拒绝)
- master_not_discovered_exceptionmaster_not_discovered_exception / MasterNotDiscoveredException(未发现 master 节点)
- security_exceptionsecurity_exception: unable to authenticate / action [...] is unauthorized for user [...] (HTTP 401/403)(无法认证 / 用户无权执行该操作)
- validation_exceptionvalidation_exception / illegal_argument_exception: Validation Failed: ...(校验失败)
- task_cancelled_exceptiontask_cancelled_exception: Task was cancelled / TaskCancelledException(任务已被取消)
- action_request_validation_exceptionaction_request_validation_exception
- index_closed_exceptionindex_closed_exception
- unavailable_shards_exceptionunavailable_shards_exception
- query_shard_exceptionquery_shard_exception
- script_exceptionscript_exception
- number_format_exceptionnumber_format_exception
- connect_transport_exceptionconnect_transport_exception
- repository_missing_exceptionrepository_missing_exception
- concurrent_snapshot_execution_exceptionconcurrent_snapshot_execution_exception
- invalid_index_name_exceptioninvalid_index_name_exception
- resource_not_found_exceptionresource_not_found_exception
- process_cluster_event_timeout_exceptionprocess_cluster_event_timeout_exception
- search_context_missing_exceptionNo search context found for id (scroll expired)(找不到该 id 的搜索上下文,scroll 已过期)
- aliases_not_found_exceptionAliases missing(别名不存在)
- snapshot_missing_exceptionSnapshot is missing(快照不存在)
- index_template_missing_exceptionIndex template is missing(索引模板不存在)
- settings_exceptionInvalid settings(无效的设置)
- shard_not_found_exceptionShard not found(未找到分片)
- not_x_content_exceptionCompressor detection error / body is not valid content(压缩格式检测错误/请求体不是有效内容)
- document_source_missing_exceptionDocument source is missing(文档 source 不存在)
- node_not_connected_exceptionNode is not connected(节点未连接)
- receive_timeout_transport_exceptionRequest timed out waiting for a response from another node(等待另一节点响应时请求超时)
- routing_missing_exceptionRouting value is required for this document(此文档需要 routing 值)
- too_many_buckets_exceptionTrying to create too many buckets(试图创建过多的桶)
- shard_lock_obtain_failed_exceptionObtaining shard lock timed out(获取分片锁超时)
- parsing_exceptionFailed to parse the search request / query DSL(无法解析搜索请求/query DSL)
- max_bytes_length_exceeded_exceptionDocument contains at least one immense term that is too long(文档中至少包含一个过长的超大词项)
- illegal_argument_exception_total_fieldsLimit of total fields has been exceeded(已超出字段总数限制)
- verification_exceptionverification_exception: Found N problem(s) — Unknown column / Unknown index (ES|QL, SQL, EQL)(验证异常:发现 N 个问题 —— 未知列/未知索引)
- bind_transport_exceptionbind_transport_exception (Address already in use)(地址已被占用)
- translog_corrupted_exceptiontranslog_corrupted_exception
- recovery_engine_exceptionrecovery_engine_exception
- snapshot_in_progress_exceptionsnapshot_in_progress_exception
- repository_verification_exceptionrepository_verification_exception
- reduce_search_phase_exceptionreduce_search_phase_exception
- aggregation_execution_exceptionaggregation_execution_exception
- failed_node_exceptionfailed_node_exception
- elasticsearch_parse_exceptionelasticsearch_parse_exception