MySQL Forums
Forum List  »  Falcon

Re: Preallocation for the serial log file
Posted by: Ann Harrison
Date: May 04, 2007 10:45AM

The Falcon serial log is currently not preallocated. The log is variable
length - under load it will grow rather than throttle transactions. I'm
not sure how one preallocates a file of arbitrary length.

The log is written with an fsync (on Mac really really fsync) so it should
go directly to disk, give or take the variations among file systems and
disk controller caches.

Assuming that the file system doesn't report that a write was completed
unless the bits are actually on oxide (a large assumption), there's no
problem - losing the unwritten tail is OK as long as Falcon hasn't reported
back to the affected transactions that they're committed.

As a general thing, reliable file systems and uninterruptable power supplies
are friends of durability...



Options: ReplyQuote

Written By
Re: Preallocation for the serial log file
May 04, 2007 10:45AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.