DOI QR코드

DOI QR Code

Design and Implementation of a Main-Memory Database System for Real-time Mobile GIS Application

실시간 모바일 GIS 응용 구축을 위한 주기억장치 데이터베이스 시스템 설계 및 구현

  • 강은호 (홍익대학교 대학원 컴퓨터공학과) ;
  • 윤석우 (홍익대학교 대학원 컴퓨터공학과) ;
  • 김경창 (홍익대학교 컴퓨터공학과)
  • Published : 2004.02.01

Abstract

As random access memory chip gets cheaper, it becomes affordable to realize main memory-based database systems. Consequently, reducing cache misses emerges as the most important issue in current main memory databases, in which CPU speeds have been increasing at 60% per year, compared to the memory speeds at 10% per you. In this paper, we design and implement a main-memory database system for real-time mobile GIS. Our system is composed of 5 modules: the interface manager provides the interface for PDA users; the memory data manager controls spatial and non-spatial data in main-memory using virtual memory techniques; the query manager processes spatial and non-spatial query : the index manager manages the MR-tree index for spatial data and the T-tree index for non-spatial index : the GIS server interface provides the interface with disk-based GIS. The MR-tree proposed propagates node splits upward only if one of the internal nodes on the insertion path has empty space. Thus, the internal nodes of the MR-tree are almost 100% full. Our experimental study shows that the two-dimensional MR-tree performs search up to 2.4 times faster than the ordinary R-tree. To use virtual memory techniques, the memory data manager uses page tables for spatial data, non- spatial data, T-tree and MR-tree. And, it uses indirect addressing techniques for fast reloading from disk.

최근 들어 계속되는 램 가격 하락으로 인해 대용량의 램을 사용하는 주기억장치 데이터베이스 시스템의 구축이 실현 가능하게 되었다. 주기억장치 데이터베이스는 여러 다양한 실시간 응용 분야를 위해 사용되며, 매년 CPU 속도가 60% 정도 증가되고, 메모리 속도가 10% 증가되는 현실에서, 케쉬 미스(Cache miss)를 얼마나 줄이느냐 하는 문제가 주기억장치 데이터베이스의 검색 성능 측면에서 가장 중요한 문제로 대두되고 있다. 본 논문에서는 이러한 환경을 고려한 실시간 모바일 GIS응용을 위한 주기억장치 데이터베이스 시스템을 설계 및 구현한다. 본 시스템은 크게 PDA를 사용하는 모바일 사용자를 위한 인터페이스 관리기와 가상 메모리 기법을 사용해 전체 데이터를 주기억장치에 상주시키며 관리하는 주기억 데이터 관리기, 공간 및 비 공간 질의를 처리하는 질의처리기, 새롭게 제시하는 공간 데이터를 위한 MR-트리 인덱스와 비 공간 데이터를 위한 T-트리 인덱스 구조를 관리하는 인덱스 관리기, 데이터를 디스크에 저장하기 위한 GIS 서버 인터페이스로 구성된다. 새롭게 제시하는 공간 인덱싱을 위한 MR-트리는 노트 분할이 발생될 경우, 입력 경로 상에 하나 이상의 빈 엔트리를 지니는 노드가 존재할 경우에만, 노드 분할을 상위로 전송한다. 그러므로 중간 노드들은 항상 100%에 가깝게 채워져 있게 된다. 본 논문의 실험 결과, 2차원의 MR-트리는 기존의 R-트리에 비해 2.4배 이상의 빠른 검색 속도를 나타냈다. 한편, 주 기억 데이터 관리기는 가상 메모리 제공을 위해 전체 벡터 데이터 및 MR-트리, T-트리, 데이터 객체 텍스트 정보를 페이지 단위로 분할하여 관리하고, 간접 주소 기법을 사용하여 디스크로부터의 재 로딩시 발생할 수 있는 문제점을 제거하였다.

Keywords

References

  1. K. Kim, S.K. and Cha, K. Kwon, 'Optimizing Multidimentsional Index Trees for Main Memory Access,' Proceedings of ACM SIGMOD Conference, pp.139-150, 2001 https://doi.org/10.1145/375663.375679
  2. Trishul M. Chilimbi, Mark D. Hill and James R. Larus, 'Making Pointer-Based Data Structures Cache Conscious,' IEEE Computer, TBD, pp.67-74, 2000 https://doi.org/10.1109/2.889095
  3. P.Bones, S.Manegold and M.Kersten, 'Database Architecture Opimized for the New Bottleneck : Memory Access,' Proceedings of VLDB Conference, pp.54-65
  4. A.Ailamaki, D.J.DeWitt, M.D.Hill and D.A.Wood, 'DBM Ss on a Modern Processor : Where Does Time Go?,' Proceedings of VLDB Conference, pp.267-277, 1999
  5. J.Rao and K.A.Ross, 'Cache Conscious Indexing for Decision-support in Main Memory,' Proceedings of VLDB Conference, pp.78-89, 1999
  6. J.Rao, K.A.Ross, 'Making B+-trees Cache Conscious in Main Memory,' Proceedings of ACM SIGMOD Conference, pp.475-486, 2000 https://doi.org/10.1145/342009.335449
  7. A.Guttman, 'R-tree : A Dynamic Index Structure for Spatial Searching,' Proceedings of ACM SIGMOD Conference, pp.47-57, 1984 https://doi.org/10.1145/602259.602266
  8. Phi Bernstein et al., 'The Asilomar report on database research,' Sigmod Record, 27(4), 1998 https://doi.org/10.1145/306101.306137
  9. Bohannon,P., D.Lieuwen, R.Rastogi, A.Silberschatz and S.Sudarshan, 'The Architecture of the Dali Main Memory Storage Manager,' The International Journal on Multimedia Tools and pplications, 4, 2, March, 1997 https://doi.org/10.1023/A:1009662214514
  10. H.V.Jagadish, Daniel Lieuwen, Rajeev Rastogi, Avi Silberschatz, 'Dali : A High Performance Main Memory Storage Manager,' Proc. of the 20th conf. on VLDB, Santiago, Chile, 1994
  11. L.Felician and A.Gentili, 'A nearly optimal Huffman technique in the microcomputer environment,' Inf. Sys. 12, 4, 37, 1987 https://doi.org/10.1016/0306-4379(87)90028-7
  12. R.G.Gallager, Variations on a Theme by Huffman, IEEE Trans. on Inf. Theory IT-24, 6, 66, 1978
  13. Tobin J. Lehman, Eugene J. Shekita, 'An Evaluation of Starburst's Memory Resident Storage Componet,' IEEE Trans. on Knowlege and Data Engineering, Vol.4, December, 1992 https://doi.org/10.1109/69.180606
  14. Tobin J. Lehman, Michael J. Carey, 'A Study of Index Structures for Main Memory Database Management Systems,' Procedings 12th Int'l. conf. on Very Large Databases, kyoyo, pp294-303, Aug., 1986

Cited by

  1. Effective Backup and Real-Time Replication Techniques for HSS System in All-IP Mobile Networks vol.10, pp.4, 2009, https://doi.org/10.5762/KAIS.2009.10.4.795