SlideShare ist ein Scribd-Unternehmen logo
1 von 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

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

Rdbms
RdbmsRdbms
Rdbms
 
Database administrator
Database administratorDatabase administrator
Database administrator
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
 
RDBMS
RDBMSRDBMS
RDBMS
 
Data Models
Data ModelsData Models
Data Models
 
Normalization | (1NF) |(2NF) (3NF)|BCNF| 4NF |5NF
Normalization | (1NF) |(2NF) (3NF)|BCNF| 4NF |5NFNormalization | (1NF) |(2NF) (3NF)|BCNF| 4NF |5NF
Normalization | (1NF) |(2NF) (3NF)|BCNF| 4NF |5NF
 
Basic DBMS ppt
Basic DBMS pptBasic DBMS ppt
Basic DBMS ppt
 
Data base management system
Data base management systemData base management system
Data base management system
 
Unit 1: Introduction to DBMS Unit 1 Complete
Unit 1: Introduction to DBMS Unit 1 CompleteUnit 1: Introduction to DBMS Unit 1 Complete
Unit 1: Introduction to DBMS Unit 1 Complete
 
Database abstraction
Database abstractionDatabase abstraction
Database abstraction
 
Database & Database Users
Database & Database UsersDatabase & Database Users
Database & Database Users
 
11 Database Concepts
11 Database Concepts11 Database Concepts
11 Database Concepts
 
Dbms
DbmsDbms
Dbms
 
Unit1 DBMS Introduction
Unit1 DBMS IntroductionUnit1 DBMS Introduction
Unit1 DBMS Introduction
 
Introduction: Databases and Database Users
Introduction: Databases and Database UsersIntroduction: Databases and Database Users
Introduction: Databases and Database Users
 
Database management functions
Database management functionsDatabase management functions
Database management functions
 
Distributed database
Distributed databaseDistributed database
Distributed database
 
Elmasri Navathe DBMS Unit-1 ppt
Elmasri Navathe DBMS Unit-1 pptElmasri Navathe DBMS Unit-1 ppt
Elmasri Navathe DBMS Unit-1 ppt
 
Dbms Introduction and Basics
Dbms Introduction and BasicsDbms Introduction and Basics
Dbms Introduction and Basics
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
 

Ähnlich wie Chapter-1 Introduction to Database Management Systems

Ähnlich wie 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
 
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
 
DBMS basics and normalizations unit.pptx
DBMS basics and normalizations unit.pptxDBMS basics and normalizations unit.pptx
DBMS basics and normalizations unit.pptx
 

Mehr von Kunal Anand

Chapter-5 The Relational Data Model
Chapter-5 The Relational Data ModelChapter-5 The Relational Data Model
Chapter-5 The Relational Data ModelKunal Anand
 
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 RecoveryKunal Anand
 
Chapter-9 Normalization
Chapter-9 NormalizationChapter-9 Normalization
Chapter-9 NormalizationKunal Anand
 
Chapter-8 Relational Database Design
Chapter-8 Relational Database DesignChapter-8 Relational Database Design
Chapter-8 Relational Database DesignKunal Anand
 
Chapter-7 Relational Calculus
Chapter-7 Relational CalculusChapter-7 Relational Calculus
Chapter-7 Relational CalculusKunal Anand
 
Chapter-6 Relational Algebra
Chapter-6 Relational AlgebraChapter-6 Relational Algebra
Chapter-6 Relational AlgebraKunal Anand
 
Chapter-4 Enhanced ER Model
Chapter-4 Enhanced ER ModelChapter-4 Enhanced ER Model
Chapter-4 Enhanced ER ModelKunal Anand
 
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 ModelKunal Anand
 
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 ArchitectureKunal Anand
 

Mehr von 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
 

Kürzlich hochgeladen

PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLPVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLManishPatel169454
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756dollysharma2066
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
Vivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design SpainVivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design Spaintimesproduction05
 
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 torqueBhangaleSonal
 
Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Christo Ananth
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptMsecMca
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...Call Girls in Nagpur High Profile
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...ranjana rawat
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfRagavanV2
 
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 PPTbhaskargani46
 

Kürzlich hochgeladen (20)

PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLPVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
Vivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design SpainVivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design Spain
 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 
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
 
Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
NFPA 5000 2024 standard .
NFPA 5000 2024 standard                                  .NFPA 5000 2024 standard                                  .
NFPA 5000 2024 standard .
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
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
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 

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