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).
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.
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