Abstract
Modern data integration systems face significant challenges in efficiently routing queries across multiple autonomous and overlapping data sources. Tracking coverage and overlap statistics for every possible query is computationally and storage-intensive. This paper presents StatMiner, a frequency-based statistics mining module that utilizes attribute-value hierarchies and association rule mining. By focusing on frequently accessed query classes, StatMiner drastically reduces the overhead of statistical learning while maintaining high routing accuracy through graceful abstraction for rare queries.
Introduction
In the landscape of data integration, a mediator system must often query multiple autonomous databases—such as IEEE, ACM, and DBLP in academic search—to fulfill a single user request. To optimize this process, the mediator requires precise information regarding source coverage (how much relevant data a source contains) and overlap (redundancy between sources).
However, the combinatorial explosion of possible queries and source combinations makes exhaustive statistical tracking impossible. Traditional approaches struggle to balance the granularity of statistics with the practical limits of system memory and network probing costs. StatMiner addresses this by prioritizing statistics for the most common user queries, leveraging the observation that user interests often follow a Pareto distribution, skewed toward a subset of popular topics.
Methodology: The StatMiner System
StatMiner introduces a multi-layered approach to intelligent statistics management, focusing on what the system "remembers" based on observed user behavior.
Attribute Value (AV) Hierarchies and Query Classes
Rather than treating every unique query as an isolated event, StatMiner groups them into "query classes" using hierarchical abstractions. For instance, specific queries for "SIGMOD 2001" and "ICDE 2001" can be rolled up into a broader "Database Conferences 2001" class. This hierarchy allows the system to manage statistics at varying levels of granularity.
Frequency-Based Pruning
The system monitors a query log and applies a frequency threshold (minfreq). If a query class is requested often enough, StatMiner learns and stores its exact coverage and overlap statistics. For rare queries that fall below the threshold, the system traverses up the AV hierarchy to a parent class and utilizes its broader, generalized statistics. This ensures "graceful degradation" where the system always has a "good enough" routing plan without storing excessive data.
Association Rule Mining for Routing
StatMiner frames the estimation of coverage and overlap as an association rule mining problem, similar to market basket analysis. By mining rules in the form Query Class -> Source Set, the system can interpret the "confidence" of these rules as the probability of coverage. This novel application of a classic data mining technique allows for highly efficient overlap calculations.
Experimental Evaluation
The authors evaluated StatMiner using a simulated mediator environment modeled after the real-world BibFinder system. The testbed included 20 simulated data sources populated with real-world DBLP records, specifically targeting Database (DB) and Artificial Intelligence (AI) research. To ensure realistic results, query workloads were synthetically generated based on access statistics from the NEC Research Index.
Key Results
The experiments demonstrated that StatMiner significantly reduces system overhead. By adjusting the minfreq threshold, the system successfully pruned over 50% of candidate query classes. This led to a dramatic decrease in the time required for source probing and statistical learning.
Crucially, this reduction in overhead did not come at the cost of performance. Even as statistics for rare queries were discarded, the average precision of query plans remained stable. Evaluation against 100 random queries showed that plans generated using StatMiner's statistics (via Greedy algorithms) significantly outperformed random source selection in terms of the total number of relevant answers returned to the user.
Conclusion and Future Work
StatMiner proves that a frequency-based approach to statistics mining can effectively navigate the trade-off between routing accuracy and system overhead. By focusing on high-impact query classes and using abstraction for the "long tail" of rare queries, the system achieves scalable data integration.
Future research will focus on handling non-stationary workloads where user interests shift over time, requiring incremental update mechanisms. Additionally, the authors plan to extend the framework to support complex join queries and explore automated AV hierarchy generation through techniques like agglomerative clustering.
Summary updated