|
INTERVIEW QUESTIONS
ORACLE
DETAILS
Question: Describe two phases of Two-phase commit ?
Answer: Prepare phase - The global coordinator (initiating node) ask a participants to prepare (to promise to commit or rollback the transaction, even if there is a failure) Commit - Phase - If all participants respond to the coordinator that they are prepared, the coordinator asks all nodes to commit the transaction, if all participants cannot prepare, the coordinator asks all nodes to roll back the transaction.
|
|
|
Category |
Oracle Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.2) By 9044 users |
Added on |
9/17/2014 |
Views |
66622 |
Rate it! |
|
|
Question:
Describe two phases of Two-phase commit ?
Answer:
Prepare phase - The global coordinator (initiating node) ask a participants to prepare (to promise to commit or rollback the transaction, even if there is a failure) Commit - Phase - If all participants respond to the coordinator that they are prepared, the coordinator asks all nodes to commit the transaction, if all participants cannot prepare, the coordinator asks all nodes to roll back the transaction. Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
How can you Enforce Referential Integrity in snapshots ?
|
View Answer
|
|
What is Two-Phase Commit ?
|
View Answer
|
|
When will the data in the snapshot log be used?
|
View Answer
|
|
What is user Account in Oracle database?
|
View Answer
|
|
How will you enforce security using stored procedures?
|
View Answer
|
|
What are the use of Roles ?
|
View Answer
|
|
What are roles? How can we implement roles ?
|
View Answer
|
|
What are the database administrators utilities available ?
|
View Answer
|
|
What are the system resources that can be controlled through Profile ?
|
View Answer
|
|
What is a Database instance ? Explain
|
View Answer
|
|
What is an Index ? How it is implemented in Oracle Database ?
|
View Answer
|
|
What are the basic element of Base configuration of an oracle Database ?
|
View Answer
|
|
What is a deadlock ? Explain .
|
View Answer
|
|
Can one rename a database user (schema)?
|
View Answer
|
|
How are extents allocated to a segment?
|
View Answer
|
|
What is COST-based approach to optimization ?
|
View Answer
|
|
How does one prevent tablespace fragmentation?
|
View Answer
|
|
How does one coalesce free space ?
|
View Answer
|
|
How does one create a new database? (for DBA)
|
View Answer
|
|
What is the effect of setting the value "CHOOSE" for OPTIMIZER_GOAL, parameter of the ALTER SESSION Command ?
|
View Answer
|