CERN IT Department CH-1211 Genève 23 Switzerland www.cern.ch/i t ES Discussion of COOL - CORAL - POOL priorities for ATLAS Andrea Valassi (IT-ES) For the.

Slides:



Advertisements
Similar presentations
CERN IT Department CH-1211 Genève 23 Switzerland t ES CORAL & COOL A critical review from the inside Andrea Valassi (IT-ES) WLCG TEG on Databases,
Advertisements

The Latest news … and Future of ATLAS Databases Elizabeth Gallas - Oxford ATLAS Software & Computing Workshop CERN November 29 to December 3, 2010.
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 Geneva 23 Switzerland t Marcin Blaszczyk, IT-DB Atlas standby database tests February.
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.
D. Düllmann - IT/DB LCG - POOL Project1 POOL Release Plan for 2003 Dirk Düllmann LCG Application Area Meeting, 5 th March 2003.
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 SVN Pilot: CVS Replacement Manuel Guijarro Jonatan Hugo Hugosson Artur Wiecek David.
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.
27 th November 2013A. Valassi – PyCool on ROOT61  Worked in two directions in parallel  New CORAL240 and COOL290 releases for ATLAS  More changes in.
CERN - IT Department CH-1211 Genève 23 Switzerland t Monitoring the ATLAS Distributed Data Management System Ricardo Rocha (CERN) on behalf.
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.
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:
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.
Use of Coverity & Valgrind in Geant4 Gabriele Cosmo.
Andrea Valassi & Alejandro Álvarez IT-SDC White Area lecture 16 th April 2014 C++11 in practice Implications around Boost, ROOT, CORAL, COOL…
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.
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 ES CORAL test review Andrea Valassi (IT-ES) Persistency Team meeting, 29 th September.
CERN IT Department CH-1211 Genève 23 Switzerland t Application security (behind Oracle roles and profiles) Miguel Anjo 8 th July 2008 Database.
CERN IT Department CH-1211 Genève 23 Switzerland t Security Overview Luca Canali, CERN Distributed Database Operations Workshop April
CERN - IT Department CH-1211 Genève 23 Switzerland t COOL Conditions Database for the LHC Experiments Development and Deployment Status Andrea.
CERN - IT Department CH-1211 Genève 23 Switzerland t OIS Deployment of Exchange 2010 mail platform Pawel Grzywaczewski, CERN IT/OIS HEPIX.
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 Internet Services Job Priorities update Andrea Sciabà IT/GS Ulrich Schwickerath IT/FIO.
Workforce Scheduling Release 5.0 for Windows Implementation Overview OWS Development Team.
Data & Storage Services CERN IT Department CH-1211 Genève 23 Switzerland t DSS Castor incident (and follow up) Alberto Pace.
CERN IT Department CH-1211 Genève 23 Switzerland t MSG Status update Daniel Rodrigues.
CERN IT Department CH-1211 Genève 23 Switzerland t Streams Service Review and Outlook Distributed Database Workshop PIC, 20th April 2009.
Database Competence Centre openlab Major Review Meeting nd February 2012 Maaike Limper Zbigniew Baranowski Luigi Gallerani Mariusz Piorkowski Anton.
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.
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.
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.
CERN IT Department CH-1211 Genève 23 Switzerland t Streams Service Review Distributed Database Workshop CERN, 27 th November 2009 Eva Dafonte.
Data & Storage Services CERN IT Department CH-1211 Genève 23 Switzerland t DSS XROOTD news New release New features.
Data & Storage Services CERN IT Department CH-1211 Genève 23 Switzerland t DSS New tape server software Status and plans CASTOR face-to-face.
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)
Data Placement Intro Dirk Duellmann WLCG TEG Workshop Amsterdam 24. Jan 2012.
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,
MND review. Main directions of work  Development and support of the Experiment Dashboard Applications - Data management monitoring - Job processing monitoring.
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.
ROOT Based CMS Framework Bill Tanenbaum US-CMS/Fermilab 14/October/2002.
CERN IT Department CH-1211 Genève 23 Switzerland t ES Developing C++ applications using Oracle OCI Lessons learnt from CORAL Andrea Valassi.
Enabling Grids for E-sciencE INFSO-RI Enabling Grids for E-sciencE Gavin McCance GDB – 6 June 2007 FTS 2.0 deployment and testing.
CERN IT Department CH-1211 Genève 23 Switzerland t CCRC’08 Review from a DM perspective Alberto Pace (With slides from T.Bell, F.Donno, D.Duelmann,
WLCG Operations Coordination report Maria Alandes, Andrea Sciabà IT-SDC On behalf of the WLCG Operations Coordination team GDB 9 th April 2014.
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.
CERN - IT Department CH-1211 Genève 23 Switzerland t Persistency Framework CORAL, POOL, COOL status and plans Andrea Valassi (IT-PSS) On.
Database Workshop for LHC Developers27-Jan-2005 Conditions Database Andrea Valassi (CERN IT-ADC)
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.
MAUS Status A. Dobbs CM43 29 th October Contents MAUS Overview Infrastructure Geometry and CDB Detector Updates CKOV EMR KL TOF Tracker Global Tracking.
CERN IT Department CH-1211 Genève 23 Switzerland t DPM status and plans David Smith CERN, IT-DM-SGT Pre-GDB, Grid Storage Services 11 November.
Code improvement: Coverity static analysis Valgrind dynamic analysis GABRIELE COSMO CERN, EP/SFT.
Jean-Philippe Baud, IT-GD, CERN November 2007
Online Database Work Overview Work needed for OKS database
Andrea Valassi (IT-ES)
Generator Services planning meeting
Online Software Status
Presentation transcript:

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 Persistency Framework team ATLAS Database Meeting, 18 th April 2011

CERN IT Department CH-1211 Genève 23 Switzerland t A. Valassi – 2ATLAS Database meeting – 18 th April 2011 Outline & Summary (non exhaustive list) Work in progress (feedback?) –CORAL network glitch issues [RT, AK, AV] Including fixes for ST / MT crashes [AV, RT, AK]: OK for Oracle. to be fixed in other 4 plugins –CORAL (and ~POOL) test infrastructure consolidation [AK, RT, AV] –COOL transaction cleanup [MW – committed, under review/integration AV, to be fixed] –PF port to cmake [SR, RT – plus SPI] –PF analyze/fix Coverity defects [MW for COOL?] –CORAL queries on two schemas [AK – committed, to be fixed, CMS request] –CORAL R&D, e.g. compare Frontier/CoralServer, SSD [AL – suggestions?] Patches to be reviewed and/or released (when?) –COOL vector payload a la CoraCool [MW – committed, to be released (ABI change)] –COOL expose sessions/transactions [MW – not committed yet (ABI change)] –COOL more efficient date storage [MW – not committed yet (ABI and schema change)] –CORAL sequences [AK – request A. Salnikov – committed, to be reviewed/released (ABI change)] Work not (any longer) in progress (feedback?) –CORAL support for FKs in SQLite [AK – committed, to be fixed, CMS request] –CORAL and CoralServer monitoring [AK prototype – committed, to be reviewed] –CORAL server secure authentication SSL + VOMS [MW – committed, to be reviewed/released] –CORAL server read/write functionalities [no progress – offline? online request G. Lehmann?] –CORAL size of simple Attribute [no progress – CMS request] –CORAL and COOL partitioning [many tests done, no code changes] New fixes and enhancements (priorities? who?) –PyCOOL faster BLOB access [MW? MC? – request J. Stelzer]; also: iterating slow in PyCool? –COOL API to get first/last IOV in tag [MW? – request A. Formica] –CORAL API to check if Attribute exists [MW? – request MW and CMS (ABI change)] –Review CORAL & COOL caches (data dictionary queries, transactions…) CORAL performance: avoid data dictionary queries (schema cache) if not strictly needed? CORAL API to cleanly distinguish serializable and non-serializable RO transactions? COOL tags table cache; proper handling of non-serializable RO transactions? –Others: PF move to SVN? [MC, SR?]; PF valgrind analysis; PF documentation…

CERN IT Department CH-1211 Genève 23 Switzerland t A. Valassi – 3ATLAS Database meeting – 18 th April 2011 API changes and binary compatibility CORAL and COOL new features trigger API changes –e.g. CoraCool replacement, sequences… –API changes lead to non-binary compatible libraries (ABI change) ATLAS HLT uses pieces of online and offline software? –How are new offline releases used in the HLT? If we change the CORAL API, do you rebuild the ATLAS (online and offline) code that uses CORAL (against the new CORAL headers) or do you expect that the CORAL API/ABI is the same? –What needs to remain binary compatible? If we publish a new CORAL, do you pick it up as a prebuilt library (with our ABI and our Boost externals for offline) for HLT, or do/can you rebuild it (so that potentially we can disable the ABI changes and use the same Boost)? –If the only way out is keep binary compatibility, when is a good time for the CORAL/COOL API changes to be released? We are now holding back to keep the same APIs (for more than 12 months) Apologies for maybe missing a window of opportunity at the start of 2011… 

CERN IT Department CH-1211 Genève 23 Switzerland t A. Valassi – 4ATLAS Database meeting – 18 th April 2011 CORAL and COOL: caches, transactions CORAL data dictionary queries –e.g. before querying MYTABLE, check if it exists is this needed? (e.g. proper escaping or lowercase)? performance penalty? –info is cached inside Schema objects (all tables/views in a schema) this is linked to Transactions (relies on serializable R/O? buggy for RW?) buggy anyway (ok for nominal schema, not for others) CORAL transactions –R/W for writing (NB: DDL is auto-committed anyway) –R/O is serializable by default in CORAL start transaction at t0; someone else updates data at t1; at t2 I see the state at t0 can be a nice feature to cache data (I check at t0, I do not need to check later) it is a pain for the database server (need redo logs, can fail with ORA-01555) –another type: non-serializable R/O (e.g. default sqlplus) needed by CoralServer in HLT (config data updated while transaction is on) hacked in CORAL with an env variable (add proper API?); not handled in COOL is this what Frontier does by default? is this ok for all usages? COOL in-memory caches –No caching in update mode –Caching in R/O mode (expect serializable) – one transaction per session e.g. cache folder table; add caching of tag table? add handling of non-serializable R/O (no cache)?

CERN IT Department CH-1211 Genève 23 Switzerland t A. Valassi – 5ATLAS Database meeting – 18 th April 2011 Reserve slides

CERN IT Department CH-1211 Genève 23 Switzerland t A. Valassi – 6ATLAS Database meeting – 18 th April 2011 CORAL “network glitch” issues Different issues reported by all experiments –e.g. ORA “need explicit attach” in ATLAS/CMS (bug #58522)bug #58522 Fixed with a workaround in CORAL (released in LCG 59b) –e.g. OracleAccess crash after losing session in LHCb (bug #73334)bug #73334 Fixed in current CORAL candidate (see below) Work in progress since a few months (A.Kalkhof, R.Trentadue, A.V.) –Catalogued different scenarios and prepared tests for each of them –Prototyped implementation changes in ConnectionSvc and plugins Current priority: fix crashes when using a stale session –May be caused both by network glitch and user code (bug #73834)!bug #73834 –A major internal reengineering of the plugins is needed (replace references to SessionProperties by shared pointers) Done for OracleAccess ST in candidate, pending for other plugins The patch fixes single-thread issues; MT issues are still being analyzed Next: address actual reconnections on network glitches –e.g. non serializable R/O transaction: should reconnect and restart it –e.g. DDL not committed in update transaction: cannot do anything

CERN IT Department CH-1211 Genève 23 Switzerland t A. Valassi – 7ATLAS Database meeting – 18 th April 2011 More work in progress Address recent bugs reported by the experiments –e.g. performance penalty from COOL exceptions (bug #79937)bug #79937 API extensions to CORAL and COOL in the pipeline –e.g. many payload per IOV, replace ATLAS CoraCool (task #10335)task #10335 This breaks binary compatibility to previous releases When will be a good time for ATLAS (offline/online) to release this? –Reviewing other pending requests for enhancements to plan ahea What are the highest priorities from ATLAS (e.g. in COOL)? CORAL performance studies and optimizations –e.g. comparison of Frontier and CORAL server –e.g. studies of solid state disks with IT-DB Is there any other R&D that could be useful for ATLAS? Prepare future changes in the development infrastructure –Port from CMT to cmake (with SPI and LHCb) –Move out of CVS eventually (to start with, of “LCG CVS”)