1 11 1 LCG Meeting with LHCC referees22-Mar-2004 Conditions Database Status & Plans A. Valassi & D.Duellmann CERN IT-DB

Slides:



Advertisements
Similar presentations
CERN - IT Department CH-1211 Genève 23 Switzerland t LCG Persistency Framework CORAL, POOL, COOL – Status and Outlook A. Valassi, R. Basset,
Advertisements

The POOL Persistency Framework POOL Summary and Plans.
D. Düllmann - IT/DB LCG - POOL Project1 POOL Release Plan for 2003 Dirk Düllmann LCG Application Area Meeting, 5 th March 2003.
Objectivity Data Migration Marcin Nowak, CERN Database Group, CHEP 2003 March , La Jolla, California.
Experience with the Open Source based implementation for ATLAS Conditions Data Management System Jorge Lima - FCUL21 March 2003CHEP 2003 A.Amorim, J.Lima,
Andrea Valassi (CERN IT-SDC) DPHEP Full Costs of Curation Workshop CERN, 13 th January 2014 The Objectivity migration (and some more recent experience.
SEAL V1 Status 12 February 2003 P. Mato / CERN Shared Environment for Applications at LHC.
5 November 2001F Harris GridPP Edinburgh 1 WP8 status for validating Testbed1 and middleware F Harris(LHCb/Oxford)
Conditions DB in LHCb LCG Conditions DB Workshop 8-9 December 2003 P. Mato / CERN.
Time and storage patterns in Conditions: old extensions and new proposals António Amorim CFNUL- FCUL - Universidade de Lisboa ● The “Extended”
CHEP 2006, Mumbai13-Feb-2006 LCG Conditions Database Project COOL Development and Deployment: Status and Plans Andrea Valassi On behalf of the COOL.
Databases E. Leonardi, P. Valente. Conditions DB Conditions=Dynamic parameters non-event time-varying Conditions database (CondDB) General definition:
5 May 98 1 Jürgen Knobloch Computing Planning for ATLAS ATLAS Software Week 5 May 1998 Jürgen Knobloch Slides also on:
ALICE, ATLAS, CMS & LHCb joint workshop on
ATLAS Detector Description Database Vakho Tsulaia University of Pittsburgh 3D workshop, CERN 14-Dec-2004.
An RTAG View of Event Collections, and Early Implementations David Malon ATLAS Database Group LHC Persistence Workshop 5 June 2002.
20th September 2004ALICE DCS Meeting1 Overview FW News PVSS News PVSS Scaling Up News Front-end News Questions.
CERN Physics Database Services and Plans Maria Girone, CERN-IT
3D Workshop Outline & Goals Dirk Düllmann, CERN IT More details at
The Persistency Patterns of Time Evolving Conditions for ATLAS and LCG António Amorim CFNUL- FCUL - Universidade de Lisboa A. António, Dinis.
POOL Status and Plans Dirk Düllmann IT-DB & LCG-POOL Application Area Meeting 10 th March 2004.
Feedback from the POOL Project User Feedback from the POOL Project Dirk Düllmann, LCG-POOL LCG Application Area Internal Review October 2003.
LCG Generator Meeting, December 11 th 2003 Introduction to the LCG Generator Monthly Meeting.
Introduction CMS database workshop 23 rd to 25 th of February 2004 Frank Glege.
RDMS CMS DataBases: Current Status, Development and Plans. D.A Oleinik, A.Sh. Petrosyan, R.N.Semenov, I.A. Filozova V.V Korenkov, P.V. Moissenz, A. Vishnevskii,
Databases in CMS Conditions DB workshop 8 th /9 th December 2003 Frank Glege.
ATLAS Offline Database Architecture for Time-varying Data, with Requirements for the Common Project David M. Malon LCG Conditions Database Workshop CERN,
SEAL Core Libraries and Services CLHEP Workshop 28 January 2003 P. Mato / CERN Shared Environment for Applications at LHC.
Overview of DAQ at CERN experiments E.Radicioni, INFN MICE Daq and Controls Workshop.
SEAL Project Core Libraries and Services 18 December 2002 P. Mato / CERN Shared Environment for Applications at LHC.
CERN - IT Department CH-1211 Genève 23 Switzerland t COOL Conditions Database for the LHC Experiments Development and Deployment Status Andrea.
The POOL Persistency Framework POOL Project Review Introduction & Overview Dirk Düllmann, IT-DB & LCG-POOL LCG Application Area Internal Review October.
GDB Meeting - 10 June 2003 ATLAS Offline Software David R. Quarrie Lawrence Berkeley National Laboratory
STAR C OMPUTING Plans for Production Use of Grand Challenge Software in STAR Torre Wenaus BNL Grand Challenge Meeting LBNL 10/23/98.
INFSO-RI Enabling Grids for E-sciencE ARDA Experiment Dashboard Ricardo Rocha (ARDA – CERN) on behalf of the Dashboard Team.
G.Govi CERN/IT-DB 1 September 26, 2003 POOL Integration, Testing and Release Procedure Integration  Packages structure  External dependencies  Configuration.
LCG Application Area Meeting28-Jan-2004 Report on the Conditions Database Workshop (CERN 8-9 Dec. 2003) Andrea Valassi (CERN IT-DB)
23/2/2000Status of GAUDI 1 P. Mato / CERN Computing meeting, LHCb Week 23 February 2000.
D. Duellmann - IT/DB LCG - POOL Project1 The LCG Pool Project and ROOT I/O Dirk Duellmann What is Pool? Component Breakdown Status and Plans.
Some Ideas for a Revised Requirement List Dirk Duellmann.
Oracle for Physics Services and Support Levels Maria Girone, IT-ADC 24 January 2005.
CD FY09 Tactical Plan Status FY09 Tactical Plan Status Report for Neutrino Program (MINOS, MINERvA, General) Margaret Votava April 21, 2009 Tactical plan.
LCG – AA review 1 Simulation LCG/AA review Sept 2006.
The Lisbon Team - 8 December 2003The Lisbon team - 25 November 2003 ConditionsDB – Lisbon API Wide access to CondDB data and schema LCG Conditions DB Workshop.
Andrea Valassi (CERN IT-DB)CHEP 2004 Poster Session (Thursday, 30 September 2004) 1 HARP DATA AND SOFTWARE MIGRATION FROM TO ORACLE Authors: A.Valassi,
Overview of C/C++ DB APIs Dirk Düllmann, IT-ADC Database Workshop for LHC developers 27 January, 2005.
Summary of persistence discussions with LHCb and LCG/IT POOL team David Malon Argonne National Laboratory Joint ATLAS, LHCb, LCG/IT meeting.
Site Services and Policies Summary Dirk Düllmann, CERN IT More details at
K. Harrison CERN, 21st February 2005 GANGA: ADA USER INTERFACE - Ganga release Python client for ADA - ADA job builder - Ganga release Conclusions.
D. Duellmann - IT/DB LCG - POOL Project1 Internal Pool Release V0.2 Dirk Duellmann.
LHCC Referees Meeting – 28 June LCG-2 Data Management Planning Ian Bird LHCC Referees Meeting 28 th June 2004.
Database Issues Peter Chochula 7 th DCS Workshop, June 16, 2003.
June 2003LCG Applications Area Meeting Conditions DataBase Overview of existing projects Andrea Valassi (CERN IT-DB)
D. Duellmann, IT-DB POOL Status1 POOL Persistency Framework - Status after a first year of development Dirk Düllmann, IT-DB.
Conditions Database Status and Plans for 2005 Andrea Valassi (CERN IT-ADC) LCG Applications Area Review 31 March 2005.
Maria del Carmen Barandela Pazos CERN CHEP 2-7 Sep 2007 Victoria LHCb Online Interface to the Conditions Database.
JRA1 Meeting – 09/02/ Software Configuration Management and Integration EGEE is proposed as a project funded by the European Union under contract.
ARDA Massimo Lamanna / CERN Massimo Lamanna 2 TOC ARDA Workshop Post-workshop activities Milestones (already shown in December)
A quick summary and some ideas for the 2005 work plan Dirk Düllmann, CERN IT More details at
Oracle for Physics Services and Support Levels Maria Girone, IT-ADC 6 April 2005.
Database Workshop for LHC Developers27-Jan-2005 Conditions Database Andrea Valassi (CERN IT-ADC)
LCG Applications Area Milestones
(on behalf of the POOL team)
SPI external software build tool and distribution mechanism
POOL persistency framework for LHC
Dirk Düllmann CERN Openlab storage workshop 17th March 2003
Workshop Summary Dirk Duellmann.
First Internal Pool Release 0.1
POOL/RLS Experience Current CMS Data Challenges shows clear problems wrt to the use of RLS Partially due to the normal “learning curve” on all sides in.
Andrea Valassi Pere Mato
Presentation transcript:

LCG Meeting with LHCC referees22-Mar-2004 Conditions Database Status & Plans A. Valassi & D.Duellmann CERN IT-DB

A. Valassi/D. DuellmannLCG / LHCC, 22-Mar-2004ConditionsDB Status & Plans Conditions DB Timeline Feb.2000: “CondDB Interface Specification Proposal” by Pere Mato (LHCb) Feb.2000-Sep.2000: Requirement collection by Stefano Paoli (IT-DB) –Emphasis on functional requirements and definition of common C++ API –Active participation by many experiments (Harp, Compass, LHCb, Atlas…) –Earlier experience in BaBar and RD45 taken into account Oct.2000–Oct.2001: Objy implementation by Stefano Paoli et al. (IT-DB) –Used for Harp data-taking in , evaluated for Compass data-taking Mar.2002-Aug.2002: Oracle implementation by Emil Pilecki (IT-DB) –Harp data migrated from Objy to Oracle in Nov (keeping the same API) Jun.2002-Dec.2003: MySQL implementation by Jorge Lima et al. (Atlas) –More requirements collected from Atlas users, leading to API extensions –Used by Atlas for test beam data-taking since June 2003 May 2003: “Proposal to bring CondDB into LCG AA” by Pere Mato –LCG Conditions Database project launched within the Persistency Framework Dec 2003: LCG Conditions Database Workshop at CERN

A. Valassi/D. DuellmannLCG / LHCC, 22-Mar-2004ConditionsDB Status & Plans Workshop Agenda (1.5 days) Introduction and review of CERN ‘common API’ projects –Introduction (Dirk Duellmann) and Common API (A.V.) –Oracle implementation and tools (A.V.) –MySQL implementation and tools (Luis Pedro) Conditions DB projects at past/present experiments –Babar (Igor Gaponenko) –Harp (Ioannis Papadopoulos) –Compass (Damien Neyret) –CDF/D0 (Jack Cranshaw) Input from the LHC experiments (online and offline) –Atlas (Richard Hawkings, Joe Rothberg, Lorne Levinson, David Malon) –CMS (Frank Glege, Martin Liendl) –LHCb (Pere Mato, Clara Gaspar) Summary

A. Valassi/D. DuellmannLCG / LHCC, 22-Mar-2004ConditionsDB Status & Plans Common API features Data item classification –Data items organized in “folders” identified by name “/SlowControl/Ecal/Mod1” Versioning and tagging –Different versions of an object with the same validity may exist –A consistent set of objects with different versions may be tagged (CVS HEAD) Time axis is 64-bit integer –Intervals have validity range [since, till) and are looked up by validity point –Condition data and event data are loosely coupled by design Condition data stored separately and looked up by relevant event time Physical storage and partitioning –Common conventions and directives missing in the API Data content: string/blob –Flexible but cumbersome and often not optimal Design driven by metadata model –C++ API implemented using both ODBMS (Objy) and RDBMS (Oracle, MySQL)

A. Valassi/D. DuellmannLCG / LHCC, 22-Mar-2004ConditionsDB Status & Plans Oracle implementation Developed by Emil Pilecki in IT-DB in spring 2002 –Essentially frozen on August 2002 status (Emil left the group in late 2002) –Minor ad-hoc changes by A.V. for Harp migration in November 2003 Oracle 9i implementation issues –Purely relational data model, no object features –Client access through OCCI library (more user friendly than OCI) Concern for Linux: library only released for gcc2.9x, no gcc3.2 version yet –Use of PL/SQL stored procedures, materialized views, indices Performance still far from optimal –Bulk retrieval of BLOB data not yet implemented –Bulk insertion of BLOB data not yet implemented Needs deeper reengineering (now HEAD versioning forces use of autocommit) Strict conformance to original common API –Only minor changes to user code in Harp migration from Objy to Oracle –Data migration using export/import to binary files (tools can be readapted)

A. Valassi/D. DuellmannLCG / LHCC, 22-Mar-2004ConditionsDB Status & Plans MySQL implementation Continuous development (Atlas Lisbon) since summer 2002 to-date –0.2.x (Aug 2002): implementation of original API, very fast and promising –0.3.x (Apr 2003): API extended, PVSS “tiny object” support (~native int/float) –0.4.ß (Dec 2003): API extended, “CondDBTable” (complex relational data) Ongoing effort to integrate with POOL (timescale: May 2004) –Performance improvements in each release –Also include many useful tools (PVSS interface, data browser…) “Far beyond the BLOBs”: 7 types of data storage in 0.4.ß –BLOBS (with/without versioning) –CondDBTable (with/without versioning) –CondDBTable with ID (with/without versioning) –POOL and ROOT Development driven by Atlas user requests –2003 test beams (using PVSS tiny objects) –2004 combined test beam (using CondDBTable)

A. Valassi/D. DuellmannLCG / LHCC, 22-Mar-2004ConditionsDB Status & Plans Support for relational databases Large interest for (structured) relational data –As opposed to opaque blobs, or complementary to them Many (online?) people also want the freedom of a full-function RDBMS –The freedom to design and implement their own data model and schemas –At the same time the common project can only address common solutions (components that can be factored out: metadata model, API, common schema…) The rest should be done by individual detector experts (with help from DB experts) Increasing degree of agreement to move relational data support to POOL –From both online and offline The Lisbon group showed interest in moving functionality from CondDB to POOL –This may solve various issues and concerns Provide an easy way to store condition data into a relational backend Allow condition data stored in ~arbitrary schemas to be seen through a common POOL API – Agreement from the experiments expected for corresponding item on POOL work plan

A. Valassi/D. DuellmannLCG / LHCC, 22-Mar-2004ConditionsDB Status & Plans Brief overview of other issues Data partitioning and replication –API extensions as well as replication tools are needed Interactive data browsing –Tools needed with query and plotting capabilities Improved data item addressing –Relational (meta data driven) rather than by simple folder names Versioning and tagging enhancements –Versioning by insertion time more intuitive –User tagging at insertion time Validity time issues –Timestamps vs eg run,event… –Synchronization layer, in-memory implementation… Store data other than BLOBs –Simple data storage is useful even if POOL provides relational storage

A. Valassi/D. DuellmannLCG / LHCC, 22-Mar-2004ConditionsDB Status & Plans General impressions A very useful workshop: thanks to all speakers/participants! –Nice constructive atmosphere and a lot of interest –Occasion for different experiments/groups to compare their ideas directly –Collection of useful reference material about other existing projects Requirements and points of view sometimes very different –Not necessarily “exp. A vs exp. B” differences, also “online vs offline” Some problems are experiment or detector specific –They require specific solutions and are not the common project’s job –e.g.: experiments’ recommended conventions –e.g.: design of specific detector data schema or application The “common” project should concentrate on “common” solutions –Develop generic components/tools that can be used in more than one case –“Factor out” common solutions from all requirements

10 A. Valassi/D. DuellmannLCG / LHCC, 22-Mar-2004ConditionsDB Status & Plans Workplan (Phase 0) Release both Oracle and MySQL implementations in LCG CVS –In the state they are now, with own APIs and tests/examples –With their own build system –With basic documentation Timescale: already achieved for Oracle - some pending issues for MySQL –Oracle implementation pre-released today (package CondDBOracle) API, implementation and examples unchanged w.r.t. Emil’s version Using SCRAM Only available for rh73_gcc (tag CONDDB_0_0_0-pre1) –MySQL implementation will follow soon (Package CondDBMySQL) Move of master CVS repository from Lisbon to CERN (done) Using autoconf/make For the LCG supported platforms Communication problems about releases procedure with Lisbon team need to be resolved soon

11 A. Valassi/D. DuellmannLCG / LHCC, 22-Mar-2004ConditionsDB Status & Plans Workplan (Phase 1) Factor out API (as common dependency for both implementations) –As close to original API as possible (a few technical issues to solve) Lisbon API extensions maintained in MySQLCondDB package Minimize hassle to existing users (mainly Atlas, also Harp and LHCb… anyone else?) –Common tests/examples with consistent basic documentation –Same build system (SCRAM) –Start integration of existing tools using common API –Development of examples storing POOL references in the Conditions DB –Define API extensions to implement in phase 2 Expect external input from three fronts before starting phase 2: –Availability of Oracle OCCI libraries for rh73_gcc32 Else: plan port of Oracle implementation to another client library (which one?) –Formal agreement on support for relational backend to POOL Else: plan and rediscuss more relational support inside ConditionsDB –Manpower allocation Timescale: by mid-March (running late by ~one month…)

12 A. Valassi/D. DuellmannLCG / LHCC, 22-Mar-2004ConditionsDB Status & Plans Workplan (Phase 2) Design, circulate and agree a new common API –Taking into account ideas expressed at the workshop and later –Taking into account POOL software responsibilities too –Production-version implementations for both Oracle and MySQL Integration with POOL –No direct dependency, provide component that sits on both POOL and CondDB Tools –Import/export across implementations –Data browsing Package-specific issues –Oracle: improve performance by partial reengineering –MySQL: continue to support existing users, keep in mind schema evolution Timescale: Q2 Also depends on POOL workplan, news from Oracle and manpower

13 A. Valassi/D. DuellmannLCG / LHCC, 22-Mar-2004ConditionsDB Status & Plans Conclusion Very useful kick-off workshop –Sufficient agreement to continue development as common LCG project –Expect agreement for 2004 work plan beeing soon (as part of the Persistency Framework work plan) Waiting for input on a few unresolved issues –Oracle support for LCG platforms/compilers –Relational backend support in POOL work plan (almost closed) –Manpower (only A. Valassi signed up.8 FTE so far) Work has started according to the proposed project work plan –First internal releases have been done –Moving towards common release tools and procedure with rest of LCG-AA –Need to insure that communication about requirements and release procedure are handled via LCG channels