Scenarios
You can use the obdiag rca run command to analyze the major_hold scenario based on internal logs and table data of OceanBase Database.
OceanBase Database V4.0.0.0 and later are supported for this feature. When you use obdiag commands, you must configure cluster information in the ~/.obdiag/config.yml file or by specifying --config options in the commands.
Notice
Internal data is updated in real time. Therefore, obdiag only supports the analysis of current data.
Examples
Specify the scenario in the command. obdiag analyzes the root cause of the stuck major compaction based on current data.
obdiag rca run --scene=major_hold
The command only analyzes the root cause and collects effective information. You can post the information in the Q&A module of the OceanBase community forum or send it to OceanBase Technical Support for further diagnostics.