SlideShare a Scribd company logo
1 of 14
DBMS Functions
Data, Storage, Retrieval, and Update
• Provides users with the ability to store,
retrieve, and update the data that are in the
database.
DBMS Functions
Shared Update
• Ensures accuracy when several users are
updating the database at the same time.
Avoiding Inconsistent Data
• Prohibit shared update.
• Use batch processing
• Lock other users from accessing records
that are being updated by another.
Concurrency Control
• The DBMS must prevent or overcome
the interference of transactions of
multiple users
• Locking
– different levels of granularity (records to tables)
Avoiding the Problem
• Two-Phase Locking
– Locks are held until all the required updates have been
completed.
• Deadlock
– Occurs when two users hold more than one lock at a
time.
• Locking on PC-Based DBMSs
– Usually much more limited than locking facilities
provided by mainframe DBMSs.
Record Locking
• Deadlock prevention
• Deadlock resolution
Avoiding the Problem
• Timestamping
– The DBMS assigns to each database update the
unique time when the update started, called a
timestamp.
– Avoids the need to lock rows and eliminates the
processing time needed to apply and release
locks; also detects and resolves deadlocks.
Backup and Recovery
• Provides a mechanism for recovering the
database in the event that the database is
damaged in any way.
• The process of returning the database to a
correct state is called recovery.
• Periodically making a copy of the database
is called backup.
Replication
• A way to manage copies of the same data at
multiple locations.
Security
• The protection of the database against
unauthorized access.
– Passwords
– Encryption
– Views
Integrity
• Integrity constraints, or conditions, fall into
four categories:
– Data type
– Legal values
– Format
– Key constraints
Integrity Constraints in a DBMS
Data Independence
• Facilities that allow programs to be
independent of the structure of the database.
– Addition of a field
– Changing the length of a field
– Creating a new index
– Adding or changing a relationship
ACID properties
• Atomic
– all of a transaction should be executed or none
• Consistent
– the database should be in a “consistent” state after the
transaction is completed
• Isolated
– Updates of concurrent transactions should be concealed
from each other, till committed
• Durable
– once a transaction commits, its updates survive even if
there is a subsequent system crash

More Related Content

Similar to 7.ppt

DBMS basics and normalizations unit.pptx
DBMS basics and normalizations unit.pptxDBMS basics and normalizations unit.pptx
DBMS basics and normalizations unit.pptx
shreyassoni7
 
Introduction to Data Storage and Cloud Computing
Introduction to Data Storage and Cloud ComputingIntroduction to Data Storage and Cloud Computing
Introduction to Data Storage and Cloud Computing
Rutuja751147
 
Unit 2 - Chapter 7 (Database Security).pptx
Unit 2 - Chapter 7 (Database Security).pptxUnit 2 - Chapter 7 (Database Security).pptx
Unit 2 - Chapter 7 (Database Security).pptx
SakshiGawde6
 
Data and database administration(database)
Data and database administration(database)Data and database administration(database)
Data and database administration(database)
welcometofacebook
 
UNIT machine learning unit 1,algorithm pdf
UNIT machine learning  unit 1,algorithm pdfUNIT machine learning  unit 1,algorithm pdf
UNIT machine learning unit 1,algorithm pdf
OmarFarooque9
 
Csld phan tan va song song
Csld phan tan va song songCsld phan tan va song song
Csld phan tan va song song
Lê Anh Trung
 

Similar to 7.ppt (20)

DBMS basics and normalizations unit.pptx
DBMS basics and normalizations unit.pptxDBMS basics and normalizations unit.pptx
DBMS basics and normalizations unit.pptx
 
DBMS.pptx
DBMS.pptxDBMS.pptx
DBMS.pptx
 
Distributed Database Management System.pptx
Distributed Database Management System.pptxDistributed Database Management System.pptx
Distributed Database Management System.pptx
 
HDFS_architecture.ppt
HDFS_architecture.pptHDFS_architecture.ppt
HDFS_architecture.ppt
 
Difference between File system and DBMS.pptx
Difference between File system and DBMS.pptxDifference between File system and DBMS.pptx
Difference between File system and DBMS.pptx
 
DATABASE.pptx
DATABASE.pptxDATABASE.pptx
DATABASE.pptx
 
Master.pptx
Master.pptxMaster.pptx
Master.pptx
 
Introduction to Data Storage and Cloud Computing
Introduction to Data Storage and Cloud ComputingIntroduction to Data Storage and Cloud Computing
Introduction to Data Storage and Cloud Computing
 
Exchange Server 2013 : les mécanismes de haute disponibilité et la redondance...
Exchange Server 2013 : les mécanismes de haute disponibilité et la redondance...Exchange Server 2013 : les mécanismes de haute disponibilité et la redondance...
Exchange Server 2013 : les mécanismes de haute disponibilité et la redondance...
 
Rdbms
RdbmsRdbms
Rdbms
 
Unit 2 - Chapter 7 (Database Security).pptx
Unit 2 - Chapter 7 (Database Security).pptxUnit 2 - Chapter 7 (Database Security).pptx
Unit 2 - Chapter 7 (Database Security).pptx
 
Big Data Storage Concepts from the "Big Data concepts Technology and Architec...
Big Data Storage Concepts from the "Big Data concepts Technology and Architec...Big Data Storage Concepts from the "Big Data concepts Technology and Architec...
Big Data Storage Concepts from the "Big Data concepts Technology and Architec...
 
Data and database administration(database)
Data and database administration(database)Data and database administration(database)
Data and database administration(database)
 
FILE SYSTEM VS DBMS ppt.pptx
FILE SYSTEM VS DBMS ppt.pptxFILE SYSTEM VS DBMS ppt.pptx
FILE SYSTEM VS DBMS ppt.pptx
 
Services of dbms
Services of dbmsServices of dbms
Services of dbms
 
Chapter02-rev.pptx
Chapter02-rev.pptxChapter02-rev.pptx
Chapter02-rev.pptx
 
UNIT machine learning unit 1,algorithm pdf
UNIT machine learning  unit 1,algorithm pdfUNIT machine learning  unit 1,algorithm pdf
UNIT machine learning unit 1,algorithm pdf
 
NoSql
NoSqlNoSql
NoSql
 
Distributed Database
Distributed DatabaseDistributed Database
Distributed Database
 
Csld phan tan va song song
Csld phan tan va song songCsld phan tan va song song
Csld phan tan va song song
 

Recently uploaded

Call Girls In Noida 959961⊹3876 Independent Escort Service Noida
Call Girls In Noida 959961⊹3876 Independent Escort Service NoidaCall Girls In Noida 959961⊹3876 Independent Escort Service Noida
Call Girls In Noida 959961⊹3876 Independent Escort Service Noida
dlhescort
 
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
lizamodels9
 
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
lizamodels9
 
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
dollysharma2066
 
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
Sheetaleventcompany
 

Recently uploaded (20)

MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRLMONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
 
Call Girls In Noida 959961⊹3876 Independent Escort Service Noida
Call Girls In Noida 959961⊹3876 Independent Escort Service NoidaCall Girls In Noida 959961⊹3876 Independent Escort Service Noida
Call Girls In Noida 959961⊹3876 Independent Escort Service Noida
 
RSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors DataRSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors Data
 
Call Girls Service In Old Town Dubai ((0551707352)) Old Town Dubai Call Girl ...
Call Girls Service In Old Town Dubai ((0551707352)) Old Town Dubai Call Girl ...Call Girls Service In Old Town Dubai ((0551707352)) Old Town Dubai Call Girl ...
Call Girls Service In Old Town Dubai ((0551707352)) Old Town Dubai Call Girl ...
 
VVVIP Call Girls In Greater Kailash ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
VVVIP Call Girls In Greater Kailash ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...VVVIP Call Girls In Greater Kailash ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
VVVIP Call Girls In Greater Kailash ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
 
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
 
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
 
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
 
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Majnu Ka Tilla, Delhi Contact Us 8377877756
 
Monthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptxMonthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptx
 
Katrina Personal Brand Project and portfolio 1
Katrina Personal Brand Project and portfolio 1Katrina Personal Brand Project and portfolio 1
Katrina Personal Brand Project and portfolio 1
 
Call Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine ServiceCall Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine Service
 
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptxB.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
 
Falcon Invoice Discounting platform in india
Falcon Invoice Discounting platform in indiaFalcon Invoice Discounting platform in india
Falcon Invoice Discounting platform in india
 
Uneak White's Personal Brand Exploration Presentation
Uneak White's Personal Brand Exploration PresentationUneak White's Personal Brand Exploration Presentation
Uneak White's Personal Brand Exploration Presentation
 
Famous Olympic Siblings from the 21st Century
Famous Olympic Siblings from the 21st CenturyFamous Olympic Siblings from the 21st Century
Famous Olympic Siblings from the 21st Century
 
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
 
Falcon's Invoice Discounting: Your Path to Prosperity
Falcon's Invoice Discounting: Your Path to ProsperityFalcon's Invoice Discounting: Your Path to Prosperity
Falcon's Invoice Discounting: Your Path to Prosperity
 
Falcon Invoice Discounting: The best investment platform in india for investors
Falcon Invoice Discounting: The best investment platform in india for investorsFalcon Invoice Discounting: The best investment platform in india for investors
Falcon Invoice Discounting: The best investment platform in india for investors
 
(Anamika) VIP Call Girls Napur Call Now 8617697112 Napur Escorts 24x7
(Anamika) VIP Call Girls Napur Call Now 8617697112 Napur Escorts 24x7(Anamika) VIP Call Girls Napur Call Now 8617697112 Napur Escorts 24x7
(Anamika) VIP Call Girls Napur Call Now 8617697112 Napur Escorts 24x7
 

7.ppt

  • 1. DBMS Functions Data, Storage, Retrieval, and Update • Provides users with the ability to store, retrieve, and update the data that are in the database.
  • 2. DBMS Functions Shared Update • Ensures accuracy when several users are updating the database at the same time.
  • 3. Avoiding Inconsistent Data • Prohibit shared update. • Use batch processing • Lock other users from accessing records that are being updated by another.
  • 4. Concurrency Control • The DBMS must prevent or overcome the interference of transactions of multiple users • Locking – different levels of granularity (records to tables)
  • 5. Avoiding the Problem • Two-Phase Locking – Locks are held until all the required updates have been completed. • Deadlock – Occurs when two users hold more than one lock at a time. • Locking on PC-Based DBMSs – Usually much more limited than locking facilities provided by mainframe DBMSs.
  • 6. Record Locking • Deadlock prevention • Deadlock resolution
  • 7. Avoiding the Problem • Timestamping – The DBMS assigns to each database update the unique time when the update started, called a timestamp. – Avoids the need to lock rows and eliminates the processing time needed to apply and release locks; also detects and resolves deadlocks.
  • 8. Backup and Recovery • Provides a mechanism for recovering the database in the event that the database is damaged in any way. • The process of returning the database to a correct state is called recovery. • Periodically making a copy of the database is called backup.
  • 9. Replication • A way to manage copies of the same data at multiple locations.
  • 10. Security • The protection of the database against unauthorized access. – Passwords – Encryption – Views
  • 11. Integrity • Integrity constraints, or conditions, fall into four categories: – Data type – Legal values – Format – Key constraints
  • 13. Data Independence • Facilities that allow programs to be independent of the structure of the database. – Addition of a field – Changing the length of a field – Creating a new index – Adding or changing a relationship
  • 14. ACID properties • Atomic – all of a transaction should be executed or none • Consistent – the database should be in a “consistent” state after the transaction is completed • Isolated – Updates of concurrent transactions should be concealed from each other, till committed • Durable – once a transaction commits, its updates survive even if there is a subsequent system crash