M.Frank LHCb/CERN - In behalf of the LHCb GAUDI team Data Persistency Solution for LHCb ã Motivation ã Data access ã Generic model ã Experience & Conclusions.

Slides:



Advertisements
Similar presentations
Chapter 12 File Management Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design Principles,
Advertisements

M.Frank LHCb/CERN POOL persistency: Status  Current understanding  Today’s model  Conclusions.
File Management Chapter 12. File Management File management system is considered part of the operating system Input to applications is by means of a file.
File Management Chapter 12. File Management A file is a named entity used to save results from a program or provide data to a program. Access control.
1 Foundations of Software Design Fall 2002 Marti Hearst Lecture 18: Hash Tables.
15 March, 2000LHCb Computing1 Software Review Panel LHCb Answers to Architecture, Data Model and Program Infrastructure Pere Mato for the LHCb Collaboration.
6/24/2015B.RamamurthyPage 1 File System B. Ramamurthy.
1 File Management Chapter File Management File management system consists of system utility programs that run as privileged applications Input to.
File Management.
Slide 19.1 Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. An Introduction to Object-Oriented Systems Analysis and Design with.
ObjectStore Martin Wasiak. ObjectStore Overview Object-oriented database system Can use normal C++ code to access tuples Easily add persistence to existing.
File Management Chapter 12.
7/15/2015B.RamamurthyPage 1 File System B. Ramamurthy.
University of Kansas Data Discovery on the Information Highway Susan Gauch University of Kansas.
Calibration Infrastructure & Gaudi Design and Status.
Web Application Architecture: multi-tier (2-tier, 3-tier) & mvc
Digital Object: A Virtual Online Storage Solution 598C Course Project Huajing Li.
File Management Chapter 12. File Management File management system is considered part of the operating system Input to applications is by means of a file.
CS370 Spring 2007 CS 370 Database Systems Lecture 2 Overview of Database Systems.
Systems analysis and design, 6th edition Dennis, wixom, and roth
IT The Relational DBMS Section 06. Relational Database Theory Physical Database Design.
LHCb Software week November, 1999 M.Frank LHCb/CERN N-Tuples within Gaudi ã Definition ã Usage ä Run through simplified example ã The persistent.
PowerPoint Presentation for Dennis, Wixom, & Tegarden Systems Analysis and Design with UML, 4th Edition Copyright © 2009 John Wiley & Sons, Inc. All rights.
GLAST Gaudi Code Review, 10 Sept. 2002, H. Kelly, 2-1 GLAST Event Data Model and Persistency.
CHEP 2003 March 22-28, 2003 POOL Data Storage, Cache and Conversion Mechanism Motivation Data access Generic model Experience & Conclusions D.Düllmann,
File Management Chapter 12. File Management File management system is considered part of the operating system Input to applications is by means of a file.
ALICE, ATLAS, CMS & LHCb joint workshop on
M.Frank LHCb/CERN Using Shared Libraries ã The traditional way ã How to build shared images? ã Benefits ã Process configuration ã Fortran.
File Storage Organization The majority of space on a device is reserved for the storage of files. When files are created and modified physical blocks are.
3 Data. Software And Data Data Data element – a single, meaningful unit of data. Name Social Security Number Data structure – a set of related data elements.
STAR Event data storage and management in STAR V. Perevoztchikov Brookhaven National Laboratory,USA.
STAR C OMPUTING Plans for Production Use of Grand Challenge Software in STAR Torre Wenaus BNL Grand Challenge Meeting LBNL 10/23/98.
Chapter 8 Physical Database Design. Outline Overview of Physical Database Design Inputs of Physical Database Design File Structures Query Optimization.
CHEP /21/03 Detector Description Framework in LHCb Sébastien Ponce CERN.
Detector Description in LHCb Detector Description Workshop 13 June 2002 S. Ponce, P. Mato / CERN.
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.
NTFS Filing System CHAPTER 9. New Technology File System (NTFS) Started with Window NT in 1993, Windows XP, 2000, Server 2003, 2008, and Window 7 also.
General requirements for BES III offline & EF selection software Weidong Li.
PowerPoint Presentation for Dennis, Wixom, & Tegarden Systems Analysis and Design with UML, 5th Edition Copyright © 2015 John Wiley & Sons, Inc. All rights.
D. Duellmann - IT/DB LCG - POOL Project1 The LCG Dictionary and POOL Dirk Duellmann.
INFSO-RI Enabling Grids for E-sciencE Using of GANGA interface for Athena applications A. Zalite / PNPI.
G.Govi CERN/IT-DB 1GridPP7 June30 - July 2, 2003 Data Storage with the POOL persistency framework Motivation Strategy Storage model Storage operation Summary.
Next-Generation Navigational Infrastructure and the ATLAS Event Store Abstract: The ATLAS event store employs a persistence framework with extensive navigational.
M.Frank, CERN/LHCb Persistency Workshop, Dec, 2004 Distributed Databases in LHCb  Main databases in LHCb Online / Offline and their clients  The cross.
W4118 Operating Systems Instructor: Junfeng Yang.
Storage and File Organization
Root I/O and the Gaudi Framework
(on behalf of the POOL team)
By: S.S.Tomar Computer Center CAT, Indore, India On Behalf of
Indexing Structures for Files and Physical Database Design
Using Shared Libraries
Dirk Düllmann CERN Openlab storage workshop 17th March 2003
CHAPTER 3 Architectures for Distributed Systems
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Database System Concepts and Architecture.
File System B. Ramamurthy B.Ramamurthy 11/27/2018.
LHCb Detector Description Framework Radovan Chytracek CERN Switzerland
Data Persistency Solution for LHCb
Detector Description in LHCb
Chapter 16 File Management
Raw Event Conversion Service in BOSS framework
DATABASES WHAT IS A DATABASE?
Clas Reconstruction and Analyses framework
Major Design Criteria Clear separation between “data” and “algorithms”
Event Storage GAUDI - Data access/storage Framework related issues
Use Of GAUDI framework in Online Environment
Planning next release of GAUDI
Accessing Event Data Schedule: Timing Topic 20 minutes Lecture
LHCb Detector Description Framework Radovan Chytracek CERN Switzerland
Calibration Infrastructure Design
Presentation transcript:

M.Frank LHCb/CERN - In behalf of the LHCb GAUDI team Data Persistency Solution for LHCb ã Motivation ã Data access ã Generic model ã Experience & Conclusions

M.Frank LHCb/CERNGAUDI Motivation ã Physics software should be independent of the underlying data storage technology ã Data of different nature has to be accessed ä Event data, detector data, statistical data, … ä The access patterns differ ä The data set size varies from several Mbytes to 1 Pbyte ä Legacy data was written in ZEBRA format ã It is unclear how these data will be stored ä Locking into one technology may be a disadvantage

M.Frank LHCb/CERNGAUDI Strategy ã Transient data representation is separated from the persistent data representation ä Each representation can be optimized separately ä Transient representation can be used to convert to any other representation ã Minimize coupling between algorithms and the transient data ä Algorithms see only transient data ä Transient data items are not intelligent ä Algorithms post and retrieve transient data from a “black-board”, the data store

M.Frank LHCb/CERNGAUDI How are Data Accessed? Event Data Service Transient Event Store Detec. Data Service Transient Detector Store Histogram Service Transient Histogram Store Algorithm

M.Frank LHCb/CERNGAUDI Functionality of Data Stores ã Manage data objects like a librarian ä Clients store objects ä Other clients pick up objects when needed ä Retrieve object collections ã Manage ownership ä Does cleanup ã Manage objects of similar lifetime

M.Frank LHCb/CERNGAUDI Structure of the Data Store ã Tree - similar to file system ã Tree node ä has data members (payload) ä contains other node objects (directory structure) ã Identification by logical addresses: ”/Event/Mc/MCParticles” ã Browse capability

M.Frank LHCb/CERNGAUDI Symbolic links C D /node2 /node2/D /node2/C Data Members Data Object Layout of the Data Object /node1 /node1/B /node1/A Data Members Node objects /node1/A/A2 /node1/A/A1 Data Object

M.Frank LHCb/CERNGAUDI Store Dynamics: Loading (5) Register Data Service Algorithm (1) retrieveObject(…) Try to access an object data (2) Search in Store Data Store Will be unsuccessful, requested object is not present Converter (4) Request creation (3) Request load Persistency Service Conversion Service Request dispatcher Objy, SICB, ROOT,..

M.Frank LHCb/CERNGAUDI Store Dynamics: Storing Converter Conversion Service (2) Create persistent representations Persistency Service Output Stream Criteria (1) Collect references Data Store

M.Frank LHCb/CERNGAUDI Generic Persistent Model Objects & pointersObjects, object IDs, collections & DBs Transient Persistent C++ pointer >> object ID

M.Frank LHCb/CERNGAUDI Database Technologies ã Identify commonalties and differences Necessary knowledge when reading/writing ã RDBMS: More or less traditional ã Objy is different: How to match ?

M.Frank LHCb/CERNGAUDI Generic Model: Assumptions Data Store ConversionSvc Disk Storage database Database Container Objects Class ID, Object path Storage type DB name Cont.name Item ID

M.Frank LHCb/CERNGAUDI Converter Technology XID (2)(3) (4) (1) Link ID Link Info DB/Cont.name, Lookup table Generic Model: References

M.Frank LHCb/CERNGAUDI Generic Model: Extended Object ID l Storage Type l Class ID l Storage Type dependent part OR l OID l Link ID l Record ID Objectivity ZEBRA ROOT RDBMS

M.Frank LHCb/CERNGAUDI Experience & Conclusions ã It is possible to write physics data without knowledge of the underlying store technology ã Our approach can adopt any technology based on database files, collections and objects within collections ä ZEBRA, ROOT, Objy and RDBMS ä We are able to choose technologies according to needs ã Overhead of transient-persistent separation looks manageable

M.Frank LHCb/CERNGAUDI Object Evolution ã Handling of dictionary discrepancies between the application and the database ã “Generic” handling? ä default values ? ã Architectural problem ä Handled inside “Converters” ä Better chance to supply reasonable values Database Dictionary Application Broker Dictionary