Encyclopedia > Durability (computer science)

  Article Content

Durability (computer science)

In computer science, durability is the ACID property that guarantees that transactions that are successfully committed will survive permanently and will not be undone by system failure.

For example, if a flight booking database system reports that a seat has successfully been booked, then the seat will remain booked even if the system crashes. Durability also a guarantees that the system won't rollback the transaction because the seat was double-booked. (The system must check this before it acknowledges the seat has been booked)

The only way a transaction can be undone after it has been committed is by a compensatory transaction[?].

Durability is usually implemented by flushing the transaction's log records to disk before acknowledging commitment. In distributed transactions[?], all participating servers must acknowledge that they have stored all data and checked all consistency constraints before commit can be acknowledged. This is usually done by a two-phase commit[?] protocol.



All Wikipedia text is available under the terms of the GNU Free Documentation License

 
  Search Encyclopedia

Search over one million articles, find something about almost anything!
 
 
  
  Featured Article
Northwest Harbor, New York

... of 18, 4.8% from 18 to 24, 27.3% from 25 to 44, 28.7% from 45 to 64, and 13.9% who are 65 years of age or older. The median age is 41 years. For every 100 females there ...

 
 
 
This page was created in 35.2 ms