Updating XML views published over relational databases: Towards the existence of a correct update mapping

被引:8
|
作者
Wang, Ling [1 ]
Rundensteiner, Elke A. [1 ]
Mani, Murali [1 ]
机构
[1] Worcester Polytech Inst, Dept Comp Sci, Worcester, MA 01609 USA
基金
美国国家科学基金会;
关键词
XML view; XQuery; update translatability;
D O I
10.1016/j.datak.2005.07.003
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
XML data management using relational database systems has been intensively studied in the last few years. However, in order for such systems to be viable, they must support not only queries, but also updates over virtual XML views that wrap the relational data. While view updating is a long-standing difficult issue in the relational context, the flexible XML data model and nested XML query language both pose additional challenges for view updating. This paper addresses the question, if for a given update over an XML view, a correct relational update translation exists. First, we propose a clean extended-source theory as criteria for determining whether a given translation mapping is correct. To determine the existence of such a correct mapping, we classify a view update as either un-translatable, conditionally or unconditionally translatable under a given update translation policy. This classification depends on several features of the XML view and the update: (a) granularity of the update at the view side, (b) properties of the view construction, and (c) types of duplication appearing in the view. These features are represented in the Annotated Schema Graph. This is further utilized by our Schema-driven Translatability Reasoning algorithm (STAR) to classify a given update into one of the three above update categories. The correctness of the algorithm is proven using our clean extended-source theory. This technique represents a practical approach that can be applied by any existing view update system in industry and academia for analyzing the translatability of a given update statement before translation of it is attempted. To illustrate the working algorithm, we provide a concrete case study on the translatability of XML view updates. (c) 2005 Elsevier B.V. All rights reserved.
引用
收藏
页码:263 / 298
页数:36
相关论文
共 35 条
  • [1] On the updatability of XML views published over relational data
    Wang, L
    Rundensteiner, EA
    [J]. CONCEPTUAL MODELING - ER 2004, PROCEEDINGS, 2004, 3288 : 795 - 809
  • [2] Updating XML views and querying XML views with update syntax
    Cong, Gao
    Li, Yingxin
    [J]. INTERNATIONAL JOURNAL OF COMPUTATIONAL SCIENCE AND ENGINEERING, 2010, 5 (02) : 118 - 126
  • [3] Typechecking XML views of relational databases
    Alon, N
    Milo, T
    Neven, F
    Suciu, D
    Vianu, V
    [J]. 16TH ANNUAL IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE, PROCEEDINGS, 2001, : 421 - 430
  • [4] Optimizing DOM programs on XML views over existing relational databases
    Morishima, A
    Kojima, A
    [J]. ADVANCED INFORMATION SYSTEMS ENGINEERING, PROCEEDINGS, 2004, 3084 : 248 - 262
  • [5] Towards an Intelligent Keyword Search over XML and Relational Databases
    Ling, Tok Wang
    Thuy Ngoc Le
    Zeng, Zhong
    [J]. 2014 INTERNATIONAL CONFERENCE ON BIG DATA AND SMART COMPUTING (BIGCOMP), 2014, : 1 - 6
  • [6] Complexity of typechecking XML views of relational databases
    Wieczorek, Piotr
    [J]. Database Theory - ICDT 2007, Proceedings, 2006, 4353 : 239 - 253
  • [7] ON THE CORRECT TRANSLATION OF UPDATE OPERATIONS ON RELATIONAL VIEWS
    DAYAL, U
    BERNSTEIN, PA
    [J]. ACM TRANSACTIONS ON DATABASE SYSTEMS, 1982, 7 (03): : 381 - 416
  • [8] Preserving and querying histories of XML-published relational databases
    Wang, FS
    Zaniolo, C
    [J]. ADVANCED CONCEPTUAL MODELING TECHNIQUES, 2003, 2784 : 26 - 38
  • [9] Updating XQuery views published over relational data: A round-trip case study
    Wang, L
    Mulchandani, M
    Rundensteiner, EA
    [J]. DATABASE AND XML TECHNOLOGIES, 2003, 2824 : 223 - 237
  • [10] Mapping Heterogeneous XML Document Collections to Relational Databases
    Janga, Prudhvi
    Davis, Karen C.
    [J]. CONCEPTUAL MODELING, 2014, 8824 : 86 - 99