The OB_INIT_OBJECTS procedure creates data statistics tables in the schema user.
Applicability
This topic applies only to OceanBase Database Enterprise Edition. OceanBase Database Community Edition does not support this feature.
Syntax
PROCEDURE OB_INIT_OBJECTS(force_create IN boolean :=FALSE);
Parameters
| Parameter | Description |
|---|---|
| force_create IN boolean :=FALSE | FALSE, an error is returned when a table with the same name as the statistics table already exists.TRUE, the existing table with the same name as the statistics table is dropped before the statistics table is created. The default value is FALSE. |
Examples
obclient> call dbms_profiler.ob_init_objects();
Query OK, 0 rows affected (0.06 sec)
