Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

Website Hosting Blog Website Hosting, Web Development, Website Design, Java, Programming & more Skip to content

• Java Tutorial
• Italian Leather Store - Database Project
• Leather Store Sample
• Sample Leather Store Service
• HOME
• Contact
• Blog
• Find Us

DBMS: WAL protocol Leave a reply

WAL protocol Write-ahead logging (WAL) is aUsually both redo and undo information is stored in the log.

Before a block of data in main memory can be output to the database (in nonvolatile storage), all log records pertaining to data in that block must have been output to stable storage. This rule is called the WAL rule. Strictly speaking, the WAL rule requires only that the undo information in the log have been output to stable storage, and permits the redo information to be written later. The difference is relevant in systems where undo information and redo information are stored in separate log records

Write-ahead logging is employed to flush log records to the persistent log file before data pages are written or at commit time

Imagine a program that is in the middle of performing some operation when the machine it is running on loses power. Upon restart, that program might well need to know whether the operation it was performing succeeded, half-succeeded, or failed. If a write-ahead log were used, the program could check this log and compare what it was supposed to be doing when it unexpectedly lost power to what was actually done. On the basis of this comparison, the program could decide to undo what it had started, complete what it had started, or keep things as they are.

This entry was posted in Data Base on November 30, 2012.

Post navigation

- Absence of Boolean Data-Type in DBMS DBMS: Strict 2PL locking protocol ?

Leave a Reply

You must be logged in to post a comment.

Search for:

Recent Posts

• Oracle 11g Joins and Subqueries
• Sample Database Organization exam:
• Inheritance in C++
• C++ Instance and Static Members
• C++ Conditional Statements (if else)
• C++ Expressions and Working with User Data
• Abstract Factory vs. Factory Method Design Pattern
• lateral clauses in SQL
• SQL Versions
• Null Usage in RDBMS
• In RDBMS how does Statistical Data Get Populated?
• RDBMS Architecture | MySQL, MS SQL Server & Oracle
• In-Memory database
• Database Architecture
• Chicago Cars Case Study - Requirements
• Software Engineering vs. Computer Science
• Software Engineering vs. System Engineering
• Multilingual SEO processes (MSEO)
• Final Classes
• Why we cannot declare abstract methods as private or static?

Categories

Recent Comments

• Carol Schmitz on Italian Leather Store - Database Project
• sthiaga1 on SQL Versions
• sthiaga1 on Null Usage in RDBMS
• sthiaga1 on RDBMS Architecture | MySQL, MS SQL Server & Oracle
• sthiaga1 on In-Memory database

Useful Resources

• Java Tutorial
• Italian Leather Store - Database Project
• Leather Store Sample
• Sample Leather Store Service
• HOME
• Contact
• Blog
• Find Us

Pages

• Blog
• Contact
• Find Us
• Home
• Italian Leather Store - Database Project
• Sample Leather Store Service

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M91924208

Have any Question?


Related Questions in Computer Engineering

Sorting algorithms are one kind of algorithm whose

Sorting algorithms are one kind of algorithm whose performance may depend upon the data. Choose one of the sorting algorithms or any other algorithm and explain whether the there are any differences in the best, average ...

Describe the structure of an inverted index in information

Describe the structure of an inverted index in Information retrieval?

Question a small computer on a smart card has four page

Question : A small computer on a smart card has four page frames. At the first clock tick, the R bits are 0111 (page 0 is 0, the rest 1). At subsequent clock ticks, the values are 1011, 1010, 0101, 1010, 0010, 1100, and ...

Assignment - proposal literature review research method1

Assignment - Proposal, Literature Review, Research Method 1. Abstract - Summary of the knowledge gap: problems of the existing research - Aim of the research, summary of what this project is to achieve - Summary of the a ...

When using todays digital cameras file sizes are often

When using today's digital cameras file sizes are often saved in a format that is well over 1 Megabyte. This may be great for high definition photo reproductions but is a disaster for uploading to the web. Images on your ...

In a survey of 100 people 40 were casual drinkers event d

In a survey of 100 people, 40 were casual drinkers (event D), and 60 did not drink (event D). Of the ones who drank, 6 had minor headaches. Of the non-drinkers, 9 had minor headaches. Let D represent set of surveyed peop ...

Question suppose a data packet datagram is sent in the

Question : Suppose a data packet (datagram) is sent in the Internet from a source station (computer) to a destination station. What type of addess (physical, MAC, port address or some other) is used to forward the datagr ...

Question suppose that someone tells you that an attribute

Question : Suppose that someone tells you that an attribute that is part of a composite primary key is also a candidate key. How would you respond to that statement? Explain.

Here is a series of address references given as word

Here is a series of address references given as word addresses: 1, 4, 8, 5, 20, 17, 19, 56, 9, 11, 4, 43, 5, 6, 9, 17. Using this references, show the hits and misses and final cache contents for direct-mapped cache with ...

1 the economy is in a recession with high unemployment and

1) The economy is in a recession with high unemployment and low output (i.e. the output currently is lower than the natural level of output) a) Draw a graph of aggregate demand and aggregate supply to illustrate the curr ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As