Database Management System
Database Management System
SYSTEM
ECCDLO 6014
TE EXTC, SEM-VI
Department Level Optional Course
Course Pre-requisite:
FEC 205 : C Programming
concurrency control.
DATABASE SYSTEM
DBMS
------- SQL server
------- oracle 9,11,12C
4
------- my SQL
June 19, 2025 Database Management System
5
The DBMS manages incoming data, organizes
it, and provides ways for the data to be
It has a comparatively
It is less expensive than
8.Cost higher cost than a file
DBMS.
system.
8
Course Course Teaching Scheme Credits Assigned
Code Name (Hrs.)
Theory Practical Tutorial Theory Practical Tutorial Total
ECCDLO Database -- --
6014 Managem 20 20 60 02 100
ent
System
9
Modul Unit Topics Hrs.
e No. No.
1.0 Introduction to Databases 02
Reference Books:
1.Peter Rob and Carlos Coronel, “Database Systems Design,
Implementation and Management”, Thomson Learning, 5th
Edition.
2.P.S. Deshpande, “SQL and PL/SQL for Oracle 11g, Black Book”,
Dreamtech Press Mark L. Gillenson, Paulraj Ponniah, “Introduction
to Database Management”, Wiley
3.Raghu Ramkrishnan and Johannes Gehrke, “Database
Management Systems”, TMH
4.Debabrata Sahoo “Database Management Systems‖ Tata 12
McGraw Hill, Schaum‘s
5.Outline E-Resources:
June 19, 2025 Database Management System
13
Modul Uni Topics Hrs
e No. t .
No.
1.0 Introduction to Databases 02
Relational Databases
Database Design
Storage Manager
Query Processing
Transaction Manager
HISTORY OF DATABASE SYSTEMS
1950s and early 1960s:
Data processing using magnetic tapes for storage
Tapes provided only sequential access
Punched cards for input
Late 1960s and 1970s:
Hard disks allowed direct access to data
Network and hierarchical data models in widespread
use
Ted Codd defines the relational data model
Would win the ACM Turing Award for this work
IBM Research begins System R prototype
UC Berkeley begins Ingres prototype
High-performance (for the era) transaction processing
HISTORY (CONT.)
1980s:
Research relational prototypes evolve into commercial
systems
SQL becomes industrial standard
Parallel and distributed database systems
Object-oriented database systems
1990s:
Large decision support and data-mining applications
Large multi-terabyte data warehouses
Emergence of Web commerce
Early 2000s:
XML and XQuery standards
Automated database administration
Later 2000s:
Giant data storage systems
Google BigTable, Yahoo PNuts, Amazon, ..
DATABASE MANAGEMENT SYSTEM
(DBMS)
DBMS contains information about a particular enterprise
Collection of interrelated data
Set of programs to access the data
An environment that is both convenient and efficient to use
Database Applications:
Banking: transactions
Airlines: reservations, schedules
Universities: registration, grades
Sales: customers, products, purchases
Online retailers: order tracking, customized recommendations
Manufacturing: production, inventory, orders, supply chain
Human resources: employee records, salaries, tax deductions
Databases can be very large.
Databases touch all aspects of our lives
UNIVERSITY DATABASE EXAMPLE
Application program examples
Add new students, instructors, and courses
Register students for courses, and generate
class rosters
Assign grades to students, compute grade
point averages (GPA) and generate
transcripts
In the early days, database applications
were built directly on top of file systems
Why to Learn DBMS?
A modern DBMS has the following characteristics −
database design)
Object-based data models (Object-oriented
and Object-relational)
Semistructured data model (XML)
Rows
A SAMPLE RELATIONAL DATABASE
DATA DEFINITION LANGUAGE (DDL)
Specification notation for defining the database schema
Example: create table instructor (
ID char(5),
name varchar(20),
dept_name varchar(20),
salary numeric(8,2))
DDL compiler generates a set of table templates stored in
a data dictionary
Data dictionary contains metadata (i.e., data about data)
Database schema
Integrity constraints
Primary key (ID uniquely identifies instructors)
Authorization
Who can access what
DATA MANIPULATION LANGUAGE
(DML)
Language for accessing and manipulating
the data organized by the appropriate
data model
DML also known as query language
Two classes of languages
Pure– used for proving properties about
computational power and for optimization
Relational Algebra
Tuple relational calculus
of
Language extensions to allow embedded SQL
Application program interface (e.g., ODBC/JDBC) which allow SQL
queries to be sent to a database
E.g. find the name of the customer with customer-id
192-83-7465
select customer.customer-name
from customer
where customer.customer-id = ‘192-83-
7465’
DATABASE DESIGN
The process of designing the general structure of the
database:
Logical Design – Deciding on the database schema.
Database design requires that we find a “good”
collection of relation schemas.
Business decision – What attributes should we record in
the database?
Computer Science decision – What relation schemas
should we have and how should the attributes be
distributed among the various relation schemas?
Physical Design – Deciding on the physical layout of
the database
DATABASE DESIGN (CONT.)
Is there any problem with this relation?
DESIGN APPROACHES
Need to come up with a methodology to
ensure that each of the relations in the
database is “good”
Two ways of doing so:
Entity Relationship Model (Chapter 7)
Models an enterprise as a collection of entities and
relationships
Represented diagrammatically by an entity-
relationship diagram:
Normalization Theory (Chapter 8)
Formalize what designs are bad, and test for them
OBJECT-RELATIONAL DATA MODELS
Relational model: flat, “atomic” values
Object Relational Data Models
Extend the relational data model by including
object orientation and constructs to deal with
added data types.
Allow attributes of tuples to have complex types,
including non-atomic values such as nested
relations.
Preserve relational foundations, in particular the
declarative access to data, while extending
modeling power.
Provide upward compatibility with existing
relational languages.
XML: EXTENSIBLE MARKUP
LANGUAGE
Defined by the WWW Consortium (W3C)
Originally intended as a document markup
Transaction manager
STORAGE MANAGEMENT
Storage manager is a program module that
provides the interface between the low-level
data stored in the database and the
application programs and queries submitted to
the system.
The storage manager is responsible to the
following tasks:
Interaction with the OS file manager
Efficient storing, retrieving and updating of data
Issues:
Storage access
File organization
Indexing and hashing
QUERY PROCESSING
Database
DATABASE SYSTEM INTERNALS
Overall System Structure
DATABASE ARCHITECTURE
Client-server
Parallel (multi-processor)
Distributed
END OF CHAPTER 1
June 19, 2025 Database Management System
THANK YOU!
58