A Scheme for Evaluating XML Engine on RDBMS

Guannan Si, Zhengji Zhou, Nan Li, Jing Xu, Jufeng YangInternational Journal of Modern Education and Computer Science 2011

Abstract

As XML data management becomes increasingly integrated into traditional relational database management systems (RDBMS), there is a growing need for comprehensive evaluation methodologies. This paper proposes a novel evaluation strategy specifically designed for XML engines within an RDBMS environment. The strategy encompasses both functional and performance evaluations, covering storage, query, and update operations. We present an evaluation scheme based on a "Literature Management System" scenario, featuring a hybrid dataset of data-centric and document-centric XML, a workload mapped to W3C XQuery requirements, and a comprehensive index set. Experimental validation using a commercial RDBMS demonstrates the effectiveness of the proposed scheme in characterizing hybrid database performance.

Introduction: The Challenge of Hybrid Data Management

For decades, the database landscape was bifurcated between structured Relational Databases (RDBMS) and semi-structured Native XML Databases. To leverage the strengths of both, major vendors integrated XML engines directly into RDBMS architectures. However, standard benchmarking tools have lagged behind this integration. Traditional RDBMS benchmarks like TPC-C ignore XML, while native XML benchmarks like XMark fail to account for how XML operations interact with SQL logic, concurrency controls, and transaction management within a hybrid system.

This paper addresses this gap by proposing a multi-dimensional evaluation strategy that treats the XML engine as an integrated component of the RDBMS rather than an isolated silo.

Methodology: The BenchXE Evaluation Scheme

The proposed methodology is built upon four primary pillars designed to simulate realistic enterprise environments.

1. Evaluation Strategy

The strategy moves beyond simple response-time metrics. It evaluates storage efficiency, indexing capabilities, query optimization (particularly structural join algorithms), and the robustness of SQL/XML extensions.

2. Evaluation Scene: Literature Management System

The scheme utilizes a "Literature Management System" as its core scenario. This choice is strategic as it naturally necessitates both highly structured data (e.g., user profiles, order history) and irregular, text-heavy semi-structured data (e.g., research article contents).

Components of the Literature Management System evaluation scheme, illustrating the relationship between functions, data types, and the resulting workload and data sets.

3. Workload and Index Set

The workload is meticulously mapped to W3C XQuery requirements, consisting of 14 queries (Q1-Q14) and 5 update operations (U1-U5). These operations test a spectrum of capabilities from simple attribute lookups to complex structural transformations. The index set tracks a suite of metrics, including time/space costs for data loading, transaction rollback rates, and system throughput under varying concurrency levels.

Experimental Setup and Datasets

To ensure robustness, the scheme employs a hybrid dataset approach:

  • Simulated Data: Data-centric entities such as User, Order, and Category are generated with regular structures to simulate machine-to-machine data exchange.
  • Real-world Data: Document-centric Literature entities are sourced from real-world XML repositories (e.g., DBLP, UW XML Repository) to reflect the complexity of human-authored documents.
  • Scalability: The dataset is designed to scale from 10MB to 10GB, facilitating tests of the engine's performance under increasing data volumes.

Results and Discussion

The scheme was validated using IBM DB2 V9.7 in a Linux environment. The results provided several key insights into the performance of integrated XML engines.

Throughput and Concurrency

A critical finding was the impact of concurrency on system performance. As shown in the throughput analysis, the system reached saturation at approximately 75 concurrent users. Beyond this point, the overhead associated with transaction management and potential deadlocks caused a performance plateau.

System throughput comparison between pure query workloads and mixed (query and update) workloads across varying numbers of concurrent users.

The Cost of Transactional Integrity

The experiment quantified the "complexity penalty" of hybrid operations. While pure query workloads achieved a maximum throughput of 591, a mixed read-write workload dropped to 408. This approximately 30% reduction highlights the significant cost of maintaining transactional integrity and identity preservation in a hybrid environment. Furthermore, update performance was found to be highly sensitive to entity complexity; updates affecting multiple entities were significantly slower than single-entity updates.

Conclusion

The proposed evaluation scheme provides a realistic and comprehensive framework for benchmarking XML engines within RDBMS. By integrating data-centric and document-centric workloads with traditional relational logic, it offers a more accurate reflection of modern database usage than previous isolated benchmarks. Future work will focus on further optimizing data manipulation statements and expanding testing to other major RDBMS platforms to ensure cross-vendor utility.

Summary updated

Abstract

There are an increasing number of DBMS vendors thinking of integrating XML data management into traditional relational database, with wider use of XML. In this case, a comprehensive evaluation methodology is needed to evaluate the XML engine in RDBMS correctly. In this paper, we analyze the characteristics of XML engine and propose an evaluation strategy of XML engine in a RDBMS. We believe that the evaluation should include functional evaluation and performance evaluation, and cover several major aspects of DB such as storage, query and update. Then we designed an evaluation scheme for the XML engine in RDBMS according the strategy. The scheme describes an evaluation scene and contains a data set, workload and index set. The data set reflects the characteristics of both data-centric and document-centric XML data. The workload covers all of the requirements of XQuery in W3C. The index set covers the aspects of storage, indexing, query and update. In the end, we complete an experiment to test an actual computer system using the proposal. The result shows that the proposal is proper.
BibTeX
@article{si2011scheme,
  author = {Guannan Si and Zhengji Zhou and Nan Li and Jing Xu and Jufeng Yang},
  title = {{A Scheme for Evaluating XML Engine on RDBMS}},
  journal = {International Journal of Modern Education and Computer Science},
  year = {2011},
  doi = {10.5815/ijmecs.2011.02.08},
}
Figure