NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Database computing in HEP. Progress report

C.t. Day, S. Loken, Jane Macfarlane, E.n. May, David Lifka, Ewing Lusk, L.e. Price, A. Baden, Robert L. Grossman, Xiaolin Qin, L. Cormell, P. Leibold, D. Liu, Uwe Nixdorf, B. Scipioni, T. Song1992

TL;DR

High-energy physics experiments are generating massive datasets, making traditional data analysis methods inefficient due to I/O bottlenecks. This paper explores using database techniques, specifically relational and object-oriented databases, to significantly reduce the I/O required for analyzing this data. The results show substantial improvements in analysis time, particularly with object-oriented approaches, suggesting a promising path for future HEP data management.

What Problem Does This Paper Address?

The Superconducting Supercollider (SSC) experiments were projected to produce an astounding 1 Petabyte of data per year. While initial data reconstruction could be handled by distributed, inexpensive processors, subsequent analysis posed a significant challenge: Input/Output (I/O) operations. Historically, I/O performance has lagged behind CPU advancements, meaning that reading and processing this vast amount of data would become a major bottleneck. Traditional serial access, tape-based analysis systems were not designed for this scale. The authors propose a shift towards database approaches, where analysis programs could selectively retrieve only the necessary portions of an event, thereby drastically reducing the I/O load.

Methods

The researchers investigated two primary database paradigms: commercial relational database systems and commercial object-oriented database systems. They also explored a custom object storage system called PTool. To evaluate these, they modeled data from the CDF experiment's 1988-89 run. This involved converting the event bank structures into an Entity-Relationship (E-R) model, which was then manually coded into SQL for relational tables and C++ for persistent objects. A key data modeling innovation was to store all entities of a given type together across all events, rather than storing all banks for a single event together. This allows for efficient retrieval of specific event components by using table joins (in relational systems) or following links (in object-oriented systems). They also discuss the challenges of adapting to these systems, particularly regarding the handling of variable-length data and the potential cost of restructuring databases as analysis needs evolve.

Datasets

The study utilized approximately 100-200 Megabytes of data from the CDF experiment's 1988-89 run. This dataset contained 12 different "bank types" representing various event information. For testing, an intermediate Ybos file was created by dropping three banks not relevant to the specific event selection criteria used in the performance tests.

Key Insights and Ideas

  • I/O Bottleneck is Critical: The sheer volume of data expected from future HEP experiments makes traditional I/O methods unsustainable.
  • Database Paradigm Shift: Moving from serial access to database-style querying (retrieving only needed data) is essential for efficient analysis.
  • Object-Oriented Advantage: Object-oriented databases demonstrated a dramatic improvement in analysis time compared to native Ybos operations, with a relatively small space overhead.
  • Relational System Challenges: Relational databases showed disappointing performance in this initial study, with a significant space expansion that needs to be addressed.
  • Data Modeling is Key: Adapting HEP data structures to database models requires careful consideration, especially for variable-length data and the potential for evolving analysis requirements. Storing entities by type across events, rather than by event, is a crucial optimization.
  • Restructuring Costs: The flexibility of relational systems in adding new data types is an advantage, but the potential for costly restructuring in object systems when new data needs to be attached is a significant design consideration.

Key Results

The prototype systems were compared against native Ybos operations using a "di-muon mass" query.

  • Analysis Time: Both object-oriented databases (commercial and PTool) showed a dramatic improvement in analysis time over the native Ybos approach. The commercial object-oriented system achieved this with only a 12% space overhead.
  • Space Overhead: The commercial object-oriented system had a 12% space overhead, while PTool exhibited a >70% space overhead, which was not fully understood at the time.
  • Relational Performance: The relational system's performance was described as "disappointing," and it exhibited a "very large space expansion."
  • Data Loading Time: The commercial object-oriented test involved data conversion (VAX to SPARC byte order and floating point format), taking 1.75 hours. The other tests loaded data from a hardware-neutral ASCII format.

Limitations and Future Work

The authors acknowledge several limitations and suggest future directions:

  • Relational Optimization: The relational system's performance was considered disappointing, and the authors stated they had not exhausted all optimization avenues, particularly concerning the large space expansion.
  • PTool Space Overhead: The significant space overhead of PTool was not understood and required further investigation.
  • Automated Tools: The manual conversion of the E-R model to code was laborious, especially due to variable-length banks. The authors are working on automated tools like ERDraw for generating SQL from graphical models and are exploring schema construction tools for commercial object-oriented systems, though these currently have limited capabilities.
  • Flexible Data Structures: The need for flexible data structures in a research environment, coupled with enormous database sizes and the expense of restructuring, remains a key design challenge. The investigation into Lisp-like list structures is ongoing as a potentially more stable approach for handling evolving data.
  • Scale-Up for SSC: The enormous scale of SSC data necessitates further study into the scaling behavior of both relational and object-oriented systems.

Summary updated

BibTeX
@misc{day1992database,
  author = {C.T. Day and S. Loken and Jane Macfarlane and E.N. May and David Lifka and Ewing Lusk and L.E. Price and A. Baden and Robert L. Grossman and Xiaolin Qin and L. Cormell and P. Leibold and D. Liu and Uwe Nixdorf and B. Scipioni and T. Song},
  title = {{Database computing in HEP. Progress report}},
  year = {1992},
  doi = {10.2172/10145584},
}
Figure