Re: Should I need to commit a read transaction ?
Posted by: Mark Matthews
Date: August 31, 2015 11:14AM

Short answer, yes.

Long answer, even read-only transactions can take locks, and they can cause versions of rows to be maintained until the transaction is committed to provide the MVCC functionality, thus if you're not committing even read-only transactions you're (over)using resources.


Mark Matthews
Consulting Member Technical Staff - MySQL Enterprise Tools

Options: ReplyQuote

Written By
Re: Should I need to commit a read transaction ?
August 31, 2015 11:14AM

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.