MySQL Forums
Forum List  »  InnoDB

Re: Could I disable redo log in SSD?
Posted by: Morgan Tocker
Date: August 15, 2014 08:27AM

> If something wrong happen during update many rows,it could undo appled changes~I just mean disable redo,not undo~
> I just think redo is redundant.........

What Rick was referring to is that fwrite is not guaranteed to be atomic, and that when patching a row in an existing page, corruption can occur (aka a 'torn page').

As an alternative to REDO log, a database engine could always write-as-new (so the data becomes the log). This would provide similar to what you are requesting, but it also has other drawbacks.

Options: ReplyQuote


Subject
Views
Written By
Posted
1832
July 30, 2014 01:48AM
1100
August 01, 2014 08:33PM
Re: Could I disable redo log in SSD?
1078
August 15, 2014 08:27AM
1339
August 15, 2014 07:35PM


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.