index_ddl_error

2025-11-28 06:05:02  Updated

Scenarios

You can use the obdiag rca run command to analyze the index_ddl_error scenario based on internal table data and logs of OceanBase Database.

OceanBase Database V4.2.3.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.

Supported environment variables

Variable Required Data type Default value Description
tenant_name Yes string "" The name of the tenant.
table_name Yes string "" The name of the table.
database_name Yes string "" The name of the database.
index_name Yes string "" The name of the index.

Examples

Specify the scenario and related information, such as the names of the tenant and table, in the command.

obdiag rca run --scene=index_ddl_error --env tenant_name=cudb_test --env table_name=test1245 --env database_name=test --env index_name=idx_name

Contact Us