SlideShare a Scribd company logo
1 of 14
Download to read offline
Dr. Amiya Ranjan Panda
Assistant Professor [II]
School of Computer Engineering,
Kalinga Institute of Industrial Technology (KIIT),
Deemed to be University,Odisha
Database Management Systems (CS 2004)
KALINGA INSTITUTE OF INDUSTRIAL
TECHNOLOGY
School Of Computer
Engineering
4 Credit Lecture Note 01
Chapter Contents
q Data & Information
q Drawbacks of File system
q What is Database Management Systems ?
q What is the need of DBMS?
q Examples of DBMS
q Database Types
q Applications of DBMS
q Advantage of DBMS over file system
q Disadvantages of DBMS
q DBMS vs. File System
2
ü Data can be defined as a representation of facts, concepts, or instructions in a
formalized manner, which should be suitable for communication, interpretation,
or processing by human or electronic machine.
ü Generally data is raw and unprocessed.
ü Data becomes information when it is processed, turning it into something
meaningful.
ü Information is organized or classified data, which has some meaningful values
for the receiver. Information is the processed data on which decisions and
actions are based.
3
Data & Information
ü 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.
ü Duplication of data – Redundant data
ü Dependency on application programs – Changing files would lead to
change in application programs
4
Drawbacks of File system
ü DBMS stands for Database Management System. We can break it like this
DBMS = Database + Management System.
ü Database is a collection of data and Management System is a set of
programs to store and retrieve those data. Based on this we can define
DBMS like this:
DBMS is a collection of inter-related data and set of programs to store &
access those data in an easy and effective manner.
ü For example: The college Database organizes the data about the admin,
staff, students and faculty etc.
5
5
What is Database Management Systems ?
ü Database systems are basically developed for large amount of data. When
dealing with huge amount of data, there are two things that require
optimization: Storage of data and retrieval of data.
§ Storage: According to the principles of database systems, the data is
stored in such a way that it acquires lot less space as the redundant
data (duplicate data) has been removed before storage. .
§ Fast Retrieval of data: Along with storing the data in an optimized
and systematic manner, it is also important that we retrieve the data
quickly when needed. Database systems ensure that the data is
retrieved as quickly as possible.
6
6
What is the need of DBMS ?
ü Here are some examples of popular DBMS used these days:
• MySql
• Oracle
• SQL Server
• IBM DB2
• PostgreSQL
• Amazon SimpleDB (cloud based) etc
7
7
Examples of DBMS
q Depending on the number of users accessing the database, a database system may
be classified as
Ø Single-user database system: It supports only one user at a time. When a single-
user database runs on a personal computer, it is also called a desktop database
system
Ø Multi-user database system: It supports multiple users at the same time. When a
multi-user database supports relatively small number of users, it is called as a
workgroup database system. If the database is used by many users across globe, it
is known as enterprise database system
q Depending on the location of the database, a database system may be classified
as:
Ø Centralized database system: It supports data located at a single site or single
place
Ø Distributed database system: It supports data distributed across several different
sites. Here, the same database can be replicated and stored in another computer so
that when ever the original server goes down; the data can be available to the user
from the replicated data from other servers.
8
8
Database Types
ü Banking : for customer information, accounts and loans and banking
transactions.
ü Universities : for student registrations and grades.
ü Airlines : for reservations and schedule information.
ü Library Management System : maintain all the information relate to book issue
dates, name of the book, author and availability of the book.
ü Telecommunications : for keeping records of call made, generating monthly
bills, maintaining balances on prepaid calling cards.
ü Sales : for customer, product and purchase information.
ü Finance : for storing information about holdings, sales, and purchases of
financial instruments such as stocks and bonds.
ü Human Resource : for information about employees, salaries, payroll taxes and
benefits
ü Manufacturing : for management of supply chain and for tracking production of
items in factories, inventories of items and orders for items.
ü Medical Sector
ü Military
ü Airline Reservation system 9
9
Applications of DBMS
ü Controlling of Redundancy : Data redundancy refers to the duplication of data
(i.e. storing same data multiple times). In a database system, by having a
centralized database and centralized control of data by the DBA the unnecessary
duplication of data is avoided. It also eliminates the extra time for processing the
large volume of data. It results in saving the storage space
ü Improved Data Sharing : DBMS allows a user to share the data in any number
of application programs
ü Data Integrity : Integrity means that the data in the database is accurate.
Centralized control of the data helps in permitting the administrator to define
integrity constraints to the data in the database. For example: in customer
database we can can enforce an integrity that it must accept the customer only
from Noida and Meerut city.
ü Security : Having complete authority over the operational data, enables the DBA
in ensuring that the only mean of access to the database is through proper
channels. The DBA can define authorization checks to be carried out whenever
access to sensitive data is attempted.
ü Efficient Data Access : In a database system, the data is managed by the DBMS
and all access to the data is through the DBMS providing a key to effective data
processing 10
10
Advantage of DBMS over file system
ü Data Consistency : By eliminating data redundancy, we greatly reduce the
opportunities for inconsistency. For example: is a customer address is
stored only once, we cannot have disagreement on the stored values. Also
updating data values is greatly simplified when each value is stored in one
place only. Finally, we avoid the wasted storage that results from redundant
data storage.
ü Data Independence : In a database system, the database management
system provides the interface between the application programs and the
data. When changes are made to the data representation, the meta data
obtained by the DBMS is changed but the DBMS is continues to provide
the data to application program in the previously used way. The DBMs
handles the task of transformation of data wherever necessary.
ü Enforcing Integrity Constraints
ü Providing Backup & Recovery
ü Providing Storage Structures for efficient query processing
11
11
Advantage of DBMS over file system
ü Increased Complexity
ü Requirement of New and Specialized Manpower
ü Large Size of DBMS
ü DBMS implementation cost is high compared to the file system
ü Performance: Database systems are generic, making them suitable for
various applications. However this feature affect their performance for
some applications
12
Disadvantages of DBMS
DBMS File System
•Minimal data redundancy problem in
DBMS
•Data Redundancy problem exits
•Data Inconsistency does not exist •Data Inconsistency exist here
•Accessing database is easier •Accessing is comparatively difficult
•The problem of data isolation is not found
in database
•Data is scattered in various files and files
may be of different format, so data
isolation problem exists
•Transactions like insert, delete, view,
updating, etc are possible in database
•In file system, transactions are not
possible
•Concurrent access and recovery is
possible in database
•Concurrent access and recovery is not
possible
•Security of data •Security of data is not good
•A database manager (administrator) stores
the relationship in form of structural tables
•A file manager is used to store all
relationships in directories in file systems.
13
DBMS vs. File System
14

More Related Content

What's hot

Database Management System
Database Management SystemDatabase Management System
Database Management SystemNishant Munjal
 
All data models in dbms
All data models in dbmsAll data models in dbms
All data models in dbmsNaresh Kumar
 
FUNCTION DEPENDENCY AND TYPES & EXAMPLE
FUNCTION DEPENDENCY  AND TYPES & EXAMPLEFUNCTION DEPENDENCY  AND TYPES & EXAMPLE
FUNCTION DEPENDENCY AND TYPES & EXAMPLEVraj Patel
 
Database administrator
Database administratorDatabase administrator
Database administratorTech_MX
 
Object Oriented Database Management System
Object Oriented Database Management SystemObject Oriented Database Management System
Object Oriented Database Management SystemAjay Jha
 
Dbms Introduction and Basics
Dbms Introduction and BasicsDbms Introduction and Basics
Dbms Introduction and BasicsSHIKHA GAUTAM
 
Presentation on Database management system
Presentation on Database management systemPresentation on Database management system
Presentation on Database management systemPrerana Bhattarai
 
Entity Relationship Diagram
Entity Relationship DiagramEntity Relationship Diagram
Entity Relationship DiagramShakila Mahjabin
 
Characteristic of dabase approach
Characteristic of dabase approachCharacteristic of dabase approach
Characteristic of dabase approachLuina Pani
 
Type of database models
Type of database modelsType of database models
Type of database modelsSanthiNivas
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to DatabaseSiti Ismail
 
Architecture of dbms(lecture 3)
Architecture of dbms(lecture 3)Architecture of dbms(lecture 3)
Architecture of dbms(lecture 3)Ravinder Kamboj
 
Basic Concept of Database
Basic Concept of DatabaseBasic Concept of Database
Basic Concept of DatabaseMarlon Jamera
 

What's hot (20)

Database Management System
Database Management SystemDatabase Management System
Database Management System
 
All data models in dbms
All data models in dbmsAll data models in dbms
All data models in dbms
 
FUNCTION DEPENDENCY AND TYPES & EXAMPLE
FUNCTION DEPENDENCY  AND TYPES & EXAMPLEFUNCTION DEPENDENCY  AND TYPES & EXAMPLE
FUNCTION DEPENDENCY AND TYPES & EXAMPLE
 
Database administrator
Database administratorDatabase administrator
Database administrator
 
Object Oriented Database Management System
Object Oriented Database Management SystemObject Oriented Database Management System
Object Oriented Database Management System
 
Dbms Introduction and Basics
Dbms Introduction and BasicsDbms Introduction and Basics
Dbms Introduction and Basics
 
Object oriented databases
Object oriented databasesObject oriented databases
Object oriented databases
 
RDBMS
RDBMSRDBMS
RDBMS
 
Database management system
Database management system Database management system
Database management system
 
Databases: Normalisation
Databases: NormalisationDatabases: Normalisation
Databases: Normalisation
 
Normalization in DBMS
Normalization in DBMSNormalization in DBMS
Normalization in DBMS
 
Presentation on Database management system
Presentation on Database management systemPresentation on Database management system
Presentation on Database management system
 
Entity Relationship Diagram
Entity Relationship DiagramEntity Relationship Diagram
Entity Relationship Diagram
 
Characteristic of dabase approach
Characteristic of dabase approachCharacteristic of dabase approach
Characteristic of dabase approach
 
Type of database models
Type of database modelsType of database models
Type of database models
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to Database
 
Architecture of dbms(lecture 3)
Architecture of dbms(lecture 3)Architecture of dbms(lecture 3)
Architecture of dbms(lecture 3)
 
Data warehousing
Data warehousingData warehousing
Data warehousing
 
Files Vs DataBase
Files Vs DataBaseFiles Vs DataBase
Files Vs DataBase
 
Basic Concept of Database
Basic Concept of DatabaseBasic Concept of Database
Basic Concept of Database
 

Similar to Database Management Systems (DBMS) Lecture

Similar to Database Management Systems (DBMS) Lecture (20)

DBMS-1.pptx
DBMS-1.pptxDBMS-1.pptx
DBMS-1.pptx
 
Unit1 DBMS Introduction
Unit1 DBMS IntroductionUnit1 DBMS Introduction
Unit1 DBMS Introduction
 
Ch01
Ch01Ch01
Ch01
 
Database management system
Database management systemDatabase management system
Database management system
 
Introduction to Databases and Transactions
Introduction to Databases and TransactionsIntroduction to Databases and Transactions
Introduction to Databases and Transactions
 
Intro.pptx
Intro.pptxIntro.pptx
Intro.pptx
 
Unit-I mech for studendts for btech .ppt
Unit-I mech for studendts for btech .pptUnit-I mech for studendts for btech .ppt
Unit-I mech for studendts for btech .ppt
 
DBMS unit-1.pdf
DBMS unit-1.pdfDBMS unit-1.pdf
DBMS unit-1.pdf
 
1677091759369776.pdf
1677091759369776.pdf1677091759369776.pdf
1677091759369776.pdf
 
Database Systems
Database SystemsDatabase Systems
Database Systems
 
Information Management
Information ManagementInformation Management
Information Management
 
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
 
Unit 2 rdbms study_material
Unit 2  rdbms study_materialUnit 2  rdbms study_material
Unit 2 rdbms study_material
 
Unit1 dbms
Unit1 dbmsUnit1 dbms
Unit1 dbms
 
Database Management System.pptx
Database Management System.pptxDatabase Management System.pptx
Database Management System.pptx
 
computer fund-database presentation
 computer fund-database presentation computer fund-database presentation
computer fund-database presentation
 
Chapter – 1 Intro to DBS.pdf
Chapter – 1 Intro to DBS.pdfChapter – 1 Intro to DBS.pdf
Chapter – 1 Intro to DBS.pdf
 
Chapter – 1 Intro to DBS.pdf
Chapter – 1 Intro to DBS.pdfChapter – 1 Intro to DBS.pdf
Chapter – 1 Intro to DBS.pdf
 
Database Systems
Database SystemsDatabase Systems
Database Systems
 
Unit3rd
Unit3rdUnit3rd
Unit3rd
 

More from Amiya9439793168

Dbms 14: Relational Calculus
Dbms 14: Relational CalculusDbms 14: Relational Calculus
Dbms 14: Relational CalculusAmiya9439793168
 
Dbms 13: Query Using Relational Algebra
Dbms 13: Query Using Relational AlgebraDbms 13: Query Using Relational Algebra
Dbms 13: Query Using Relational AlgebraAmiya9439793168
 
Dbms 11: Relational Algebra
Dbms 11: Relational AlgebraDbms 11: Relational Algebra
Dbms 11: Relational AlgebraAmiya9439793168
 
Dbms 10: Conversion of ER model to Relational Model
Dbms 10: Conversion of ER model to Relational ModelDbms 10: Conversion of ER model to Relational Model
Dbms 10: Conversion of ER model to Relational ModelAmiya9439793168
 
Dbms 9: Relational Model
Dbms 9: Relational ModelDbms 9: Relational Model
Dbms 9: Relational ModelAmiya9439793168
 
Dbms 8: Enhanced ER Model
Dbms 8: Enhanced ER ModelDbms 8: Enhanced ER Model
Dbms 8: Enhanced ER ModelAmiya9439793168
 
Dbms 3: 3 Schema Architecture
Dbms 3: 3 Schema ArchitectureDbms 3: 3 Schema Architecture
Dbms 3: 3 Schema ArchitectureAmiya9439793168
 
Dbms 7: ER Diagram Design Issue
Dbms 7: ER Diagram Design IssueDbms 7: ER Diagram Design Issue
Dbms 7: ER Diagram Design IssueAmiya9439793168
 

More from Amiya9439793168 (11)

Dbms 14: Relational Calculus
Dbms 14: Relational CalculusDbms 14: Relational Calculus
Dbms 14: Relational Calculus
 
Dbms 13: Query Using Relational Algebra
Dbms 13: Query Using Relational AlgebraDbms 13: Query Using Relational Algebra
Dbms 13: Query Using Relational Algebra
 
Dbms 12: Join
Dbms 12: JoinDbms 12: Join
Dbms 12: Join
 
Dbms 11: Relational Algebra
Dbms 11: Relational AlgebraDbms 11: Relational Algebra
Dbms 11: Relational Algebra
 
Dbms 10: Conversion of ER model to Relational Model
Dbms 10: Conversion of ER model to Relational ModelDbms 10: Conversion of ER model to Relational Model
Dbms 10: Conversion of ER model to Relational Model
 
Dbms 9: Relational Model
Dbms 9: Relational ModelDbms 9: Relational Model
Dbms 9: Relational Model
 
Dbms 8: Enhanced ER Model
Dbms 8: Enhanced ER ModelDbms 8: Enhanced ER Model
Dbms 8: Enhanced ER Model
 
Dbms 6: ER Modeling
Dbms 6: ER ModelingDbms 6: ER Modeling
Dbms 6: ER Modeling
 
Dbms 3: 3 Schema Architecture
Dbms 3: 3 Schema ArchitectureDbms 3: 3 Schema Architecture
Dbms 3: 3 Schema Architecture
 
Dbms 2: Data Model
Dbms 2: Data ModelDbms 2: Data Model
Dbms 2: Data Model
 
Dbms 7: ER Diagram Design Issue
Dbms 7: ER Diagram Design IssueDbms 7: ER Diagram Design Issue
Dbms 7: ER Diagram Design Issue
 

Recently uploaded

pipeline in computer architecture design
pipeline in computer architecture  designpipeline in computer architecture  design
pipeline in computer architecture designssuser87fa0c1
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfROCENODodongVILLACER
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .Satyam Kumar
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...asadnawaz62
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)Dr SOUNDIRARAJ N
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 

Recently uploaded (20)

pipeline in computer architecture design
pipeline in computer architecture  designpipeline in computer architecture  design
pipeline in computer architecture design
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdf
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
POWER SYSTEMS-1 Complete notes examples
POWER SYSTEMS-1 Complete notes  examplesPOWER SYSTEMS-1 Complete notes  examples
POWER SYSTEMS-1 Complete notes examples
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .
 
young call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Serviceyoung call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Service
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 

Database Management Systems (DBMS) Lecture

  • 1. Dr. Amiya Ranjan Panda Assistant Professor [II] School of Computer Engineering, Kalinga Institute of Industrial Technology (KIIT), Deemed to be University,Odisha Database Management Systems (CS 2004) KALINGA INSTITUTE OF INDUSTRIAL TECHNOLOGY School Of Computer Engineering 4 Credit Lecture Note 01
  • 2. Chapter Contents q Data & Information q Drawbacks of File system q What is Database Management Systems ? q What is the need of DBMS? q Examples of DBMS q Database Types q Applications of DBMS q Advantage of DBMS over file system q Disadvantages of DBMS q DBMS vs. File System 2
  • 3. ü Data can be defined as a representation of facts, concepts, or instructions in a formalized manner, which should be suitable for communication, interpretation, or processing by human or electronic machine. ü Generally data is raw and unprocessed. ü Data becomes information when it is processed, turning it into something meaningful. ü Information is organized or classified data, which has some meaningful values for the receiver. Information is the processed data on which decisions and actions are based. 3 Data & Information
  • 4. ü 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. ü Duplication of data – Redundant data ü Dependency on application programs – Changing files would lead to change in application programs 4 Drawbacks of File system
  • 5. ü DBMS stands for Database Management System. We can break it like this DBMS = Database + Management System. ü Database is a collection of data and Management System is a set of programs to store and retrieve those data. Based on this we can define DBMS like this: DBMS is a collection of inter-related data and set of programs to store & access those data in an easy and effective manner. ü For example: The college Database organizes the data about the admin, staff, students and faculty etc. 5 5 What is Database Management Systems ?
  • 6. ü Database systems are basically developed for large amount of data. When dealing with huge amount of data, there are two things that require optimization: Storage of data and retrieval of data. § Storage: According to the principles of database systems, the data is stored in such a way that it acquires lot less space as the redundant data (duplicate data) has been removed before storage. . § Fast Retrieval of data: Along with storing the data in an optimized and systematic manner, it is also important that we retrieve the data quickly when needed. Database systems ensure that the data is retrieved as quickly as possible. 6 6 What is the need of DBMS ?
  • 7. ü Here are some examples of popular DBMS used these days: • MySql • Oracle • SQL Server • IBM DB2 • PostgreSQL • Amazon SimpleDB (cloud based) etc 7 7 Examples of DBMS
  • 8. q Depending on the number of users accessing the database, a database system may be classified as Ø Single-user database system: It supports only one user at a time. When a single- user database runs on a personal computer, it is also called a desktop database system Ø Multi-user database system: It supports multiple users at the same time. When a multi-user database supports relatively small number of users, it is called as a workgroup database system. If the database is used by many users across globe, it is known as enterprise database system q Depending on the location of the database, a database system may be classified as: Ø Centralized database system: It supports data located at a single site or single place Ø Distributed database system: It supports data distributed across several different sites. Here, the same database can be replicated and stored in another computer so that when ever the original server goes down; the data can be available to the user from the replicated data from other servers. 8 8 Database Types
  • 9. ü Banking : for customer information, accounts and loans and banking transactions. ü Universities : for student registrations and grades. ü Airlines : for reservations and schedule information. ü Library Management System : maintain all the information relate to book issue dates, name of the book, author and availability of the book. ü Telecommunications : for keeping records of call made, generating monthly bills, maintaining balances on prepaid calling cards. ü Sales : for customer, product and purchase information. ü Finance : for storing information about holdings, sales, and purchases of financial instruments such as stocks and bonds. ü Human Resource : for information about employees, salaries, payroll taxes and benefits ü Manufacturing : for management of supply chain and for tracking production of items in factories, inventories of items and orders for items. ü Medical Sector ü Military ü Airline Reservation system 9 9 Applications of DBMS
  • 10. ü Controlling of Redundancy : Data redundancy refers to the duplication of data (i.e. storing same data multiple times). In a database system, by having a centralized database and centralized control of data by the DBA the unnecessary duplication of data is avoided. It also eliminates the extra time for processing the large volume of data. It results in saving the storage space ü Improved Data Sharing : DBMS allows a user to share the data in any number of application programs ü Data Integrity : Integrity means that the data in the database is accurate. Centralized control of the data helps in permitting the administrator to define integrity constraints to the data in the database. For example: in customer database we can can enforce an integrity that it must accept the customer only from Noida and Meerut city. ü Security : Having complete authority over the operational data, enables the DBA in ensuring that the only mean of access to the database is through proper channels. The DBA can define authorization checks to be carried out whenever access to sensitive data is attempted. ü Efficient Data Access : In a database system, the data is managed by the DBMS and all access to the data is through the DBMS providing a key to effective data processing 10 10 Advantage of DBMS over file system
  • 11. ü Data Consistency : By eliminating data redundancy, we greatly reduce the opportunities for inconsistency. For example: is a customer address is stored only once, we cannot have disagreement on the stored values. Also updating data values is greatly simplified when each value is stored in one place only. Finally, we avoid the wasted storage that results from redundant data storage. ü Data Independence : In a database system, the database management system provides the interface between the application programs and the data. When changes are made to the data representation, the meta data obtained by the DBMS is changed but the DBMS is continues to provide the data to application program in the previously used way. The DBMs handles the task of transformation of data wherever necessary. ü Enforcing Integrity Constraints ü Providing Backup & Recovery ü Providing Storage Structures for efficient query processing 11 11 Advantage of DBMS over file system
  • 12. ü Increased Complexity ü Requirement of New and Specialized Manpower ü Large Size of DBMS ü DBMS implementation cost is high compared to the file system ü Performance: Database systems are generic, making them suitable for various applications. However this feature affect their performance for some applications 12 Disadvantages of DBMS
  • 13. DBMS File System •Minimal data redundancy problem in DBMS •Data Redundancy problem exits •Data Inconsistency does not exist •Data Inconsistency exist here •Accessing database is easier •Accessing is comparatively difficult •The problem of data isolation is not found in database •Data is scattered in various files and files may be of different format, so data isolation problem exists •Transactions like insert, delete, view, updating, etc are possible in database •In file system, transactions are not possible •Concurrent access and recovery is possible in database •Concurrent access and recovery is not possible •Security of data •Security of data is not good •A database manager (administrator) stores the relationship in form of structural tables •A file manager is used to store all relationships in directories in file systems. 13 DBMS vs. File System
  • 14. 14