X2S: Translating XPath into efficient SQL queries

被引:0
|
作者
Gao, J [1 ]
Yang, DQ [1 ]
Liu, YF [1 ]
机构
[1] Peking Univ, Sch Elect Engn & Comp Sci, Beijing 100871, Peoples R China
关键词
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Translating XPath into SQL queries is necessary if XML documents are stored in relational databases. Although most of the current methods can translate XPath into equivalent SQL queries, they seldom focus on the efficiency of the translated SQL queries. This paper proposes a method called X2S to handle the problem. X2S is based on the extended relational encoding, which can deal with the operators in XPath efficiently. X2S also exploits DTD to rewrite the X-Path logically before the SQL translation. The goal of the rewriting is to eliminate the wildcards of the XPath, to remove the ancestor/descendant relationship and to shorten the length of the XPath. An estimation cost model is used to choose one with the lowest cost from the candidate SQL statements. The experimental results demonstrate that the SQL queries generated by X2S outperform those from other methods significantly.
引用
收藏
页码:210 / 222
页数:13
相关论文
共 50 条
  • [21] The performance of SQL queries to an X.500 directory system
    Barrowman, D
    Martin, P
    [J]. COMPUTER COMMUNICATIONS, 1998, 21 (02) : 133 - 146
  • [22] Efficient Processing XPath Queries by Compressed XML Query Tree based on Structural Index
    Zhang, Haiwei
    Hu, Xiangyu
    Zhang, Ying
    Wen, Yanlong
    Yuan, Xiaojie
    [J]. MECHATRONICS AND INTELLIGENT MATERIALS, PTS 1 AND 2, 2011, 211-212 : 726 - 730
  • [23] L2S: Transforming natural language questions into SQL queries
    Duc Tam Hoang
    Minh Le Nguyen
    Son Bao Pham
    [J]. 2015 SEVENTH INTERNATIONAL CONFERENCE ON KNOWLEDGE AND SYSTEMS ENGINEERING (KSE), 2015, : 85 - 90
  • [24] An efficient bottom-up filtering of XML messages by exploiting the postfix commonality of XPath queries
    Kim, Jaehoon
    Kim, Youngsoo
    Park, Seog
    [J]. IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS, 2008, E91D (08): : 2124 - 2133
  • [25] Sphinx: Empowering Impala for Efficient Execution of SQL Queries on Big Spatial Data
    Eldawy, Ahmed
    Sabek, Ibrahim
    Elganainy, Mostafa
    Bakeer, Ammar
    Abdelmotaleb, Ahmed
    Mokbel, Mohamed F.
    [J]. ADVANCES IN SPATIAL AND TEMPORAL DATABASES, SSTD 2017, 2017, 10411 : 65 - 83
  • [26] An Optimized Method of Translating SQL to More Efficient Map-reduce Tasks
    Cao, Jin
    Han, Honglin
    Zhao, Mingming
    Ye, Sijing
    Zhu, Dehai
    Li, Lin
    [J]. INTERNATIONAL JOURNAL OF GRID AND DISTRIBUTED COMPUTING, 2015, 8 (04): : 249 - 256
  • [27] Answering XPath queries with search predicates in structured P2P networks
    He, Weimin
    Fegaras, Leonidas
    [J]. COMPUTER SYSTEMS SCIENCE AND ENGINEERING, 2008, 23 (02): : 77 - 87
  • [28] First principles study of the elastic properties in X2S (X = Li, Na, K and Rb) compounds under pressure effect
    Khachai, H.
    Khenata, R.
    Bouhemadou, A.
    Reshak, Ali. H.
    Haddou, A.
    Rabah, M.
    Soudini, B.
    [J]. SOLID STATE COMMUNICATIONS, 2008, 147 (5-6) : 178 - 182
  • [29] Bruker SMART X2S Benchtop System: A Means To Making X-ray Crystallography More Mainstream in the Undergraduate Laboratory
    Guzei, Ilia A.
    Hill, Nicholas J.
    Zakai, Uzma I.
    [J]. JOURNAL OF CHEMICAL EDUCATION, 2010, 87 (11) : 1257 - 1259
  • [30] PATSQL: Efficient Synthesis of SQL Queries from Example Tables with Quick Inference of Projected Columns
    Takenouchi, Keita
    Ishio, Takashi
    Okada, Joji
    Sakata, Yuji
    [J]. PROCEEDINGS OF THE VLDB ENDOWMENT, 2021, 14 (11): : 1937 - 1949