db
db
Mul ple user can access data at a Only one user can access data at a
me. me
The user has to write procedure for The users are not required to write
managing database. any procedure.
Data sharing is easy due to Data sharing is not easy because data
centralized nature. is distributed in many files.
apps).
Applica on Tier: Business logic and applica on processing.
Database Tier: Database server handling data storage and
retrieval.
Schema in Databases
A schema is the logical structure that defines the organiza on
of data in a database. It acts as a blueprint or framework
describing how data is stored, the rela onships between data,
and the rules governing the data.
Types of Schemas
1. Physical Schema:
o Describes the physical storage of data in files, indexes, and
disk blocks.
o Example: File paths, data par ons, and indexes.
2. Logical Schema:
o Describes the logical design of a database, including
Data Independence
Data independence refers to the ability to modify the schema
at one level of a database system without affec ng the schema
at other levels. It ensures that changes in the data's storage
structure or logical structure do not disrupt the applica ons
accessing the data.
Database Interfaces
Database interfaces allow users to interact with the DBMS using
various tools or pla orms. These interfaces cater to different
types of users, such as developers, database administrators,
and end-users.