oceanbase.CDB_OBJECTS

2023-12-08 07:13:36  Updated

Purpose

The oceanbase.CDB_OBJECTS view displays information about objects in all tenants under the sys tenant.

Columns

Column Type Nullable? Description
CON_ID bigint(20) NO The ID of the tenant.
OWNER varchar(128) NO The owner of the object.
OBJECT_NAME varchar(128) NO The name of the object.
SUBOBJECT_NAME varchar(128) NO The name of the subobject, such as partition.
OBJECT_ID bigint(20) NO The dictionary object ID of the object.
DATA_OBJECT_ID bigint(20) NO The dictionary object ID of the segment that contains the object.
OBJECT_TYPE varchar(23) NO The type of the object, such as table, index, partition, package, stored procedure, synonym, or sequence.
CREATED datetime NO The time when the object was created.
LAST_DDL_TIME datetime NO The time when the object was last modified by using a DDL statement.
TIMESTAMP datetime NO The timestamp specified by the object, which is generated as a character.
STATUS varchar(7) NO The status of the object. Valid values: VALID and INVALID.
TEMPORARY varchar(1) NO Indicates whether the object is a temporary table.
GENERATED varchar(1) NO Indicates whether the name of the object was system-generated.
SECONDARY varchar(1) NO At present, this column is not used.
NAMESPACE bigint(20) NO The namespace for the object.
EDITION_NAME varchar(128) NO Reserved for future use.
SHARING varchar(18) NO Valid values:
  • DATA LINK: The object is a data link or an object whose data is linked to the root.
  • METADATA LINK: The object is a metadata link or an object whose metadata is linked to the root.
  • EXTENDED DATA LINK: The object is an extended data link or an object whose data link is extended to the root.
  • NONE: None of the above applies.
  • EDITIONABLE varchar(1) NO Valid values:
  • Y: The object is marked as EDITIONABLE.
  • N: The object is marked as NONEDITIONABLE.
  • NULL
  • The object type is not editable in the database.
  • ORACLE_MAINTAINED varchar(1) NO Indicates whether the object is created and maintained by a script provided by Oracle, such as catalog.sql or catproc.sql.
    Objects with a value of Y in this column can only be modified by running a script provided by Oracle. They cannot be modified in any other ways.
    APPLICATION varchar(1) NO Indicates whether the object is a common object for an application. Valid values:
  • Y
  • N
  • DEFAULT_COLLATION varchar(1) NO The default sorting rule of the object.
    DUPLICATED varchar(1) NO Indicates whether the object is duplicated on this shard. Valid values:
  • Y
  • N
  • SHARDED varchar(1) NO Indicates whether the object is sharded. Valid values:
  • Y
  • N
  • IMPORTED_OBJECT varchar(1) NO Indicates whether the object has been imported. Valid values:
  • Y
  • N
  • CREATED_APPID bigint(0) NO The ID of the application that created the object.
    CREATED_VSNID bigint(0) NO The version ID of the application that created the object.
    MODIFIED_APPID bigint(0) NO The ID of the application that modified the object the last time.
    MODIFIED_VSNID bigint(0) NO The version ID of the application that modified the object the last time.

    Contact Us