태그 기법을 이용한 공간 질의 수행기의 설계

Desgin of a Spatial QueryExecutor using Tag Technique

  • 이찬근 (한국과학기술원 전산학과) ;
  • 박호현 (한국과학기술원 전산학과) ;
  • 이용주 (상주대학교 컴퓨터공학과) ;
  • 정진완 (한국과학기술원 전산학과)
  • Lee, Chan-Geun (Dept. of Computer Science, Korea Advanced Institute of Science and Technology) ;
  • Park, Ho-Hyeon (Dept. of Computer Science, Korea Advanced Institute of Science and Technology) ;
  • Lee, Yong-Ju ;
  • Jeong, Jin-Wan (Dept. of Computer Science, Korea Advanced Institute of Science and Technology)
  • 발행 : 1999.10.01

초록

질의 수행기의 물리적 연산자를 구현하기 위해 사용되는 반복자 기법은 효율성과 확장성이 우수하다고 알려져 있다. 그리고 공간 객체에 대한 연산 처리 방법들 중 가장 널리 사용되는 것은 여과 및 정제 단계로 나누어 처리하는 방법이다. 최근에 객체 대수의 수준에서 공간 연산자를 여과 및 정제 단계로 나누어 정의하여 기존의 방법보다 더욱 효율적인 질의 수행 계획을 만들어 낼 수 있는 질의 최적화기에 대한 연구가 있었다. 그러나 기존의 질의 수행기는 이러한 질의 수행 계획을 고려하지 않고 설계되었기 때문에 연산자 간에 여과 연산의 결과를 전달하는 기능이 없다. 우리는 이러한 여과/정제 단계가 분리되어 두 단계 사이에 다른 연산이 들어올 수 있는 질의 수행 계획하에서 반복자 기법을 사용할 때 여과 단계의 연산 결과를 해당 정제 단계 연산자로 전달하는 방법으로 조사 기법과 태그 기법 두 가지를 제안한다. 조사 기법은 연산자 내부의 상태 레코드의 용도를 확장하여 사용하는 방법인 반면 태그 기법은 중간 결과에 태그의 형태로 여과 단계의 연산 결과를 저장한다. 이들 방법을 비교하여 확장성에서 우월한 태그 기법을 사용한 질의 수행기를 설계 및 구현한다. 구현된 질의 수행기는 공간 질의를 위해 확장된 OQL을 처리하기 위한 공간 객체 대수에 정의된 연산자들을 수행할 수 있다.

The iterator technique which is used for implementing physical operators of the query executor is known for its efficiency and extensibility. The most widely used technique for processing an operator on spatial objects is to process by dividing it into the filter step and the refinement step. Recently, there was a research for an optimizer which can generate more efficient query execution plans than those of traditional methods by separating a spatial operator into filter and refinement steps in the level of the object algebra. But, traditional query executors were not designed considering such query execution plans. So they have no function of transmitting the result of the filter operation between operators. We propose two methods, the probe technique and the tag technique, which transmit the result of the filter operator when using the iterator in the query execution plan in which operators are separated by filter/refinement steps and other operators can be allowed between the steps. Whereas the probe technique extends the state record within an operator, the tag technique stores the result of a filter step in an intermediate result in the form of the tag. Based on the comparison of these methods, we design and implement a query executor using the tag technique that is superior in extensibility. The implemented query executor can execute operations defined in the Spatial Object Algebra(SOA) to process an extended OQL for spatial queries.

키워드

참고문헌

  1. In Proc. of the ACM SIGMOD Conf. Multi-Step Processing of Spatial Joins T. Brinkhoff;H. P. Kriegel;R. Schneider;B. Seeger
  2. In Proc. of the ACM SIGMOD Conf. Redundancy in Spatial Databases J. A. Orenstein
  3. 공간 질의 최적화에서 여과 및 정제 단계의 분리 박호현;이찬근;이용주;정진완
  4. ACM Computing Surveys v.25 no.2 Query Evaluation Techniques for Large Databases G. Graefe
  5. IEEE Trans. on Knowledge and Data Engineering v.6 no.1 Volcano-An Extensible and Parallel Query Evaluation System G. Graefe
  6. Software-Practice and Experience v.26 no.4 Iterators, Schedulers, and Distributed-memory Parallelism G. Graefe
  7. In Proc. of the ACM SIGMOD Conf. Programming Constructs for Database System Implementation in EXODUS J. E. Richardson;M. J. Carey
  8. ACM Transactions on Database Systems v.13 no.3 Implementation Concepts for an Extensible Data Model and Data Language D.S.Batory;T.Y.Leung;T.E.Wise
  9. In Proc. of the ACM SIGMOD Conf. Extensible Query Processing in Starburst L. M. Hass;J. C. Freytag;G. M. Lohman;H. Pirahesh
  10. FernUniversitat Hagen Secondo / QP: Implementation of a Generic Query Processor R. H. Guting;C. Freundorfer;L. Becker;S. Dieker(et al.)
  11. In Proc. of the ACM SIGMOD Conf. The R*-tree: An Efficient and Robust Access Method for Points and Rectangles N. Beckmann;H. P. Kriegel;R. Schneider;B. Seeger
  12. The Object Database Standard: ODMG 2.0 R. G. G. Cattell
  13. 데이타베이스 연구회지 v.13 no.4 ODMG 객체 모델에 기반한 OMEGA 공간 데이타 모델 박창원;박호현;홍남희;정진완
  14. In Proc. of the ACM SIGMOD Conf. Shoring Up Persistent Applications M.J. Carey;D.J. DeWitt;M.J. Franklin;N.E. Hall (et al.)
  15. OMEGA에서의 공간객체 대수 및 질의언어 박호현;홍남희;박창원;정진완
  16. The C++ Programming Language (2nd edition) B. Stroustrup
  17. A First Course in Database Systems J.D. Ullman;J. Widom
  18. TIGER/Line Files U. S. Bureau of the Census