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
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
- Based TimeDB Research and Application of TDBMS
- The Study of the HMISC Based on Temporal Relational Model
- The Application and Research of Postgraduate Information Management on Temporal Database
- Transparent Query Rewriting for Unstructured Data Stored in RDBMS
- Database Query Optimization Program Research and Implementation on PAR Platform
- Research and Implementation of the Query Rewrite Method of Materialized View in Information Integration
- Based on Temporal Database of Timedb Reseach and Application
- Query optimization research and application of materialized view based on OLAP
- The Study on the Spatio-Temporal Data Model for Spatial Moving Objects
- Database Technologies on the DIS/HLA Simulation Run-Time Environment
- Research on Technique and Strategy of Query Optimization on Forest Resources Database
- LAV data integration system of query processing
- Research on Spatio-Temporal Indexing Mechanism and Querying Strategy
- Research on Algorithms of Aggregate Queries in Spatio-temporal Databases
- Genealogy GIS, spatial and temporal relationship between ancient and modern place names
- Research on Ontology Representation and Retrieval of Temporal Database in the Emergency System
- Temporal database indexing technology research
- Research on Data Dependency of Totally Ordered Temporal Scheme in Temporal Database
- Research and Implementation of Query System Based on Materialized Views
- HRMS Based on Temporal Database