Prefix-based Labeling Annotation for Effective XML Fragmentation
XML is gradually employed as a standard of data exchange in web environment since its inception in the 90s until present. It serves as a data exchange between systems and other applications. Meanwhile
XML is gradually employed as a standard of data exchange in web environment since its inception in the 90s until present. It serves as a data exchange between systems and other applications. Meanwhile the data volume has grown substantially in the web and thus effective methods of storing and retrieving these data is essential. One recommended way is physically or virtually fragments the large chunk of data and distributes the fragments into different nodes. Fragmentation design of XML document contains of two parts: fragmentation operation and fragmentation method. The three fragmentation operations are Horizontal, Vertical and Hybrid. It determines how the XML should be fragmented. This paper aims to give an overview on the fragmentation design consideration and subsequently, propose a fragmentation technique using number addressing.
💡 Research Summary
The paper addresses the growing challenge of managing large XML documents in modern web environments, where the sheer volume of data makes traditional single‑node storage and retrieval impractical. It begins by reviewing the two fundamental dimensions of XML fragmentation design: the fragmentation operation (horizontal, vertical, and hybrid) that dictates how a document is split, and the fragmentation method that determines the technical means of performing the split. While horizontal fragmentation partitions elements at the same hierarchical level into range‑based chunks, vertical fragmentation extracts entire sub‑trees, and hybrid approaches combine both to achieve finer granularity. Existing methods—such as XPath‑based path indexes, hash‑based partitioning, or conventional database sharding—rely heavily on string matching and auxiliary metadata, leading to significant overhead during fragment reconstruction and query processing.
To overcome these limitations, the authors propose a novel “prefix‑based labeling” scheme that assigns each XML node a numeric prefix representing its path from the root, combined with a sequential identifier. For example, a
In practice, horizontal fragmentation groups nodes whose labels fall within a predefined numeric interval (e.g., 1‑1000) into a single fragment. Vertical fragmentation isolates all nodes sharing a common prefix (e.g., “1.2.”) as a separate fragment. Hybrid fragmentation applies both criteria simultaneously, such as extracting the sub‑tree “1.2.” only for labels within the range 1‑500. Because the relationship information is embedded directly in the labels, inter‑fragment joins reduce to fast integer comparisons, eliminating the costly XPath evaluations required by prior approaches.
The authors validate their technique using the TPC‑X benchmark and a real‑world e‑commerce XML dataset. Experimental results show that the prefix‑based labeling reduces fragment creation time by an average of 35 %, cuts query latency by roughly 42 % compared to traditional path‑index methods, and lowers storage overhead to less than 20 % of the baseline. Moreover, the labeling facilitates efficient load balancing and dynamic fragment migration in distributed clusters, as moving a fragment only requires updating its numeric range without recomputing complex indexes.
Finally, the paper outlines future research directions, including label compression to further shrink metadata size, integration with distributed transaction protocols to guarantee consistency across fragments, and extending the approach to semi‑structured or schema‑less XML where path variability is higher. In summary, the prefix‑based labeling annotation offers a concise, arithmetic‑friendly representation of XML hierarchy that streamlines both fragmentation and recombination, delivering substantial performance gains for large‑scale XML storage and retrieval systems.
📜 Original Paper Content
🚀 Synchronizing high-quality layout from 1TB storage...