Title :
A design and implementation of savepoints and partial rollbacks considering transaction isolation levels of SQL2
Author :
Kim, Sun Hwan ; Jung, Mi Suk ; Park, Jun Hyun ; Park, Young Chul
Author_Institution :
Dept. of Comput. Sci., Kyungpook Nat. Univ., Taegu, South Korea
Abstract :
A partial rollback of a transaction restores the state of the transaction and the database to the state in which they have been right after the savepoint to be rolled back has been established. The paper considers the correctness of savepoints and partial rollbacks. First, a savepoint sequence number is assigned to each savepoint. According to that, without generating any savepoint log record upon establishing savepoints, all the valid savepoints of a transaction can have different savepoint sequence numbers and the order of establishment of each valid savepoint can be discriminated efficiently. Second, the lock request entries of the manual duration are not deleted from the lock table as far as some savepoints which are established after the locks are requested but before the locks are released are valid. That guarantees the correctness of savepoints and partial rollbacks under the circumstances of supporting the four transaction isolation levels of SQL2. Third, the concept of the mini-savepoint that preserves the atomicity of update operations of the SQL level is extended and adopted to triggers and stored procedures. According to that, the atomicity of triggers and stored procedures is supported and the scope of savepoint names is restricted to the internal of the corresponding triggers or stored procedures
Keywords :
SQL; query processing; relational databases; software fault tolerance; system recovery; transaction processing; SQL2; lock request entries; partial rollbacks; relational database; savepoints; sequence numbers; stored procedures; transaction isolation levels; triggers; update operations; Computer science; Database systems; Laser mode locking; Protocols; Read only memory; Relational databases; Sun; System recovery; Transaction databases; Writing;
Conference_Titel :
Database Systems for Advanced Applications, 1999. Proceedings., 6th International Conference on
Conference_Location :
Hsinchu
Print_ISBN :
0-7695-0084-6
DOI :
10.1109/DASFAA.1999.765764