Professional Documents
Culture Documents
T1 at site 1:
Read (B)
B= B+1000
Write (B)
Commit
1. What are the responsibilities of transaction manager and transaction coordinator of site 1
for this transaction?
2. Explain in your own word, how is the commit performed?
3. Show in a diagram how is commit performed when all sites agree to commit using 2 phase
COMMIT protocol. Write the log records of the coordinator. Write the log records of any
other site participating in the transaction.
4. Show in a diagram how is abort performed when one site do not agree to commit. Write the
log records of the coordinator. Write the log records of site not agree to commit the
transaction.
5. Given relations and the corresponding sites as follows.
Find the query cost ignoring CPU and disk costs (only transmission cost) for the queries as
follows.
6: Find the query cost ignoring CPU and disk costs (only transmission cost) for the queries as
follows using semi-join operation.