answersLogoWhite

0


Best Answer

The recovery-management component of a database system can support atomicity

and durability by a variety of schemes. We first consider a simple, but extremely inefficient,

scheme called the shadow copy scheme. This scheme, which is based on

making copies of the database, called shadow copies, assumes that only one transaction

is active at a time. The scheme also assumes that the database is simply a file on

disk. A pointer called db-pointer is maintained on disk; it points to the current copy

of the database.

In the shadow-copy scheme, a transaction that wants to update the database first

creates a complete copy of the database. All updates are done on the new database

copy, leaving the original copy, the shadow copy, untouched. If at any point the transaction

has to be aborted, the system merely deletes the new copy. The old copy of the

database has not been affected.

If the transaction completes, it is committed as follows. First, the operating system

is asked to make sure that all pages of the new copy of the database have been written

out to disk. (Unix systems use the flush command for this purpose.) After the operating

system has written all the pages to disk, the database system updates the pointer

db-pointer to point to the new copy of the database; the new copy then becomes

the current copy of the database. The old copy of the database is then deleted.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Explain how atomicity durability is implemented in DBMS using shadow copy scheme?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Which state has first implemented the Employment Guarantee Scheme in India?

Type your answer here... west bengole


What are the states which have adopted the girl child scheme ladli?

Ladli Yojna will be implemented in both rural and urban areas in the whole State of Haryana.


Which option could explain why aristotles classification scheme was used for many years before linnaues classification scheme?

People were able to identify blah blah blah. If you're on Plato, that's the answer


Explain the meaning of the expression ratio legis?

Lat: The underlying principle; reasoning; grounds; scheme; theory, doctrine, or science of the law.


What is an aid scheme?

An aid scheme is a program or initiative implemented by a government or organization to provide financial assistance, grants, or other types of support to individuals, businesses, or specific sectors in need. Aid schemes are designed to promote development, address social issues, or stimulate economic growth within a particular region or community.


With aid of suitable diagram explain the computer Bus interconnection scheme.?

A bus is a communication path way connectign 2 or more devices.


Which option could explain why arisotles classification scheme was used many years before linnaues classification scheme?

Aristotle's classification scheme predated Linnaeus because it was based on observable physical characteristics and functional relationships, which were more accessible and understandable at that time. Linnaeus's classification scheme, on the other hand, relied on more advanced scientific knowledge, such as genetic relatedness and reproductive structures, which became prominent in the 18th century with the development of microscopy and other scientific tools.


What is antyodaya scheme?

aim of antyodya scheme


What is a sentence using the word scheme?

The company devised a new marketing scheme to attract more customers to their website.


How do you use the word scheme in a sentence?

That scheme is really great. Do not invest in fraud Schemes.


When rhyming is organized into patterns and can be labeled aaba it is called?

Rhyme Scheme


What is a double complementary color scheme?

this is a rectangular(tetradic)color scheme,also a square color scheme