首批通过分布式安全可靠测评,为关键业务系统打造
OBE-00000 ~ OBE-00999
更新时间:2026-07-29 11:06:49
功能适用性
该内容仅适用于 OceanBase 数据库 Oracle 模式。
OBE-00000:PX DOP downgrade from %ld to %ld
OceanBase 错误码:5780
SQLSTATE:HY000
错误原因:正常退出。
OBE-00000:parallel_max_servers downgrade due to insufficent cpu resource from %ld to %ld. deprecated
OceanBase 错误码:5781
SQLSTATE:HY000
错误原因:正常退出。
说明
当前版本,该错误码已不再使用。
OBE-00001:unique constraint \'%s\' for key \'%.*s\' violated
OceanBase 错误码:5024
SQLSTATE:23000
错误原因:
UPDATE或INSERT语句尝试插入重复的键。解决方式:去除
UNIQUE约束或不插入该键。
相关问题案例:
OBE-00001:unique constraint (%.*s) violated
OceanBase 错误码:5595
SQLSTATE:23000
错误原因:
UPDATE或INSERT语句尝试插入重复的键。解决方式:去除
UNIQUE约束或不插入该键。
OBE-00001:unique constraint violated, column '%.*s' with value '%.*s' in %s
OceanBase 错误码:5334
SQLSTATE:HY000
错误原因:
UPDATE或INSERT语句尝试插入重复的键。解决方式:去除
UNIQUE约束或不插入该键。
OBE-00001:unique constraint (%.*s) violated
OceanBase 错误码:5562
SQLSTATE:HY000
错误原因:
UPDATE或INSERT语句尝试插入重复的键。解决方式:去除
UNIQUE约束或不插入该键。
OBE-00036:maximum number of recursive SQL levels (%ld) exceeded
OceanBase 错误码:9697
SQLSTATE:HY000
错误原因:超过指定的递归 SQL 级别数。
解决方式:删除递归 SQL 或者递归触发器。
说明
该错误码从 V4.0.0 版本开始引入。
OBE-00051:timeout occurred while waiting for a resource
OceanBase 错误码:5848
SQLSTATE:HY000
错误原因:通常是由 Dead 实例引起。
解决方式:检查是否有 Dead 或未恢复的实例。如果有,恢复即可。
OBE-00054:resource busy and acquire with NOWAIT specified or timeout expired
OceanBase 错误码:6006
SQLSTATE:HY000
错误原因:资源正忙。
解决方式:重试或者增大超时时间。
OBE-00185:invalid argument for %s call
- OceanBase 错误码:5488
- SQLSTATE:HY000
- 错误原因:%s 调用的参数无效。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00060:deadlock detected while waiting for resource
OceanBase 错误码:4101
SQLSTATE:HY000
错误原因:在等待资源时检测到死锁。
解决方式:查看 Trace 文件并查看所涉及的事务和资源。如有必要,请重试。
OBE-00060:internal error code, arguments: -6005, Try lock row conflict
- OceanBase 错误码:6005
- SQLSTATE:HY000
- 错误原因:更新操作加锁失败,向上层返回该错误码并重试。
- 解决方式:内部错误码。请联系技术支持人员协助排查。
说明
该错误码是当前版本中不会被 PL 异常处理机制捕获的异常。
OBE-00060:internal error code, arguments: -4012, Timeout, query has reached the maximum query timeout: %ld(us), maybe you can adjust the session variable ob_query_timeout or query_timeout hint, and try again
- OceanBase 错误码:4012
- SQLSTATE:HY000
- 错误原因:执行超时。
- 解决方式:
- 通过性能调优减少耗时。
- 设置更大的超时时间。
- 请联系技术支持人员协助排查。
说明
该错误码是当前版本中不会被 PL 异常处理机制捕获的异常。
OBE-00060:internal error code, arguments: -4013, No memory or reach tenant memory limit
- OceanBase 错误码:4013
- SQLSTATE:HY000
- 错误原因:内存分配失败。
- 物理内存耗尽。
- 单次分配内存大于 4G。
- CTX、Tenant、Server 的内存占用达到上限。
- 解决方式:请联系技术支持人员协助排查。
说明
该错误码是当前版本中不会被 PL 异常处理机制捕获的异常。
OBE-00060:internal error code, arguments: -4016, Internal error
- OceanBase 错误码:4016
- SQLSTATE:HY000
- 错误原因:内部错误码。
- 解决方式:内部错误码。请联系技术支持工程师协助排查。
说明
该错误码是当前版本中不会被 PL 异常处理机制捕获的异常。
OBE-00060:internal error code, arguments: -4377, fatal internal error
- OceanBase 错误码:4377
- SQLSTATE:HY000
- 错误原因:OceanBase 数据库发生了不符合预期的内部错误,可能是程序执行异常。
- 解决方式:请联系技术支持人员协助排查。
说明
该错误码是当前版本中不会被 PL 异常处理机制捕获的异常。
OBE-00060: Migrate tx data not continues
oceanbase 错误码:4408
SQLSTATE:HY000
错误原因:迁移的源端事务数据表回收了,目的端拷贝时发现事务数据表不连续,失败报错,进行重试。
解决方式:一般情况下重试后可以成功,如果连续失败,请联系 Oceanbase 技术支持人员协助排查。
说明
对于 V4.3.5 版本,该错误码从 V4.3.5 BP2 版本开始引入。
OBE-00060:internal error code, arguments: -5065, Query execution was interrupted
- OceanBase 错误码:5065
- SQLSTATE:HY000
- 错误原因:查询被终止。
- 解决方式:联系系统管理员或数据库管理员。
说明
该错误码是当前版本中不会被 PL 异常处理机制捕获的异常。
OBE-00060:internal error code, arguments: -6220, SQL sequence illegal
- OceanBase 错误码:6220
- SQLSTATE:HY000
- 错误原因:SQL 语句顺序不合法。
- 解决方式:内部错误码。请联系技术支持人员协助排查。
说明
该错误码是当前版本中不会被 PL 异常处理机制捕获的异常。
OBE-00224:object '%.*s' must be of type function or array to be used this way
OceanBase 错误码:9765
SQLSTATE:HY000
错误原因:对象 '%.*s' 必须是函数或数组类型才能这样使用。
解决方法:检查对象的类型,并根据需要进行调整。
说明
该错误码从 V4.3.0 版本开始引入。
OBE-00431:bulk SQL attributes must use a single index
OceanBase 错误码:9838
SQLSTATE:HY000
错误原因:批量 SQL 属性必须使用单个索引。
解决方法:解决此问题的核心是确保在引用批量集合的属性时,集合内仅包含一个索引变量。
说明
该错误码从 V4.4.2 版本开始引入。
OBE-00437:FORALL bulk index cannot be used in INTO clause
OceanBase 错误码:9836
SQLSTATE:HY000
错误原因:
FORALL批量索引不能用于INTO子句。解决方法:解决此问题的核心是正确分离数据获取与数据修改的逻辑,并采用合法的批量操作语法。
说明
该错误码从 V4.4.2 版本开始引入。
OBE-00440:FORALL bulk IN-bind variables cannot be used here
OceanBase 错误码:9837
SQLSTATE:HY000
错误原因:
FORALL批量输入绑定变量不能在此处使用。解决方法:避免在
USING子句中直接引用需要被FORALL批量处理的集合元素变量,而应将值直接内联到动态 SQL 字符串中,或采用符合规范的绑定方式。
说明
该错误码从 V4.4.2 版本开始引入。
OBE-00600: internal error code, arguments: -4410, ls not in learner list
OceanBase 错误码:4410
SQLSTATE:HY000
错误原因:迁移复制/Rebuild 选择源端的过程中,目的端日志流副本不在 Learner List 中,可能是目的端日志流副本被删除。
解决方式:等待对应任务自动重试后可解决。
说明
对于 V4.4.x 版本,该错误码从 V4.4.1 版本开始引入。
OBE-00600:arbitration service does not exist
OceanBase 错误码:4747
SQLSTATE:HY000
错误原因:集群尚未配置仲裁服务的地址。
解决方式:不支持在未配置仲裁服务地址的情况下做仲裁相关操作。可以通过 OCP 或执行 SQL 命令
alter system add arbitration service‘$svr_ip:$svr_port’;为集群添加仲裁服务地址。
OBE-00600:arbitration service already exist
OceanBase 错误码:4748
SQLSTATE:HY000
错误原因:集群已经存在一个有效的仲裁服务地址。
解决方式:一个集群不支持同时配置多个仲裁服务。
EOBE-00600: wait degration finished timeout
OceanBase 错误码:4751
SQLSTATE:HY000
错误原因:Stop Server 时等待租户降级超时。
解决方式:重新发起 Stop Server 命令直到成功。
OBE-00600:unknown SET option '%s'
- OceanBase 错误码:4764
- SQLSTATE:HY000
- 错误原因:在设置参数时,指定了未知的 SET 选项。
- 解决方法:检查 SET 命令中指定的选项是否正确,确保没有拼写错误或语法错误。
说明
该错误码从 V4.2.0 版本开始引入。
OBE-00600:Cannot create a JSON value from a string
OceanBase 错误码:5415
SQLSTATE:22032
错误原因:内部错误码。
解决方式:内部错误码。请联系技术支持工程师协助排查。
OBE-00600:Invalid JSON character data provided to function
OceanBase 错误码:5416
SQLSTATE:22032
错误原因:内部错误码。
解决方式:内部错误码。请联系技术支持工程师协助排查。
OBE-00600:Invalid data type for JSON data in argument %u to function %s; a JSON string or JSON type is required
OceanBase 错误码:5417
SQLSTATE:22032
错误原因:内部错误码。
解决方式:内部错误码。请联系技术支持工程师协助排查。
OBE-00600:Cannot CAST value to JSON
OceanBase 错误码:5418
SQLSTATE:22032
错误原因:内部错误码。
解决方式:内部错误码。请联系技术支持工程师协助排查。
OBE-00600:A path expression must be encoded in the utf8 character set
OceanBase 错误码:5419
SQLSTATE:22032
错误原因:内部错误码。
解决方式:内部错误码。请联系技术支持工程师协助排查。
OBE-00600:In this situation, path expressions may not contain the * and ** tokens
OceanBase 错误码:5420
SQLSTATE:22032
错误原因:内部错误码。
解决方式:内部错误码。请联系技术支持工程师协助排查。
OBE-00600:The JSON value is too big to be stored in a JSON column
OceanBase 错误码:5421
SQLSTATE:22032
错误原因:内部错误码。
解决方式:内部错误码。请联系技术支持工程师协助排查。
OBE-00600:JSON column '%.*s' cannot be used in key specification
OceanBase 错误码:5423
SQLSTATE:22032
错误原因:内部错误码。
解决方式:内部错误码。请联系技术支持工程师协助排查。
OBE-00600:The path expression is not allowed in this context
OceanBase 错误码:5424
SQLSTATE:22032
错误原因:内部错误码。
解决方式:内部错误码。请联系技术支持工程师协助排查。
OBE-00600:The oneOrAll argument may take these values: \'one\' or \'all\'
OceanBase 错误码:5425
SQLSTATE:22032
错误原因:内部错误码。
解决方式:内部错误码。请联系技术支持工程师协助排查。
OBE-00600:Out of range JSON value for CAST
OceanBase 错误码:5426
SQLSTATE:22032
错误原因:内部错误码。
解决方式:内部错误码。请联系技术支持工程师协助排查。
OBE-00600:Invalid JSON value for CAST
OceanBase 错误码:5427
SQLSTATE:22032
错误原因:内部错误码。
解决方式:内部错误码。请联系技术支持工程师协助排查。
OBE-00600:The JSON document exceeds the maximum depth
OceanBase 错误码:5428
SQLSTATE:22032
错误原因:内部错误码。
解决方式:内部错误码。请联系技术支持工程师协助排查。
OBE-00600:Invalid default value for \'%.*s\'
OceanBase 错误码:5430
SQLSTATE:22032
错误原因:内部错误码。
解决方式:内部错误码。请联系技术支持工程师协助排查。
OBE-00600:A path expression is not a path to a cell in an array
OceanBase 错误码:5431
SQLSTATE:22032
错误原因:内部错误码。
解决方式:内部错误码。请联系技术支持工程师协助排查。
OBE-40600:JSON_EQUAL used outside predicate
- OceanBase 错误码:5448
- SQLSTATE:42000
- 错误原因:在谓词外部使用了 JSON_EQUAL。
- 解决方法:在谓词中使用 JSON_EQUAL,例如将其嵌入 CASE 表达式中。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:auto increment service busy
OceanBase 错误码:5794
SQLSTATE:HY000
错误原因:内部错误码。
解决方式:内部错误码。请联系技术支持工程师协助排查。
OBE-00600:rowid type mismatch, expect %.*s, got %.*s"
OceanBase 错误码:5870
SQLSTATE:HY000
错误原因:内部错误码。
解决方式:内部错误码。请联系技术支持工程师协助排查。
OBE-00600:rowid num mismatch, expect %ld, actual %ld
OceanBase 错误码:5871
SQLSTATE:HY000
错误原因:内部错误码。
解决方式:内部错误码。请联系技术支持工程师协助排查。
OBE-00600: internal error code, arguments: -7124, partitions are already balanced, %s
OceanBase 错误码:7124
SQLSTATE:HY000
错误原因:在尝试执行某个分区均衡操作时,分区已经处于均衡状态。
说明
- 在 V4.3.x 版本中,该错误码从 V4.3.2 版本开始引入。
- 在 V4.2.x 版本中,该错误码从 V4.2.4 版本开始引入。
OBE-00600:Binary geometry function given two geometries of different srids.Binary geometry function %s given two geometries of different srids: %u and %u, which should have been identical
- OceanBase 错误码:7201
- SQLSTATE:HY000
- 错误原因:二进制几何函数给出了两个不同 Srids : %u and %u,它们应该是相同的。作为参数传递给空间函数的几何值必须具有相同的 SRID 值。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:Calling geometry function with unsupported types of arguments.Calling geometry function %s with unsupported types of arguments
- OceanBase 错误码:7202
- SQLSTATE:HY000
- 错误原因:使用不支持的参数类型调用几何函数 %s。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:Unknown GIS error occurred in function.Unknown GIS error occurred in function %s
- OceanBase 错误码:7203
- SQLSTATE:HY000
- 错误原因:函数 %s 中发生未知的 GIS 错误。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:Unknown exception caught in GIS function.Unknown exception caught in GIS function %s
- OceanBase 错误码:7204
- SQLSTATE:HY000
- 错误原因:空间函数 %s 中捕获到未知异常。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:Invalid GIS data provided to function.Invalid GIS data provided to function %s
- OceanBase 错误码:7205
- SQLSTATE:22023
- 错误原因:提供给函数 %s 的无效空间数据。使用未识别为有效几何值的参数调用空间函数。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:The geometry has no data in function.The geometry has no data in function %s
- OceanBase 错误码:7206
- SQLSTATE:HY000
- 错误原因:几何在函数 %s 中没有数据。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:Unable to calculate centroid because geometry is empty in function.Unable to calculate centroid because geometry is empty in function %s
- OceanBase 错误码:7207
- SQLSTATE:HY000
- 错误原因:无法计算质心,因为函数 %s 中的几何图形为空。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:Geometry overlay calculation error: geometry data is invalid in function.Geometry overlay calculation error: geometry data is invalid in function %s
- OceanBase 错误码:7208
- SQLSTATE:HY000
- 错误原因:几何叠加计算错误,函数 %s 中的几何数据无效。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:Geometry turn info calculation error: geometry data is invalid in function.Geometry turn info calculation error: geometry data is invalid in function %s
- OceanBase 错误码:7209
- SQLSTATE:HY000
- 错误原因:几何转向信息计算错误,几何数据在函数 %s 中无效。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:Analysis procedures of intersection points interrupted unexpectedly in function.Analysis procedures of intersection points interrupted unexpectedly in function %s
- OceanBase 错误码:7210
- SQLSTATE:HY000
- 错误原因:交点分析过程在函数 %s 中意外中断。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:Unknown exception thrown in function.Unknown exception thrown in function %s
- OceanBase 错误码:7211
- SQLSTATE:HY000
- 错误原因:函数 %s 中抛出的未知异常。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:Geometry byte string must be little endian
- OceanBase 错误码:7212
- SQLSTATE:HY000
- 错误原因:几何字节字符串必须是小端序。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:Do not support online operation on table with GIS index
- OceanBase 错误码:7213
- SQLSTATE:HY000
- 错误原因:不支持对具有空间索引的表进行在线操作。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:Inconsistent intersection points.Inconsistent intersection points
- OceanBase 错误码:7214
- SQLSTATE:HY000
- 错误原因:不一致的交叉点。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:Parameter exceeds the maximum number of points in a geometryin function.Parameter %s exceeds the maximum number of points in a geometry (%lu) in function %s
- OceanBase 错误码:7215
- SQLSTATE:HY000
- 错误原因:参数 %s 超过函数 %s 中几何图形 (%lu) 的最大点数。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:value is a geometry of unexpected type.%.64s value is a geometry of unexpected type %.64s in %.64s
- OceanBase 错误码:7216
- SQLSTATE:22S01
- 错误原因:%s 值是 %s 中意外类型 %s 的几何图形。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:Can't parse the spatial reference system definition of SRID.Can't parse the spatial reference system definition of SRID %u
- OceanBase 错误码:7217
- SQLSTATE:SR002
- 错误原因:无法解析 SRID %u 的空间参考系统定义。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:The spatial reference system definition for SRID does not specify the mandatory (EPSG) projection parameter.The spatial reference system definition for SRID %u does not specify the mandatory %s (EPSG %u) projection parameter
- OceanBase 错误码:7218
- SQLSTATE:SR003
- 错误原因:SRID %u 的空间参考系统定义未指定强制性 %s (EPSG %u) 投影参数。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:There's no spatial reference system with SRID.There's no spatial reference system with SRID %u
- OceanBase 错误码:7219
- SQLSTATE:01000
- 错误原因:没有 SRID %u 的空间参考系统。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:Function %s is only defined for Cartesian spatial reference systems, but one of its arguments is in SRID %u, which is not Cartesian.Function %s is only defined for Cartesian spatial reference systems, but one of its arguments is in SRID %u, which is not Cartesian
- OceanBase 错误码:7220
- SQLSTATE:22S00
- 错误原因:函数 %s 仅为笛卡尔空间参考系统定义,但其参数之一在 SRID %u 中,这不是笛卡尔空间参考系统。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:Function is only defined for Cartesian spatial reference systems, but one of its arguments is in SRID, which has not been defined.Function %s is only defined for Cartesian spatial reference systems, but one of its arguments is in SRID %u, which has not been defined
- OceanBase 错误码:7221
- SQLSTATE:SR001
- 错误原因:函数 %s 仅为笛卡尔空间参考系统定义,但其参数之一在尚未定义的 SRID %u 中。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:There's no spatial reference system with SRID.There's no spatial reference system with SRID %u
- OceanBase 错误码:7222
- SQLSTATE:SR001
- 错误原因:没有 SRID %u 的空间参考系统。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:There's no spatial reference system with SRID. The axis order is unknown.There's no spatial reference system with SRID %u. The axis order is unknown
- OceanBase 错误码:7223
- SQLSTATE:01000
- 错误原因:没有 SRID %u 的空间参考系统。轴顺序未知。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:It has not been implemented for geographic spatial reference systems.%.192s(%.80s) has not been implemented for geographic spatial reference systems
- OceanBase 错误码:7224
- SQLSTATE:22S00
- 错误原因:%s(%s) 尚未针对地理空间参考系统实施。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:The SRID of the geometry does not match the SRID of the column. The SRID of the geometry is %lu, but the SRID of the column is %lu. Consider changing the SRID of the geometry or the SRID property of the column
- OceanBase 错误码:7225
- SQLSTATE:HY000
- 错误原因:几何的 SRID 与列 '%s' 的 SRID 不匹配。几何的 SRID 是 %lu,但列的 SRID 是 %lu。考虑更改几何的 SRID 或列的 SRID 属性。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:The SRID specification on the column cannot be changed because there is a spatial index on the column.The SRID specification on the column '%.64s' cannot be changed because there is a spatial index on the column. Please remove the spatial index before altering the SRID specification
- OceanBase 错误码:7226
- SQLSTATE:HY000
- 错误原因:无法更改列 '%s' 上的 SRID 规范,因为该列上有空间索引。请在更改 SRID 规范之前删除空间索引。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:The spatial index on column will not be used by the query optimizer since the column does not have an SRID attribute.The spatial index on column '%.64s' will not be used by the query optimizer since the column does not have an SRID attribute. Consider adding an SRID attribute to the column
- OceanBase 错误码:7227
- SQLSTATE:HY000
- 错误原因:查询优化器不会使用列“%s”上的空间索引,因为该列没有 SRID 属性。考虑将 SRID 属性添加到列中。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:Function is only defined for SRID 0 and SRID 4326.Function %.192s is only defined for SRID 0 and SRID 4326
- OceanBase 错误码:7228
- SQLSTATE:22S00
- 错误原因:函数 %s 仅为 SRID 0 和 SRID 4326 定义。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:It has not been implemented for Cartesian spatial reference systems.%.192s(%.80s) has not been implemented for Cartesian spatial reference systems
- OceanBase 错误码:7229
- SQLSTATE:22S00
- 错误原因:%s(%s) 尚未针对笛卡尔空间参考系统实现。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:It has not been implemented for projected spatial reference systems.%.192s(%.80s) has not been implemented for projected spatial reference systems
- OceanBase 错误码:7230
- SQLSTATE:22S00
- 错误原因:%s(%s) 尚未针对投影空间参考系统实施。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:Missing mandatory attribute.Missing mandatory attribute %s
- OceanBase 错误码:7231
- SQLSTATE:SR006
- 错误原因:缺少强制属性 %s。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:Multiple definitions of attribute.Multiple definitions of attribute %s
- OceanBase 错误码:7232
- SQLSTATE:SR006
- 错误原因:属性 %s 的多个定义。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:The spatial reference system name can't be an empty string or start or end with whitespace
- OceanBase 错误码:7233
- SQLSTATE:SR006
- 错误原因:空间参考系统名称不能为空字符串,也不能以空格开头或结尾。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:The organization name can't be an empty string or start or end with whitespace
- OceanBase 错误码:7234
- SQLSTATE:SR006
- 错误原因:组织名称不能为空字符串,也不能以空格开头或结尾。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:There is already a spatial reference system with SRID.There is already a spatial reference system with SRID %u
- OceanBase 错误码:7235
- SQLSTATE:SR004
- 错误原因:已经存在 SRID 为 %u 的空间参考系统。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:There is already a spatial reference system with SRID.There is already a spatial reference system with SRID %u
- OceanBase 错误码:7236
- SQLSTATE:01S00
- 错误原因:已经存在 SRID 为 %u 的空间参考系统。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:SRID 0 is not modifiable
- OceanBase 错误码:7237
- SQLSTATE:SR000
- 错误原因:SRID 0 不可修改。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:The SRID range has been reserved for system use. SRSs in this range may be added, modified or removed without warning during upgrade.The SRID range [%u, %u] has been reserved for system use. SRSs in this range may be added, modified or removed without warning during upgrade
- OceanBase 错误码:7238
- SQLSTATE:01S01
- 错误原因:SRID 范围 [%u, %u] 已保留供系统使用。在升级过程中,可能会在没有警告的情况下添加、修改或删除此范围内的 SRS。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:Can't modify SRID. There is at least one column depending on it.Can't modify SRID %u. There is at least one column depending on it
- OceanBase 错误码:7239
- SQLSTATE:SR005
- 错误原因:无法修改 SRID %u。至少有一列取决于它。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:Invalid character in attribute.Invalid character in attribute %s
- OceanBase 错误码:7240
- SQLSTATE:SR006
- 错误原因:属性 %s 中的字符无效。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:Attribute is too long.Attribute %s is too long. The maximum length is %u characters
- OceanBase 错误码:7241
- SQLSTATE:SR006
- 错误原因:属性 %s 太长。最大长度为 %u 个字符。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:Function is only defined for geographic spatial reference systems, but one of its arguments is in SRID, which is not geographic.Function %s is only defined for geographic spatial reference systems, but one of its arguments is in SRID %u, which is not geographic
- OceanBase 错误码:7242
- SQLSTATE:22S00
- 错误原因:函数 %s 仅为地理空间参考系统定义,但其参数之一在 SRID %u 中,这不是地理。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:Function encountered a polygon that was too large. Polygons must cover less than half the planet.Function %s encountered a polygon that was too large. Polygons must cover less than half the planet
- OceanBase 错误码:7243
- SQLSTATE:22023
- 错误原因:函数 %s 遇到一个太大的多边形。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:Spatial indexes can't be primary or unique indexes
- OceanBase 错误码:7244
- SQLSTATE:HY000
- 错误原因:空间索引不能是主索引或唯一索引。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:The index type is not supported for spatial indexes.The index type %.20s is not supported for spatial indexes
- OceanBase 错误码:7245
- SQLSTATE:HY000
- 错误原因:空间索引不支持索引类型 %s。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:A parameter of function contains a geometry with longitude, which is out of range.A parameter of function %.192s contains a geometry with longitude %f, which is out of range. It must be within (%f, %f]
- OceanBase 错误码:7246
- SQLSTATE:22S02
- 错误原因:函数 %s 的参数包含经度为 %f 的几何图形,超出范围。它必须在 (%f, %f] 之内。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:A parameter of function contains a geometry with latitude, which is out of range.A parameter of function %.192s contains a geometry with latitude %f, which is out of range. It must be within [%f, %f]
- OceanBase 错误码:7247
- SQLSTATE:22S03
- 错误原因:函数 %s 的参数包含纬度为 %f 的几何图形,超出范围。它必须在 [%f, %f] 之内。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:The spatial reference system definition for SRID specifies invalid geographic axes. One axis must be NORTH or SOUTH and the other must be EAST or WEST.he spatial reference system definition for SRID %u specifies invalid geographic axes '%.20s' and '%.20s'. One axis must be NORTH or SOUTH and the other must be EAST or WEST
- OceanBase 错误码:7248
- SQLSTATE:SR002
- 错误原因:SRID %u 的空间参考系统定义指定了无效的地理轴“%s”和“%s”。一个轴必须是 NORTH 或 SOUTH,另一个必须是 EAST 或 WEST。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:The spatial reference system definition for SRID specifies invalid geographic axes. One axis must be NORTH or SOUTH and the other must be EAST or WEST.he spatial reference system definition for SRID %u specifies invalid geographic axes '%.20s' and '%.20s'. One axis must be NORTH or SOUTH and the other must be EAST or WEST
- OceanBase 错误码:7249
- SQLSTATE:SR002
- 错误原因:SRID %u 的空间参考系统定义指定了无效的地理轴“%s”和“%s”。一个轴必须是 NORTH 或 SOUTH,另一个必须是 EAST 或 WEST。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:The inverse flattening must be larger than 1.0, or 0.0 if the ellipsoid is a sphere
- OceanBase 错误码:7250
- SQLSTATE:SR002
- 错误原因:逆展平必须大于 1.0,如果椭圆体是球体,则为 0.0。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:The angular unit conversion factor must be a positive number
- OceanBase 错误码:7251
- SQLSTATE:SR002
- 错误原因:角度单位转换因子必须是正数。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:The prime meridian must be within (*180, 180] degrees, specified in the SRS angular unit
- OceanBase 错误码:7252
- SQLSTATE:SR002
- 错误原因:本初子午线必须在 (*180, 180] 度内,以 SRS 角度单位指定。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:Transformation from SRID is not supported.Transformation from SRID %u is not supported
- OceanBase 错误码:7253
- SQLSTATE:22S00
- 错误原因:不支持来自 SRID %u 的转换。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:Transformation to SRID is not supported.Transformation to SRID %u is not supported
- OceanBase 错误码:7254
- SQLSTATE:22S00
- 错误原因:不支持转换为 SRID %u。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:Transformation from SRID %u is not supported. The spatial reference system has no TOWGS84 clause
- OceanBase 错误码:7255
- SQLSTATE:22S00
- 错误原因:不支持来自 SRID %u 的转换。空间参考系统没有 TOWGS84 子句。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:Transformation to SRID %u is not supported. The spatial reference system has no TOWGS84 clause
- OceanBase 错误码:7256
- SQLSTATE:22S00
- 错误原因:不支持转换为 SRID %u。空间参考系统没有 TOWGS84 子句。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:Cannot create a functional index on a function that returns a JSON or GEOMETRY value
- OceanBase 错误码:7257
- SQLSTATE:42000
- 错误原因:无法在返回 JSON 或 GEOMETRY 值的函数上创建函数索引。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:Spatial functional index is not supported
- OceanBase 错误码:7258
- SQLSTATE:HY000
- 错误原因:不支持空间功能索引。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:The geometry passed to function is in SRID 0, which doesn't specify a length unit. Can't convert.The geometry passed to function %s is in SRID 0, which doesn't specify a length unit. Can't convert to '%s'
- OceanBase 错误码:7259
- SQLSTATE:SU001
- 错误原因:传递给函数 %s 的几何在 SRID 0 中,它没有指定长度单位,无法转换为“%s”。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:Invalid cast.Invalid cast from %s to %s
- OceanBase 错误码:7260
- SQLSTATE:22S01
- 错误原因:从 %s 到 %s 的转换无效。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:Invalid cast. A polygon ring is in the wrong direction.Invalid cast from %s to %s. A polygon ring is in the wrong direction
- OceanBase 错误码:7261
- SQLSTATE:22S04
- 错误原因:从 %s 到 %s 的转换无效。多边形环的方向错误。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:Arguments to function contains geometries with different SRIDs. All geometries must have the same SRID.Arguments to function %s contains geometries with different SRIDs: %u and %u. All geometries must have the same SRID
- OceanBase 错误码:7262
- SQLSTATE:22S05
- 错误原因:函数 %s 的参数包含具有不同 SRID 的几何图形 %u 和 %u。所有几何图形必须具有相同的 SRID。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:Longitude is out of range in function.Longitude %f is out of range in function %.192s. It must be within (%f, %f]
- OceanBase 错误码:7263
- SQLSTATE:22S02
- 错误原因:经度 %f 超出函数 %s 的范围。它必须在 (%f, %f] 之内。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:Latitude is out of range in function.Latitude %f is out of range in function %.192s. It must be within [%f, %f]
- OceanBase 错误码:7264
- SQLSTATE:22S03
- 错误原因:纬度 %f 超出函数 %s 的范围。它必须在 [%f, %f] 之内。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:Memory allocation error.Memory allocation error: %*.256s in function %s
- OceanBase 错误码:7265
- SQLSTATE:HY000
- 错误原因:内存分配错误:函数 %s 中的 %s。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:Domain error.Domain error: %*.256s in function %s
- OceanBase 错误码:7266
- SQLSTATE:HY000
- 错误原因:域错误,函数 %s 中的 %s。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:Length error.Length error: %*.256s in function %s
- OceanBase 错误码:7267
- SQLSTATE:HY000
- 错误原因:长度错误,函数 %s 中的 %s。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:Invalid argument error.Invalid argument error: %*.256s in function %s
- OceanBase 错误码:7268
- SQLSTATE:HY000
- 错误原因:无效参数错误,函数 %s 中的 %s。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:Out of range error.Out of range error: %*.256s in function %s
- OceanBase 错误码:7269
- SQLSTATE:HY000
- 错误原因:超出范围错误,函数 %s 中的 %s。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:Overflow error.Overflow error: %*.256s in function %s
- OceanBase 错误码:7270
- SQLSTATE:HY000
- 错误原因:溢出错误,函数 %s 中的 %s。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:Range error.Range error: %*.256s in function %s
- OceanBase 错误码:7271
- SQLSTATE:HY000
- 错误原因:范围错误,函数 %s 中的 %s。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:Underflow error.Underflow error: %*.256s in function %s
- OceanBase 错误码:7272
- SQLSTATE:HY000
- 错误原因:下溢错误,函数 %s 中的 %s。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:Logic error.Logic error: %*.256s in function %s
- OceanBase 错误码:7273
- SQLSTATE:HY000
- 错误原因:逻辑错误,函数 %s 中的 %s。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:Runtime error.Runtime error: %*.256s in function %s
- OceanBase 错误码:7274
- SQLSTATE:HY000
- 错误原因:运行时错误,函数 %s 中的 %s。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:Unknown exception: %*.384s in function %s
- OceanBase 错误码:7275
- SQLSTATE:HY000
- 错误原因:未知异常 函数 %s 中的 %s。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:Cannot get geometry object from data you send to the GEOMETRY field
- OceanBase 错误码:7276
- SQLSTATE:22003
- 错误原因:无法从您发送到 GEOMETRY 字段的数据中获取几何对象。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:Incorrect usage of srid, srid column attribute only support in geometry
- OceanBase 错误码:7277
- SQLSTATE:HY000
- 错误原因:Srid 的使用不正确,Srid 列属性仅在几何体中支持。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:Incorrect usage of spatial/fulltext/hash index and explicit index order
- OceanBase 错误码:7278
- SQLSTATE:HY000
- 错误原因:空间/全文/哈希索引和显式索引顺序的使用不正确。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:All parts of a SPATIAL index must be NOT NULL
- OceanBase 错误码:7280
- SQLSTATE:42000
- 错误原因:SPATIAL 索引的所有部分都必须为 NOT NULL。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:The index type is not supported for spatial indexes.The index type %s is not supported for spatial indexes
- OceanBase 错误码:7281
- SQLSTATE:HY000
- 错误原因:空间索引不支持索引类型 %s。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:There's no unit of measure.There's no unit of measure named '%s'
- OceanBase 错误码:7282
- SQLSTATE:SU001
- 错误原因:没有名为 "%s" 的度量单位。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:The string is not a valid key value pair in function.The string '%.192s' is not a valid key %c value pair in function %.192s
- OceanBase 错误码:7283
- SQLSTATE:22023
- 错误原因:字符串 '%s' 不是函数 %s 中的有效键 %c 值对。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:Invalid radius provided to function: Radius must be greater than zero.Invalid radius provided to function %s: Radius(%lf) must be greater than zero
- OceanBase 错误码:7284
- SQLSTATE:22023
- 错误原因:提供给函数 %s 的半径无效:半径必须大于零。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:Spatial reference system is empty
- OceanBase 错误码:7285
- SQLSTATE:SR001
- 错误原因:没有 SRID %u 的空间参考系统。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:Invalid option key in function.Invalid option key '%.192s' in function %.192s
- OceanBase 错误码:7286
- SQLSTATE:22023
- 错误原因:函数 %s 中的选项键“%s”无效。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:Invalid value for option in function.Invalid value '%.192s' for option '%.192s' in function '%.192s'
- OceanBase 错误码:7287
- SQLSTATE:22023
- 错误原因:函数“%s”中的选项“%s”的值“%s”无效。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:Unknown WKB type.Unknown WKB type(%d)! Full WKB type number was (%d)
- OceanBase 错误码:7288
- SQLSTATE:22S01
- 错误原因:%s 值是 %s 中意外类型 %s 的几何图形。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00600:A FTS index may only contain a text type column.
OceanBase 错误码:7289
SQLSTATE:42000
错误原因:全文搜索(FTS)索引只能包含文本类型的列。
解决方法:请确保您正在尝试创建的全文搜索索引列的数据类型是文本类型,如 VARCHAR、TEXT 或 CHAR 等。
说明
该错误码从 V4.2.2 版本开始引入。
OBE-00600: internal error code, arguments: -9129, object storage io error
- OceanBase 错误码:9129
- SQLSTATE:HY000
- 错误原因:对象存储错误码。常见原因是对象存储连通性和兼容性问题。
- 解决方式:请检查对象存储的连通性,确认无连通性问题后联系技术支持人员协助排查。
OBE-00600: tmp file exceeds disk quota
OceanBase 错误码:9135
SQLSTATE:HY000
错误原因:临时文件落盘的数据量超过设定上限。
解决方法:检查当前报错的 SQL 是否产生了超过预期的数据量(例如,预期临时文件落盘的数据量最大为 500 GB),如果符合预期,可以调整配置项
temporary_file_max_disk_size到合适的值。
说明
对于 V4.3.5 版本,该错误码从 V4.3.5 BP1 版本开始引入。
OBE-00600: kms destination is not valid
OceanBase 错误码:9139
SQLSTATE:HY000
错误原因:备份租户开启了透明加密的情况下,恢复租户时未指定秘钥的地址或指定的地址错误。
解决方式:在恢复命令中指定正确的秘钥地址或在恢复前通过设置 Session 变量
SET @kms_encrypt_info指定正确的秘钥地址。
说明
对于 V4.3.5 版本,该错误码从 V4.3.5 BP2 版本开始引入。
OBE-00600: the object is locked by worm
OceanBase 错误码:9140
SQLSTATE:HY000
错误原因:尝试删除或修改对象存储上处于保留期的 Object。
解决方式:检查备份或归档路径是否配置了保留策略,且设置备份或归档路径时是否正确配置
enable_worm参数。如果已正确配置enable_worm参数,请联系 OceanBase 技术支持人员协助排查。
说明
对于 V4.3.5 版本,该错误码从 V4.3.5 BP2 版本开始引入。
OBE-00600: the resource has been released
OceanBase 错误码:9141
SQLSTATE:HY000
错误原因:临时文件宏块使用过程中被意外释放。
解决方式:请联系 OceanBase 技术支持人员协助排查。
说明
对于 V4.3.5 版本,该错误码从 V4.3.5 BP2 版本开始引入。
OBE-00600: the object can not be overwritten with different content
OceanBase 错误码:9142
SQLSTATE:HY000
错误原因:向配置了保留策略的对象存储上写入不幂等的同名文件。
解决方式:请联系 OceanBase 技术支持人员协助排查。
说明
对于 V4.3.5 版本,该错误码从 V4.3.5 BP2 版本开始引入。
OBE-00600: internal error code, arguments: -9147, can not access backup set file
OceanBase 错误码:9147
SQLSTATE:HY000
错误原因:物理恢复执行过程中,OBServer 节点无法正常访问指定备份介质中的备份集文件。
解决方法:请检查对象存储的连通性,确认无连通性问题后联系技术支持人员协助排查。
说明
对于 V4.4.x 版本,该错误码从 V4.4.1 版本开始引入。
OBE-00600:internal error code, arguments: -9148, disk quota is exceeded
OceanBase 错误码:9148
SQLSTATE:HY000
错误原因:磁盘配额超出了限制。
解决方式:清理文件或者调整磁盘配额。
说明
对于 V4.4.x 版本,该错误码从 V4.4.1 版本开始引入。
OBE-00600:internal error code, arguments: -9149, backup dest is not allowed to set when log_only policy exists
OceanBase 错误码:9149
SQLSTATE:HY000
错误原因:
log_only的清理策略适用于仅开启了日志归档且没有数据备份的场景,在log_only清理策略存在时,不允许配置数据备份路径。解决方式:先删除
log_only清理策略,然后再配置数据备份路径。
说明
对于 V4.4.x 版本,该错误码从 V4.4.1 版本开始引入。
OBE-00600:internal error code, arguments: -9150, log_only policy is not allowed to set when backup dest exists
OceanBase 错误码:9150
SQLSTATE:HY000
错误原因:
log_only清理策略适用于仅开启日志归档且没有数据备份的场景,在已配置了数据备份路径的场景下,不允许将清理策略设置为log_only。解决方式:如需使用
log_only清理策略,需要先删除已配置的数据备份路径。
说明
对于 V4.4.x 版本,该错误码从 V4.4.1 版本开始引入。
OBE-00600:internal error code, arguments: -9151, backup clean can not start, because %s
OceanBase 错误码:9151
SQLSTATE:HY000
错误原因:无法进行数据备份和归档的清理。可能原因是相关租户的状态处于非
NORMAL状态(例如:正在创建状态CREATING、正在恢复状态RESTORE等)或相关租户未配置清理策略(针对过期清理场景)。解决方式:检查租户状态是否正常。如果是过期清理场景,需要确认其相关租户是否已正确配置清理策略。
说明
对于 V4.4.x 版本,该错误码从 V4.4.1 版本开始引入。
OBE-00600:internal error code, arguments: -9152, backup device may be not mounted, %s did not read any data written by %s
OceanBase 错误码:9152
SQLSTATE:HY000
错误原因:备份介质没有正确挂载。
解决方式:正确挂载备份介质,确保发起归档/备份/恢复操作的租户的所有 OBServer 节点都能够访问到同一备份介质。挂载 NFS 的详细操作,请参考 部署 NFS。
说明
对于 V4.4.x 版本,该错误码从 V4.4.1 版本开始引入。
OBE-00600:internal error code, arguments: -9153, backup device is not read and write strongly consistent. %s did not read the latest data written by %s.
OceanBase 错误码:9153
SQLSTATE:HY000
错误原因:备份介质的读写不具有强一致性。
解决方式:如果备份介质为 NFS,请参考 部署 NFS 按照指定的方式进行挂载;如果备份介质为对象存储,请联系对应的服务提供商。
说明
对于 V4.4.x 版本,该错误码从 V4.4.1 版本开始引入。
OBE-00600:internal error code, arguments: -9159, available data backup set is not found
OceanBase 错误码:9159
SQLSTATE:HY000
错误原因:无法使用任何备份集恢复到指定的时间。
解决方式:重新选择恢复位点,或者指定其他备份集路径。
说明
对于 V4.4.2 版本,该错误码从 V4.4.2 BP1 版本开始引入。
OBE-00600: internal error code, arguments: -9162, can not find any backup set or archive piece
OceanBase 错误码:9162
SQLSTATE:HY000
错误原因:指定的备份集 ID/归档日志 Piece 在备份路径/归档路径中不存在
解决方式:检查提供的路径是否正确。
说明
对于 V4.4.2 版本,该错误码从 V4.4.2 BP2 版本开始引入。
OBE-00600:Incorrect usage of %s
- OceanBase 错误码:9751
- SQLSTATE:HY000
- 错误原因:使用方式不正确。
- 解决方法:请检查使用方式是否正确,并按照正确的方式使用。
说明
该错误码从 V4.2.1 版本开始引入。
OBE-00600: internal error code, arguments: -11093,OBLogService rpc execute failed
OceanBase 错误码:11093
SQLSTATE:HY000
错误原因:日志服务 RPC 执行失败,目标节点资源不足或网络故障。
解决方法:优先通过 trace_id 定位目标节点日志,结合资源监控和参数调整解决。
说明
该错误码从 V4.4.0 版本开始引入。
OBE-00603:Prepare statement checksum error
OceanBase 错误码:5777
SQLSTATE:HY000
错误原因:服务器会话处于不可恢复状态。
解决方式:再次登录到 OceanBase 数据库,以便自动创建新的服务器会话。更多详细信息,请检查会话跟踪文件。
OBE-00739:FORALL INSERT/UPDATE/DELETE not support on remote tables
- OceanBase 错误码:9752
- SQLSTATE:HY000
- 错误原因:不支持在远程表上使用 FORALL INSERT/UPDATE/DELETE。
- 解决方法:请不要在远程表上使用 FORALL INSERT/UPDATE/DELETE。
说明
该错误码从 V4.2.1 版本开始引入。
OBE-00900:invalid SQL statement
OceanBase 错误码:5001
SQLSTATE:42000
错误原因:SQL 语句存在错误。
解决方法:请参考您的 OceanBase 数据库对应版本的《SQL 参考(Oracle 模式)》查找正确的 SQL 语句。
OceanBase 错误码:5006
SQLSTATE:42000
错误原因:SQL 语句存在错误。
解决方法:请参考您的 OceanBase 数据库对应版本的《SQL 参考(Oracle 模式)》查找正确的 SQL 语句。
相关问题案例:
- Oracle 租户中创建带 RANGE 或 LIST 类型分区的表组错误,错误代码 OBE-00900
- OceanBase 数据库 Oracle 模式下 PL 模块中不支持包含标识符 NEW
- Oracle 租户不支持 $$PLSQL_UNIT 变量导致的存储过程报错
- OceanBase 数据库中唯一性约束与普通约束的区别
OBE-00902:invalid datatype
OceanBase 错误码:5874
SQLSTATE:HY000
错误原因:无效的数据类型。
OBE-00903:invalid table name
OceanBase 错误码:5163
SQLSTATE:42000
错误原因:无效的表名。
OBE-00904:invalid identifier '%.*s'
OceanBase 错误码:5164
SQLSTATE:42000
错误原因:字符串中含有无效标识符。
OBE-00904:invalid identifier '%.*s'in '%.*s'
OceanBase 错误码:5217
SQLSTATE:42S22
错误原因:字符串中含有无效标识符。
相关问题案例:
OBE-00904:'%.*s': invalid identifier
OceanBase 错误码:5211
SQLSTATE:42000
错误原因:字符串中含有无效标识符。
说明
该错误码从 V4.0.0 版本开始引入。
OBE-00905:missing keyword
OceanBase 错误码:5096
SQLSTATE:HY000
错误原因:SQL 缺少关键字。
OBE-00909:invalid number of arguments in the call to native function '%.*s'
OceanBase 错误码:5054
SQLSTATE:42000
错误原因:参数的个数不合法。
OBE-00910:specified length too longfor column '%s' (max = %d byte)
OceanBase 错误码:5198
SQLSTATE:42000
错误原因:指定的字符串长度大于数据类型所支持的长度,即,对于 CHAR 和 RAW 数据类型,指定的字符串长度大于 2000;对于其他数据类型,指定的字符串长度大于 4000。
解决方法:减小字符串的长度,或者切换为其他支持更长字符串长度的数据类型,比如 VARCHAR2、LONG CHAR、或者 LONG RAW。
OBE-00913:too many values
OceanBase 错误码:5613
SQLSTATE:HY000
错误原因:值太多。
OBE-00917:missing comma
- OceanBase 错误码:7403
- SQLSTATE:42000
- 错误原因:在 INSERT 语句或形式为 ((C,D),(E,F), ...) 的列或值列表中省略了所需的逗号。
- 解决方法:请更正语法,仔细检查 SQL 语句,查找缺少逗号或逗号使用不正确的位置。
说明
该错误码从 V3.2.4 版本开始引入。
OBE-00918:column '%.*s' in %.*%s ambiguously defined
OceanBase 错误码:5207
SQLSTATE:23000
错误原因:列定义模糊。
OBE-00925:missing INTO keyword
OceanBase 错误码:9712
SQLSTATE:HY000
错误原因:执行 INSERT 语句时缺失关键词 INTO。
解决方式:添加缺少的 INTO 关键字并重新执行该语句。
说明
该错误码从 V4.0.0 版本开始引入。
OBE-00926:missing VALUES keyword
OceanBase 错误码:5574
SQLSTATE:HY000
错误原因:缺少
VALUES关键字。
OBE-00931:missing identifier
OceanBase 错误码:5963
SQLSTATE:HY000
错误原因:缺少标识符。
OBE-00932:inconsistent datatypes: left_type=%s right_type=%s
OceanBase 错误码:5083
SQLSTATE:22000
错误原因:数据类型不一致。
相关问题案例:
- 在 OceanBase 数据库 Oracle 模式下进行类型运算报 inconsistent datatypes
- Oracle 模式 Update 更新 Clob 报错 ret_code=-5083
- order by clob 列报错 inconsistent datatypes
- 插入数据时数据类型不一致,错误代码 OBE-00932
OBE-00932:inconsistent datatypes,inconsistent datatypes: expected %s got %s
- OceanBase 错误码:7402
- SQLSTATE:22000
- 错误原因:在 SQL 查询中使用了不兼容的数据类型。
- 解决方法:检查 SQL 查询语句,找出不一致的数据类型,使用 CAST 或 CONVERT 函数将数据类型转换为相同的类型。
说明
该错误码从 V4.2.0 版本开始引入。
OBE-00933:SQL command not properly ended
OceanBase 错误码:5607
SQLSTATE:HY000
错误原因:SQL 命令未正确结束。
OBE-00934:group function is not allowed here
OceanBase 错误码:5694
SQLSTATE:HY000
错误原因:此处不支持
group函数。
OBE-00937:not a single-group group function
OceanBase 错误码:5853
SQLSTATE:HY000
错误原因:不是单组
group函数。
OBE-00938:not enough arguments for function
OceanBase 错误码:5774
SQLSTATE:HY000
错误原因:函数的参数不足。
OBE-00939:too many arguments for function
OceanBase 错误码:5683
SQLSTATE:HY000
错误原因:函数参数太多。
OBE-00942:table or view \'%s.%s\'does not exist
OceanBase 错误码:5019
SQLSTATE:42S02
错误原因:表或视图不存在。对于 OceanBase V2.2.70 以后的版本,由于新增了角色权限,如果当前角色不具有某些表或视图的
SELECT权限,也会返回这个错误。解决方式:检查您的 SQL 拼写。特别地,对于OceanBase V2.2.70 以后的版本,检查当前角色的权限。
相关问题案例:
OBE-00942:table or view '%.*s' does not exist
OceanBase 错误码:5201
SQLSTATE:42S02
错误原因:表或视图不存在。对于 OceanBase V2.2.70 以后的版本,由于新增了角色权限,如果当前角色不具有某些表或视图的
SELECT权限,也会返回这个错误。解决方式:检查您的 SQL 拼写。特别地,对于OceanBase V2.2.70 以后的版本,检查当前角色的权限。
相关问题案例:
- PL 权限不足,错误代码 OBE-00942
- Oracle 模式下普通用户无法通过 dbms_metadata.get_ddl() 获取对象的 DDL,错误代码 OBE-00942
- 存储过程跨用户调用报错
- 没有存储过程执行权限却可以执行存储过程
- Oracle 模式重新创建对象导致对象上的权限丢失
- Oracle 模式下使用 create or replace 创建对象后对象上的权限会丢失
OBE-00947:not enough values
OceanBase 错误码:5614
SQLSTATE:HY000
错误原因:值不足。
OBE-00955:name is already used by an existing object
OceanBase 错误码:5331、5834
SQLSTATE:HY000
错误原因:名称已被现有对象使用。
相关问题案例:
OBE-00957:duplicate column name
OceanBase 错误码:4228
SQLSTATE:42000
错误原因:列名称重复。
OBE-00959:tablespace '%.*s' does not exist
OceanBase 错误码:4354
SQLSTATE:HY000
错误原因:表空间不存在。
OBE-00964:table name not in FROM list
- OceanBase 错误码:5490
- SQLSTATE:42000
- 错误原因:表名不在 FROM 列表中。
- 解决方法:确认输入的名字是一个正确的表名,并且在 From 列表中。
说明
该错误码从 V4.1.0 版本开始引入。
OBE-00969:missing ON keyword
OceanBase 错误码:5370
SQLSTATE:HY000
错误原因:缺少
ON关键字。
OBE-00972:identifier \'%.*s\' is too
OceanBase 错误码:5179
SQLSTATE:42000
错误原因:指定的标识符超过限制要求。
解决方法:请将指定标识符的字节数设置在限制范围内。
OBE-00976:Specified pseudo column or operator not allowed here
OceanBase 错误码:5763
SQLSTATE:HY000
错误原因:该位置不允许使用
LEVEL、PRIOR、ROWNUM、CONNECT_BY_ROOT、CONNECT_BY_ISLEAF或CONNECT_BY_ISCYCLE关键字。解决方式:删除
LEVEL、PRIOR、ROWNUM、CONNECT_BY_ROOT、CONNECT_BY_ISLEAF或CONNECT_BY_ISCYCLE。
OBE-00979:not a GROUP BY expression
OceanBase 错误码:5218
SQLSTATE:42000
错误原因:不是
GROUP BY表达式。
OBE-00980:synonym translation is no longer valid
OceanBase 错误码:5330
SQLSTATE:HY000
错误原因:同义词没有转换为合法的目标对象。这可能是由于下列原因之一:
目标模式不存在。
目标对象不存在。
同义词指定了一个不正确的数据库链接。
同义词没有进行版本控制,但指定了版本控制的目标对象。
解决方式:更改同义词定义,使同义词指向合法的目标对象。
OBE-00984:column not allowed here
OceanBase 错误码:5942
SQLSTATE:HY000
错误原因:此处不允许插入该列。
OBE-00988:missing or invalid password(s)
OceanBase 错误码:5887
SQLSTATE:HY000
错误原因:密码错误。
OBE-00989:Cursor Variable in record, object, or collection is not supported by this release
- OceanBase 错误码:9811
- SQLSTATE:HY000
- 错误原因:当前版本不支持在记录(record)、对象(object)或集合(collection)中嵌套游标变量。
- 解决方法:避免嵌套游标结构。
OBE-00998:must name this expression with a column alias
OceanBase 错误码:5872
SQLSTATE:HY000
错误原因:必须用列别名命名此表达式。