MySQL Forums
Forum List  »  MyISAM

Re: MyISAM updates synchronous or not ?
Posted by: Stephen Collyer
Date: August 02, 2005 03:15AM

>I'm a little unclear what you mean by this. Are you intending to simply issue an fsync() after completing each
>write? If so, I think you would be better off using transactions and InnoDB...

>Am I missing something?

The only thing you're missing is that I needed to do a quick hack at the app. level
to ensure a consumer process got the data written by a producer process, as I
didn't have the time to convert it to InnoDB just then.

You're correct, however, and I'll will be converting it to use InnoDB when I've got
the time. I screwed up originally as it didn't occur to me that I'd get a race condition
due to asynchronous writes with MyISAM.

Steve Collyer

Options: ReplyQuote


Subject
Views
Written By
Posted
2459
August 01, 2005 10:09AM
2141
August 01, 2005 10:47AM
Re: MyISAM updates synchronous or not ?
2156
August 02, 2005 03:15AM


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.