File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
docs/user_manual/operation_and_maintenance/tool_emergency_handbook/odp_troubleshooting_guide Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -192,7 +192,7 @@ obproxy_diagnosis 日志通用内容如下:
192
192
193
193
| 超时事件 | 场景 | 错误码 | 相关配置 | 解决方法 |
194
194
| -------------| --------| ---------------| ------------| ----------|
195
- | CLIENT_DELETE_CLUSTER_RESOURCE | 集群信息发生变化 | 10022 | ODP 配置项 [ cluster_expire_time] ( ../400.configuration-management/200.global-configuration-items/210.cluster-expire-time.md ) | 可以通过执行 ` ALTER proxyconfig SET <var_name> = <var_value>; ` 命令调整 ODP 中 ` cluster_expire_time ` 配置项暂时规避,` cluster_expire_time ` 配置项默认过期时间为一天,新的请求会重置过期时间。 |
195
+ | CLIENT_DELETE_CLUSTER_RESOURCE | 集群信息发生变化 | 10022 | ODP 配置项 [ cluster_expire_time] ( https://www.oceanbase.com/docs/common-odp-doc-cn-1000000001601154 ) | 可以通过执行 ` ALTER proxyconfig SET <var_name> = <var_value>; ` 命令调整 ODP 中 ` cluster_expire_time ` 配置项暂时规避,` cluster_expire_time ` 配置项默认过期时间为一天,新的请求会重置过期时间。 |
196
196
| CLIENT_INTERNAL_CMD_TIMEOUT | 内部请求执行超时 | 10022 | 固定时间 30s | 非预期超时,建议联系技术支持人员配合诊断。 |
197
197
| CLIENT_CONNECT_TIMEOUT | 客户端与 ODP 建连超时 | 10022 | 固定时间 10s | 非预期超时,建议联系技术支持人员配合诊断。 |
198
198
| CLIENT_NET_READ_TIMEOUT | ODP 等待用户请求数据超时 | 10022 | OceanBase 数据库系统变量 [ net_read_timeout] ( https://www.oceanbase.com/docs/common-oceanbase-database-cn-1000000000220757 ) | 修改系统变量 ` net_read_timeout ` ,需注意修改 Global 级别的系统变量不会对已有连接生效。 |
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ ODP 是 OceanBase 数据库的接入层和路由层,而路由是 ODP 的核心
26
26
27
27
可通过 ` explain route <your_sql>; ` 命令获取 SQL 语句的路由状态信息,在配置项 ` route_diagnosis_level ` 不为 0 的情况下,该命令会展示详细的诊断信息。` <your_sql> ` 语句将会在 ODP 内部进行处理,执行正常的 ODP 转发流程,但不会真正转发给 OBServer 节点。
28
28
29
- 配置项 ` route_diagnosis_level ` 是全局配置项,可用来控制输出路由状态信息的详细程度。该配置项取值为一个整数,默认值为 2,表示输出信息可以覆盖二级诊断点,诊断点的详细介绍可参见 [ 诊断点排查 ] ( 300.diagnosis-point-troubleshooting/100.overview-of-diagnosis-point-troubleshooting.md ) 章节 。
29
+ 配置项 ` route_diagnosis_level ` 是全局配置项,可用来控制输出路由状态信息的详细程度。该配置项取值为一个整数,默认值为 2,表示输出信息可以覆盖二级诊断点。
30
30
31
31
` route_diagnosis_level ` 配置项的可选值有 [ 0-4] ,配置的值越大,展示的状态信息越详细。配置值为 0 时表示关闭该模块。关闭该模块时,不会占用 ODP 内存,也不会影响 ODP 性能。
32
32
@@ -94,7 +94,7 @@ Route Plan
94
94
95
95
* ` [WARN] ` :表示路由过程中对应步骤出现异常,重点检查该步骤的信息输出
96
96
97
- * Route Plan:路由计划,展示 ODP 转发过程。其中 ` SQL_PARSE ` /` ROUTE_INFO ` /` LOCATION_CACHE_LOOKUP ` 为诊断点,诊断点之间存在同级或者父子关系,呈树状。详细信息可参见 [ 诊断点排查 ] ( 300.diagnosis-point-troubleshooting/100.overview-of-diagnosis-point-troubleshooting.md ) 章节。
97
+ * Route Plan:路由计划,展示 ODP 转发过程。其中 ` SQL_PARSE ` /` ROUTE_INFO ` /` LOCATION_CACHE_LOOKUP ` 为诊断点,诊断点之间存在同级或者父子关系,呈树状。
98
98
99
99
通过 Route Plan 中的 ` FETCH_TABLE_RELATED_DATA:{table_entry:"partition information does not exist"} ` 可以得知 ODP 查询该表的分区信息,但其信息不存在。
100
100
You can’t perform that action at this time.
0 commit comments