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
Ocean Beach, New York

... 18 living with them, 45.9% are married couples living together, 8.2% have a female householder with no husband present, and 42.6% are non-families. 29.5% of all households ...

 
 
 
This page was created in 27.7 ms