A change detection system for unordered XML data using a relational model

The dramatic increase in the evolution of XML data available on the Internet requires a change detection system to keep track of important changes occurring during their life time. In this paper, we introduce a novel approach of detecting changes between two versions of unordered XML data stored in a traditional relational database using approaches like XRel. Most of the existing work in the area of XML change detection is mainly focused on detecting changes between two versions of XML data by constructing their Document Object Model (DOM) trees and then comparing these two tree structures based on Longest Common Sequence (LCS) using minimum edit distances. The basic tree comparison approach is not efficient in handling large XML files due to the fact that (1) an equivalent XML DOM tree will be twice as large as the original document and (2) the entire trees of both versions have to be memory resident during the comparison process. These two issues are constrained by the available main memory. In addition, existing approaches fail to detect changes among versions of XML data stored in relational databases as reverse mapping is not loss-less. We propose an efficient algorithm (XRel_Change_SQL) for detecting unordered changes between two XML data files stored in XRel as the underlying relational data model, using Structured Query Language (SQL). We compare the efficiency and quality of our change detection algorithm with existing XML change detection tools like X-Diff, DeltaXML and XANDY. We provide an experimental evaluation of the results obtained from the benchmark datasets as well as some synthetic datasets to show that our approach is highly scalable, and results in a much better efficiency and delta quality than the aforementioned approaches and tools.

[1]  Jennifer Widom,et al.  Change detection in hierarchically structured information , 1996, SIGMOD '96.

[2]  Sourav S. Bhowmick,et al.  DiffXML: Change Detection in XML Data , 2004, DASFAA.

[3]  Ophir Frieder,et al.  Using a relational database for scalable XML search , 2007, The Journal of Supercomputing.

[4]  Uwe M. Borghoff,et al.  Efficient change control of XML documents , 2009, DocEng '09.

[5]  Sanjay Kumar Madria,et al.  XML-SIM-CHANGE: Structure and Content Semantic Similarity Detection among XML Document Versions , 2010, OTM Conferences.

[6]  Sourav S. Bhowmick,et al.  Xandy: Detecting Changes on Large Unordered XML Documents Using Relational Databases , 2005, DASFAA.

[7]  Sharma Chakravarthy,et al.  CX-DIFF: a change detection algorithm for XML content and change visualization for WebVigiL , 2005, Data Knowl. Eng..

[8]  David J. DeWitt,et al.  X-Diff: an effective change detection algorithm for XML documents , 2003, Proceedings 19th International Conference on Data Engineering (Cat. No.03CH37405).

[9]  Calton Pu,et al.  WebCQ-detecting and delivering information changes on the web , 2000, CIKM '00.

[10]  Toshiyuki Amagasa,et al.  XRel: a path-based approach to storage and retrieval of XML documents using relational databases , 2001, ACM Trans. Internet Techn..

[11]  Sourav S. Bhowmick,et al.  SUCXENT: An Efficient Path-Based Approach to Store and Query XML Documents , 2004, DEXA.

[12]  Richi Nayak,et al.  XML data clustering: An overview , 2011, CSUR.

[13]  Denilson Barbosa,et al.  Information Preservation in XML-to-Relational Mappings , 2004, XSym.

[14]  L. Khan,et al.  Change Detection of XML Documents Using Signatures , 2002 .

[15]  Amélie Marian,et al.  Change-Centric Management of Versions in an XML Warehouse , 2001, VLDB.

[16]  Sourav S. Bhowmick,et al.  VACXENE: A User-Friendly Visual Synthetic XML Generator , 2003, ER.

[17]  Robin La Fontaine A Delta Format for XML: Identifying Changes in XML Files and Representing the Changes in XML , 2005 .

[18]  Sharma Chakravarthy,et al.  WebVigiL: User Profile-Based Change Detection for HTML/XML Documents , 2003, BNCOD.

[19]  Serge Abiteboul,et al.  Detecting changes in XML documents , 2002, Proceedings 18th International Conference on Data Engineering.

[20]  Hector Garcia-Molina,et al.  Meaningful change detection in structured data , 1997, SIGMOD '97.

[21]  Gregory Cobena,et al.  A comparative study for XML change detection , 2002, BDA.

[22]  Kaizhong Zhang,et al.  On the Editing Distance Between Unordered Labeled Trees , 1992, Inf. Process. Lett..

[23]  Angelica Urrutia,et al.  Change Detection by Level (CDL): An efficient algorithm to detect change on XML documents , 2010, 5th International Conference on Computer Sciences and Convergence Information Technology.

[24]  Sanjay Kumar Madria,et al.  XML Similarity Detection and Measures , 2012 .