Abstract
An ever increasing amount of data is being exchanged and stored in the XML data format brings with it a number of advanced requirements to XML database functionality, such as trigger mechanism. Triggers are commonly used to uphold data integrity constraints and are yet to be rigorously defined for XML. To make trigger functionality for XML databases as practical and applicable as it is in the relational context, the hierarchical nature of the XML data model must be considered. However, current research on XML triggers shows clear limitations with respect to multi-document applicability and ancestor-descendant relationships.
We introduce path-level granularity in combination with the novel concept of trigger scope, which plays a critical role in the validation of complex constraints. In order to effectively and efficiently support both traditional data integrity constraints and advanced semantically aware constraints, a trigger methodology that embeds several points of innovation in the context of XML triggers is hence proposed and deeply investigated in this paper.
Similar content being viewed by others
References
Eswaran KP (1976) Specifications, implementations and interactions of a trigger subsystem in an integrated database system. Tech rep, IBM Research Report RJ 1820, IBM San Jose Research Laboratory, San Jose, California
Ceri S, Cochrane R, WidoM J (2000) Practical applications of triggers and constraints: Success and lingering issues (10-year award). In: VLDB. Morgan Kauffman, San Mateo, pp 254–262
Fan W, Siméon J (2000) Integrity constraints for XML. In: PODS. ACM, New York, pp 23–34
Fan W (2007) XML publishing: Bridging theory and practice. In: DBPL. Springer, Berlin, pp 1–16
Bailey J, Poulovassilis A, Wood PT (2002) An event-condition-action language for XML. In: WWW. ACM, New York, pp 486–495
Bonifati A, Braga D, Campi A, Ceri S (2002) Active XQuery. In: ICDE. IEEE, New York, pp 403–412
Rekouts M (2005) Incorporating active rules processing into update execution in XML database systems. In: DEXA workshops. IEEE, New York, pp 831–836
Bonifati A, Ceri S, Paraboschi S (2001) Active rules for XML: A new paradigm for e-services. VLDB J 10(1):39–47
W3C. W3c recommendations. Available at: http://www.w3.org/TR/#Recommendations
Tatarinov I, Ives ZG, Halevy AY, Weld DS (2001) Updating XML. In: SIGMOD. ACM, New York, pp 413–424
Barbosa D, Mendelzon AO, Libkin L, Mignet L, Arenas M (2004) Efficient incremental validation of XML documents. In: ICDE. IEEE, New York, pp 671–682
Bailey J, Poulovassilis A, Wood PT (2002) Analysis and optimisation of event- condition-action rules on XML. Comput Netw 39(3):239–259
Grust T (2002) Accelerating XPath location steps. In: SIGMOD. ACM, New York, pp 109–120
Jagadish HV, Al-Khalifa S, Chapman A, Lakshmanan LVS, Nierman A, Paparizos S, Patel JM, Srivastava D, Wiwatwattana N, Wu Y, Yu C (2002) Timber: A native XML database. VLDB J 11(4):274–291
Brian D (2006) The definitive guide to Berkeley DB XML (Definitive guide). Apress, Berkely
Bonifati A, Ceri S, Paraboschi S (2001) Pushing reactive services to XML repositories using active rules. In: WWW. ACM, New York, pp 633–641
Landberg AH, Rahayu JW, Pardede E (2007) Extending XML triggers with path-granularity. In: WISE. Springer, Berlin, pp 410–422
Wang F, Zaniolo C, Zhou X (2008) ArchIS: an XML-based approach to transaction-time temporal database systems. VLDB J 17(6):1445–1463
Marian A, Abiteboul S, Cobena G, Migner L (2001) Change-centric management of versions in an XML warehouse. In: VLDB. Morgan Kaufmann, San Mateo, pp 581–590
Ghelli G, Onose N, Rose K, Simeon J (2008) XML query optimization in the presence of side effects. In: Proceedings of the 2008 ACM SIGMOD
Benedikt M, Bonifati A, Flesca S, Vyas A (2005) Verification of tree updates for optimization. In: Lecture notes in computer science, vol 3576. Springer, Berlin, pp 379–393
Landberg AH, Rahayu JW, Pardede E (2010) Privacy-aware access control in XML databases. In: ADC. CRPIT, ACS, Washington, pp 85–92
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Landberg, A.H., Rahayu, J.W. & Pardede, E. XTrigger: XML database trigger. Comput Sci Res Dev 29, 1–19 (2014). https://doi.org/10.1007/s00450-010-0132-2
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00450-010-0132-2