Chapter1-Introduction To DBMS
Chapter1-Introduction To DBMS
Course 1
Introduction to DBMS
Attributes
Data Models
The Entity-Relationship Model
Client machines
Network Database
Server machines
Application Architectures
Two-Tiered Architecture User User
The application is partitioned into
a component that resides at the Application client
client machine application
It remotely invokes the database Network Network
server machine through query
languages statements Application server
E.g. using ODBC, JDBC for
interaction between the client and Database systems Database systems
the server
Three-Tiered Architecture Two-Tiered Architecture Three-Tiered Architecture
The client machine acts as a
front-end and does not contain
any direct database calls
The client machine
communication with the server
application through an interface
of forms (not direct queries)
The server application
communicate with a database
system to access data
Instances and Schemas
Instance of a database
The collection of information stored in the database at a
particular moment is called an instance.
Schema of database
The overall design of the database is called schema.
Physical Schema
Describes the data design at the physical level
Logical Schema
Describes the data design at the logical level
Review Terms
Database management Data models ((E-R), Relational)
system (DBMS) Database languages (DDL, DML)
File Systems Data Dictionary
Metadata
Data inconsistency
Application program interface
Consistency constraints Database administrator
Data views/ data Transactions
abstraction Concurrency
Database instance Client and servers machines
Exercises
Q.1 List four significant differences
between files systems and a DBMS
Exercises
Q.2 What are the steps that you would take in setting up
a database for a particular enterprise?
R2.
Collecting the required information that must be stored in the
database
Define the structure of the schema of a database, which defines
the logical and physical structure of the data
Define the method for manipulating the database
Establish the relation between data
Granting authorization for data access for the case of multi-user
database systems
Creating different views of the database for different users of the
database
Exercises
Q.3 What is the purpose of having a
DBMS?
R3. the primary goal of a DBMS is to
provide an environment that is both
convenient and efficient for people to
use in retrieving and storing
information
Exercises
Q.4 Define a transaction. Explain the
meaning of atomicity and illustrate it
on example.
R4. A transaction is a collection of
operations that performs s single logical
function in a database application