SlideShare a Scribd company logo
Recovery management with
concurrent controls
D. Shanmugapriya
II-Msc (IT)
Department of CS & IT
Nadar saraswathi college of arts and science
Theni.
Recovery Management
• Recovery manager is a utility that manages the
process of creating backups of all database files.
• Is the process of restoring the database to the most
recent consistent state that existed just failure the
system.
• Is the process of planning,testing and
implementing the recovery procedures and
standards required to restore service in the event
of a component failure.
3 states of recovery
• Pre-condition:In a consistant state.
• Condition:Occurs some kind of system failure.
• Post condition:Restore the data base to the
consistent state of the existed before the failure.
Types
• Transaction failure :Occurs when it fails to execute or when
it reaches a point from where it can’t go any further. If a
few transaction is hurt this is called as transaction
failure.(incorrect IP, deadlock)
• System failure :May result from a hard drive with bad
sectors, causing the operating system to not able to read
data from the hard drive. (is failure, ram failure).
• Media failure :A condition of not being able to read from
or write to a storage device such as a disk or tape due to a
defect in the recording surface. (power problem).
Database basic update strategies
• Deferred update:Transaction operating do not immediately
update the physical database.
• Database is physically updated only after the transaction
reaches it’s commit point.
• Immediate update:database is immediately updated by
the transaction operation during the execution of
transactions even before it reaches commit point.
• Example :word-to save the file and immediately updated.
Concurrent control
• The process of managing simultaneous operation on the
database without having them interface with each other.
• The problem of synchronizing concurrent transaction
such that the consistency of the database of the
maintained same time.
• Concurrent controls invlove identifying and preventing
problems in a organizing as they occur this means that as
they occur.
Why we need concurrency control
• Simultaneous execution of transaction over a shared
database can create several data integrity and consistency
problem.
• Three types
• 1)lost update
• 2)temporary uodate
• 3)incorrect summary
Lost update
• This problem occurs when two transactions that access
the same database items.
• Have their operation interlaced in a way that makes the
values of same database item incorrect.
• Successfully completed update is overridden by another
user.
• Example:T1 withdraws $10 from an account with
balance initially $ 100.
• T2 deposits $100 into same accoint
• Serially final balance would be $190.
Temporary update
• This problem occurs when one transaction updates a
database item and then the transaction fails for some
reasons.
• The updated item is accessed by another transactions
before it is changed back to its original value.
• Example :T4 updates balance to 200 but it aborts so
balance should be back at original value 100
• T3 has read new value of balance 200 and users value as
basis of 10 reduction giving a new balance of 190 instead
of 90.
Advantage
• Waiting time decrease
• Response time decrease.
• Resourse utilization increase.
• Efficiency utilization increase.
Thank you

More Related Content

What's hot

Design of Production Systems: Types & Main Processes
Design of Production Systems: Types & Main ProcessesDesign of Production Systems: Types & Main Processes
Design of Production Systems: Types & Main ProcessesMatteo Damiani
 
Unit 5 or
Unit 5 orUnit 5 or
Design of process layout
Design of process layoutDesign of process layout
Design of process layout
sagar pawar
 
Concurrency Control in Database Management System
Concurrency Control in Database Management SystemConcurrency Control in Database Management System
Concurrency Control in Database Management System
Janki Shah
 
MBA 302 Operation Research(1).pdf
MBA 302 Operation Research(1).pdfMBA 302 Operation Research(1).pdf
MBA 302 Operation Research(1).pdf
Mahendra Sharma
 
Deadlock Avoidance in Operating System
Deadlock Avoidance in Operating SystemDeadlock Avoidance in Operating System
Deadlock Avoidance in Operating System
Mohammad Hafiz-Al-Masud
 
contiguous memory allocation.pptx
contiguous memory allocation.pptxcontiguous memory allocation.pptx
contiguous memory allocation.pptx
Rajapriya82
 
Replacement theory
Replacement theoryReplacement theory
Replacement theory
R A Shah
 
LEAST COST METHOD
LEAST COST METHOD LEAST COST METHOD
LEAST COST METHOD
VishalHotchandani2
 
Operating system critical section
Operating system   critical sectionOperating system   critical section
Operating system critical section
Harshana Madusanka Jayamaha
 
Concurrency control
Concurrency controlConcurrency control
Concurrency control
Subhasish Pati
 
Lecture notes of production & operation management
Lecture notes of production & operation managementLecture notes of production & operation management
Lecture notes of production & operation management
Complaint2015
 
Reorder point
Reorder pointReorder point
Reorder point
Don Paul
 
Service operations
Service operationsService operations
Service operations
Taruchit Goyal
 
Transaction Processing System (TPS)
Transaction Processing System (TPS)Transaction Processing System (TPS)
Transaction Processing System (TPS)
Anvesh Sharma
 
Applied Operation Research (AOR) Replacement Theory
Applied Operation Research (AOR) Replacement TheoryApplied Operation Research (AOR) Replacement Theory
Applied Operation Research (AOR) Replacement Theory
Rekha Rani
 
Case Study for Bank ATM Queuing Model
Case Study for Bank ATM Queuing ModelCase Study for Bank ATM Queuing Model
Case Study for Bank ATM Queuing Model
IOSR Journals
 

What's hot (20)

Design of Production Systems: Types & Main Processes
Design of Production Systems: Types & Main ProcessesDesign of Production Systems: Types & Main Processes
Design of Production Systems: Types & Main Processes
 
Unit 5 or
Unit 5 orUnit 5 or
Unit 5 or
 
Design of process layout
Design of process layoutDesign of process layout
Design of process layout
 
Concurrency Control in Database Management System
Concurrency Control in Database Management SystemConcurrency Control in Database Management System
Concurrency Control in Database Management System
 
MBA 302 Operation Research(1).pdf
MBA 302 Operation Research(1).pdfMBA 302 Operation Research(1).pdf
MBA 302 Operation Research(1).pdf
 
Deadlock Avoidance in Operating System
Deadlock Avoidance in Operating SystemDeadlock Avoidance in Operating System
Deadlock Avoidance in Operating System
 
contiguous memory allocation.pptx
contiguous memory allocation.pptxcontiguous memory allocation.pptx
contiguous memory allocation.pptx
 
Replacement theory
Replacement theoryReplacement theory
Replacement theory
 
LEAST COST METHOD
LEAST COST METHOD LEAST COST METHOD
LEAST COST METHOD
 
Operating system critical section
Operating system   critical sectionOperating system   critical section
Operating system critical section
 
Decision support system
Decision support systemDecision support system
Decision support system
 
Concurrency control
Concurrency controlConcurrency control
Concurrency control
 
Lecture notes of production & operation management
Lecture notes of production & operation managementLecture notes of production & operation management
Lecture notes of production & operation management
 
Reorder point
Reorder pointReorder point
Reorder point
 
Service operations
Service operationsService operations
Service operations
 
Scheduling
SchedulingScheduling
Scheduling
 
Transaction Processing System (TPS)
Transaction Processing System (TPS)Transaction Processing System (TPS)
Transaction Processing System (TPS)
 
Applied Operation Research (AOR) Replacement Theory
Applied Operation Research (AOR) Replacement TheoryApplied Operation Research (AOR) Replacement Theory
Applied Operation Research (AOR) Replacement Theory
 
Case Study for Bank ATM Queuing Model
Case Study for Bank ATM Queuing ModelCase Study for Bank ATM Queuing Model
Case Study for Bank ATM Queuing Model
 
scheduling
schedulingscheduling
scheduling
 

Similar to recovery management

E-Business Information System BBA AVI.pptx
E-Business Information System BBA AVI.pptxE-Business Information System BBA AVI.pptx
E-Business Information System BBA AVI.pptx
thejaswini40
 
Database management system ch1 & 2.pptx
Database management system  ch1 & 2.pptxDatabase management system  ch1 & 2.pptx
Database management system ch1 & 2.pptx
anebek555
 
Advance database system (part 2)
Advance database system (part 2)Advance database system (part 2)
Advance database system (part 2)
Abdullah Khosa
 
BIL406-Chapter-10-Problems with Asynchronous Parallelism.ppt
BIL406-Chapter-10-Problems with Asynchronous Parallelism.pptBIL406-Chapter-10-Problems with Asynchronous Parallelism.ppt
BIL406-Chapter-10-Problems with Asynchronous Parallelism.ppt
Kadri20
 
dbms.ppt
dbms.pptdbms.ppt
dbms.ppt
KRISHNARAJ207
 
What is Database Management System
What is Database Management SystemWhat is Database Management System
What is Database Management System
AbhiPatel171
 
Dbms
DbmsDbms
Unit no 5 transation processing DMS 22319
Unit no 5 transation processing DMS 22319Unit no 5 transation processing DMS 22319
Unit no 5 transation processing DMS 22319
ARVIND SARDAR
 
Process management in Operating System_Unit-2
Process management in Operating System_Unit-2Process management in Operating System_Unit-2
Process management in Operating System_Unit-2
mohanaps
 
Fault tolerance in distributed systems
Fault tolerance in distributed systemsFault tolerance in distributed systems
Fault tolerance in distributed systemssumitjain2013
 
The Power of Determinism in Database Systems
The Power of Determinism in Database SystemsThe Power of Determinism in Database Systems
The Power of Determinism in Database Systems
Daniel Abadi
 
dbms.ppt
dbms.pptdbms.ppt
dbms.ppt
RomyA2
 
CST204 DBMSMODULE1 PPT (1).pptx
CST204 DBMSMODULE1 PPT (1).pptxCST204 DBMSMODULE1 PPT (1).pptx
CST204 DBMSMODULE1 PPT (1).pptx
MEGHANA508383
 
Distributed DBMS - Unit 9 - Distributed Deadlock & Recovery
Distributed DBMS - Unit 9 - Distributed Deadlock & RecoveryDistributed DBMS - Unit 9 - Distributed Deadlock & Recovery
Distributed DBMS - Unit 9 - Distributed Deadlock & Recovery
Gyanmanjari Institute Of Technology
 
DBMS Vardhaman.pdf
DBMS Vardhaman.pdfDBMS Vardhaman.pdf
DBMS Vardhaman.pdf
NithishReddy90
 
What is Database Backup? The 3 Important Recovery Techniques from transaction...
What is Database Backup? The 3 Important Recovery Techniques from transaction...What is Database Backup? The 3 Important Recovery Techniques from transaction...
What is Database Backup? The 3 Important Recovery Techniques from transaction...
Raj vardhan
 
Backup & Recovery
Backup & RecoveryBackup & Recovery
Backup & Recovery
Abhay Kumar
 
DBMS Bascis
DBMS BascisDBMS Bascis
database recovery techniques
database recovery techniques database recovery techniques
database recovery techniques Kalhan Liyanage
 

Similar to recovery management (20)

E-Business Information System BBA AVI.pptx
E-Business Information System BBA AVI.pptxE-Business Information System BBA AVI.pptx
E-Business Information System BBA AVI.pptx
 
Database management system ch1 & 2.pptx
Database management system  ch1 & 2.pptxDatabase management system  ch1 & 2.pptx
Database management system ch1 & 2.pptx
 
Advance database system (part 2)
Advance database system (part 2)Advance database system (part 2)
Advance database system (part 2)
 
BIL406-Chapter-10-Problems with Asynchronous Parallelism.ppt
BIL406-Chapter-10-Problems with Asynchronous Parallelism.pptBIL406-Chapter-10-Problems with Asynchronous Parallelism.ppt
BIL406-Chapter-10-Problems with Asynchronous Parallelism.ppt
 
dbms.ppt
dbms.pptdbms.ppt
dbms.ppt
 
dbms.ppt
dbms.pptdbms.ppt
dbms.ppt
 
What is Database Management System
What is Database Management SystemWhat is Database Management System
What is Database Management System
 
Dbms
DbmsDbms
Dbms
 
Unit no 5 transation processing DMS 22319
Unit no 5 transation processing DMS 22319Unit no 5 transation processing DMS 22319
Unit no 5 transation processing DMS 22319
 
Process management in Operating System_Unit-2
Process management in Operating System_Unit-2Process management in Operating System_Unit-2
Process management in Operating System_Unit-2
 
Fault tolerance in distributed systems
Fault tolerance in distributed systemsFault tolerance in distributed systems
Fault tolerance in distributed systems
 
The Power of Determinism in Database Systems
The Power of Determinism in Database SystemsThe Power of Determinism in Database Systems
The Power of Determinism in Database Systems
 
dbms.ppt
dbms.pptdbms.ppt
dbms.ppt
 
CST204 DBMSMODULE1 PPT (1).pptx
CST204 DBMSMODULE1 PPT (1).pptxCST204 DBMSMODULE1 PPT (1).pptx
CST204 DBMSMODULE1 PPT (1).pptx
 
Distributed DBMS - Unit 9 - Distributed Deadlock & Recovery
Distributed DBMS - Unit 9 - Distributed Deadlock & RecoveryDistributed DBMS - Unit 9 - Distributed Deadlock & Recovery
Distributed DBMS - Unit 9 - Distributed Deadlock & Recovery
 
DBMS Vardhaman.pdf
DBMS Vardhaman.pdfDBMS Vardhaman.pdf
DBMS Vardhaman.pdf
 
What is Database Backup? The 3 Important Recovery Techniques from transaction...
What is Database Backup? The 3 Important Recovery Techniques from transaction...What is Database Backup? The 3 Important Recovery Techniques from transaction...
What is Database Backup? The 3 Important Recovery Techniques from transaction...
 
Backup & Recovery
Backup & RecoveryBackup & Recovery
Backup & Recovery
 
DBMS Bascis
DBMS BascisDBMS Bascis
DBMS Bascis
 
database recovery techniques
database recovery techniques database recovery techniques
database recovery techniques
 

More from rajshreemuthiah

oracle
oracleoracle
quality
qualityquality
bigdata
bigdatabigdata
solutions and understanding text analytics
solutions and understanding text analyticssolutions and understanding text analytics
solutions and understanding text analytics
rajshreemuthiah
 
interface
interfaceinterface
interface
rajshreemuthiah
 
Testing &ampdebugging
Testing &ampdebuggingTesting &ampdebugging
Testing &ampdebugging
rajshreemuthiah
 
concurrency control
concurrency controlconcurrency control
concurrency control
rajshreemuthiah
 
Education
EducationEducation
Education
rajshreemuthiah
 
Formal verification
Formal verificationFormal verification
Formal verification
rajshreemuthiah
 
Transaction management
Transaction management Transaction management
Transaction management
rajshreemuthiah
 
Multi thread
Multi threadMulti thread
Multi thread
rajshreemuthiah
 
System testing
System testingSystem testing
System testing
rajshreemuthiah
 
software maintenance
software maintenancesoftware maintenance
software maintenance
rajshreemuthiah
 
exception handling
exception handlingexception handling
exception handling
rajshreemuthiah
 
e governance
e governancee governance
e governance
rajshreemuthiah
 
Implementing polymorphism
Implementing polymorphismImplementing polymorphism
Implementing polymorphism
rajshreemuthiah
 
Buffer managements
Buffer managementsBuffer managements
Buffer managements
rajshreemuthiah
 
os linux
os linuxos linux
os linux
rajshreemuthiah
 

More from rajshreemuthiah (20)

oracle
oracleoracle
oracle
 
quality
qualityquality
quality
 
bigdata
bigdatabigdata
bigdata
 
polymorphism
polymorphismpolymorphism
polymorphism
 
solutions and understanding text analytics
solutions and understanding text analyticssolutions and understanding text analytics
solutions and understanding text analytics
 
interface
interfaceinterface
interface
 
Testing &ampdebugging
Testing &ampdebuggingTesting &ampdebugging
Testing &ampdebugging
 
concurrency control
concurrency controlconcurrency control
concurrency control
 
Education
EducationEducation
Education
 
Formal verification
Formal verificationFormal verification
Formal verification
 
Transaction management
Transaction management Transaction management
Transaction management
 
Multi thread
Multi threadMulti thread
Multi thread
 
System testing
System testingSystem testing
System testing
 
software maintenance
software maintenancesoftware maintenance
software maintenance
 
exception handling
exception handlingexception handling
exception handling
 
e governance
e governancee governance
e governance
 
Implementing polymorphism
Implementing polymorphismImplementing polymorphism
Implementing polymorphism
 
Buffer managements
Buffer managementsBuffer managements
Buffer managements
 
os linux
os linuxos linux
os linux
 
Ipv4
Ipv4Ipv4
Ipv4
 

Recently uploaded

UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
Elena Simperl
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
Abida Shariff
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Product School
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
RTTS
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
Frank van Harmelen
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
Product School
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
Bhaskar Mitra
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Tobias Schneck
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 

Recently uploaded (20)

UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 

recovery management

  • 1. Recovery management with concurrent controls D. Shanmugapriya II-Msc (IT) Department of CS & IT Nadar saraswathi college of arts and science Theni.
  • 2. Recovery Management • Recovery manager is a utility that manages the process of creating backups of all database files. • Is the process of restoring the database to the most recent consistent state that existed just failure the system. • Is the process of planning,testing and implementing the recovery procedures and standards required to restore service in the event of a component failure.
  • 3. 3 states of recovery • Pre-condition:In a consistant state. • Condition:Occurs some kind of system failure. • Post condition:Restore the data base to the consistent state of the existed before the failure.
  • 4. Types • Transaction failure :Occurs when it fails to execute or when it reaches a point from where it can’t go any further. If a few transaction is hurt this is called as transaction failure.(incorrect IP, deadlock) • System failure :May result from a hard drive with bad sectors, causing the operating system to not able to read data from the hard drive. (is failure, ram failure). • Media failure :A condition of not being able to read from or write to a storage device such as a disk or tape due to a defect in the recording surface. (power problem).
  • 5. Database basic update strategies • Deferred update:Transaction operating do not immediately update the physical database. • Database is physically updated only after the transaction reaches it’s commit point. • Immediate update:database is immediately updated by the transaction operation during the execution of transactions even before it reaches commit point. • Example :word-to save the file and immediately updated.
  • 6. Concurrent control • The process of managing simultaneous operation on the database without having them interface with each other. • The problem of synchronizing concurrent transaction such that the consistency of the database of the maintained same time. • Concurrent controls invlove identifying and preventing problems in a organizing as they occur this means that as they occur.
  • 7. Why we need concurrency control • Simultaneous execution of transaction over a shared database can create several data integrity and consistency problem. • Three types • 1)lost update • 2)temporary uodate • 3)incorrect summary
  • 8. Lost update • This problem occurs when two transactions that access the same database items. • Have their operation interlaced in a way that makes the values of same database item incorrect. • Successfully completed update is overridden by another user. • Example:T1 withdraws $10 from an account with balance initially $ 100. • T2 deposits $100 into same accoint • Serially final balance would be $190.
  • 9. Temporary update • This problem occurs when one transaction updates a database item and then the transaction fails for some reasons. • The updated item is accessed by another transactions before it is changed back to its original value. • Example :T4 updates balance to 200 but it aborts so balance should be back at original value 100 • T3 has read new value of balance 200 and users value as basis of 10 reduction giving a new balance of 190 instead of 90.
  • 10. Advantage • Waiting time decrease • Response time decrease. • Resourse utilization increase. • Efficiency utilization increase.