Study of Query Rewrite Based on Semantic Information

Author
SongLianPo
Advisor
LiXiangShu
School
Chongqing University
Major
Computer System Architecture
Classification
TP311.13 Database theory and systems
Degree
Master's thesis
Year
2002
Downloads
52
Citations
0

Request the full text

Abstract

It is very important to quickly answer queries in database especially in data warehouse environment. Besides query optimization, another efficient way is query rewrite using materialized views. Materialized views are different from ordinary views. Not only the definitions of materialized views, but also the results are stored in database. Users give their queries against tables without knowing the materialized views, the queries are transparently rewritten using materialized views and the time consumed by queries is reduced by avoiding accessing huge raw records and performing time-consuming join and aggregate operations.Rewrite and the original query generate the same multi-set answer. The paper studies conditions and algorithms of query rewrite using materialized views. The author introduces conditions and algorithms of query rewrite based on semantic information, extending the usability of materialized views. The main contributions are following:① The paper studies query rewrite in database environment based on foreign key information. Detail table may join the master table by foreign key losslessly and access the columns in master table. The paper uses this property to extend the usability of materialized views.1) Introduces the concept of join-lossless tables. If the extra tables in the materialized view but not in the query are join-lossless tables, the materialized view may be used to rewrite the query.2) Introduces the concept of expanded tables. If the columns required by the query are not in the output of a materialized view but in the expanded tables, the materialized view can also be used to rewrite queries. 3) Divides the WHERE conditions of the materialized views and the queries into three categories, introduces the concept of equivalent classes and specifies how to derive the query conditions by the materialized view conditions and how to generate the compensated conditions.4) Supplies the conditions and algorithms of query rewrite based on foreign<WP=7>key semantic information.② The dimensions in data warehouse have many dimension levels. Due to dependencies between dimension levels, there have derivation relationships between column sets (granularities). The paper studies query rewrite in data warehouse environment based on granularity information.1) Due to join-lossless between fact-table and dimension tables, the paper introduces the equivalent form of the aggregate materialized view and the aggregate query, the table mapping and column mapping is direct between them.2) Based on the derivability of dimension levels, the paper introduced the concept of derived dimension tables. The paper extends the usability of materialized views by using derived dimension tables.3) Supplies the conditions and algorithms of query rewrite based on granularity semantic information.③ The paper provides the data structures and procedures of query rewrite.

Related dissertations

  1. The Research of Rewriting XML Queries Based on Materialized Views
    WangZuo ·Tianjin Normal University ·2008 ·Master's thesis
  2. Design and Implementation of Materialized View of Da Meng Database Management System
  3. The Creation and Publishing Middle Linked Data of Scientific and Technical Report
    LiChengLong ·Central China Normal University ·2014 ·Master's thesis
  4. Research on Text Feature Reduction Based on Dependency Relation
  5. Study of Internet Public Opinion Hot-Topic Discovery Rased on Semantic
  6. Research on Automatically Filling of the Effect Domain Ontology
    FuQiuShi ·Hebei University of Technology ·2012 ·Master's thesis
  7. Improvement on Mutual Information in Feature Selection Based on Composite Ratio
    LuKai ·Central China Normal University ·2014 ·Master's thesis
  8. Research on Semantic Keyword Query Over Relational Databases
    DiJianZhao ·Northeastern University ·2011 ·Master's thesis
  9. The Research and Application of Data Warehouse Fuzzy Granularity Model
    XueTianZhu ·Xi'an University of Petroleum ·2012 ·Master's thesis
  10. The Application of Oracle Data Synchronization Technology in the Data Center of the Guizhou Provincial Local Taxation Bureau
    XiaoShu ·Hubei University ·2013 ·Master's thesis
  11. Research and Application of Materialized Views in the Data Warehouse
    ZuoZhaoHao ·Hubei University ·2013 ·Master's thesis
  12. Research on Database Legacy System Migration to the Integrated Web Service
  13. Probabilistic Dictionary Cracking Technology Based on Semantics
  14. Changes of - Japanese values from Japanese name change to the token and the semantic Center
    ZhuangYan ·Yanshan University ·2013 ·Master's thesis
  15. No identification of possible performance research of modern Japanese automatic word
    HuangXin ·Tianjin University of Technology ·2013 ·Master's thesis
  16. Russian time represents the time, continuity and parallel relationship
    FengShiXuan ·Liaoning Normal University ·2012 ·Master's thesis
  17. A semantic analysis of Russian vertical type motion verbs
    LanHaiYing ·Harbin Normal University ·2013 ·Master's thesis
  18. Russian digital and Semantic Interpretation Language Culture under Perspective
    BaiXue ·Shenyang Normal ·2014 ·Master's thesis
  19. Advanced oral discussion class students discourse expression studies
    XieZuo ·Shaanxi Normal University ·2013 ·Master's thesis
  20. "Surprise", "surprise", "surprise", analysis and discussion of teaching
    ZhangWenHua ·Shaanxi Normal University ·2013 ·Master's thesis