Database objects are an important part of a database. Common database objects include tables, indexes, views, and triggers. For more information, see Database object management.
OceanBase Database V4.0.0 introduces object_id to globally encode some database objects. The encoding assigned by object_id is unique within a tenant.
The following database objects are globally encoded by object_id:
Table
Table partition
Database
User
Role
Sequence
Outline
Constraint
Foreign key
Synonym
UDF
PL (UDT, routine, package)
Trigger
Keystore (which contains the master key)
label_se_policy, label_se_component, label_se_label, label_se_user_level
Tablespace
Profile
Audit
Dblink
Directory
Context