This topic contains a solution. Click here to go to the answer

Author Question: Briefly describe how Oracle Database implements serializable transaction isolation. Include an ... (Read 37 times)

plus1

  • Hero Member
  • *****
  • Posts: 676
Briefly describe how Oracle Database implements serializable transaction isolation. Include an example.
 
  What will be an ideal response?

Question 2

In the MySQL Workbench, a 1:N non-identifying relationship between two tables that do not contain the needed primary and foreign keys is created using ________.
 
  A) the 1:N Identifying Relationship button
  B) the 1:N Non-identifying Relationship button
  C) the N:M Identifying Relationship button
  D) the Place a Relationship Using Existing Columns button



Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question
Marked as best answer by a Subject Expert

onowka

  • Sr. Member
  • ****
  • Posts: 353
Answer to Question 1

Whenever a transaction begins, Oracle Database records a System Change Number (SCN), which is a database-wide value that is incremented every time a change is made to the database. As a transaction proceeds, for each record the transaction reads, Oracle retrieves the committed values that the record contained when its SCN was less than or equal to the SCN of the current transaction. This prevents any dirty reads, nonrepeatable reads, or phantom reads. As long as the transaction does not attempt to update or delete a record that has a committed change with an SCN greater than the SCN of the current transaction, the transaction will proceed normally. If the transaction does attempt to change a record with a greater SCN, then an error is produced that must be handled by the application program. For example, suppose a transaction begins when the SCN is 100. The transaction first reads a record with an SCN of 97. The transaction is allowed to proceed since the record's changes were committed prior to the start of the current transaction. The transaction next attempts to read a record with SCN 102. At this point the transaction will be cancelled since allowing it to proceed could violate serializability.

Answer to Question 2

B




plus1

  • Member
  • Posts: 676
Reply 2 on: Jul 7, 2018
:D TYSM


Laurenleakan

  • Member
  • Posts: 309
Reply 3 on: Yesterday
Excellent

 

Did you know?

To combat osteoporosis, changes in lifestyle and diet are recommended. At-risk patients should include 1,200 to 1,500 mg of calcium daily either via dietary means or with supplements.

Did you know?

Stroke kills people from all ethnic backgrounds, but the people at highest risk for fatal strokes are: black men, black women, Asian men, white men, and white women.

Did you know?

Certain rare plants containing cyanide include apricot pits and a type of potato called cassava. Fortunately, only chronic or massive ingestion of any of these plants can lead to serious poisoning.

Did you know?

Individuals are never “cured” of addictions. Instead, they learn how to manage their disease to lead healthy, balanced lives.

Did you know?

The first oncogene was discovered in 1970 and was termed SRC (pronounced "SARK").

For a complete list of videos, visit our video library