The Database Project a starting work by Arnauld Albert, Cristiano Bozza.

Slides:



Advertisements
Similar presentations
DIGIDOC A web based tool to Manage Documents. System Overview DigiDoc is a web-based customizable, integrated solution for Business Process Management.
Advertisements

23/04/2008VLVnT08, Toulon, FR, April 2008, M. Stavrianakou, NESTOR-NOA 1 First thoughts for KM3Net on-shore data storage and distribution Facilities VLV.
--What is a Database--1 What is a database What is a Database.
Oct 31, 2000Database Management -- Fall R. Larson Database Management: Introduction to Terms and Concepts University of California, Berkeley School.
15 Chapter 15 Web Database Development Database Systems: Design, Implementation, and Management, Fifth Edition, Rob and Coronel.
Present status and future developments of the European Scanning System Cristiano Bozza European Emulsion Group Nagoya Dec 2006.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 1 Introduction to Database Management.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 1: Introduction to Windows Server 2003.
Database Administration
Introduction to Databases Transparencies
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 17 Client-Server Processing, Parallel Database Processing,
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 1: Introduction to Windows Server 2003.
DATABASE DEVELOPMENT STRATEGIES TOP DOWNTOP DOWN –Large scale application driven by strategic objectives –General  Specific –Organization-wide (“data.
Chapter 1 An Overview of Database Management. 1-2 Topics in this Chapter What is a Database System? What is a Database? Why Database? Data Independence.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 1: Introduction to Windows Server 2003.
Chapter 1 Introduction to Database Management. McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. Welcome! Database technology:
IT – DBMS Concepts Relational Database Theory.
QCDgrid Technology James Perry, George Beckett, Lorna Smith EPCC, The University Of Edinburgh.
Database System Concepts and Architecture Lecture # 3 22 June 2012 National University of Computer and Emerging Sciences.
 Introduction Introduction  Purpose of Database SystemsPurpose of Database Systems  Levels of Abstraction Levels of Abstraction  Instances and Schemas.
Avalanche Internet Data Management System. Presentation plan 1. The problem to be solved 2. Description of the software needed 3. The solution 4. Avalanche.
Web-Enabled Decision Support Systems
Components of Database Management System
2. Database System Concepts and Architecture
M1G Introduction to Database Development 6. Building Applications.
Introduction to Database Management. 1-2 Outline  Database characteristics  DBMS features  Architectures  Organizational roles.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 1: Introduction to Windows Server 2003.
Frank Lehner U Zurich Proposal to use the Atlas SCT database for Run IIb  Why to switch now? u existing database (db) at UIC incomplete and unlikely to.
Oracle9i Performance Tuning Chapter 1 Performance Tuning Overview.
The protection of the DB against intentional or unintentional threats using computer-based or non- computer-based controls. Database Security – Part 2.
What is a schema ? Schema is a collection of Database Objects. Schema Objects are logical structures created by users to contain, or reference, their data.
BA372 Stored Procedures and Triggers Lab. What needs to be done to change a customer’s credit limit? Who am I? May I? Do it Log it Display A database.
Database Design and Management CPTG /23/2015Chapter 12 of 38 Functions of a Database Store data Store data School: student records, class schedules,
CERN - IT Department CH-1211 Genève 23 Switzerland t DB Development Tools Benthic SQL Developer Application Express WLCG Service Reliability.
Intro – Part 2 Introduction to Database Management: Ch 1 & 2.
The european ITM Task Force data structure F. Imbeaux.
Database Architectures Database System Architectures Considerations – Data storage: Where do the data and DBMS reside? – Processing: Where.
Status of the LHCb MC production system Andrei Tsaregorodtsev, CPPM, Marseille DataGRID France workshop, Marseille, 24 September 2002.
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
5 - 1 Copyright © 2006, The McGraw-Hill Companies, Inc. All rights reserved.
ATLAS Detector Description Database Vakho Tsulaia University of Pittsburgh 3D workshop, CERN 14-Dec-2004.
INFORMATION MANAGEMENT Unit 2 SO 4 Explain the advantages of using a database approach compared to using traditional file processing; Advantages including.
Lesson Overview 3.1 Components of the DBMS 3.1 Components of the DBMS 3.2 Components of The Database Application 3.2 Components of The Database Application.
INTRODUCTION TO DBS Database: a collection of data describing the activities of one or more related organizations DBMS: software designed to assist in.
Monte-Carlo Event Database: current status Sergey Belov, JINR, Dubna.
3/6: Data Management, pt. 2 Refresh your memory Relational Data Model
Jean-Roch Vlimant, CERN Physics Performance and Dataset Project Physics Data & MC Validation Group McM : The Evolution of PREP. The CMS tool for Monte-Carlo.
Development of the CMS Databases and Interfaces for CMS Experiment: Current Status and Future Plans D.A Oleinik, A.Sh. Petrosyan, R.N.Semenov, I.A. Filozova,
Database Administration Basics. Basic Concepts and Definitions  Data Facts that can be recorded and stored  Metadata Data that describes properties.
Introduction Because database applications today reside in a complicated environment, various standards have been developed for accessing database servers.
Week 7 Lecture Part 2 Introduction to Database Administration Samuel S. ConnSamuel S. Conn, Asst Professor.
Copyright 2007, Information Builders. Slide 1 iWay Web Services and WebFOCUS Consumption Michael Florkowski Information Builders.
2) Database System Concepts and Architecture. Slide 2- 2 Outline Data Models and Their Categories Schemas, Instances, and States Three-Schema Architecture.
Introduction to Core Database Concepts Getting started with Databases and Structure Query Language (SQL)
Joe Foster 1 Two questions about datasets: –How do you find datasets with the processes, cuts, conditions you need for your analysis? –How do.
ISC321 Database Systems I Chapter 2: Overview of Database Languages and Architectures Fall 2015 Dr. Abdullah Almutairi.
Databases and DBMSs Todd S. Bacastow January 2005.
Component and Deployment Diagrams
Chapter 2 Database System Concepts and Architecture
Database System Concepts and Architecture
The Client/Server Database Environment
Server Concepts Dr. Charles W. Kann.
Objectives Differentiate between the different editions of Windows Server 2003 Explain Windows Server 2003 network models and server roles Identify concepts.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Database System Concepts and Architecture.
Chapter 2 Database Environment.
Introduction of Week 11 Return assignment 9-1 Collect assignment 10-1
Chapter 2: Operating-System Structures
Chapter 2: Operating-System Structures
Production Manager Tools (New Architecture)
Presentation transcript:

The Database Project a starting work by Arnauld Albert, Cristiano Bozza

The Database Project A. Albert, C. Bozza – KM3Net Collaboration Meeting – Marseille, Jan Server technology: Oracle Enterprise Server (RAC - Cluster) Well hosted and supported at CCIN2P3 Working licenses already available in several sites in Italy Discounts possible through CERN agreement Good experience of technical support by Oracle (also 24  7 for critical cases) Huge (unequalled?) variety of tools and libraries (by Oracle and independent software producers) Accessible through: C/C++, Java, C#, Python, PHP, VB, Perl, ODBC, ODP.NET, … OS-independent

The Database Project A. Albert, C. Bozza – KM3Net Collaboration Meeting – Marseille, Jan System: Symmetric datacenters Continuous data synchronization

The Database Project A. Albert, C. Bozza – KM3Net Collaboration Meeting – Marseille, Jan Schema for construction – detector description Locations Users Products PBS Descriptions Container Mapping Logical and hierarchical relationships among products are stored The structure of the detector (PBS) is also stored and documented in the DB

The Database Project A. Albert, C. Bozza – KM3Net Collaboration Meeting – Marseille, Jan Schema for construction – activity management Locations Users Operations Status Decisions Each operation corresponds to a well defined task An operation may contain one or more sub-operations, like a tree Each operation is linked to the place where it is performed and the user that does it or is responsible for it. At a certain time, it is in a certain “status”; on completion, decisions may be taken concerning it.

The Database Project A. Albert, C. Bozza – KM3Net Collaboration Meeting – Marseille, Jan Schema for construction – activity management Operations Decisions The Type of a certain operation contains links to programs and their operating parameters. This allows not only documentation but also management through the DB Each operation type has a set of possible decisions. Operation Types Possible Decisions Operation Types

The Database Project A. Albert, C. Bozza – KM3Net Collaboration Meeting – Marseille, Jan Schema for construction – detailed bookkeeping information Operations Depending on the type of operation, additional information may be required Detail tables are linked to the main operation table For each kind of test, the list of parameters to be tested is defined For each component all the output of the testing is stored; it is easy to add new parameters as needed Product bookkeeping IntegrationTests Test types Parameter values Sets of parameters

The Database Project A. Albert, C. Bozza – KM3Net Collaboration Meeting – Marseille, Jan Schema for construction – Content The DB is completely flexible about testing parameters The DB can contain explanation of parameters and the testing procedure can be described and documented We are collecting information from experts about testing procedures For the moment, we have some sample data (thanks to Tamas, Oleg and Emanuele)

The Database Project A. Albert, C. Bozza – KM3Net Collaboration Meeting – Marseille, Jan Access Three basic user roles have been defined: Administrator (km3net), Reader (km3read), Writer (km3write) with obvious meaning As for information, we distinguish between “information author/consumer” and DB user Information author/consumer: any person that produces or uses data from the DB, directly or indirectly  stored in Users table DB User: person or batch process that connects directly to the DB, using part of its memory, CPU, disk speed  Oracle DB Server authentication

The Database Project A. Albert, C. Bozza – KM3Net Collaboration Meeting – Marseille, Jan Access A DB user can have multiple connections if needed A DB user can initiate transactions, lock rows/tables, run SQL queries A person should have a DB user account if he/she is aware of the related responsibility in resource usage User accounts can also be given on institution or group basis Most people will just need data, and also in friendly format Many people will want to stay focused on data and do not care about technicalities A special DB user, named km3web, is used by a dedicated Web site to provide a friendly user interface The Web site can provide information properly formatted and with detailed explanations The Web site can also be used to upload information about results of tests This can be also done by uploading data files

The Database Project A. Albert, C. Bozza – KM3Net Collaboration Meeting – Marseille, Jan KM3Net Web DB access Login provided through Users table

The Database Project A. Albert, C. Bozza – KM3Net Collaboration Meeting – Marseille, Jan KM3Net Web DB access For the moment, we are waiting for expert feedback to build useful pages The Web site can also provide “raw SQL access” (technical tests, maintenance, etc.) As the recent trends of Internet show, Web servers are increasingly becoming application servers for machine-to-machine data exchange

The Database Project A. Albert, C. Bozza – KM3Net Collaboration Meeting – Marseille, Jan Outlook on Physics data storage It is possible to use a relational DB to store not only “data about the detector” but also “data from the detector” Moreover, intermediate output of reconstructions can also be stored, and specific datasets can be flagged and indexed – help and support analysis! There is recent fruitful experience concerning this technique (e.g. OPERA DB – designed to range between 50 and 100 TB, currently 34 TB) A first technical test has been successful for NEMO-phase-1 post-trigger data (thanks to Tommaso for data, discussion and help) Operational settings (“datacards”), trigger configuration, detector status, and sampled waveforms all easily stored A C++ library has also been developed to store data without any knowledge of SQL

The Database Project A. Albert, C. Bozza – KM3Net Collaboration Meeting – Marseille, Jan Outlook on Physics data storage Test for NEMO-phase-1 post-trigger data

The Database Project A. Albert, C. Bozza – KM3Net Collaboration Meeting – Marseille, Jan Outlook on Physics data storage Test for NEMO-phase-1 post-trigger data: code snippet to store a full run The only places where you know you’re storing to a DB are those in red: fill username/password to connect, and commit the transaction to tell the DB that all data were written and they can be stored

The Database Project A. Albert, C. Bozza – KM3Net Collaboration Meeting – Marseille, Jan Outlook on Physics data storage Detector data storage is also related to the whole computing model Pro’sCon’s Reliable storage, with corruption checkAdditional checks load CPU and disk OS-independentData access requires linking a library (ODBC, OCI, ODP.NET, …) Languange and technology independent storage (C++,C#,Java,VB,Python,PHP,…) Easy to manage using SQL Consistency and integrity are automatically enforced Views help present data effectively with few lines of code In case of data model evolution, old programs still run without changes (no recompilation needed) Normally, also file-system storage uses an I/O library, so this is not a characteristic “con” of relational DB’s DB administrators of course take also care of developing and maintaining the I/O library

The Database Project A. Albert, C. Bozza – KM3Net Collaboration Meeting – Marseille, Jan Conclusions The work to set up the DB to document and support construction has already begun Startup schema defined User access defined Web site to make access user-friendly already set up, needs to be filled with useful pages (input from experts!) WE NEED DATA! Outlook It is possible to store not only construction data, but also raw data and physics output There is already know-how on that, and we can start a broad discussion