Detecting changes in XML documents

被引:131
|
作者
Cobéna, G [1 ]
Abiteboul, S [1 ]
Marian, A [1 ]
机构
[1] INRIA, Rocquencourt, France
关键词
D O I
10.1109/ICDE.2002.994696
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
We present a diff algorithm for XML data. This work is motivated by the support for change control in the context of the Xyleme project that is investigating dynamic warehouses capable of storing massive volume of XML data. Because of the context, our algorithm has to be very efficient in terms of speed and memory space,even at the cost of some loss of "quality". Also, it considers, besides insertions, deletions and updates (standard in diffs), a move operation on subtrees that is essential in the context of XML. Intuitively; our diff algorithm uses signatures to match (large) subtrees that were left unchanged between the old and new versions. Such exact matchings are then possibly, propagated to ancestors and descendants to obtain more matchings. It also uses XML specific information such as ID attributes. We provide a performance analysis of the algorithm. We show that it runs in average in linear time vs. quadratic time for previous algorithms. We present experiments on synthetic data that confirm the analysis. Since this problem is NP-hard, the linear time is obtained by trading some quality. We present experiments (again on synthetic data) that show that the output of our algorithm is reasonably close to the "optimal" in terms of quality. Finally we present experiments on a small sample of XML pages found on the Web.
引用
收藏
页码:41 / 52
页数:12
相关论文
共 50 条
  • [31] Querying encrypted XML documents
    Jammalamadaka, Ravi Chandra
    Mehrotra, Sharad
    [J]. 10TH INTERNATIONAL DATABASE ENGINEERING AND APPLICATIONS SYMPOSIUM, PROCEEDINGS, 2006, : 129 - 136
  • [32] Reconstruction of Normalized XML Documents
    Necasky, Martin
    [J]. IIT: 2008 INTERNATIONAL CONFERENCE ON INNOVATIONS IN INFORMATION TECHNOLOGY, 2008, : 514 - 518
  • [33] Incremental validation of XML documents
    Papakonstantinou, Y
    Vianu, V
    [J]. DATABASE THEORY ICDT 2003, PROCEEDINGS, 2003, 2572 : 47 - 63
  • [34] Clustering XML documents by structure
    Dalamagas, T
    Cheng, T
    Winkel, KJ
    Sellis, T
    [J]. METHODS AND APPLICATIONS OF ARTIFICIAL INTELLIGENCE, PROCEEDINGS, 2004, 3025 : 112 - 121
  • [35] Temporal versioning of XML documents
    Wuwongse, V
    Yoshikawa, M
    Amagasa, T
    [J]. DIGITAL LIBRARIES: INTERNATIONAL COLLABORATION AND CROSS-FERTILIZATION, PROCEEDINGS, 2004, 3334 : 419 - 428
  • [36] Clustering XML Documents by Structure
    Lesniewska, Anna
    [J]. ADVANCES IN DATABASES AND INFORMATION SYSTEMS, 2010, 5968 : 238 - 246
  • [37] Functional dependencies in XML documents
    Yan, P
    Lv, T
    [J]. ADVANCED WEB AND NETWORK TECHNOLOGIES, AND APPLICATIONS, PROCEEDINGS, 2006, 3842 : 29 - 37
  • [38] A normal form for XML documents
    Arenas, M
    Libkin, L
    [J]. ACM TRANSACTIONS ON DATABASE SYSTEMS, 2004, 29 (01): : 195 - 232
  • [39] Querying and indexing XML documents
    Hu, Gongzhu
    Hammad, Rafat
    [J]. JOURNAL OF COMPUTATIONAL METHODS IN SCIENCES AND ENGINEERING, 2005, 5 (01) : S219 - S233
  • [40] Clustering schemaless XML documents
    Shen, Y
    Wang, B
    [J]. ON THE MOVE TO MEANINGFUL INTERNET SYSTEMS 2003: COOPIS, DOA, AND ODBASE, 2003, 2888 : 767 - 784