DBMS Lecture 4
DBMS Lecture 4
SYSTEMS
Lecture 3
INTERNAL
SCHEMA
• In a database management system (DBMS), the internal schema refers to the way data is physically stored and organized
within the database. It describes the low-level details of how data is structured, stored, and accessed by the system. The
internal schema is typically hidden from the users and applications that interact with the database.
• Here are some key aspects of the internal schema in a DBMS:
1. Data Storage: The internal schema defines how the data is stored on the physical storage devices such as hard drives or
solid-state drives. It includes details about file organization, data compression techniques, and storage formats.
2. Data Structures: The internal schema specifies the data structures used to represent the data within the database. This
includes the organization of data into tables, rows, and columns, as well as the data types and constraints that can be
applied to each attribute.
3. Indexing: The internal schema may include information about indexes that are created to improve data retrieval
performance. It defines the structure and organization of indexes, such as B-trees or hash tables, and the columns or
attributes they are built on.
4. Storage Optimization: The internal schema may incorporate optimizations to enhance storage efficiency and
performance. For example, it may include techniques like data partitioning, clustering, or data replication to improve
query execution speed or fault tolerance.
5. Data Access Methods: The internal schema describes how the system accesses and retrieves data from the physical
storage. It includes details about algorithms and techniques used for data retrieval, such as sequential scanning, hashing,
or using index structures.
6. Data Security and Privacy: The internal schema can incorporate mechanisms to ensure data security and privacy. It may
include encryption techniques, access control mechanisms, and auditing features to protect the data from unauthorized
access or modifications.
• It's important to note that the internal schema is just one level in the overall database architecture. It sits between the
conceptual schema (which defines the logical structure of the database as seen by the users) and the external schema
(which represents the individual user's view of the database).
DATA
INDEPENDANCE
FUNCTIONS OF
DBMS
OFFICIAL DEFINITIONS
• The internal view of a database is the lowest level of abstraction. It is the most detailed and
specific view of data
• The internal schema is a description of the physical storage structures and access paths used
by the DBMS.
• It includes information about the physical layout of the data, such as the size of each field,
the order of the fields, and the location of the data on the disk.
• The physical view is not usually visible to the users of the database.
ABSTRACTI
ON
DATA INDEPENDENCE
• The DBMS provides a number of functions that allow users to create, maintain, and
query databases.
• These functions include:
• Data definition: The ability to create and modify the schemas of a database.
• Data manipulation: The ability to insert, update, delete, and retrieve data from a
database.
• Data security: The ability to protect the data in a database from unauthorized
access.
• Data integrity: The ability to ensure that the data in a database is accurate and
consistent.
• Data administration: The ability to manage the overall operation of a database.
DATA MODELS: AN INTRODUCTION