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

Is possible to open a connection to a database with exclusive mode with JDBC?

954


The new features of the JDBC 2.0 API, will be supported for JDBC-ODBC Bridge?

2238


What are the considerations for deciding on transaction boundaries?

990


How can we move the cursor in a scrollable result set?

927


What is jdbc connection?

1074


Which jdbc driver is the fastest driver?

1001


What is a rollback in jdbc?

919


What is correlated subquery?

2297


What is odbc. how is it related to sql cli?

1023


State the different connection methods used for creating different types of sql.

952


Why prepared statements are faster?

929


How can we execute stored procedures using callablestatement?

913


What is JDBC Driver interface?

1107


What is statement and preparedstatement in java?

854


What is jdbc explain?

898