What is the difference between serializable and repeatable read isolation level? Can anyone please give a simple example.
What is the difference between serializable and repeatable read isolation level? Can anyone please
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Summary:
In a Repeatable Read isolation level, new rows can be inserted into the dataset.
In a Serializable isolation level, all the rows are locked for the duration of the transaction, no insert, update or delete is allowed.
Please refer to these for examples and explanations.
Original links are broken — Wayback Machine links are from the same day and time.
Isolation Level — serializable
http://beyondrelational.com/modules/2/blogs/28/posts/10467/sql-server-transaction-isolation-level-serializable.aspx
Wayback Machine SQL Server Transaction Level Serializable
Isolation Level — repeatable-read
http://beyondrelational.com/modules/2/blogs/28/posts/10466/sql-server-transaction-isolation-level-repeatable-read.aspx
Wayback Machine SQL Server Transaction Level Repeatable Read