MySQL Forums
Forum List  »  InnoDB

Re: Could I disable redo log in SSD?
Posted by: Rick James
Date: July 31, 2014 10:58PM

You will lose your intellectual argument.

> so data is durable all time.

That is valid only for atomic, single-row, operations.

Example 1:
UPDATE ... WHERE many-rows-involved

Example 2:
BEGIN
INSERT
INSERT
UPDATE
DELETE
COMMIT

There are many situations where multiple IOPs have to occur to complete the entire "transaction". Even with a fast SSD, it is very possible to crash mid-way through the writes. InnoDB's logs are designed to recover (all or none -- 'atomically') regardless of when the crash occurs.

Even taking your side of the argument ("SSDs are so fast..."), then why worry about writing to the logs, since "SSDs are so fast...".

Options: ReplyQuote


Subject
Views
Written By
Posted
1832
July 30, 2014 01:48AM
Re: Could I disable redo log in SSD?
978
July 31, 2014 10:58PM
1100
August 01, 2014 08:33PM
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.