Chapter 2_Database system concepts and architectures (2)
Chapter 2_Database system concepts and architectures (2)
- Ermias N.
3
Chapter Two
6
Chapter Two
Cont…
• Two-Tier Client/Server Architecture: In this architecture the client
processes provide an interface for the user, and gather and present
data usually on a screen.
• The server processes provide an interface with the data storage. The
logic that validates data, monitors security and permissions, and
performs other business rules.
• The exact division of the logic varies from system to system.
• Client/server applications that are designed to run the user and
business tiers of the application on the client side and the data tier on
the server side are known as fat client applications.
7
Chapter Two
Cont…
• Applications that are designed to run the user tier on the client side and
the business and data tiers on the server side are known as thin client
applications.
• Three-Tier Client/Server Architecture: An application that has three
modularly separated tiers that can be run on three machines.
• User/Client tier (GUI or Web Interface): User tier presents the user interface
for the application, displays data and collects user input.
• Data tier (Data Server): Data tier comprises the data storage and a layer that
passes data from the data storage to
8
the business tier and vice versa.
Chapter Two
Cont…
9
Chapter Two
• The external or view level includes external schema: Includes user views.
Hides the rest of the database from user groups.
1
0
Chapter Two
Cont…
1
1
Chapter Two
Data Independence
• Data independence: Can be defined as the capacity to change the
schema at one level of a database system without having to change the
schema at the next higher level.
• There are two types of data independence.
• Logical data independence: The capacity to change the conceptual
schema without having to change external schemas or application
programs
• We may change the conceptual schema to expand the database or to
reduce the database, but it doesn’t affect the external schema.
• Changes to constraints can be applied also to the conceptual schema
without affecting the external schemas.
1
2
Chapter Two
Data Independence
• Physical data independence: The capacity to change the internal
schema without having to change the conceptual (or external)
schemas.
• If the same data as before remains in the database, we should not
have to change the conceptual schema
1
3
Chapter Two
• Physical Design: physical implementation of the upper level design of the database with respect to internal storage and file
structure
1
4
Chapter Two
Cont…
• Implementation: The testing and deployment of the designed database for use.
• Operation and Support: Administering and maintaining the operation of the database
1
5
Chapter Two
DBMS Interfaces
Types of interfaces provided by the DBMS include:
• Menu-Based Interfaces
• These interfaces present the user with lists of options that lead the user through the formulation of a
request.
• Forms-Based Interfaces:
• Displays a form to each user.
• User can fill out form to insert new data
• or they can fill out only certain entries, to retrieve matching data for the remaining entries.
• Graphical User Interfaces: Displays a schema to the user in diagram form.
1
7
Chapter Two
1
8
Chapter Two
Classification of DBMSs
Reading Assignment…
1
9