obdiag
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.
### Describe the bug obdiag gather plan_monitor --env 中密码出现了!导致命令总是带进去上一次执行的命令 原因:在大多数Shell(如bash、zsh)中,“!”字符用于历史展开,后面跟着的字符或序号会匹配历史记录中相应的命令。例如,输入!ls可能会自动补全成上一条以ls开头的命令。如果你不小心在命令前输入了“!”,Shell会尝试进行历史展开。 ### Environment obdiag 2.x ### Fast reproduce steps obdiag gather plan_monitor --env 中密码出现了!导致命令总是带进去上一次执行的命令 ### Expected behavior _No response_ ### Actual...
### Description config指令作为前置设置给使用造成了门槛,安装配置的易用性得再设计一下,能支持安装完后无需设置被诊断集群的配置文件直接使用。
### Describe the bug sql诊断时如果涉及的表跨db,取不到schema信息,会是变量信息 ### Environment 4.x ### Fast reproduce steps 执行sql,sql的表里面分布在不同的database中,再用命令取sql诊断信息。obdiag gather plan_monitor --trace_id YBxxxxx --env "{db_connect='-hxx -Pxx -uxx -pxx -Dxx'}" ### Expected behavior _No response_ ### Actual...
### Describe your use case sql plan monitor报告样式改版 ### Describe the solution you'd like  比如,这种样式比较方便查看信息 ### Describe alternatives you've considered _No response_ ### Additional context _No response_
### Description obdiag SQL诊断调优支持列出集群拓扑、表分布信息,这个对执行计划可能也有影响
### Description obdiag SQL诊断调优支持列出涉及sql的表是否做过合并、收集过统计信息
### Describe your use case 当系统中存在RootService自动触发的切主行为时,有些可能是正常行为,有些可能是异常行为。如果频繁出现,引发了系统问题。则需要对根因进行分析。 ### Describe the solution you'd like 1、如何主动发现此类行为存在,如何发现其中的高危行为? 2、如何快速定位根因?  ### Describe alternatives you've considered _No response_ ### Additional context _No response_
### Description 目前的obdiag config生成的配置自动会帮助生成home_path一样的,有很多环境的home_path并不是一样的,手动编辑config.yml还是稍微麻烦了一点