Meaningful change detection in structured data

Authors: 
Sudarshan, C. S.; Garcia-Molina, H.
Author: 
Sudarshan, C
Garcia-Molina, H
Year: 
1997
Venue: 
Proc. of the 1997 ACM SIGMOD Intl Conf. on Management of data
URL: 
http://portal.acm.org/citation.cfm?id=253266&coll=portal&dl=ACM
DOI: 
http://doi.acm.org/10.1145/253260.253266
Citations: 
358
Citations range: 
100 - 499
AttachmentSize
Sudarshan1997Meaningfulchangedetectionin.pdf1.6 MB

Detecting changes by comparing data snapshots is an important requirement for difference queries, active databases, and version and configuration management. In this paper we focus on detecting meaningful changes in hierarchically structured data, such as nested-object data. This problem is much more challenging than the corresponding one for relational or flat-file data. In order to describe changes better, we base our work not just on the traditional “atomic” insert, delete, update operations, but also on operations that move an entire sub-tree of nodes, and that copy an entire sub-tree. These operations allows us to describe changes in a semantically more meaningful way. Since this change detection problem is NP-hard, in this paper we present a heuristic change detection algorithm that yields close to “minimal” descriptions of the changes, and that has fewer restrictions than previous algorithms. Our algorithm is based on transforming the change detection problem to a problem of computing a minimum-cost edge cover of a bipartite graph. We study the quality of the solution produced by our algorithm, as well as the running time, both analytically and experimentally.