Recovery Schemes for Spatial Data Update Transactions in Client-Server Computing Environments

클라이언트-서버 환경에서 공간 데이터의 변경 트랜잭션을 위한 회복 기법

  • 박재관 (부산대학교 컴퓨터공학과) ;
  • 최진오 (부산외국어대학교 컴퓨터공학과) ;
  • 홍봉희 (부산대학교 컴퓨터공학과)
  • Published : 2003.02.01

Abstract

In client-server computing environments, update transactions of spatial data have the following characteristics. First, a transaction to update maps needs interactive work, and therefore it nay take a long time to finish. Second, a long transaction should be allowed to read the dirty data to enhance parallelism of executing concurrent transactions. when %he transaction is rolled back, it should guarantee the cascading rollback of all of the dependent transactions. Finally, two spatial objects may have a weak dependency constraint, called the spatial relationship, based on geometric topology. The existing recovery approaches cannot be directly applied to this environment, due to the high rollback cost and the overhead of cascading rollbacks. Furthermore, the previous approaches cannot guarantee the data integrity because the spatial relationship, which is a new consistency constraint of spatial data, is not considered. This paper presents new recovery schemes for update transactions of spatial data. To guarantee the data integrity, this paper defines recovery dependency as a rendition of cascading rollbacks. The partial-rollback is alto suggested to solve the problem of high rollback cost. The recovery schemes proposed in this paper can remove the unnecessary cascading rollbacks by using undo-delta, partial -redo and partial-undo. Finally, the schemes are performed to ensure the correctness.

클라이언트-서버 환경에서 공간 데이터를 변경하는 트랜잭션은 사용자와 대화식으로 진행되는 트랜잭션으로 수정 시간이 길며, 미완료된 데이터 읽기(dirty read)를 허용하기 때문에 연쇄 철회(cascading rollback)가 발생할 수 있고, 공간 객체들은 서로 공간 관련성을 가지는 특징이 있다. 기존의 회복 기법은 이러한 공간 데이터의 변경 트랜잭션 철회에서 긴 트랜잭션을 단순히 철회(rollback)함으로써 고비용 문제가 발생하며, 철회된 트랜잭션에 의해 불필요한 다른 트랜잭션들이 순차적으로 철회되는 문제가 발생한다. 또한 공간 데이터가 가지는 새로운 일관성 제약 조건인 공간 관련성이 고려되지 않기 때문에 공간 데이터의 무결성(integrity) 보장에 문제가 있다. 이 논문은 이러한 문제점들을 보완하기 위하여 공간 데이터의 변경 트랜잭션을 위한 새로운 회복 기법을 제시한다. 먼저 회복에서의 공간 관련성을 위해 회복 종속성을 정의하고 이것을 연쇄 철회의 조건으로 처리함으로써 공간 데이터의 무결성을 보장한다. 둘째, 부분 철회(partial-rollback) 기법을 제시하여 긴 트랜잭션의 고비용 철회 문제를 해소한다. 셋째, 회복의 상태를 유형별로 분류하고 각 상태에 따라 undo-delta와 partial-redo 그리고 partial-undo의 연산을 실행하는 회복 제어 기법을 제시하여 불필요한 연쇄 철회를 줄인다. 마지막으로, 이 논문에서 제안한 기법들을 구현 실험하여 정확성을 보인다.

Keywords

References

  1. J. Eliot, B. Moss, 'Log-Based Recovery for Nested Transactions', Proceedings of the 13th VLDB Conference, pp.427-423, 1987
  2. 최진오, 홍봉희, '분산된 지리정보시스템에서 새로운 잠금 기법을 이용한 중복된 공간 데이터의 변경 전파', 한국정보과학회 논문지, vol.26, no.9, pp.1061-1072, 1999
  3. Gial E. Kaiser, 'Cooperative Transactions for Multiuser Environments', Modern Database Systems, pp.409-433, 1995
  4. Henry F. Korth, Eliezer Levy, Abraham Silberschatz, 'A Formal Approach to Recovery by Compensating Transactions', Proceedings of the 16th VLDB Conference, PP.95-106, 1990
  5. David B. Lomet, 'MLR: A Recovery Method for Multi-level Systems', ACM SIGMOD, pp.185-194, 1992 https://doi.org/10.1145/130283.130314
  6. Jin-oh Choi, Young-sang Shin, and Bong-hee Hong, 'Update Propagation of Replicated Data in Distributed Spatial Databases', Proc. of 10th International Conference on DEXA `99, pp.952-963, 1999
  7. G. Alonso, D. Agrawal, A. El Abbadi, 'Reducing Recovery Constraints on Locking based Protocols', ACM SIGMOD/PODS 94, pp.129-138, 1994 https://doi.org/10.1145/182591.182606
  8. R. Laurini, 'Fundamentals of Spatial Information Systems', Academic Press, 1992
  9. M.J. Egenhofer, 'Reasoning about binary topological relations', 2th International Symposium, SSD '91, pp.143-160, 1991
  10. 신영상, 최진오, 조대수, 홍봉희, '클라이언트 변경 트랜잭션에서 동시성 및 일관성 제어', '99 한국정보과학회 가을 학술발표논문집, vol.26, no.2, pp.323-325, 1999
  11. Abraham Silberschatz, Henry F. Korth, S.Sudarshan, 'Chapter 15. Recovery System', Database System Concepts, pp.511-542, 1997
  12. C. Mohan, 'ARIES/CSA: A Method for Database Recovery in Client-Server Architectures', ACM SIGMOD, vol.23, no.2, pp.55-66, 1994 https://doi.org/10.1145/191843.191849
  13. C. Mohan, Don Haderle, Bruce Lindsay, Hamid Pirahesh, Peter Schwarz, 'ARIES : A Transaction Recovery Method Supporting Fine-Granularity Locking and Partial Rollbacks Using Write-Ahead Logging', ACM Transactions on Database Systems, Vol.17, No.1, pp.94-162, 1992 https://doi.org/10.1145/128765.128770
  14. Theo Haerder, Kurt Rothermel, 'Concepts for Transaction Recovery in Nested Transactions', ACM, pp.239-248, 1987 https://doi.org/10.1145/38713.38741
  15. William E. Weihl, 'Transaction Processing Techniques', Distributed Systems, pp.329-352, 1993
  16. Won Kim, Henry F. Korth, 'A Model of CAD Transactions', Proceedings of VLDB 85, pp.25-33, 1985
  17. 박재관, 김동현, 최진오, 홍봉희, '클라이언트-서버 환경에서 공간 데이터 변경 트랜잭션을 위한 회복 기법의 설계 및 구현', '2000 한국정보과학회 가을 학술발표논문집, vol.27, no.2, pp.101-103, 2000