obdiag icon indicating copy to clipboard operation
obdiag copied to clipboard

obdiag (OceanBase Diagnostic Tool) is designed to help OceanBase users quickly gather necessary information and analyze the root cause of the problem.

Results 111 obdiag issues
Sort by recently updated
recently updated
newest added

### Describe your use case observer日志对于排查问题很重要,所以需要巡检项加一个确认日志清理策略(observer端和ocp端的,1个observer 256M的日志,原则上log盘能保留100个日志文件,即最小25G左右) ### Describe the solution you'd like 所以需要巡检项加一个确认日志清理策略 ### Describe alternatives you've considered _No response_ ### Additional context _No response_

### Description when we use 'obdiag rca run' command to check relevant info from log files, the obdiag only search the last 30 minutes log files. As we can see...

### Describe your use case GC 流程涉及到 RS 的状态切换和 LS 的资源安全回收,流程上较长。且 GC 线程每个租户仅有一个,某个日志流 GC Hang 死时会卡住所有其余日志流的 GC,进而造成更大的影响。 ### Describe the solution you'd like obdiag rca支持GC问题的根因分析 ### Describe alternatives you've considered...

### Description obdiag 本身报错信息不够明确。

bug

### Description 版本:4.2.1.1 现象:集群所有租户执行ddl卡死,无法执行,影响大 ![image](https://github.com/user-attachments/assets/69fa3024-b81a-4adb-b25d-7082d542b935) 报错日志: ![image](https://github.com/user-attachments/assets/81f36707-ea7e-460c-a0a6-c6802ffa5aad) ![image](https://github.com/user-attachments/assets/d16329b7-db51-4244-8f3b-6c9f1334367a)

### Describe your use case 在大促高并发时,业务SQL往往会产生6003/6004/6005等锁争用错误,obdiag如果支持可以分析出所有6003/6004/6005相关的SQL,并统计出出现频率,对于业务的逻辑优化会很有帮助 ### Describe the solution you'd like 通过对日志中的6003/6004/6005代码进行分析,挖掘特定时间范围内的日志,可以指定--from和--to参数等 ### Describe alternatives you've considered _No response_ ### Additional context _No response_

### Describe the bug ![image](https://github.com/user-attachments/assets/f2cec9eb-1639-4d84-b59a-542a6b0d5774) ### Environment obd 2.2 ### Fast reproduce steps obdiag gather plan_monitor --trace_id YB420BA2D99B-0005EBBFC45D5A00-0-0 --env "{db_connect='-hxx -Pxx -uxx -pxx '}" 去掉-D参数 ### Expected behavior 直接提示缺少-D参数 ###...

bug

### Describe the bug java程序中使用了ps协议的sql,在获取plan_monitor的时候报错 ![image](https://github.com/user-attachments/assets/13189751-a6fa-4111-975e-2c024e81aa50) ### Environment obd 2.3.0 ### Fast reproduce steps 同上 ### Expected behavior _No response_ ### Actual behavior _No response_ ### Additional context _No response_

### Describe your use case I'd like to integrate obdiag into out product oceanbase-dashboard to analysis the SQL and display on the webpage, this feature may require obdiag to process...