Updating recursive XML views of relations

被引:4
作者
Choi, Byron [1 ]
Cong, Gao [2 ]
Fan, Wenfei [3 ,4 ]
Viglas, Stratis D. [4 ]
机构
[1] Nanyang Technol Univ, Sch Comp Engn, Div Informat Syst, Singapore 639798, Singapore
[2] Microsoft Res Asia, Beijing 100080, Peoples R China
[3] Bell Labs, Murray Hill, NJ 07974 USA
[4] Univ Edinburgh, Edinburgh EH8 9LE, Midlothian, Scotland
基金
英国工程与自然科学研究理事会;
关键词
XML; XML publishing; XML views; view update;
D O I
10.1007/s11390-008-9150-y
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
This paper investigates the view update problem for XML views published from relational data. We consider XML views defined in terms of mappings directed by possibly recursive DTDs compressed into DAGs and stored in relations. We provide new techniques to efficiently support XML view updates specified in terms of XPath expressions with recursion and complex filters. The interaction between XPath recursion and DAG compression of XML views makes the analysis of the XML view update problem rather intriguing. Furthermore, many issues are still open even for relational view updates, and need to be explored. In response to these, on the XML side, we revise the notion of side effects and update semantics based on the semantics of XML views, and present efficient algorithms to translate XML updates to relational view updates. On the relational side, we propose a mild condition on SPJ views, and show that under this condition the analysis of deletions on relational views becomes PTIME while the insertion analysis is NP-complete. We develop an efficient algorithm to process relational view deletions, and a heuristic algorithm to handle view insertions. Finally, we present an experimental study to verify the effectiveness of our techniques.
引用
收藏
页码:516 / 537
页数:22
相关论文
共 36 条
[1]  
Benedikt M., 2002, Proceedings of the Twenty-eighth International Conference on Very Large Data Bases, P838
[2]  
BOHANNON P, 2004, SIGMOD, P503
[3]  
Braganholo V.P., 2004, Proceedings ofthe Thirtieth International Conference on Very Large Data Bases, Toronto, Canada, August 31 - September 3 2004, P276
[4]  
Buneman P., 2002, PODS, P150, DOI DOI 10.1145/543613.543633
[5]  
CAREY MJ, 2000, P 26 INT C VER LARG, P646
[6]  
CHEN L, 2005, P 31 INT C VER LARG, P493
[7]  
CHOI B, 2007, P 23 INT C DAT ENG I, P766
[8]  
CHOI B, 2002, P 5 INT WORKSH WEB D, P43
[9]  
COHEN E, 2002, P 21 ACM SIGMOD SIGA, P271
[10]  
CONG G, 2006, P 15 ACM INT C INF K, P632, DOI DOI 10.1145/1183614.1183705