DOI QR코드

DOI QR Code

The Consistency Management Using Trees of Replicated Data Items in Partially Replicated Database

부분 중복 데이터베이스에서 중복 데이터의 트리를 이용한 일관성 유지

  • 배미숙 (전남대학교 대학원 전산학과) ;
  • 황부현 (전남대학교 전산학과)
  • Published : 2003.08.01

Abstract

The replication of data is used to increase its availability and to improve the performance of a system. The distributed database system has to maintain both the database consistency and the replica consistency. This paper proposes an algorithm which resolves the conflict of the operations by using the mechanism based on the structure that the replicas of each data item are hierarchically organized. Each update is propagated along the tree based on the fact that the root of each data item is the primary replica in partially replicated databases. The use of a hierarchy of data may eliminate useless propagation since the propagation can be done only to sites having the replicas. In consequence, the propagation delay of updates may be reduced. By using the timestamp and a compensating transaction, our algorithm resolves the non-serializability problem caused by the conflict of operations that can happen on the way of the update propagation due to the lazy propagation. This resolution also guarantees the data consistency.

데이터의 중복은 가용성과 시스템의 성능을 향상시키기 위하여 사용한다. 분산 데이터베이스 시스템에서는 데이터베이스의 일관성뿐만 아니라 중복 일판성도 유지해야 한다. 이 논문에서는 부분 중복 환경에서 각 데이터 마다 주사본을 루트로 하여 그 데이터의 사본들을 계층적인 트리로 조직화하고, 이 트리를 이용하여 연산들의 충돌문제를 해결하는 효율적인 알고리즘을 제안한다. 각 데이터의 계층구조화는 갱신이 데이터의 계층구조를 따라 사본이 갖는 사이트에만 전파될 수 있으므로 갱신의 불필요한 전파시간을 제거하여 갱신 전달 시간을 줄일 수 있다. 그리고 제안한 알고리즘은 지연 갱신 전파로 인하여 갱신 전파 도중에 발생할 수 있는 충돌로 인한 비직렬성 문제를 타임스탬프와 보상 트랜잭션을 이용하여 해결한다. 이러한 방식의 연산들의 충돌문제의 해결은 갱신전파 시간을 줄이면서도 일관성 있는 데이터를 제공할 수 있다.

Keywords

References

  1. M. Makpangou, G. Pwwierre, C. Khoury and N. Dorta, Replicated Directory Service for Weakly Consistent Distributed Caches, IEEE, pp.92-100, 1999 https://doi.org/10.1109/ICDCS.1999.776510
  2. P. Chundi, D. Rosenkrantz and S. Ravi, 'Deferred Updates and Data Placement in Distributed Databases,' 12th International Conference on Data Engineering, IEEE, 1996 https://doi.org/10.1109/ICDE.1996.492196
  3. R. Jimenez-Peris, M. Patino-Martinez, G. Alonso and S. Arevalo, 'Reducing The Latency of Non-Blocking Commitment Using Optimism and Replication', IEEE Int. Conf. on Dependable Systems and Networks(DSN), Goteborg, Sweden, July, 2001
  4. Y. Saito and H. Levy, 'Optimistic Replication for Internet Data Services,' 14th International Conference on DISC, Toledo, Spain, pp.297-314, 2000
  5. Y. Breitbart, R. Komondoor, R. Rastogi, S. Seshadri and A. Silberschatz, 'Update Propagation Protocols for Replicated Databases,' In Procs. of ACM SIGMOD International Conf. on Management of Data, Philadelphia, pp.97-108, 1999 https://doi.org/10.1145/304182.304191
  6. J.G ary, P. Helland, P. O'Neil and D. Shasha, 'The Danger of Replication and a Solution', In Procs. of ACM SIGMOD International Conf. on Management of Data, Montreal, Canada, pp.173-182, 1996 https://doi.org/10.1145/233269.233330
  7. T. Andrson, Y. Breitbart, H. F. Korth and A. Wool, 'Replication, consistency and practicality : Are these mutually exclusive?,' InProcs. of the ACM SIGMOD International Conf. on Management of Data, Seattle, WA, pp.484-495, 1998 https://doi.org/10.1145/276304.276347
  8. E. Pacitti and E. Simon, 'Update Propagation Strategies to Improve Freshness in Lazy Master Replicated Databases,' VLDB Journal, pp. 305-318, 2000 https://doi.org/10.1007/s007780050010
  9. E. Pacitti, P. Minet and E. Simon, 'Fast Algorithms for Maintaining Replica Consistency in Lazy Mater Replica Databases,' Proceedings of The 25th VLDB conference, Edinburgh, Scotland, pp.126-137, 1999
  10. Y. Breitbart and H. Korth, 'Replication and consistency: Being lazy helps sometimes,' in Procs. of the ACM SIGACT-SIGMOD-SIGART Symposium on Principles of Databases Systems, Tucson, Arizona, pp.173-184, 1997 https://doi.org/10.1145/263661.263681
  11. Coulouris, Dollimore, Kindberg, 'Distributed Systems: Concepts and Design,' Edition 3, Addison-Wesley, 2001
  12. X. Liu, B. Heal and E. Du, 'Multiview Access Protocols for Large Scale Replication,' ACM Transaction on Database Systems, pp.158-198, June, 1998 https://doi.org/10.1145/292481.277628
  13. T. Johnson and K. Jeong, 'Hierarchical Matrix Timestamps for Scalable Update Propagation,' 10th International Workshop on Distributed Algorithm, June, 1996