SlideShare a Scribd company logo
1 of 19
Download to read offline
UNIT 1
Introduction to Database Management System
Dinesh Kumar Bhawnani, BIT DURG
Data and Information
• Data is meaningful known raw facts that can be processed and stored
as information.
• For e.g.
• Ram
• Korth
• Samsung
Dinesh Kumar Bhawnani, BIT DURG 2
Database
• Database is a collection of interrelated and organized data.
• For e.g.
• STUDENT
• BOOK
• LIBRARY
Dinesh Kumar Bhawnani, BIT DURG 3
DBMS
• Database Management System (DBMS) is a collection of interrelated
data [usually called database] and a set of programs to access, update
and manage those data [which form part of management system].
• It is a software package to facilitate creation and maintenance of
computerized database. It is general purpose software that facilitates
the following:
• Defining: Specifying data types and structures, and constraints for data to be
stored.
• Constructing: Storing data in a storage medium.
• Manipulating: Involves querying, updating and generating reports.
• Sharing: Allowing multiple users and programs to access data simultaneously.
Dinesh Kumar Bhawnani, BIT DURG 4
Examples Of DBMS
• MS Access
• dBase
• FileMaker Pro
• FoxBASE
• ORACLE
• Ingress
• Informix
• MySQL
• MS SQL Server
• IBM DB2
• PostgreSQL
Dinesh Kumar Bhawnani, BIT DURG 5
Primary goals of DBMS
• To provide a way to store and retrieve database information that is
both convenient and efficient.
• To manage large and small bodies of information. It involves defining
structures for storage of information and providing mechanism for
manipulation of information.
• It should ensure safety of information stored, despite system crashes
or attempts at unauthorized access.
• If data are to be shared among several users, then system should
avoid possible anomalous results.
Dinesh Kumar Bhawnani, BIT DURG 6
Disadvantages of File Processing System
• Data Redundancy — Since different programmers create the files and
application programs over a long period, the various files are likely to
have different formats and the programs may be written in several
programming languages. Moreover, the same information may be
duplicated in several files, this duplication of data over several files is
known as data redundancy.
• Eg. The address and telephone number of a particular customer may
appear in a file that consists of saving-account records and in a file
that consists of checking-account records.
Dinesh Kumar Bhawnani, BIT DURG 7
Disadvantages of File Processing System
• Data Inconsistency — The various copies of same data may no longer
agree i.e. various copies of the same data may contain different
information.
• Eg. A changed customer address may be reflected in savings-account
records but not elsewhere in the system.
Dinesh Kumar Bhawnani, BIT DURG 8
Disadvantages of File Processing System
• Difficulty in accessing data — In a conventional file processing system
it is difficult to access the data in a specific manner and it is require
creating an application program to carry out each new task.
• E.g. Suppose that one of the bank officers needs to find out the
names of all customers who live within a particular postal-code area.
The officer asks the data-processing department to generate such a
list. Because the designer of the original system did not anticipate this
request, there is no application program on hand to meet it.
Dinesh Kumar Bhawnani, BIT DURG 9
Disadvantages of File Processing System
• Data Isolation — Because data are scattered in various files, and files
may be in different formats, writing new application programs to
retrieve the appropriate data is difficult.
Dinesh Kumar Bhawnani, BIT DURG 10
Disadvantages of File Processing System
• Integrity problems - The data values stored in the database must
satisfy certain types of consistency constraints.
• E.g. The balance of a bank account may never fall below a prescribed
amount (say $25).
• Developers enforce these constraints in the system by adding
appropriate code in the various application programs. However, when
new constraints are added, it is difficult to change the programs to
enforce them. The problem is compounded when constraints involve
several data items from different files.
Dinesh Kumar Bhawnani, BIT DURG 11
Disadvantages of File Processing System
• Atomicity problems - A computer system, like any other device, is subject
to failure. In many applications, it is crucial that, if a failure occurs, the data
be restored to the consistent state that existed prior to the failure.
• E.g. Consider a banking system with a program to transfer $500 from
account A to account B. If a system failure occurs during the execution of
the program, it is possible that the $500 was removed from the balance of
account A but was not credited to the balance of account B, resulting in an
inconsistent database state. Clearly, it is essential to database consistency
that either both the credit and debit occur, or that neither occur. That is,
the funds transfer must be atomic—it must happen in its entirety or not at
all.
• It is difficult to ensure atomicity in a conventional file-processing system.
Dinesh Kumar Bhawnani, BIT DURG 12
Atomicity Problems (Consistent State)
• A B A+B
• 1000 2000 3000
• A = A + 100 B = B - 100
• B = B - 100 A = A + 100
• A B A+B
• 1100 1900 3000
Dinesh Kumar Bhawnani, BIT DURG 13
Atomicity Problems (In - consistent State)
• A B A+B
• 1000 2000 3000
• A = A + 100
• B = B - 100
• A B A+B
• 1100 2000 3100
Dinesh Kumar Bhawnani, BIT DURG 14
Atomicity Problems (In - consistent State)
• A B A+B
• 1000 2000 3000
• B = B - 100
• A = A + 100
• A B A+B
• 1000 1900 2900
Dinesh Kumar Bhawnani, BIT DURG 15
Disadvantages of File Processing System
• Concurrent-access anomalies - For the sake of overall performance of the system and
faster response, many systems allow multiple users to update the data simultaneously. In
such an environment, interaction of concurrent updates is possible and may result in
inconsistent data.
• Consider account A, with a balance of $10,000. If two bank clerks debit the account
balance (by say $500 and $100, respectively) of account A at almost exactly the same
time, the result of the concurrent executions may leave the account balance in an
incorrect (or inconsistent) state. Suppose that the programs executing on behalf of each
withdrawal read the old balance, reduce that value by the amount being withdrawn, and
write the result back. If the two programs run concurrently, they may both read the value
$10,000, and write back $9500 and $9900, respectively. Depending on which one writes
the value last, the balance of account A may contain either $9500 or $9900, rather than
the correct value of $9400.
• To guard against this possibility, the system must maintain some form of supervision. But
supervision is difficult to provide because data may be accessed by many different
application programs that have not been coordinated previously.
Dinesh Kumar Bhawnani, BIT DURG 16
Concurrent Access Anamalies
• A B (Joint Accounts)
• 1000 1000 (Balance – 1000)
• A = A - 1000 B = B - 1000
Dinesh Kumar Bhawnani, BIT DURG 17
Disadvantages of File Processing System
• Security problems - Not every user of the database system should be
able to access all the data.
• For example, in a university, payroll personnel need to see only that
part of the database that has financial information. They do not need
access to information about academic records. But since application
programs are added to the file-processing system in an ad hoc
manner, enforcing such security constraints is difficult.
Dinesh Kumar Bhawnani, BIT DURG 18
For Video lecture on this topic please subscribe to my youtube channel.
The link for my youtube channel is
https://www.youtube.com/channel/UCRWGtE76JlTp1iim6aOTRuw?sub
_confirmation=1
Dinesh Kumar Bhawnani, BIT DURG 19

More Related Content

What's hot

Historical Evolution of RDBMS
Historical Evolution of RDBMSHistorical Evolution of RDBMS
Historical Evolution of RDBMSShailesh Pachori
 
Cp 121 lecture 01
Cp 121 lecture 01Cp 121 lecture 01
Cp 121 lecture 01ITNet
 
2 database system concepts and architecture
2 database system concepts and architecture2 database system concepts and architecture
2 database system concepts and architectureKumar
 
01 dbms-introduction
01 dbms-introduction01 dbms-introduction
01 dbms-introductionToktok Tukta
 
Databaseconcepts
DatabaseconceptsDatabaseconcepts
Databaseconceptskissumadanu
 
Lesson - 02 Network Design and Management
Lesson - 02 Network Design and ManagementLesson - 02 Network Design and Management
Lesson - 02 Network Design and ManagementAngel G Diaz
 
Chapter 2 database environment
Chapter 2 database environmentChapter 2 database environment
Chapter 2 database environment>. <
 
Database Management System users
Database Management System usersDatabase Management System users
Database Management System usersRaj vardhan
 
Bsc cs ii-dbms- u-ii-database system concepts and architecture
Bsc cs ii-dbms- u-ii-database system concepts and architectureBsc cs ii-dbms- u-ii-database system concepts and architecture
Bsc cs ii-dbms- u-ii-database system concepts and architectureRai University
 
Database Design and Implementation
Database Design and ImplementationDatabase Design and Implementation
Database Design and ImplementationChristian Reina
 
Ansi spark
Ansi sparkAnsi spark
Ansi sparkjani
 
Ch01 database-conceptsppt4207
Ch01 database-conceptsppt4207Ch01 database-conceptsppt4207
Ch01 database-conceptsppt4207Burhan Chaudhry
 
Database system architecture
Database system architectureDatabase system architecture
Database system architectureDk Rukshan
 

What's hot (20)

Users of dbms
Users of dbmsUsers of dbms
Users of dbms
 
Historical Evolution of RDBMS
Historical Evolution of RDBMSHistorical Evolution of RDBMS
Historical Evolution of RDBMS
 
Dbms Useful PPT
Dbms Useful PPTDbms Useful PPT
Dbms Useful PPT
 
Cp 121 lecture 01
Cp 121 lecture 01Cp 121 lecture 01
Cp 121 lecture 01
 
2 database system concepts and architecture
2 database system concepts and architecture2 database system concepts and architecture
2 database system concepts and architecture
 
Database management system
Database management systemDatabase management system
Database management system
 
01 dbms-introduction
01 dbms-introduction01 dbms-introduction
01 dbms-introduction
 
Databaseconcepts
DatabaseconceptsDatabaseconcepts
Databaseconcepts
 
Lesson - 02 Network Design and Management
Lesson - 02 Network Design and ManagementLesson - 02 Network Design and Management
Lesson - 02 Network Design and Management
 
Dbms
DbmsDbms
Dbms
 
Chapter2
Chapter2Chapter2
Chapter2
 
Chapter 2 database environment
Chapter 2 database environmentChapter 2 database environment
Chapter 2 database environment
 
Database Management System users
Database Management System usersDatabase Management System users
Database Management System users
 
Bsc cs ii-dbms- u-ii-database system concepts and architecture
Bsc cs ii-dbms- u-ii-database system concepts and architectureBsc cs ii-dbms- u-ii-database system concepts and architecture
Bsc cs ii-dbms- u-ii-database system concepts and architecture
 
Database Development Process
Database Development ProcessDatabase Development Process
Database Development Process
 
Database Design and Implementation
Database Design and ImplementationDatabase Design and Implementation
Database Design and Implementation
 
Ansi spark
Ansi sparkAnsi spark
Ansi spark
 
Data Base Management System
Data Base Management SystemData Base Management System
Data Base Management System
 
Ch01 database-conceptsppt4207
Ch01 database-conceptsppt4207Ch01 database-conceptsppt4207
Ch01 database-conceptsppt4207
 
Database system architecture
Database system architectureDatabase system architecture
Database system architecture
 

Similar to Dbms Notes Lecture 1 : Drawbacks of File processing system

dbms ppt.pptx database management system
dbms ppt.pptx database management systemdbms ppt.pptx database management system
dbms ppt.pptx database management systemdeeptipal230
 
Introduction to Database Management System.pdf
Introduction to Database Management System.pdfIntroduction to Database Management System.pdf
Introduction to Database Management System.pdfbiswajit62002
 
INTRODUCTION TO DATABASE
INTRODUCTION TO DATABASEINTRODUCTION TO DATABASE
INTRODUCTION TO DATABASECS_GDRCST
 
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 CompleteRaj vardhan
 
Characteristics and Advantages of Database Management System
Characteristics and Advantages of Database Management SystemCharacteristics and Advantages of Database Management System
Characteristics and Advantages of Database Management SystemCharthaGaglani
 
PURPOSE OF DATABASE final.pptx
PURPOSE OF DATABASE final.pptxPURPOSE OF DATABASE final.pptx
PURPOSE OF DATABASE final.pptxAnusha sivakumar
 
INTRODUCTION TO RDBMS
INTRODUCTION TO RDBMSINTRODUCTION TO RDBMS
INTRODUCTION TO RDBMSVidhya Balan
 
Lecture 1&2(rdbms-ii)
Lecture 1&2(rdbms-ii)Lecture 1&2(rdbms-ii)
Lecture 1&2(rdbms-ii)Ravinder Kamboj
 
CST204 DBMSMODULE1 PPT (1).pptx
CST204 DBMSMODULE1 PPT (1).pptxCST204 DBMSMODULE1 PPT (1).pptx
CST204 DBMSMODULE1 PPT (1).pptxMEGHANA508383
 
Beginning Of DBMS (data base)
Beginning Of DBMS (data base)Beginning Of DBMS (data base)
Beginning Of DBMS (data base)Surya Swaroop
 
data base management report
data base management report data base management report
data base management report shivam tripathi
 

Similar to Dbms Notes Lecture 1 : Drawbacks of File processing system (20)

dbms ppt.pptx database management system
dbms ppt.pptx database management systemdbms ppt.pptx database management system
dbms ppt.pptx database management system
 
Unit1 dbms
Unit1 dbmsUnit1 dbms
Unit1 dbms
 
Database & Database Users
Database & Database UsersDatabase & Database Users
Database & Database Users
 
Intro.pptx
Intro.pptxIntro.pptx
Intro.pptx
 
Introduction to Database Management System.pdf
Introduction to Database Management System.pdfIntroduction to Database Management System.pdf
Introduction to Database Management System.pdf
 
INTRODUCTION TO DATABASE
INTRODUCTION TO DATABASEINTRODUCTION TO DATABASE
INTRODUCTION TO DATABASE
 
sequel for biginners.pptx
sequel for biginners.pptxsequel for biginners.pptx
sequel for biginners.pptx
 
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
 
Characteristics and Advantages of Database Management System
Characteristics and Advantages of Database Management SystemCharacteristics and Advantages of Database Management System
Characteristics and Advantages of Database Management System
 
DBMS Bascis
DBMS BascisDBMS Bascis
DBMS Bascis
 
Dbms chap i
Dbms chap iDbms chap i
Dbms chap i
 
PURPOSE OF DATABASE final.pptx
PURPOSE OF DATABASE final.pptxPURPOSE OF DATABASE final.pptx
PURPOSE OF DATABASE final.pptx
 
INTRODUCTION TO RDBMS
INTRODUCTION TO RDBMSINTRODUCTION TO RDBMS
INTRODUCTION TO RDBMS
 
Lecture 1&2(rdbms-ii)
Lecture 1&2(rdbms-ii)Lecture 1&2(rdbms-ii)
Lecture 1&2(rdbms-ii)
 
CST204 DBMSMODULE1 PPT (1).pptx
CST204 DBMSMODULE1 PPT (1).pptxCST204 DBMSMODULE1 PPT (1).pptx
CST204 DBMSMODULE1 PPT (1).pptx
 
Information Management
Information ManagementInformation Management
Information Management
 
Unit3rd
Unit3rdUnit3rd
Unit3rd
 
Beginning Of DBMS (data base)
Beginning Of DBMS (data base)Beginning Of DBMS (data base)
Beginning Of DBMS (data base)
 
File system vs DBMS
File system vs DBMSFile system vs DBMS
File system vs DBMS
 
data base management report
data base management report data base management report
data base management report
 

More from BIT Durg

Dbms Notes Lecture 9 : Specialization, Generalization and Aggregation
Dbms Notes Lecture 9 : Specialization, Generalization and AggregationDbms Notes Lecture 9 : Specialization, Generalization and Aggregation
Dbms Notes Lecture 9 : Specialization, Generalization and AggregationBIT Durg
 
Dbms Notes Lecture 8 : E R Diagram question with solutions
Dbms Notes Lecture 8 : E R Diagram question with solutionsDbms Notes Lecture 8 : E R Diagram question with solutions
Dbms Notes Lecture 8 : E R Diagram question with solutionsBIT Durg
 
Database management system Lecture 7 : Strong and weak entity sets
Database management system Lecture 7 : Strong and weak entity setsDatabase management system Lecture 7 : Strong and weak entity sets
Database management system Lecture 7 : Strong and weak entity setsBIT Durg
 
Dbms Notes Lecture 6 : E R Model, Relationship, Cardinality Ratio
Dbms Notes Lecture 6 : E R Model, Relationship, Cardinality RatioDbms Notes Lecture 6 : E R Model, Relationship, Cardinality Ratio
Dbms Notes Lecture 6 : E R Model, Relationship, Cardinality RatioBIT Durg
 
Dbms Notes Lecture 5 : E R Model, Entity
Dbms Notes Lecture 5 : E R Model, EntityDbms Notes Lecture 5 : E R Model, Entity
Dbms Notes Lecture 5 : E R Model, EntityBIT Durg
 
Dbms Notes Lecture 4 : Data Models in DBMS
Dbms Notes Lecture 4 : Data Models in DBMSDbms Notes Lecture 4 : Data Models in DBMS
Dbms Notes Lecture 4 : Data Models in DBMSBIT Durg
 
Dbms Notes Lecture 2 : Levels of Data Abstraction
Dbms Notes Lecture 2 : Levels of Data AbstractionDbms Notes Lecture 2 : Levels of Data Abstraction
Dbms Notes Lecture 2 : Levels of Data AbstractionBIT Durg
 

More from BIT Durg (7)

Dbms Notes Lecture 9 : Specialization, Generalization and Aggregation
Dbms Notes Lecture 9 : Specialization, Generalization and AggregationDbms Notes Lecture 9 : Specialization, Generalization and Aggregation
Dbms Notes Lecture 9 : Specialization, Generalization and Aggregation
 
Dbms Notes Lecture 8 : E R Diagram question with solutions
Dbms Notes Lecture 8 : E R Diagram question with solutionsDbms Notes Lecture 8 : E R Diagram question with solutions
Dbms Notes Lecture 8 : E R Diagram question with solutions
 
Database management system Lecture 7 : Strong and weak entity sets
Database management system Lecture 7 : Strong and weak entity setsDatabase management system Lecture 7 : Strong and weak entity sets
Database management system Lecture 7 : Strong and weak entity sets
 
Dbms Notes Lecture 6 : E R Model, Relationship, Cardinality Ratio
Dbms Notes Lecture 6 : E R Model, Relationship, Cardinality RatioDbms Notes Lecture 6 : E R Model, Relationship, Cardinality Ratio
Dbms Notes Lecture 6 : E R Model, Relationship, Cardinality Ratio
 
Dbms Notes Lecture 5 : E R Model, Entity
Dbms Notes Lecture 5 : E R Model, EntityDbms Notes Lecture 5 : E R Model, Entity
Dbms Notes Lecture 5 : E R Model, Entity
 
Dbms Notes Lecture 4 : Data Models in DBMS
Dbms Notes Lecture 4 : Data Models in DBMSDbms Notes Lecture 4 : Data Models in DBMS
Dbms Notes Lecture 4 : Data Models in DBMS
 
Dbms Notes Lecture 2 : Levels of Data Abstraction
Dbms Notes Lecture 2 : Levels of Data AbstractionDbms Notes Lecture 2 : Levels of Data Abstraction
Dbms Notes Lecture 2 : Levels of Data Abstraction
 

Recently uploaded

Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersChitralekhaTherkar
 

Recently uploaded (20)

Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of Powders
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 

Dbms Notes Lecture 1 : Drawbacks of File processing system

  • 1. UNIT 1 Introduction to Database Management System Dinesh Kumar Bhawnani, BIT DURG
  • 2. Data and Information • Data is meaningful known raw facts that can be processed and stored as information. • For e.g. • Ram • Korth • Samsung Dinesh Kumar Bhawnani, BIT DURG 2
  • 3. Database • Database is a collection of interrelated and organized data. • For e.g. • STUDENT • BOOK • LIBRARY Dinesh Kumar Bhawnani, BIT DURG 3
  • 4. DBMS • Database Management System (DBMS) is a collection of interrelated data [usually called database] and a set of programs to access, update and manage those data [which form part of management system]. • It is a software package to facilitate creation and maintenance of computerized database. It is general purpose software that facilitates the following: • Defining: Specifying data types and structures, and constraints for data to be stored. • Constructing: Storing data in a storage medium. • Manipulating: Involves querying, updating and generating reports. • Sharing: Allowing multiple users and programs to access data simultaneously. Dinesh Kumar Bhawnani, BIT DURG 4
  • 5. Examples Of DBMS • MS Access • dBase • FileMaker Pro • FoxBASE • ORACLE • Ingress • Informix • MySQL • MS SQL Server • IBM DB2 • PostgreSQL Dinesh Kumar Bhawnani, BIT DURG 5
  • 6. Primary goals of DBMS • To provide a way to store and retrieve database information that is both convenient and efficient. • To manage large and small bodies of information. It involves defining structures for storage of information and providing mechanism for manipulation of information. • It should ensure safety of information stored, despite system crashes or attempts at unauthorized access. • If data are to be shared among several users, then system should avoid possible anomalous results. Dinesh Kumar Bhawnani, BIT DURG 6
  • 7. Disadvantages of File Processing System • Data Redundancy — Since different programmers create the files and application programs over a long period, the various files are likely to have different formats and the programs may be written in several programming languages. Moreover, the same information may be duplicated in several files, this duplication of data over several files is known as data redundancy. • Eg. The address and telephone number of a particular customer may appear in a file that consists of saving-account records and in a file that consists of checking-account records. Dinesh Kumar Bhawnani, BIT DURG 7
  • 8. Disadvantages of File Processing System • Data Inconsistency — The various copies of same data may no longer agree i.e. various copies of the same data may contain different information. • Eg. A changed customer address may be reflected in savings-account records but not elsewhere in the system. Dinesh Kumar Bhawnani, BIT DURG 8
  • 9. Disadvantages of File Processing System • Difficulty in accessing data — In a conventional file processing system it is difficult to access the data in a specific manner and it is require creating an application program to carry out each new task. • E.g. Suppose that one of the bank officers needs to find out the names of all customers who live within a particular postal-code area. The officer asks the data-processing department to generate such a list. Because the designer of the original system did not anticipate this request, there is no application program on hand to meet it. Dinesh Kumar Bhawnani, BIT DURG 9
  • 10. Disadvantages of File Processing System • Data Isolation — Because data are scattered in various files, and files may be in different formats, writing new application programs to retrieve the appropriate data is difficult. Dinesh Kumar Bhawnani, BIT DURG 10
  • 11. Disadvantages of File Processing System • Integrity problems - The data values stored in the database must satisfy certain types of consistency constraints. • E.g. The balance of a bank account may never fall below a prescribed amount (say $25). • Developers enforce these constraints in the system by adding appropriate code in the various application programs. However, when new constraints are added, it is difficult to change the programs to enforce them. The problem is compounded when constraints involve several data items from different files. Dinesh Kumar Bhawnani, BIT DURG 11
  • 12. Disadvantages of File Processing System • Atomicity problems - A computer system, like any other device, is subject to failure. In many applications, it is crucial that, if a failure occurs, the data be restored to the consistent state that existed prior to the failure. • E.g. Consider a banking system with a program to transfer $500 from account A to account B. If a system failure occurs during the execution of the program, it is possible that the $500 was removed from the balance of account A but was not credited to the balance of account B, resulting in an inconsistent database state. Clearly, it is essential to database consistency that either both the credit and debit occur, or that neither occur. That is, the funds transfer must be atomic—it must happen in its entirety or not at all. • It is difficult to ensure atomicity in a conventional file-processing system. Dinesh Kumar Bhawnani, BIT DURG 12
  • 13. Atomicity Problems (Consistent State) • A B A+B • 1000 2000 3000 • A = A + 100 B = B - 100 • B = B - 100 A = A + 100 • A B A+B • 1100 1900 3000 Dinesh Kumar Bhawnani, BIT DURG 13
  • 14. Atomicity Problems (In - consistent State) • A B A+B • 1000 2000 3000 • A = A + 100 • B = B - 100 • A B A+B • 1100 2000 3100 Dinesh Kumar Bhawnani, BIT DURG 14
  • 15. Atomicity Problems (In - consistent State) • A B A+B • 1000 2000 3000 • B = B - 100 • A = A + 100 • A B A+B • 1000 1900 2900 Dinesh Kumar Bhawnani, BIT DURG 15
  • 16. Disadvantages of File Processing System • Concurrent-access anomalies - For the sake of overall performance of the system and faster response, many systems allow multiple users to update the data simultaneously. In such an environment, interaction of concurrent updates is possible and may result in inconsistent data. • Consider account A, with a balance of $10,000. If two bank clerks debit the account balance (by say $500 and $100, respectively) of account A at almost exactly the same time, the result of the concurrent executions may leave the account balance in an incorrect (or inconsistent) state. Suppose that the programs executing on behalf of each withdrawal read the old balance, reduce that value by the amount being withdrawn, and write the result back. If the two programs run concurrently, they may both read the value $10,000, and write back $9500 and $9900, respectively. Depending on which one writes the value last, the balance of account A may contain either $9500 or $9900, rather than the correct value of $9400. • To guard against this possibility, the system must maintain some form of supervision. But supervision is difficult to provide because data may be accessed by many different application programs that have not been coordinated previously. Dinesh Kumar Bhawnani, BIT DURG 16
  • 17. Concurrent Access Anamalies • A B (Joint Accounts) • 1000 1000 (Balance – 1000) • A = A - 1000 B = B - 1000 Dinesh Kumar Bhawnani, BIT DURG 17
  • 18. Disadvantages of File Processing System • Security problems - Not every user of the database system should be able to access all the data. • For example, in a university, payroll personnel need to see only that part of the database that has financial information. They do not need access to information about academic records. But since application programs are added to the file-processing system in an ad hoc manner, enforcing such security constraints is difficult. Dinesh Kumar Bhawnani, BIT DURG 18
  • 19. For Video lecture on this topic please subscribe to my youtube channel. The link for my youtube channel is https://www.youtube.com/channel/UCRWGtE76JlTp1iim6aOTRuw?sub _confirmation=1 Dinesh Kumar Bhawnani, BIT DURG 19