>> Many data centers do not allow customers to install their own UPS
>> inside the rack.
The questions is not whether they have (wish to have, can afford etc ) UPS or not,
or if the OS is buggy ( fsync() function or others ),
the problem is the database management system failed to ensure
data integrity under stressed conditions. Of cause ensuring persistance of transactions
when
underlying hardware/software is unreliable is a very difficult task requiring
multiple trade-offs and that's why i find it impossible to compare
performance of two given DBMS where one of them ensures data integrity
and the other one cannot. What would you prefer - the system that
fails in 1/billion's occasions but runs 10 times slower or the system
that fails 1/100 occasions even though it runs 10 times faster? Or is
it better to have a system that never fails but runs 100 times slower?
> Probably fsync() had failed to flush some part of a 16 kB page to disk.
so what ? one of trade-offs would be to re-read the data from the disk
and compare it with what it should be (another copy on the disk) and only after that fix
the
transaction, otherwise roll it all back.
When you have multiple users keeping db copy for each of them
(versioning) becomes a nightmare...
Solutions do exist but they require expensive trade-offs and more
complex algorithms.
| Thread |
|---|
| • wikipedia down, slashdot covering, mysql mentioned | Scott Haneda | 22 Feb |
| • Re: wikipedia down, slashdot covering, mysql mentioned | DebugasRu | 22 Feb |
| • Re: wikipedia down, slashdot covering, mysql mentioned | Peter Wilm | 22 Feb |
| • Re: wikipedia down, slashdot covering, mysql mentioned | Daniel Kasak | 22 Feb |
| • Re: wikipedia down, slashdot covering, mysql mentioned | Greg Whalin | 22 Feb |
| • Re: wikipedia down, slashdot covering, mysql mentioned | Daniel Kasak | 22 Feb |
| • Re: wikipedia down, slashdot covering, mysql mentioned | Greg Whalin | 23 Feb |
| • Re: wikipedia down, slashdot covering, mysql mentioned | DebugasRu | 24 Feb |
| • Re: wikipedia down, slashdot covering, mysql mentioned | Rich Lafferty | 24 Feb |
| • Re: wikipedia down, slashdot covering, mysql mentioned | Greg Whalin | 24 Feb |
| • Re: wikipedia down, slashdot covering, mysql mentioned | Rich Lafferty | 24 Feb |
| • Re: wikipedia down, slashdot covering, mysql mentioned | Greg Whalin | 24 Feb |
| • Re[2]: wikipedia down, slashdot covering, mysql mentioned | DebugasRu | 24 Feb |
| • Re: wikipedia down, slashdot covering, mysql mentioned | Heikki Tuuri | 22 Feb |
| • Re: wikipedia down, slashdot covering, mysql mentioned | Greg Whalin | 22 Feb |
| • Re: wikipedia down, slashdot covering, mysql mentioned | Jochem van Dieten | 23 Feb |
| • Re: wikipedia down, slashdot covering, mysql mentioned | Heikki Tuuri | 23 Feb |
| • Re: wikipedia down, slashdot covering, mysql mentioned | Heikki Tuuri | 23 Feb |
| • Re: wikipedia down, slashdot covering, mysql mentioned | Heikki Tuuri | 23 Feb |