Skip to main content
QUICK REVIEW

[Paper Review] HepToX: Heterogeneous Peer to Peer XML Databases

Angela Bonifati, Elaine Chang|ArXiv.org|Jun 1, 2005
Peer-to-Peer Network TechnologiesComputer Science20 references14 citations
TL;DR

HepToX introduces a peer-to-peer XML database system that enables heterogeneous peers to share data via intuitive schema mappings inferred from visual annotations (arrows and boxes). It proposes a correct, efficient query translation algorithm for a subset of XQuery, validated through experiments on a large-scale P2P testbed, demonstrating scalability and low translation overhead in dynamic environments.

ABSTRACT

We study a collection of heterogeneous XML databases maintaining similar and related information, exchanging data via a peer to peer overlay network. In this setting, a mediated global schema is unrealistic. Yet, users/applications wish to query the databases via one peer using its schema. We have recently developed HepToX, a P2P Heterogeneous XML database system. A key idea is that whenever a peer enters the system, it establishes an acquaintance with a small number of peer databases, possibly with different schema. The peer administrator provides correspondences between the local schema and the acquaintance schema using an informal and intuitive notation of arrows and boxes. We develop a novel algorithm that infers a set of precise mapping rules between the schemas from these visual annotations. We pin down a semantics of query translation given such mapping rules, and present a novel query translation algorithm for a simple but expressive fragment of XQuery, that employs the mapping rules in either direction. We show the translation algorithm is correct. Finally, we demonstrate the utility and scalability of our ideas and algorithms with a detailed set of experiments on top of the Emulab, a large scale P2P network emulation testbed.

Motivation & Objective

  • Address the challenge of querying heterogeneous XML databases in a peer-to-peer (P2P) environment where a global mediated schema is impractical.
  • Enable lightweight peer integration by allowing administrators to specify schema correspondences using intuitive visual annotations (arrows and boxes) rather than complex formal languages.
  • Develop an automated algorithm to infer precise Datalog-like mapping rules from these visual annotations to support accurate query translation.
  • Establish a formal semantics for query evaluation across heterogeneous peers and ensure correctness of the translation process.
  • Demonstrate the scalability and performance of the system in a real-world P2P emulation environment (Emulab) under dynamic query workloads.

Proposed method

  • Use visual schema correspondences (arrows and boxes) between peer DTDs to represent informal mappings between elements and attributes.
  • Apply a novel inference algorithm to transform these visual annotations into formal Datalog-like mapping rules that capture schema-level transformations.
  • Define a semantics for query evaluation based on data exchange, ensuring that translated queries preserve the intended meaning across heterogeneous schemas.
  • Implement a bidirectional query translation algorithm that leverages the inferred mapping rules to translate XQuery fragments in either direction (source-to-target or target-to-source).
  • Integrate the translation engine into a P2P architecture using the Emulab testbed to simulate large-scale, dynamic network conditions.
  • Measure performance through cumulative answer arrival plots and query completion rates, isolating translation time from local query processing overhead.

Experimental results

Research questions

  • RQ1How can schema mappings between heterogeneous XML databases be specified in a lightweight, intuitive way that avoids complex formalism?
  • RQ2Can visual annotations (arrows and boxes) be systematically transformed into precise, executable mapping rules that support correct query translation?
  • RQ3What is a correct and efficient semantics for evaluating queries across a network of heterogeneous peers with no global schema?
  • RQ4How does the query translation overhead impact overall system performance in a large-scale P2P environment?
  • RQ5To what extent can the system scale under dynamic peer participation and concurrent query workloads?

Key findings

  • The system successfully infers accurate Datalog-like mapping rules from visual schema annotations, enabling correct query translation without requiring formal schema definitions.
  • Query translation time remains low and negligible compared to local query processing time, even under concurrent query workloads.
  • Answer arrival follows a predictable burst pattern in the P2P network, consistent with expected behavior in large-scale systems.
  • The cumulative answer arrival plot (Figure 12, bottom) shows that the system achieves high completeness and timely response distribution across peers.
  • The system demonstrates scalability and robustness in Emulab experiments, with minimal performance degradation under dynamic peer entry and exit.
  • The query translation algorithm is formally proven correct with respect to the defined semantics, ensuring semantic fidelity across schema heterogeneity.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.