What is a READ WRITE transaction in Oracle?

          

What is a READ WRITE transaction in Oracle?

<<Previous  Next>>

Oracle - What is a READ WRITE transaction in Oracle? - April 10, 2009 at 11:00 AM

What is a READ WRITE transaction in Oracle?  

The read consistency is set at the statement level in a READ WRITE transaction.
A logical snapshot of the database is created at the beginning of the execution of each statement and released at the end of the execution.
Therefore, the reads within a single statement get consistent data from the database.

Eg:
Suppose a query takes 10 minutes to be executed.
Then a database snapshot is taken for this query for 10 minutes due to which for a subquery of this query, data consistency is maintained at any point within 10 minutes.
Therefore, any updates to the database in this timespan wouldn’t make any difference to the result of this query.

By default, all transactions are started as READ WRITE transactions. 

Also read

Oracle PL/SQL

PL/SQL is a transaction processing language that offers the following advantages............

Oracle transaction

The parser scans the statement and breaks it into logical units such as keywords, identifiers and operators, A query or a sequence tree is built using the units above. This is done to transform the source data into the format required by the result set.............

What are transaction isolation levels supported by Oracle?

READ COMMITTED: If row locks are obtained by a certain transaction, then any other transaction that contains DML needs to wait until the row locks have been released by that particular transaction.............

Explain how to start a new transaction in Oracle.

Oracle server implicitly starts a new transaction with the following two conditions: The first executable statement of a new user session automatically starts a new transaction.............

Explain how to end the current transaction in Oracle.

Following commands could be run to explicitly end the current transaction: COMMIT and ROLLBACK............

Explain how save point works..

<<Previous  Next>>



Write your comment - Share Knowledge and Experience


 

 
Interview questions
Latest MCQs
» General awareness - Banking » ASP.NET » PL/SQL » Mechanical Engineering
» IAS Prelims GS » Java » Programming Language » Electrical Engineering
» English » C++ » Software Engineering » Electronic Engineering
» Quantitative Aptitude » Oracle » English » Finance
Home | About us | Sitemap | Contact us | We are hiring