Authors:
Sudarshan, C. S.; Rajaraman, A.; Garcia-Molina, H.; Widom, J.
Author:
Sudarshan, C
Rajaraman, A
Garcia-Molina, H
Widom, J
Venue:
Proc. of the 1996 ACM SIGMOD Intl Conf. on Management of data
URL:
http://portal.acm.org/citation.cfm?id=233366&coll=portal&dl=ACM
DOI:
http://doi.acm.org/10.1145/233269.233366
Detecting and representing changes to data is important for active databases, data warehousing, view maintenance, and version and configuration management. Most previous work in change management has dealt with flat-file and relational data; we focus on hierarchically structured data. Since in many cases changes must be computed from old and new versions of the data, we define the hierarchical change detection problem as the problem of finding a \"minimum-cost edit script\" that transforms one data tree to another, and we present efficient algorithms for computing such an edit script. Our algorithms make use of some key domain characteristics to achieve substantially better performance than previous, general-purpose algorithms. We study the performance of our algorithms both analytically and empirically, and we describe the application of our techniques to hierarchically structured documents.