Re: Questions about XFS

Ric Wheeler
2013-06-11T17:31:39Z

On 06/11/2013 01:27 PM, Stefan Ring wrote:
>> Let's take a simple example - a database app that does say 30
>> transactions/sec.
>>
>> In your example, you are extremely likely to lose up to just shy of 5
>> seconds of "committed" data - way over 100 transactions! That can be
>> *really* serious amounts of data and translate into large financial loss.
> Every database software will do the flushing correctly.

Stefan, you are making my point because every database will do the right thing,
it won't rely on ext3's magic every 5 second fsync :)

Ric

>
>> In a second example, let's say you are copying data to disk (say a movie) at
>> a rate of 50 MB/second. When the power cut hits at just the wrong time, you
>> will have lost a large chunk of that data that has been "written" to disk
>> (over 200MB).
> But why would anyone care about that? I know that the system went down
> while copying this large movie, so I'll just copy it again.