Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Difference between Dirty, commited ,phantom,repeatable
reads?

Answer Posted / bawa

- Dirty read—Dirty reads occur when one transaction reads data that has been written but not yet committed by another transaction. If the changes are later rolled back, the data obtained by the first transaction will be invalid.

- Nonrepeatable read—Nonrepeatable reads happen when a transaction performs the same query two or more times and each time the data is different. This is usually due to another concurrent transaction updating the data
between the queries.

- Phantom reads—Phantom reads are similar to nonrepeatable reads. These occur when a transaction (T1) reads several rows, and then a concurrent transaction (T2) inserts rows. Upon subsequent queries, the first transaction (T1) finds additional rows that were not there before.

Is This Answer Correct ?    29 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of the statement in jdbc?

923


How can I manage special characters when I execute an insert query?

945


Explain the difference between rowset vs. Resultset in jdbc?

1001


Why do we need a jdbcrowset like wrapper around resultset?

1252


What are the differences between statement and preparedstatement interface?

988


What is thin driver in jdbc?

1003


How do I set properties for a JDBC driver and where are the properties stored?

966


When do we use execute method in java jdbc?

988


What is jdbc odbc driver?

1035


What is dburl?

988


Is jdbc a protocol?

937


What is the full form of jdbc and what is its purpose?

1007


What is resultsetmetadata?

904


What is correlated subquery?

2329


How to retrieve warnings in jdbc?

994