Database Management Systems (3:0:0) : Sub Code: 21IS4C04
Database Management Systems (3:0:0) : Sub Code: 21IS4C04
Database Management Systems (3:0:0) : Sub Code: 21IS4C04
(3:0:0)
Reference books:
Information
Processed data is called information.
The purpose of data processing is to generate the
information required for carrying out the activities.
Why do we need a database?
Keep records of our:
Clients
Staff
Volunteers
To keep a record of activities
and interventions;
Keep sales records;
Develop reports;
Perform research
Longitudinal tracking
Database
Database may be defined in simple terms as a
collection of data
A database is a collection of related data.
Databases in CS/IS
Basic concepts and skills with database systems
are part of the skill set you will be assumed to
have as a CS/IS graduate
Database Management System
DBMS provides:
- Persistence
- Concurrency
- Integrity
- Security
- Data independence
Database Systems
The database and DBMS software together called
as a database system.
Who will be using the database and what tasks will they
perform?
How often will the data be modified? Who will make these
modifications?
Who will be providing IT support for the database?
Will data access be offered over the Internet? If so, what level
of access should be supported?
Chapter 1
Introduction
Basic Definitions
Database: A collection of related data.
Other features:
Protection or Security measures to prevent
unauthorized access
Presentation and Visualization of data
Example of a Database
Mini-world for the example: Part of a
UNIVERSITY environment.
Some mini-world entities:
STUDENTs
COURSEs
SECTIONs (of COURSEs)
(academic) DEPARTMENTs
INSTRUCTORs
Categories:
Database Administrators
Database Designers
End Users
System Analysts and Application
Programmers (Software Engineers)
Actors on the scene
Stand-alone end-user :
Maintain personal databases
parametric)
Develop specifications for canned transactions
Application programmer:
Implement the specifications as programs
Categories:
1. DBMS system designers and implementers
2. Tool developers
3. Operators and Maintenance personnel
1. DBMS system designers and implementers:
CALL Sales(’2004-04-01’,’2004-04-02’);
When not to use DBMS:
Data Model:
A set of concepts to describe
Advantages:
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.
Example of a Database Schema
Schemas contd…
Database State
The actual data stored in a database at a
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
Example of a database state
Distinction between database schema &
database state
The database schema changes very infrequently.
The database state changes every time the
database is updated.
• The DBMS is partly responsible for ensuring that
every state of the database is a valid state—that
is, a state that satisfies the structure and
constraints specified in the schema.
Uses a implementation/Representational
data model to describe conceptual schema.
External schemas at the external level (or
view level) to describe the various user views.
1.6a
1.5a
Physical data independence: