Module1
Module1
Management
Systems
Module 1: Fundamental Concepts &
Architecture
Module 1
Module:1 Fundamental Concepts and Architecture:
Introduction to database system, Characteristics of the
Database Approach, Actors on the Scene, Workers behind
the Scene, Advantages of Using the DBMS Approach, Data
Models, Schemas, and Instances, Three-Schema Architecture
and Data Independence, Database Languages and Interfaces,
The Database System Environment, Classification of
Database Management Systems
Book(s)
Text Book:
Fundamentals of Database Systems by Ramez Elmasri and
Shamkant B.Navathe Pearson Education,2013.
Reference Books:
Database Management Systems by Raghu Rama Krishnan,
Tata Mcgraw Hill, 2010.
Database System Concepts by Abraham Silberschatz, Henry
F.Korth and S.Sudarshan, Tata Mc Graw Hill, 2011
Database System Design and Implementation by Rob
Cornell,cennage learning, 2011
Acknowledgement
Database
Data
Mini-world
Database management System (DBMS)
Database System
Image Source: https://www.theteflcentre.com/news/skills-reading-6-tasks-for-
reading-activities-matching-words-to-definitions
Basic Definitions
Database
A collection of related data.
Data
Known facts that can be recorded and
have an implicit meaning.
Image Source: https://analyticsindiamag.com/10-best-data-cleaning-tools-get-data/
Basic Definitions
Mini-World
Some part of the real world about which data
is stored in a database. For example, student
grades and transcripts at a university.
Image Source: https://store.steampowered.com/app/814480/Mini_World_Block_Art/
Basic Definitions
Database System
The DBMS software together with the data
itself. Sometimes, the applications are also
included.
Image Source: https://www.quora.com/What-is-database-system
Types of Databases
and Database
Applications
Data Abstraction:
A data model is used to hide storage details
and present the users with a conceptual view
of the database.
Programs refer to the data model constructs
rather than data storage details.
Image Source: https://www.hitechnectar.com/blogs/data-abstraction-level/
Characteristics of
Database Approach
Database administrators:
Responsible for authorizing access to the
database, for coordinating and monitoring its
use, acquiring software and hardware
resources, controlling its use and monitoring
efficiency of operations.
Image Source: https://www.dataversity.net/so-you-want-to-be-a-database-administrator/
Actors on the Scene
Database Designers:
Responsible to define the content, the
structure, the constraints, and functions or
transactions against the database. They must
communicate with the end-users and
Image Source: https://www.cybertec-postgresql.com/en/services/postgresql-design/ understand their needs.
postgresql-database-modeling/
Actors on the Scene
Sophisticated:
These include business analysts, scientists,
engineers, others thoroughly familiar with
the system capabilities.
Many use tools in the form of software
packages that work closely with the stored
Image Source: https://knowyourmeme.com/photos/1698903-computer-reaction-faces
database.
Actors on the Scene
Stand-alone:
Mostly maintain personal databases using
ready-to-use packaged applications.
An example is a tax program user that creates its
own internal database.
Another example is a user that maintains an
Image Source: https://www.yourdictionary.com/stand-alone-pc address book.
Workers behind the
Scene
Data Model:
A set of concepts to describe the
structure of a database, the operations
for manipulating these structures, and
certain constraints that the database
should obey.
Image Source: https://powerpivotpro.com/2016/02/data-modeling-power-pivot-power-bi/
Data Model
Structure and
Constraints
Constructs are used to define the database
structure
Constructs typically include elements (and
their data types) as well as groups of
elements (e.g. entity, record, table), and
relationships among such groups
Constraints specify some restrictions on
valid data; these constraints must be
enforced at all times
Data Model
Operations
These operations are used for
specifying database retrievals and
updates by referring to the constructs
of the data model.
Operations on the data model may
include basic model operations (e.g.
generic insert, delete, update) and
user-defined operations (e.g.
compute_student_gpa,
update_inventory).
Data Model -
Categories
Conceptual (high-level, semantic) data models:
Provide concepts that are close to the way
many users perceive data.
(Also called entity-based or object-based
data models.)
Physical (low-level, internal) data models:
Provide concepts that describe details of how
data is stored in the computer.
Implementation (representational) data models:
Provide concepts that fall between the above
two, used by many commercial DBMS
implementations.
Schema vs Instances
Database Schema:
The description of a database.
Includes descriptions of the database
structure, data types, and the constraints
on the database.
Schema Diagram:
An illustrative display of (most aspects of)
a database schema.
Schema Construct:
A component of the schema or an object
within the schema, e.g., STUDENT, COURSE.
Schema vs Instances
Database State:
The actual data stored in a database at a
particular moment in time. This includes
the collection of all the data in the
database.
Also called database instance (or
occurrence or snapshot).
The term instance is also applied to
individual database components, e.g. record
instance, table instance, entity instance.
Database Schema vs
State
Database State:
Refers to the content of a database at a
moment in time.
Initial Database State:
Refers to the database state when it is
initially loaded into the system.
Valid State:
A state that satisfies the structure and
constraints of the database.
Database Schema vs
State
Distinction
The database schema changes very
infrequently.
The database state changes every time
the database is updated.
The 3-Tier architecture contains another layer between the client and
server.
In this architecture, client can’t directly communicate with the server.
The application on the client-end interacts with an application server
which further communicates with the database system.
End user has no idea about the existence of the database beyond the
application server and the database also has no idea about any other
user beyond the application.
The 3-Tier architecture is used in case of large web application.