Skip to main content
QUICK REVIEW

[Paper Review] Experience with the Open Source based implementation for ATLAS Conditions Data Management System

A. Amorim, J. G. R. Lima|ArXiv.org|May 30, 2003
Distributed and Parallel Computing SystemsComputer Science2 references5 citations
TL;DR

This paper presents an open-source, MySQL-based implementation of the ATLAS Conditions Data Management System, designed to handle slowly varying detector calibration and alignment data with high scalability and backend independence. The system achieves 50x better performance than Oracle on common operations, using a relational schema optimized for hierarchical data access and time-based validity intervals.

ABSTRACT

Conditions Data in high energy physics experiments is frequently seen as every data needed for reconstruction besides the event data itself. This includes all sorts of slowly evolving data like detector alignment, calibration and robustness, and data from detector control system. Also, every Conditions Data Object is associated with a time interval of validity and a version. Besides that, quite often is useful to tag collections of Conditions Data Objects altogether. These issues have already been investigated and a data model has been proposed and used for different implementations based in commercial DBMSs, both at CERN and for the BaBar experiment. The special case of the ATLAS complex trigger that requires online access to calibration and alignment data poses new challenges that have to be met using a flexible and customizable solution more in the line of Open Source components. Motivated by the ATLAS challenges we have developed an alternative implementation, based in an Open Source RDBMS. Several issues were investigated land will be described in this paper: -The best way to map the conditions data model into the relational database concept considering what are foreseen as the most frequent queries. -The clustering model best suited to address the scalability problem. -Extensive tests were performed and will be described. The very promising results from these tests are attracting the attention from the HEP community and driving further developments.

Motivation & Objective

  • Address the need for a vendor-independent, scalable solution for managing ATLAS experiment's slowly evolving conditions data.
  • Overcome limitations of commercial DBMS solutions in long-term HEP projects by leveraging open-source technologies.
  • Design a flexible, extensible data model that supports hierarchical organization, versioning, time intervals, and tagging of conditions data.
  • Ensure backend independence by abstracting the RDBMS layer while maintaining standard SQL compatibility.
  • Achieve high performance and scalability through optimized relational schema design and clustering strategies for large-scale data workloads.

Proposed method

  • Mapped the hierarchical conditions data model (with folders, versions, and time intervals) to a relational database schema using normalized tables.
  • Optimized table design for frequent queries involving time intervals and version lookups, minimizing joins and improving index efficiency.
  • Implemented a clustering model using multiple databases and servers to distribute data and scale with volume and access load.
  • Used MySQL as the primary backend, leveraging its speed and portability, while ensuring compatibility with other SQL-compliant RDBMS like PostgreSQL.
  • Introduced the concept of 'Expandable Objects' to enable schema-aware access to BLOB-stored data, improving interoperability across frameworks.
  • Deferred XML integration for future extensibility, focusing first on core functionality and user feedback.

Experimental results

Research questions

  • RQ1How can a relational database efficiently model the hierarchical, versioned, and time-varying nature of ATLAS conditions data?
  • RQ2What design patterns and schema optimizations are required to achieve O(1) performance scaling with increasing data volume?
  • RQ3Can an open-source RDBMS like MySQL outperform commercial solutions like Oracle in high-throughput, low-latency conditions data access?
  • RQ4How can backend independence be achieved without sacrificing performance or feature completeness?
  • RQ5What mechanisms are needed to support tagging of data collections and ensure referential integrity in a concurrent environment?

Key findings

  • The MySQL-based implementation outperformed Oracle by a factor of 50 on most standard operations, demonstrating significant performance gains.
  • The proposed clustering model enables horizontal scaling across multiple databases and servers, supporting growth in data volume and access load.
  • Backend porting from MySQL to PostgreSQL was achieved with minimal effort, confirming the system's backend independence and portability.
  • The use of a normalized relational schema with optimized indexing allowed efficient querying of time-validity intervals and versioned data.
  • The concept of 'Expandable Objects' enables schema-aware access to BLOB-stored data, improving interoperability between different ATLAS frameworks.
  • Despite known limitations in the current API (e.g., unreliable tagging and incomplete version referencing), the system provides a stable, production-ready foundation for further evolution based on user feedback.

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.