Database objects, the components of a database, are objects that can be manipulated and used in the database by executing SQL statements. This chapter describes the database object types, storage methods, and dependencies between database objects supported by the MySQL mode of OceanBase Database.
In MySQL mode of OceanBase Database, database objects include tables, views, indexes, partitions, sequences, triggers, and stored procedures.
In MySQL mode, you can connect to a database and access and manage database objects after you are granted the required privileges. A database is a collection of database objects used for privilege management and namespace isolation. SCHEMA is a synonym for DATABASE. You can replace DATABASE with SCHEMA in SQL statements. For example, you can replace CREATE DATABASE with CREATE SCHEMA.