A Study on Temporal Extension and Query Rewriting Technology of SQL

Author
WangZuo
Advisor
YaoChunLong
School
Dalian Polytechnic University
Major
Mechanical Design and Theory
Classification
TP311.13 Database theory and systems
Degree
Master's thesis
Year
2009
Downloads
8
Citations
0

Request the full text

Abstract

With the rapid development of information technology and universal application ofcomputer technology, there are increasing demand for dealing with the data of temporalinformation. However, the traditional relational database can only reflect the development ofone object in the entire process at a certain moment state (snapshot), it could not meetpeople’s temporal data manipulation well due to the operating characteristic of itself. So today,there is a new idea being proposed: setup temporal database to meet the treatment requirementof temporal data. The theories of Temporal Database provide a better solution for thissituation. Over the past20years, researches on temporal database were very fruitful.Thousands of papers and literatures have been published in this field. At the same time,though temporal data processing technology has come into application era, almost no DBMS(Database Management system) with all functionalities of temporal data processing have befound in practice until now.The temporal operation language has many versions in the past two decades, such asTempSQL, TQuel, TSQL2and ATSQL2.The ATSQL2is based on the standard SQL, whichnot only includes the bitemporal query language, but also includes bitemporal modification,data definition and constraints language. The TimeDB of bitemporal relational databasemanagement system realized the ATSQL2temporal operation language. Firstly, this paper isbased on ATSQL2, explains the grammar of it, analyzes its syntax and makes improvementson its time arithmetic operation. For instance, the period comparison predicates (precedes,overlaps, meets, contains, etc)of ATSQL2,whose results are Boolean type,so these predicatesare only used in "where" clause and lack some temporal comparison predicates such as aboutsimultaneous,and separates asynchronous and etc. Nevertheless, in the practical queryapplication, we sometimes need to get query results as period, or more complex, flexibletemporal operation, but the ATSQL2can only complete these operations by more complexquery statement. So this paper discusses the way of expanding comparison operation betweenperiod and instant to enrich temporal arithmetic operational semantics and make expressionalability stronger. Secondly, this paper focus on the use of layered extending relational database management system (RDBMS) to implement the application of temporal data. According tothe study of the algorithm of transforming ATSQL2to standard SQL and adding the "temporalquery language transform layer" to implement ATSQL2query rewriting, the standard SQLstatement can be directly implemented on RDBMS.This method not only encapsulates somedetails of treatment of the time dimension, but also improves the efficiency of the programmerto operate the application of the temporal data. All these work makes a basic foundation forthe temporal database implementation.

Related dissertations

  1. Based TimeDB Research and Application of TDBMS
    LiuHaoZuo ·Guangdong University of Technology ·2004 ·Master's thesis
  2. The Study of the HMISC Based on Temporal Relational Model
  3. The Application and Research of Postgraduate Information Management on Temporal Database
    PengJieTong ·Taiyuan University of Technology ·2010 ·Master's thesis
  4. Transparent Query Rewriting for Unstructured Data Stored in RDBMS
  5. Database Query Optimization Program Research and Implementation on PAR Platform
    TangQin ·Jiangxi Normal University ·2013 ·Master's thesis
  6. Research and Implementation of the Query Rewrite Method of Materialized View in Information Integration
    LiBin ·Jinan University ·2012 ·Master's thesis
  7. Based on Temporal Database of Timedb Reseach and Application
  8. Query optimization research and application of materialized view based on OLAP
  9. The Study on the Spatio-Temporal Data Model for Spatial Moving Objects
    WangHongYong ·PLA Information Engineering University ·2005 ·Doctoral dissertation
  10. Database Technologies on the DIS/HLA Simulation Run-Time Environment
  11. Research on Technique and Strategy of Query Optimization on Forest Resources Database
    ZhangMaoZhen ·Beijing Forestry University ·2006 ·Doctoral dissertation
  12. LAV data integration system of query processing
    ChenTongBing ·Fudan University ·2005 ·Doctoral dissertation
  13. Research on Spatio-Temporal Indexing Mechanism and Querying Strategy
    PanPeng ·Huazhong University of Science and Technology ·2007 ·Doctoral dissertation
  14. Research on Algorithms of Aggregate Queries in Spatio-temporal Databases
    XuZuo ·Huazhong University of Science and Technology ·2010 ·Doctoral dissertation
  15. Genealogy GIS, spatial and temporal relationship between ancient and modern place names
    HuYing ·Nanjing Normal University ·2008 ·Master's thesis
  16. Research on Ontology Representation and Retrieval of Temporal Database in the Emergency System
    ZhangQingWen ·Taiyuan University of Technology ·2008 ·Master's thesis
  17. Temporal database indexing technology research
  18. Research on Data Dependency of Totally Ordered Temporal Scheme in Temporal Database
  19. Research and Implementation of Query System Based on Materialized Views
    HuYaYing ·Hebei University of Technology ·2006 ·Master's thesis
  20. HRMS Based on Temporal Database