DBA-41
DBA-41
DBA-41
• Schema Objects
• Types of Schema Objects
• Tables
• Indexes
• Tables & Indexes in a Schema
• Views, Sequences & Synonym
• Data Access
Oracle Schema Objects & Data Access
Schema Objects
• Physical data storage is independent
from logical data structures
• Schema is a collection of data
structures, or schema objects
• Schema is owned by the database user
name.
• Schema objects such as tables, views,
indexes and sequences etc. are user-
created structures that directly refer
to the data (files) in the database.
• BMS created objects are data
dictionary views, user’s roles etc.
Oracle Schema Objects & Data Access
Types of Schema Objects
• Tables
• Indexes
• Constraints
• Sequences
• Views
• Triggers
• Sequences
• Synonym
• PL/SQL subprograms and packages,
Java Classes etc.
Oracle Schema Objects & Data Access
Tables
• Basic storage unit or schema object for
storing data in structured form
• Table consists rows and columns with
specific data types of columns
• Maximum number of columns are 255
and unlimited number of rows or
tuples in a table
• Every table is uniquely identified in a
schema
• Integrity constraints such as NOT
NULL, CHECK and PKs etc. are applied
on table's columns
Oracle Schema Objects & Data Access
Indexes
• An index is an optional data structure
that can be created on one or more
columns of a table.