Components of logical database structure.
- Tablespaces
- Database’s schema objects
In Oracle database, the logical database structure consists of the following components:
- Table: Tables are the basic unit of data storage in Oracle. They store data in rows and columns.
- View: A view is a virtual table that is based on the result of a SELECT query. It does not store the data itself but provides a way to represent the data stored in one or more tables.
- Index: Indexes are used to speed up the retrieval of rows from a table. They provide a fast access path to the rows based on the values in one or more columns.
- Sequence: A sequence is a database object that generates unique numbers in a specified range. Sequences are often used to generate primary key values.
- Synonym: Synonyms are alternative names for tables, views, sequences, and other database objects. They provide a way to simplify the SQL statements by using a shorter or more meaningful name.
- Cluster: A cluster is a group of one or more tables physically stored together to share common columns and data blocks. Clusters are used to improve the performance of related queries.
- Partition: Partitioning involves dividing a table or index into smaller, more manageable pieces called partitions. Each partition has its own name and storage characteristics.
- Schema: A schema is a collection of database objects (tables, views, etc.) that are logically grouped together. It provides a way to organize and manage database objects.
These components together define the logical structure of an Oracle database, allowing for efficient data organization and retrieval.