Is it safe to set MySQL isolation to "Read Uncommitted" (dirty reads) for typical Web usage? Even with replication?
Posted
by
Continuation
on Server Fault
See other posts from Server Fault
or by Continuation
Published on 2010-01-07T23:53:23Z
Indexed on
2011/02/28
15:26 UTC
Read the original article
Hit count: 189
I'm working on a website with typical CRUD web usage pattern: similar to blogs or forums where users create/update contents and other users read the content.
Seems like it's OK to set the database's isolation level to "Read Uncommitted" (dirty reads) in this case. My understanding of the general drawback of "Read Uncommitted" is that a reader may read uncommitted data that will later be rollbacked.
In a CRUD blog/forum usage pattern, will there ever be any rollback? And even if there is, is there any major problem with reading uncommitted data?
Right now I'm not using any replication, but in the future if I want to use replication (row-based, not statement-based) will a "Read Uncommitted" isolation level prevent me from doing so?
What do you think? Has anyone tried using "Read Uncommitted" on their RDBMS?
© Server Fault or respective owner