Professional Documents
Culture Documents
Introduction
Introduction
Module 1
Definitions
Data is a known fact that have implicit meaning.
Database is a collection of related data
represents some aspect of the real world
logically coherent collection (not a random collection)
designed, built & populated for a specific purpose
DBMS is a software system that facilitate user to design
and maintain database.
Database System - together the database and DBMS
software
Typical DBMS Functionality
DBMS provides Facilities to:
Define a specify data types, structures & constraints for the
data to be stored in the database
Construct or Load the initial database contents on a
secondary storage medium.
Manipulate the database:
Retrieval: Querying, generating reports
Modification: Insertions, deletions and updates to its content
Accessing the database through Web applications
Processing and Sharing by a set of concurrent users and
application programs–yet, keeping all data valid and
consistent.
Typical DBMS Functionality
Other features:
Protection or Security measures to prevent unauthorized
access
”Active” processing to take internal actions on data
Presentation and Visualization of data
Maintaining the database and associated programs over
the life time of the database application
- called database, software, and system maintenance
A simplified database system environment
Popular DBMS Software
MySQL
Microsoft Access
Oracle
PostgreSQL
SQLite
IBM DB2
LibreOffice Base
MariaDB
Microsoft SQL Server etc.
Application of DBMS
Sector Use of DBMS
Banking For customer information, account activities,
payments, deposits, loans, etc.
Airlines, Railways For reservations and schedule information.
Universities, Colleges For student information, course registrations,
colleges and grades.
Telecommunications It helps to keep call records, monthly bills,
maintaining balances, etc.
Finance For storing information about stock, sales, and
purchases of financial instruments like stocks
and bonds.
Sales Use for storing customer, product & sales
information.
HR For information about employees, salaries,
payroll, deduction, generation of paychecks, etc.
Example of a Database(with a
Conceptual Data Model)
Mini-world for the example:
Part of a UNIVERSITY environment
Some mini-world entities:
STUDENTs
COURSEs
SECTIONs (of COURSEs)
(academic) DEPARTMENTs
INSTRUCTORs
DBMSs VS File Processing
Why do we need a
DBMS?
Controlling Redundancy
Restricting Unauthorized Access
Providing persistent storage for program objects and data
structures
Providing backup and recovery
Providing Multiple user Interface
Representing complex relationship among data
Enforcing Integrity constraints
System Analysts and Application Programmers
(Software Engineers)
Workers behind the scene
System designers and implementers are persons who
design and implement the DBMS modules and interfaces as
a software package.
A DBMS is a very complex software system that consists
of many components, or modules.
Ex: Implementing the catalog, processing query language,
processing the interface, accessing and buffering data,
controlling concurrency, and handling data recovery and
security.
The DBMS must interface with other system software, such
as the operating system and compilers for various
programming languages.
Workers behind the scene
(contd.)
Tool developers include persons who design and
implement tools-the software packages that facilitate
database system design and use and that help improve
performance.
Tools are optional packages that are often purchased
separately.
They include packages for database design, performance
monitoring, natural language or graphical interfaces,
prototyping, simulation, and test data generation. In many
cases, independent software vendors develop and market
these tools.
Workers behind the scene
(contd.)
Operators and maintenance personnel are the system
administration personnel who are responsible for the
actual running and maintenance of the hardware and
software environment for the database system.
Data Model
Examples:
Entity Relationship model
Relational Model
hierarchical & network models
object-data models
Conceptual
Models
Categories of Data Models
Entities, attributes
& relationships
Implementation
Models
Record Structures
Physical
Models Record formats,
record orderings, access paths
DBMS Interfaces