An Efficient Concurrency Control Algorithm for Multi-dimensional Index Structures

다차원 색인구조를 위한 효율적인 동시성 제어기법

  • 김영호 (한국전자통신연구원) ;
  • 송석일 (충북대학교 정보통신공학과) ;
  • 유재수 (충북대학교 전기전자 및 컴퓨터공학부)
  • Published : 2003.02.01

Abstract

In this paper. we propose an enhanced concurrency control algorithm that minimizes the query delay efficiently. The factors that delay search operations and deteriorate the concurrency of index structures are node splits and MBR updates in multi dimensional index structures. In our algorithm, to reduce the query delay by split operations, we optimize exclusive latching time on a split node. It holds exclusive latches not during whole split time but only during physical node split time that occupies small part of whole split time. Also to avoid the query delay by MBR updates we introduce partial lock coupling(PLC) technique. The PLC technique increases concurrency by using lock coupling only in case of MBR shrinking operations that are less frequent than MBR expansion operations. For performance evaluation, we implement the proposed algorithm and one of the existing link technique-based algorithms on MIDAS-III that is a storage system of a BADA-III DBMS. We show through various experiments that our proposed algorithm outperforms the existing algorithm In terms of throughput and response time.

이 논문에서는 질의의 지연을 최소화하는 효율적인 동시성제어 알고리즘을 제안한다. 다차원 색인구조에서 탐색연산을 지연시키고 전체적인 동시성을 떨어뜨리는 주 요인은 노드 분할과 MBR 변경연산이다. 제안하는 알고리즘에서는 분할 연산에 의한 질의의 지연을 최소화하기 위해 분할 노드에서의 배타 잠금 시간을 최소화한다. 분할 전체 기간동안 노드에 배타 래치를 획득하는 것이 아니고 분할 과정중 노드의 물리적인 분할 단계에서만 배타 래치를 획득한다. 또한, MBR 변경 시 발생하는 질의의 지연을 줄이기 위해 부분 잠금 결합(PLC: Partial Lock-Coupling)을 사용한다. PLC 기법은 MBR 증가 연산에 비해 상대적으로 발생 빈도가 적은 MBR 감소 연산에서만 잠금 결합을 수행하여 동시성을 향상시킨다. 성능평가를 위해 제안하는 알고리즘과 링크 기법을 기반으로 하는 기존의 동시성 제어 기법을 바다-III DBMS의 자료저장 시스템인 MIDAS-III상에서 구현한다 다양한 환경에서의 성능평가를 통해 제안하는 알고리즘이 기존의 동시성 제어기법보다 처리율 및 응답시간에서 뛰어난 성능을 나타냄을 보인다.

Keywords

References

  1. A. Guttman, 'R-Trees: A dynamic index structure for spatial searching', In Proc. ACM SIGMOD Conf., pp. 47-57, 1984 https://doi.org/10.1145/602259.602266
  2. N. Beckmann, H.P. Kornacker, R. Schneider and B. Seeger, 'The R*-Tree: An Efficient and Robust Access Method for Points and Rectangles,' In Proc. ACM SIGMOD Conf., pp. 322-331, 1990 https://doi.org/10.1145/93597.98741
  3. T.Sellis, N. Roussopoulos and C. Faloutsos. 'The R+ - Tree: a dynamic index for multi-dimensional objects,' In Proc. VLDB Conf., pp. 507-518, 1987
  4. K. Lin, H. V. Jagadish and C. Faloutsos. 'The TV-Tree an index structure for high dimensional data,' VLDB Journal, pp. 517-542, 1994 https://doi.org/10.1007/BF01231606
  5. S. Berchtold, D. A. Keim and H. P. Kriegel. 'The X-Tree: An index structure for high-dimensional data,' In Proc. VLDB Conf., pp. 28-39, 1996
  6. 이석희, 유재수, 조기형, 허대영, 'CIR-Tree : 효율적인 고차원 색인기법,' 한국정보과학회 논문지(B), 한국정보과학회, 제26권 제6호, pp. 724-734, 1999
  7. M. Kornacker, C. Mohan and J. M. Hellerstein, 'Concurrency and Recovery in Generalized Search Trees,' In Proc. ACM SIGMOD Conf., pp. 62-72, 1997
  8. Jae Soo Yoo, Myung Geun Shin, Seok Hee Lee, Kil Seong Choi, Ki Hyung Cho and Dae Young Hur, 'An Efficient Index Structure for High Dimensional Image Data,' In Proc. AMCP Conf., pp. 134-147, 1998
  9. M. Kornacker and D. Banks, 'High-Concurrency Locking in R-Trees,' In Proc. VLDB Conf., pp. 134-145, 1995
  10. V. Ng and T. Kamada, 'Concurrent Accesses to R-Trees,' In Proc. SLSD Conf., pp. 142-161, 1993
  11. K.V.Ravi Kanth, David Serena and Ambuj K.Singh, 'Improved Concurrency Control Techniques for Multi-dimensional Index Structures,' In Proc. IPPS/SPDP Conf., pp. 580-586, 1998 https://doi.org/10.1109/IPPS.1998.669984
  12. P.L. Lehmann and S.B. Yao, 'Efficient locking for concurrent operations on B-Trees,' ACM TODS, 6(4), pp. 650-670, 1981 https://doi.org/10.1145/319628.319663