CERN - IT Department CH-1211 Genève 23 Switzerland www.cern.ch/i t COOL Conditions Database for the LHC Experiments Development and Deployment Status Andrea.

Slides:



Advertisements
Similar presentations
CERN - IT Department CH-1211 Genève 23 Switzerland t CORAL Server A middle tier for accessing relational database servers from CORAL applications.
Advertisements

CERN - IT Department CH-1211 Genève 23 Switzerland t LCG Persistency Framework CORAL, POOL, COOL – Status and Outlook A. Valassi, R. Basset,
CORAL and COOL news for ATLAS (update since March 2012 ATLAS sw workshop)March 2012 Andrea Valassi (IT-SDC) ATLAS Database Meeting 24 th October 2013.
CERN IT Department CH-1211 Genève 23 Switzerland t ES Discussion of COOL - CORAL - POOL priorities for ATLAS Andrea Valassi (IT-ES) For the.
1 Databases in ALICE L.Betev LCG Database Deployment and Persistency Workshop Geneva, October 17, 2005.
CERN - IT Department CH-1211 Genève 23 Switzerland t Relational Databases for the LHC Computing Grid The LCG Distributed Database Deployment.
CERN - IT Department CH-1211 Genève 23 Switzerland t Partitioning in COOL Andrea Valassi (CERN IT-DM) R. Basset (CERN IT-DM) Distributed.
Andrea Valassi (CERN IT-SDC) DPHEP Full Costs of Curation Workshop CERN, 13 th January 2014 The Objectivity migration (and some more recent experience.
CERN - IT Department CH-1211 Genève 23 Switzerland t Monitoring the ATLAS Distributed Data Management System Ricardo Rocha (CERN) on behalf.
LCG 3D StatusDirk Duellmann1 LCG 3D Throughput Tests Scheduled for May - extended until end of June –Use the production database clusters at tier 1 and.
CERN - IT Department CH-1211 Genève 23 Switzerland t The High Performance Archiver for the LHC Experiments Manuel Gonzalez Berges CERN, Geneva.
CERN IT Department CH-1211 Genève 23 Switzerland t SDC Stabilizing SQL execution plans in COOL using Oracle hints Andrea Valassi (IT-SDC)
RLS Tier-1 Deployment James Casey, PPARC-LCG Fellow, CERN 10 th GridPP Meeting, CERN, 3 rd June 2004.
CERN - IT Department CH-1211 Genève 23 Switzerland t Tier0 database extensions and multi-core/64 bit studies Maria Girone, CERN IT-PSS LCG.
ORACLE GOLDENGATE AT CERN
ATLAS Metrics for CCRC’08 Database Milestones WLCG CCRC'08 Post-Mortem Workshop CERN, Geneva, Switzerland June 12-13, 2008 Alexandre Vaniachine.
Experiment Support CERN IT Department CH-1211 Geneva 23 Switzerland t DBES PhEDEx Monitoring Nicolò Magini CERN IT-ES-VOS For the PhEDEx.
LHC: ATLAS Experiment meeting “Conditions” data challenge Elizabeth Gallas - Oxford - August 29, 2009 XLDB3.
ATLAS Scalability Tests of Tier-1 Database Replicas WLCG Collaboration Workshop (Tier0/Tier1/Tier2) Victoria, British Columbia, Canada September 1-2, 2007.
Workshop Summary (my impressions at least) Dirk Duellmann, CERN IT LCG Database Deployment & Persistency Workshop.
ATLAS Database Operations Invited talk at the XXI International Symposium on Nuclear Electronics & Computing Varna, Bulgaria, September 2007 Alexandre.
CHEP 2006, Mumbai13-Feb-2006 LCG Conditions Database Project COOL Development and Deployment: Status and Plans Andrea Valassi On behalf of the COOL.
2nd September Richard Hawkings / Paul Laycock Conditions data handling in FDR2c  Tag hierarchies set up (largely by Paul) and communicated in advance.
Databases E. Leonardi, P. Valente. Conditions DB Conditions=Dynamic parameters non-event time-varying Conditions database (CondDB) General definition:
A. Valassi – QA for CORAL and COOL Forum – 29 h Sep Quality assurance for CORAL and COOL within the LCG software stack for the LHC.
CERN IT Department CH-1211 Genève 23 Switzerland t Castor development status Alberto Pace LCG-LHCC Referees Meeting, May 5 th, 2008 DRAFT.
CERN IT Department CH-1211 Genève 23 Switzerland t ES Future plans for CORAL and COOL Andrea Valassi (IT-ES) For the Persistency Framework.
INFNGrid Constanza Project: Status Report A.Domenici, F.Donno, L.Iannone, G.Pucciani, H.Stockinger CNAF, 6 December 2004 WP3-WP5 FIRB meeting.
ATLAS Detector Description Database Vakho Tsulaia University of Pittsburgh 3D workshop, CERN 14-Dec-2004.
CERN Physics Database Services and Plans Maria Girone, CERN-IT
CERN - IT Department CH-1211 Genève 23 Switzerland t CORAL Server A middle tier for accessing relational database servers from CORAL applications.
CERN - IT Department CH-1211 Genève 23 Switzerland t CASTOR Status March 19 th 2007 CASTOR dev+ops teams Presented by Germán Cancio.
CERN - IT Department CH-1211 Genève 23 Switzerland t Oracle Real Application Clusters (RAC) Techniques for implementing & running robust.
08-Nov Database TEG workshop, Nov 2011 ATLAS Oracle database applications and plans for use of the Oracle 11g enhancements Gancho Dimitrov.
CERN - IT Department CH-1211 Genève 23 Switzerland t CORAL COmmon Relational Abstraction Layer Radovan Chytracek, Ioannis Papadopoulos (CERN.
CERN - IT Department CH-1211 Genève 23 Switzerland t High Availability Databases based on Oracle 10g RAC on Linux WLCG Tier2 Tutorials, CERN,
Database authentication in CORAL and COOL Database authentication in CORAL and COOL Giacomo Govi Giacomo Govi CERN IT/PSS CERN IT/PSS On behalf of the.
A. Valassi – Python bindings for C++ in PyCool ROOT Workshop – 16 th Sep Python bindings for C++ via PyRoot User experience from PyCool in COOL.
Oracle for Physics Services and Support Levels Maria Girone, IT-ADC 24 January 2005.
CERN IT Department CH-1211 Genève 23 Switzerland t Streams Service Review Distributed Database Workshop CERN, 27 th November 2009 Eva Dafonte.
Grid Technology CERN IT Department CH-1211 Geneva 23 Switzerland t DBCF GT Upcoming Features and Roadmap Ricardo Rocha ( on behalf of the.
CERN IT Department CH-1211 Geneva 23 Switzerland t WLCG Operation Coordination Luca Canali (for IT-DB) Oracle Upgrades.
CERN IT Department CH-1211 Genève 23 Switzerland t COOL performance optimization using Oracle hints Andrea Valassi and Romain Basset (IT-DM)
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,
Grid Technology CERN IT Department CH-1211 Geneva 23 Switzerland t DBCF GT Overview of DMLite Ricardo Rocha ( on behalf of the LCGDM team.
11th November Richard Hawkings Richard Hawkings (CERN) ATLAS reconstruction jobs & conditions DB access  Conditions database basic concepts  Types.
CERN IT Department CH-1211 Genève 23 Switzerland t COOL Performance Tests ATLAS Conditions Database example Romain Basset, IT-DM October.
CORAL CORAL a software system for vendor-neutral access to relational databases Ioannis Papadopoulos, Radoval Chytracek, Dirk Düllmann, Giacomo Govi, Yulia.
The DCS Databases Peter Chochula. 31/05/2005Peter Chochula 2 Outline PVSS basics (boring topic but useful if one wants to understand the DCS data flow)
CERN IT Department CH-1211 Genève 23 Switzerland t ES Developing C++ applications using Oracle OCI Lessons learnt from CORAL Andrea Valassi.
Site Services and Policies Summary Dirk Düllmann, CERN IT More details at
Status of tests in the LCG 3D database testbed Eva Dafonte Pérez LCG Database Deployment and Persistency Workshop.
Database Project Milestones (+ few status slides) Dirk Duellmann, CERN IT-PSS (
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.
ATLAS The ConditionDB is accessed by the offline reconstruction framework (ATHENA). COOLCOnditions Objects for LHC The interface is provided by COOL (COnditions.
CERN - IT Department CH-1211 Genève 23 Switzerland t Persistency Framework CORAL, POOL, COOL status and plans Andrea Valassi (IT-PSS) On.
2007 Workshop on INFN ComputingRimini, 7 May 2007 Conditions Database Service implications at Tier1 and Tier2 sites Andrea Valassi (CERN IT-PSS)
CERN IT Department CH-1211 Genève 23 Switzerland t ES CORAL Server & CORAL Server Proxy: Scalable Access to Relational Databases from CORAL.
CERN IT Department CH-1211 Genève 23 Switzerland t Load testing & benchmarks on Oracle RAC Romain Basset – IT PSS DP.
CERN - IT Department CH-1211 Genève 23 Switzerland t COOL – Status and Plans Andrea Valassi (CERN IT-PSS-DP) LCG Application Area Review,
INFN Tier1/Tier2 Cloud WorkshopCNAF, 22 November 2006 Conditions Database Services How to implement the local replicas at Tier1 and Tier2 sites Andrea.
Database Replication and Monitoring
Andrea Valassi (IT-ES)
3D Application Tests Application test proposals
Database Readiness Workshop Intro & Goals
Conditions Data access using FroNTier Squid cache Server
LHCb Conditions Database TEG Workshop 7 November 2011 Marco Clemencic
Presentation transcript:

CERN - IT Department CH-1211 Genève 23 Switzerland t COOL Conditions Database for the LHC Experiments Development and Deployment Status Andrea Valassi (CERN IT-DM) R. Basset, G. Pucciani (CERN IT-DM) M. Clemencic (CERN PH / LHCb) S. A.Schmidt, M. Wache (Mainz / ATLAS) IEEE-NSS 2008, 23rd October 2008 Data Management Group

CERN - IT Department CH-1211 Genève 23 Switzerland t NSS 2008 – Andrea Valassi COOL Status - 2 Outline Introduction Deployment overview Ongoing developments Performance tests and optimization –Query optimization on small data samples –Scalability tests on large simulated samples –Support of actual deployment with real data Conclusions

CERN - IT Department CH-1211 Genève 23 Switzerland t NSS 2008 – Andrea Valassi COOL Status - 3 What is the COOL software? Manage conditions data of Atlas and LHCb –Time variation (validity) and versioning (tags) e.g. calibration, alignment –Common project of Atlas, LHCb, CERN IT Support for several relational databases –Oracle, MySQL, SQLite, Frontier –Access to SQL from C++ via the CORAL libraries

CERN - IT Department CH-1211 Genève 23 Switzerland t NSS 2008 – Andrea Valassi COOL Status - 4 COOL deployment overview Similar setups in Atlas and LHCb –“3D” distributed DB model – not specific to COOL Two separate Oracle servers at CERN (online, offline) Distributed Oracle replicas at the experiment Tier-1 sites –Replication via the Oracle Streams technology Capture changes at source, propagate, apply at target (G. Dimitrov, F. Viegas) 3D Distributed Database Deployment model (D. Duellmann)

CERN - IT Department CH-1211 Genève 23 Switzerland t NSS 2008 – Andrea Valassi COOL Status - 5 Deployment status Setup is complete for both experiments –T0 online/offline DBs, T1 sites (6 LHCb, 10 Atlas) Distributed tests are very useful for COOL –Several lessons from Atlas tests in 2007 already Most T0 and T1 databases were up by Q –New issues identified and addressed in 2008 e.g. user-level read access during Streams write activity COOL Status - 5 Much larger data rates in ATLAS NSS 2008 – 23rd October 2008

CERN - IT Department CH-1211 Genève 23 Switzerland t NSS 2008 – Andrea Valassi COOL development status Mature functionality and code base –First release in April05, latest (2.5.0) in June08 –Test-driven development, automated nightly tests for all supported relational database backends Maintenance and code consolidation –Internal refactoring of existing functionalities –New platforms (OSX/Intel, gcc43, VS9, SLC5…) –New versions of external software –Fix bugs/issues identified in real-life deployment A few new developments too –Functionality enhancements (e.g. transactions) –Performance optimization COOL Status - 6

CERN - IT Department CH-1211 Genève 23 Switzerland t NSS 2008 – Andrea Valassi Performance optimization Main focus: performance for Oracle DBs –Master T0 database for both Atlas and LHCb Proactive performance test on small tables –Test main use cases for retrieval and insertion –Query times should be flat as tables grow larger e.g. avoid full table scans Oracle performance optimization strategy –Basic SQL optimization (fix indices and joins) –Use hints to stabilize execution plan for given SQL Instability from unreliable statistics, bind variable peeking COOL Status - 7

CERN - IT Department CH-1211 Genève 23 Switzerland t NSS 2008 – Andrea Valassi Performance optimization example Good SQL strategy (COOL231). Good Oracle statistics. Bad execution plan due to “bind variable peeking” (no hints). Systematic tests of known causes of instabilities –Bind variable “peeking”, missing or stale “statistics” –Instabilities observed in the Atlas 2007 tests (e.g. CNAF vs. Lyon) –Stable performance after adding Oracle hints Bad SQL strategy (COOL230). Retrieval time for 10 IOVs is larger for IOVs at the end of the relational table (full table scan). Good SQL strategy (COOL231). Stable execution plan thanks to the use of hints.

CERN - IT Department CH-1211 Genève 23 Switzerland t NSS 2008 – Andrea Valassi Romain Basset Scalability tests Proactive performance test on large tables –Stable insertion and retrieval rates (>1k rows/s) –Simulate data sets for 10 year of LHC operation Test case: Atlas “DCS” data –Measured voltages, currents... –Largest Atlas data set 1.5 GB (2M IOVS) / day To do next: data partitioning –Goal: ease data management –Evaluating Oracle partitioning Test possible performance impact

CERN - IT Department CH-1211 Genève 23 Switzerland t NSS 2008 – Andrea Valassi Oracle DB Server CoralServer Oracle Plug-in Oracle Client Connection Pool CORAL API FIREWALL Oracle OCI protocol (OPEN PORTS) CORAL protocol Oracle OCI protocol (NO OPEN PORTS) COOL Status - 10 Future deployment model COOL API Oracle Plugin Oracle OCI Connection Pool CORAL API User Code DB access via CORAL server –Address secure authentication and connection multiplexing –Development still in progress See next talk by Zsolt Molnar Only minimal changes in COOL User Code Coral Plugin COOL API Connection Pool CORAL API

CERN - IT Department CH-1211 Genève 23 Switzerland t NSS 2008 – Andrea Valassi COOL Status - 11 Conclusions COOL: conditions DB for Atlas and LHCb –Support for several relational database backends Mature code, but development is not over –Performance optimization is the highest priority Proactive tests and support for real deployment issues –Evaluating models for data partitioning Distributed deployment setup is ready –Waiting for more data from LHC!

CERN - IT Department CH-1211 Genève 23 Switzerland t NSS 2008 – Andrea Valassi COOL Status - 12 Reserve slides

CERN - IT Department CH-1211 Genève 23 Switzerland t NSS 2008 – Andrea Valassi COOL Status - 13 COOL collaborators Core development team Andrea Valassi (CERN IT-DM) –80% FTE (core development, project coordination, release mgmt) Marco Clemencic (CERN LHCb) –20% FTE (core development, release mgmt) Sven A. Schmidt (Mainz ATLAS) –20% FTE (core development) Martin Wache (Mainz ATLAS) –80% FTE (core development) Romain Basset (CERN IT-DM) –50% FTE (performance optimization) + 50% FTE (scalability tests) On average, around 2 FTE in total for development since 2004 Collaboration with users and other projects Richard Hawkings and other Atlas users and DBAs The CORAL, ROOT, SPI and 3D teams Former collaborators G. Pucciani, D. Front, K. Dahl, U. Moosbrugger

CERN - IT Department CH-1211 Genève 23 Switzerland t NSS 2008 – Andrea Valassi COOL data model Modeling of conditions data objects –System-managed common “metadata” Data items: many tables, each with many channels Interval of validity - “IOV” [since, until] Versioning information - with handling of interval overlaps –User-defined schema for “data payload” Support for fields of simple C++ types Main use case: event reconstruction –Lookup data payload valid at a given event time COOL Status - 14

CERN - IT Department CH-1211 Genève 23 Switzerland t NSS 2008 – Andrea Valassi Functionality enhancements (work in progress) Tagging enhancements –“Partial tag locking” (prevent tag modifications) Data retrieval enhancements –Payload queries (fetch time for given calibration) Default use case: fetch calibration at given validity time Database connection enhancements –User control over database transactions –DB session sharing between COOL sessions COOL Status - 15