SlideShare a Scribd company logo
1 of 25
•1
Learning Resource
On
Database Management Systems
Chapter-1
Introduction to DBMS
Prepared By:
Kunal Anand, Asst. Professor
SCE, KIIT, DU, Bhubaneswar-24
2
Chapter Outcome:
• After the completion of this chapter, the students
will be able to:
– Explain the limitations of traditional file processing
system.
– List out the characteristics of the database approach.
– Explain different types of database users.
– Classify different types of databases.
– Identify the advantages and disadvantages of DBMS.
– List the areas where DBMS should not be used.
3
Organization of this Chapter:
• Introduction
• Data Processing
• Traditional data storage and its limitations
• Characteristics of the database approach
• Types of Database
• Database Users
• Advantages and Disadvantages of Database
approach
• When not to use a DBMS
Introduction
• Database and database systems are an essential part of life in a
modern society. Most of us encounter several activities on day
to day basis which involves database and database systems in
one or another way. Ex: Online shopping, Online ticket
booking, banking transactions, use of social media etc.
• The above examples are basically the traditional database
applications. However, with the rapid technological
advancements a range of exciting new database applications
have come into existence. For example, Geographical
Information System, multimedia databases like hotstar, netflix,
amazon prime, etc.
Data Processing
• Any raw or unprocessed fact can be referred to as “Data”.
Data in its raw form does not hold any importance.
• When the data is processed in order to extract some meaning
of any significance, it is referred to as “Information”.
• Data processing may involve several operations like data
collection, recording, sorting, classifying, retrieving,
calculating, summarizing, and communicating.
• Data Management focuses on generation, storage, and retrieval
of data.
Traditional Data Storage
• File processing system was an early attempt to computerize the
manual filing system that we are all familiar with.
• A file system is a method for storing and organizing computer
files and the data they contain, to make it easy to find and
access them.
• File systems may use a storage device such as a hard disk or
CD-ROM and involve maintaining the physical location of the
files.
• The manual filing system works well when the number of
items to be stored is small. It even works quite adequately
when there are large numbers of items and we have only to
store and retrieve them. However, the manual filing system
breaks down when we have to cross-reference or process the
information in the files.
Traditional File System
File System
Loan_Processing
(Application Program)
Fixed_Deposit_Processing
(Application Program)
Transaction_Processing
(Application Program)
Customer_Details.dat Customer_Loan.dat Customer_Fixed_Deposit.dat Customer_Transaction.dat
Limitations of Traditional File System
• Data Security
• Data Redundancy
• Data Isolation
• Data Inconsistency
• Program / Data Dependence
• Lack of Flexibility
• Incompatible file formats
• Concurrent Access Anomalies
Database Approach
Database (DB) :
• Computer based organized collection of interrelated data.
• Records & maintains end users data and meta data i.e. data
through which the end user data are integrated and managed.
• A database is designed, built and populated with data for a
specific purpose as it has an intended group of users.
• A database can be of any size and complexity based on the
requirement. For example, a database for a university, database
of e-commerce companies etc.
• A database may be generated and maintained manually, if the
size is small, or the same may be computerized.
Database Management System (DBMS)
• A Database Management System, DBMS, is a collection of
programs that enables user to create and maintain a database.
• It is an interface between end users and the DB.
• DBMS is a general purpose software system that facilitates the
process of defining, constructing, manipulating, and sharing
DB among various users and applications.
• How it works
– An application program accesses the DB by sending
queries to the DBMS.
– The query causes some data to be retrieved over which a
transaction will be performed.
– A transaction may cause some data to be read and some
data to be written into the DB.
DB System Environment
An Example
• UNIVERSITY is a DB that maintains information concerned
to students, course, and grades in a university environment.
• Now, this DB can be organized in following files that stores
data records of same type.
– STUDENT file stores data on each student,
– COURSE file stores data on each course,
– SECTION file stores data on each section,
– GRADE file stores the grade that student receives.
• To define this DB, we must specify the structure of the records
of each file by specifying the different types of data element to
be stored in each record.
• Now, to create the UNIVERSITY database, we store data to
represent each student, course, section, and grade as a record
in the appropriate file.
Characteristics of DB Approach
• The main characteristics of the DB approach is as
below:
• Self describing:
• A DB also contains a complete definition along with the
database.
• This definition is stored in the DBMS catalogue which
contains information like structure of each file, its type,
storage format of each data item, and various constraints.
• This catalogue is known as “Meta-data”.
contd..
• Insulation between program and data, and data
abstraction:
• In traditional file system, since the structure of data file is
embedded in the application program, so any changes to
the structure of a file may require changing all programs
that access that file.
• By contrast, DBMS access programs do not require such
changes because the structure of the data file is stored in
the meta-data which is separate from the access programs.
This is known as program-data independence.
contd..
• Support of multiple views of data:
– A DB typically has many users, each of whom may require
a different view of DB. A multi user DBMS facilitates for
defining multiple views for variety of users.
• Sharing of data and multiuser transaction
processing:
– A multiuser DBMS must allow multiple users to access the
DB at the same time. This is essential if data for multiple
applications is to be integrated and maintained in a single
DB.
– DBMS must include concurrency control software to
ensure that several users trying to update the same data do
so in a controlled manner so that the result of the updates is
correct. Ex: Ticket booking system.
Types of Database
• Depending on the number of users accessing the DB,
it may be classified as below:
– Single-user:
• Supports only one user at a time.
• When used on a personal computer it is known as
“Desktop” DB system.
– Multi-user:
• Supports multiple user at the same time.
• When used by a relatively small group of users, it is
known as “Workgroup” DB system.
• When used by many users across globe, it is known as
“Enterprise” DB system
contd..
• Depending on the location of the DB, it may be
classified as below:
– Centralized:
• In this DB system, the data is located at one single
location.
– Distributed:
• It supports data located at several different sites.
• Here, the same DB is located at different servers at
different locations so that even if the original server
goes down; the data can be available to users from
another server.
Actors on the scene
– DB Administrators (DBA):
• In a DB environment, the primary resource is the DB
itself and the secondary resource is the DBMS and the
related software.
• Administring these resources is the responsibility of the
database administrator.
• The DBA is responsible for authorizing access to the DB,
coordinating and montitoring its use and acquiring
software and hardware as needed.
• DBA is also responsible for breach of security or poor
system response time.
• In large organizations, DBA is assisted by a team of
individuals in managing these responsibilities.
contd..
• DB Designers:
– The DB designers are responsible for identifying the data to
be stored in the database and also for choosing appropriate
structures to represent and store the data.
– They interact with all perspective users of DB in order to
understand their requirements so that they can create a
design that meets these requirements.
– DB designers may also be assigned some administration
related jobs after the design work is over.
contd..
• End Users: People who access the database for querying,
updating and generating reports are known as end users. End
users may be categorized as below:
– Casual end user: Occassional user with different
requirements every time. These include middle or high
level managers or occasional browsers.
– Naive end user: Sizeable portion of DB end users. Their
job includes constantly querying and updating the DB
using standard types of queries and updates, known as
canned transactions that have been carefully programmed
and tested.
contd..
– Sophisticated end user: It include engineers, scientists,
business analysts who thoroughly familiarize themselves
with the facilities of DBMS in order to implement their
application to meet their complex requirement.
– Standalone users: They maintain personal DB by using
ready made packages that provide easy to use menu based
or graphics based interfaces.
• Software Engineers:
– They determine the requirements of the end users,
especially naive end users and develop specifications for
canned transactions to meet these requirements.
– Application programmers implement these specifications as
program, then they test, debug, document and maintain
these canned transactions.
Workers behind the Scene
• In addition to the actors, others are associated with the design,
development, and operation of of DBMS software and system
environment. They are known as workers behind the scene.
– DBMS system developers and implementers
– Tool developers
– Operators and maintenance personnal.
Advantages of DBMS
• A DBMS have some significant advantages as mentioned
below:
– Controls redundancy
– Restricts unauthorized access
– Allows data sharing
– provides storage structure and search techniques for
efficient query processing
– provides backup and recovery
– supports multiple user interface
– Availability of up-to-date information
– Represents complex relationship among data.
Disadvantage of DBMS
• Increased cost and complexity
• Technical staff requirement
• Database failure
• Extra cost of hardware
• Large operational size
• Currency maintenance
When not to use DBMS
• Simple well defined database applications that are not
expected to change very frequently.
• Real time requirements for some program may not meet
because of DBMS overhead due to its high investment, for
providing security, concurrency control, recovery functions etc.
• No need of multiple user interface.
• Embedded system with limited storage capacity and its not
enough to get DBMS fit in.
• Small organizations

More Related Content

What's hot

1. Introduction to DBMS
1. Introduction to DBMS1. Introduction to DBMS
1. Introduction to DBMS
koolkampus
 
Lecture 01 introduction to database
Lecture 01 introduction to databaseLecture 01 introduction to database
Lecture 01 introduction to database
emailharmeet
 

What's hot (20)

1. Introduction to DBMS
1. Introduction to DBMS1. Introduction to DBMS
1. Introduction to DBMS
 
Elmasri Navathe DBMS Unit-1 ppt
Elmasri Navathe DBMS Unit-1 pptElmasri Navathe DBMS Unit-1 ppt
Elmasri Navathe DBMS Unit-1 ppt
 
DBMS an Example
DBMS an ExampleDBMS an Example
DBMS an Example
 
Lecture 01 introduction to database
Lecture 01 introduction to databaseLecture 01 introduction to database
Lecture 01 introduction to database
 
Distributed Database Management System
Distributed Database Management SystemDistributed Database Management System
Distributed Database Management System
 
Object Oriented Database Management System
Object Oriented Database Management SystemObject Oriented Database Management System
Object Oriented Database Management System
 
Characteristic of dabase approach
Characteristic of dabase approachCharacteristic of dabase approach
Characteristic of dabase approach
 
Week 3 Classification of Database Management Systems & Data Modeling
Week 3 Classification of Database Management Systems & Data ModelingWeek 3 Classification of Database Management Systems & Data Modeling
Week 3 Classification of Database Management Systems & Data Modeling
 
Basic Concept Of Database Management System (DBMS) [Presentation Slide]
Basic Concept Of Database Management System (DBMS) [Presentation Slide]Basic Concept Of Database Management System (DBMS) [Presentation Slide]
Basic Concept Of Database Management System (DBMS) [Presentation Slide]
 
Data models
Data modelsData models
Data models
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to Database
 
11 Database Concepts
11 Database Concepts11 Database Concepts
11 Database Concepts
 
Unit1 DBMS Introduction
Unit1 DBMS IntroductionUnit1 DBMS Introduction
Unit1 DBMS Introduction
 
Chapter 1 Fundamentals of Database Management System
Chapter 1 Fundamentals of Database Management SystemChapter 1 Fundamentals of Database Management System
Chapter 1 Fundamentals of Database Management System
 
Database language
Database languageDatabase language
Database language
 
Dbms architecture
Dbms architectureDbms architecture
Dbms architecture
 
Introduction to Database Management System
Introduction to Database Management SystemIntroduction to Database Management System
Introduction to Database Management System
 
Dbms 3: 3 Schema Architecture
Dbms 3: 3 Schema ArchitectureDbms 3: 3 Schema Architecture
Dbms 3: 3 Schema Architecture
 
Introduction: Databases and Database Users
Introduction: Databases and Database UsersIntroduction: Databases and Database Users
Introduction: Databases and Database Users
 
Database Chapter 1
Database Chapter 1Database Chapter 1
Database Chapter 1
 

Similar to Chapter-1 Introduction to Database Management Systems

9a797dbms chapter1 b.sc2
9a797dbms chapter1 b.sc29a797dbms chapter1 b.sc2
9a797dbms chapter1 b.sc2
Mukund Trivedi
 
Module 1 - Chapter1.pptx
Module 1 - Chapter1.pptxModule 1 - Chapter1.pptx
Module 1 - Chapter1.pptx
SoniaDevi15
 

Similar to Chapter-1 Introduction to Database Management Systems (20)

1DATABASE.pptx
1DATABASE.pptx1DATABASE.pptx
1DATABASE.pptx
 
Intoduction- Database Management System
Intoduction- Database Management SystemIntoduction- Database Management System
Intoduction- Database Management System
 
Introduction to DBMS.pptx
Introduction to DBMS.pptxIntroduction to DBMS.pptx
Introduction to DBMS.pptx
 
CS3270 - DATABASE SYSTEM - Lecture (1)
CS3270 - DATABASE SYSTEM -  Lecture (1)CS3270 - DATABASE SYSTEM -  Lecture (1)
CS3270 - DATABASE SYSTEM - Lecture (1)
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
 
Database & Database Users
Database & Database UsersDatabase & Database Users
Database & Database Users
 
Introduction to RDBMS
Introduction to RDBMSIntroduction to RDBMS
Introduction to RDBMS
 
Introduction to Database Management System.pdf
Introduction to Database Management System.pdfIntroduction to Database Management System.pdf
Introduction to Database Management System.pdf
 
DBMS ppt by dipali jadhav
DBMS ppt by dipali jadhavDBMS ppt by dipali jadhav
DBMS ppt by dipali jadhav
 
9a797dbms chapter1 b.sc2
9a797dbms chapter1 b.sc29a797dbms chapter1 b.sc2
9a797dbms chapter1 b.sc2
 
Cp 121 lecture 01
Cp 121 lecture 01Cp 121 lecture 01
Cp 121 lecture 01
 
PHP/MySQL First Session Material
PHP/MySQL First Session MaterialPHP/MySQL First Session Material
PHP/MySQL First Session Material
 
Unit1 dbms
Unit1 dbmsUnit1 dbms
Unit1 dbms
 
Module 1 - Chapter1.pptx
Module 1 - Chapter1.pptxModule 1 - Chapter1.pptx
Module 1 - Chapter1.pptx
 
System Analysis And Design
System Analysis And DesignSystem Analysis And Design
System Analysis And Design
 
Lecture 1 =Unit 1 Part 1.ppt
Lecture 1 =Unit 1 Part 1.pptLecture 1 =Unit 1 Part 1.ppt
Lecture 1 =Unit 1 Part 1.ppt
 
Beginning Of DBMS (data base)
Beginning Of DBMS (data base)Beginning Of DBMS (data base)
Beginning Of DBMS (data base)
 
DBMS.pptx
DBMS.pptxDBMS.pptx
DBMS.pptx
 
Arinda oktaviana 11353204810 vii lokal g
Arinda oktaviana 11353204810   vii lokal gArinda oktaviana 11353204810   vii lokal g
Arinda oktaviana 11353204810 vii lokal g
 
DBMS-INTRODUCTION.pptx
DBMS-INTRODUCTION.pptxDBMS-INTRODUCTION.pptx
DBMS-INTRODUCTION.pptx
 

More from Kunal Anand

More from Kunal Anand (9)

Chapter-5 The Relational Data Model
Chapter-5 The Relational Data ModelChapter-5 The Relational Data Model
Chapter-5 The Relational Data Model
 
Chapter-10 Transaction Processing and Error Recovery
Chapter-10 Transaction Processing and Error RecoveryChapter-10 Transaction Processing and Error Recovery
Chapter-10 Transaction Processing and Error Recovery
 
Chapter-9 Normalization
Chapter-9 NormalizationChapter-9 Normalization
Chapter-9 Normalization
 
Chapter-8 Relational Database Design
Chapter-8 Relational Database DesignChapter-8 Relational Database Design
Chapter-8 Relational Database Design
 
Chapter-7 Relational Calculus
Chapter-7 Relational CalculusChapter-7 Relational Calculus
Chapter-7 Relational Calculus
 
Chapter-6 Relational Algebra
Chapter-6 Relational AlgebraChapter-6 Relational Algebra
Chapter-6 Relational Algebra
 
Chapter-4 Enhanced ER Model
Chapter-4 Enhanced ER ModelChapter-4 Enhanced ER Model
Chapter-4 Enhanced ER Model
 
Chapter-3 Data Modeling using ER Model
Chapter-3 Data Modeling using ER ModelChapter-3 Data Modeling using ER Model
Chapter-3 Data Modeling using ER Model
 
Chapter-2 Database System Concepts and Architecture
Chapter-2 Database System Concepts and ArchitectureChapter-2 Database System Concepts and Architecture
Chapter-2 Database System Concepts and Architecture
 

Recently uploaded

Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
Epec Engineered Technologies
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
Neometrix_Engineering_Pvt_Ltd
 

Recently uploaded (20)

Jaipur ❤CALL GIRL 0000000000❤CALL GIRLS IN Jaipur ESCORT SERVICE❤CALL GIRL IN...
Jaipur ❤CALL GIRL 0000000000❤CALL GIRLS IN Jaipur ESCORT SERVICE❤CALL GIRL IN...Jaipur ❤CALL GIRL 0000000000❤CALL GIRLS IN Jaipur ESCORT SERVICE❤CALL GIRL IN...
Jaipur ❤CALL GIRL 0000000000❤CALL GIRLS IN Jaipur ESCORT SERVICE❤CALL GIRL IN...
 
💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...
💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...
💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
457503602-5-Gas-Well-Testing-and-Analysis-pptx.pptx
457503602-5-Gas-Well-Testing-and-Analysis-pptx.pptx457503602-5-Gas-Well-Testing-and-Analysis-pptx.pptx
457503602-5-Gas-Well-Testing-and-Analysis-pptx.pptx
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech students
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
 
Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
Learn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic MarksLearn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic Marks
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 

Chapter-1 Introduction to Database Management Systems

  • 1. •1 Learning Resource On Database Management Systems Chapter-1 Introduction to DBMS Prepared By: Kunal Anand, Asst. Professor SCE, KIIT, DU, Bhubaneswar-24
  • 2. 2 Chapter Outcome: • After the completion of this chapter, the students will be able to: – Explain the limitations of traditional file processing system. – List out the characteristics of the database approach. – Explain different types of database users. – Classify different types of databases. – Identify the advantages and disadvantages of DBMS. – List the areas where DBMS should not be used.
  • 3. 3 Organization of this Chapter: • Introduction • Data Processing • Traditional data storage and its limitations • Characteristics of the database approach • Types of Database • Database Users • Advantages and Disadvantages of Database approach • When not to use a DBMS
  • 4. Introduction • Database and database systems are an essential part of life in a modern society. Most of us encounter several activities on day to day basis which involves database and database systems in one or another way. Ex: Online shopping, Online ticket booking, banking transactions, use of social media etc. • The above examples are basically the traditional database applications. However, with the rapid technological advancements a range of exciting new database applications have come into existence. For example, Geographical Information System, multimedia databases like hotstar, netflix, amazon prime, etc.
  • 5. Data Processing • Any raw or unprocessed fact can be referred to as “Data”. Data in its raw form does not hold any importance. • When the data is processed in order to extract some meaning of any significance, it is referred to as “Information”. • Data processing may involve several operations like data collection, recording, sorting, classifying, retrieving, calculating, summarizing, and communicating. • Data Management focuses on generation, storage, and retrieval of data.
  • 6. Traditional Data Storage • File processing system was an early attempt to computerize the manual filing system that we are all familiar with. • A file system is a method for storing and organizing computer files and the data they contain, to make it easy to find and access them. • File systems may use a storage device such as a hard disk or CD-ROM and involve maintaining the physical location of the files. • The manual filing system works well when the number of items to be stored is small. It even works quite adequately when there are large numbers of items and we have only to store and retrieve them. However, the manual filing system breaks down when we have to cross-reference or process the information in the files.
  • 7. Traditional File System File System Loan_Processing (Application Program) Fixed_Deposit_Processing (Application Program) Transaction_Processing (Application Program) Customer_Details.dat Customer_Loan.dat Customer_Fixed_Deposit.dat Customer_Transaction.dat
  • 8. Limitations of Traditional File System • Data Security • Data Redundancy • Data Isolation • Data Inconsistency • Program / Data Dependence • Lack of Flexibility • Incompatible file formats • Concurrent Access Anomalies
  • 9. Database Approach Database (DB) : • Computer based organized collection of interrelated data. • Records & maintains end users data and meta data i.e. data through which the end user data are integrated and managed. • A database is designed, built and populated with data for a specific purpose as it has an intended group of users. • A database can be of any size and complexity based on the requirement. For example, a database for a university, database of e-commerce companies etc. • A database may be generated and maintained manually, if the size is small, or the same may be computerized.
  • 10. Database Management System (DBMS) • A Database Management System, DBMS, is a collection of programs that enables user to create and maintain a database. • It is an interface between end users and the DB. • DBMS is a general purpose software system that facilitates the process of defining, constructing, manipulating, and sharing DB among various users and applications. • How it works – An application program accesses the DB by sending queries to the DBMS. – The query causes some data to be retrieved over which a transaction will be performed. – A transaction may cause some data to be read and some data to be written into the DB.
  • 12. An Example • UNIVERSITY is a DB that maintains information concerned to students, course, and grades in a university environment. • Now, this DB can be organized in following files that stores data records of same type. – STUDENT file stores data on each student, – COURSE file stores data on each course, – SECTION file stores data on each section, – GRADE file stores the grade that student receives. • To define this DB, we must specify the structure of the records of each file by specifying the different types of data element to be stored in each record. • Now, to create the UNIVERSITY database, we store data to represent each student, course, section, and grade as a record in the appropriate file.
  • 13. Characteristics of DB Approach • The main characteristics of the DB approach is as below: • Self describing: • A DB also contains a complete definition along with the database. • This definition is stored in the DBMS catalogue which contains information like structure of each file, its type, storage format of each data item, and various constraints. • This catalogue is known as “Meta-data”.
  • 14. contd.. • Insulation between program and data, and data abstraction: • In traditional file system, since the structure of data file is embedded in the application program, so any changes to the structure of a file may require changing all programs that access that file. • By contrast, DBMS access programs do not require such changes because the structure of the data file is stored in the meta-data which is separate from the access programs. This is known as program-data independence.
  • 15. contd.. • Support of multiple views of data: – A DB typically has many users, each of whom may require a different view of DB. A multi user DBMS facilitates for defining multiple views for variety of users. • Sharing of data and multiuser transaction processing: – A multiuser DBMS must allow multiple users to access the DB at the same time. This is essential if data for multiple applications is to be integrated and maintained in a single DB. – DBMS must include concurrency control software to ensure that several users trying to update the same data do so in a controlled manner so that the result of the updates is correct. Ex: Ticket booking system.
  • 16. Types of Database • Depending on the number of users accessing the DB, it may be classified as below: – Single-user: • Supports only one user at a time. • When used on a personal computer it is known as “Desktop” DB system. – Multi-user: • Supports multiple user at the same time. • When used by a relatively small group of users, it is known as “Workgroup” DB system. • When used by many users across globe, it is known as “Enterprise” DB system
  • 17. contd.. • Depending on the location of the DB, it may be classified as below: – Centralized: • In this DB system, the data is located at one single location. – Distributed: • It supports data located at several different sites. • Here, the same DB is located at different servers at different locations so that even if the original server goes down; the data can be available to users from another server.
  • 18. Actors on the scene – DB Administrators (DBA): • In a DB environment, the primary resource is the DB itself and the secondary resource is the DBMS and the related software. • Administring these resources is the responsibility of the database administrator. • The DBA is responsible for authorizing access to the DB, coordinating and montitoring its use and acquiring software and hardware as needed. • DBA is also responsible for breach of security or poor system response time. • In large organizations, DBA is assisted by a team of individuals in managing these responsibilities.
  • 19. contd.. • DB Designers: – The DB designers are responsible for identifying the data to be stored in the database and also for choosing appropriate structures to represent and store the data. – They interact with all perspective users of DB in order to understand their requirements so that they can create a design that meets these requirements. – DB designers may also be assigned some administration related jobs after the design work is over.
  • 20. contd.. • End Users: People who access the database for querying, updating and generating reports are known as end users. End users may be categorized as below: – Casual end user: Occassional user with different requirements every time. These include middle or high level managers or occasional browsers. – Naive end user: Sizeable portion of DB end users. Their job includes constantly querying and updating the DB using standard types of queries and updates, known as canned transactions that have been carefully programmed and tested.
  • 21. contd.. – Sophisticated end user: It include engineers, scientists, business analysts who thoroughly familiarize themselves with the facilities of DBMS in order to implement their application to meet their complex requirement. – Standalone users: They maintain personal DB by using ready made packages that provide easy to use menu based or graphics based interfaces. • Software Engineers: – They determine the requirements of the end users, especially naive end users and develop specifications for canned transactions to meet these requirements. – Application programmers implement these specifications as program, then they test, debug, document and maintain these canned transactions.
  • 22. Workers behind the Scene • In addition to the actors, others are associated with the design, development, and operation of of DBMS software and system environment. They are known as workers behind the scene. – DBMS system developers and implementers – Tool developers – Operators and maintenance personnal.
  • 23. Advantages of DBMS • A DBMS have some significant advantages as mentioned below: – Controls redundancy – Restricts unauthorized access – Allows data sharing – provides storage structure and search techniques for efficient query processing – provides backup and recovery – supports multiple user interface – Availability of up-to-date information – Represents complex relationship among data.
  • 24. Disadvantage of DBMS • Increased cost and complexity • Technical staff requirement • Database failure • Extra cost of hardware • Large operational size • Currency maintenance
  • 25. When not to use DBMS • Simple well defined database applications that are not expected to change very frequently. • Real time requirements for some program may not meet because of DBMS overhead due to its high investment, for providing security, concurrency control, recovery functions etc. • No need of multiple user interface. • Embedded system with limited storage capacity and its not enough to get DBMS fit in. • Small organizations