Report from the Working Group "Detector Database" W.Peryt (rapporteur), P.Buncic, D.Vicinanza, Y.Schutz. This WG has an urgent task to achieve that is.

Slides:



Advertisements
Similar presentations
Database System Concepts and Architecture
Advertisements

Lecture-7/ T. Nouf Almujally
The Database Environment
Chapter 1: The Database Environment
1 Databases in ALICE L.Betev LCG Database Deployment and Persistency Workshop Geneva, October 17, 2005.
ICS (072)Database Systems: A Review1 Database Systems: A Review Dr. Muhammad Shafique.
Network Management Overview IACT 918 July 2004 Gene Awyzio SITACS University of Wollongong.
MSc IT UFIE8K-10-M Data Management Prakash Chatterjee Room 3P16
Oct 31, 2000Database Management -- Fall R. Larson Database Management: Introduction to Terms and Concepts University of California, Berkeley School.
Chapter 3 Database Management
Database Management An Introduction.
Database Management: Getting Data Together Chapter 14.
1 Introduction The Database Environment. 2 Web Links Google General Database Search Database News Access Forums Google Database Books O’Reilly Books Oracle.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 2- 1.
© 2007 by Prentice Hall 1 Chapter 1: The Database Environment Modern Database Management 8 th Edition Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden.
Chapter 1: The Database Environment and Development Process
Chapter 1: The Database Environment
Database Administration Chapter 16. Need for Databases  Data is used by different people, in different departments, for different reasons  Interpretation.
Database Design and Introduction to SQL
Chapter 1 1 © Prentice Hall, 2002 Database Design Dr. Bijoy Bordoloi Introduction to Database Processing.
Chapter 1 1 © Prentice Hall, 2002 Database Design Dr. Bijoy Bordoloi Introduction to Database Processing.
PHASE 3: SYSTEMS DESIGN Chapter 7 Data Design.
Database System Concepts and Architecture Lecture # 3 22 June 2012 National University of Computer and Emerging Sciences.
Database System Development Lifecycle © Pearson Education Limited 1995, 2005.
C. Aiftimiei- December 2003 ALICE NIPNE-HH Cristina Aiftimiei National Institute for Physics and Nuclear Engineering - Horia.
Copyright © 2003 by Prentice Hall Module 4 Database Management Systems 1.What is a database? Data hierarchy and data organization Field, record, file,
Module Title? DBMS Introduction to Database Management System.
ProCol~ A jEdit Plugin for Remote Project Collaboration Justin Dieters Spring 2004 CS470 Final Presentation.
MIS 385/MBA 664 Systems Implementation with DBMS/ Database Management Dave Salisbury ( )
1 Introduction to Database Systems. 2 Database and Database System / A database is a shared collection of logically related data designed to meet the.
Architecture for a Database System
Introduction to Database Management. 1-2 Outline  Database characteristics  DBMS features  Architectures  Organizational roles.
© 2007 by Prentice Hall 1 Introduction to databases.
Update on Database Issues Peter Chochula DCS Workshop, June 21, 2004 Colmar.
© 2009 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 1: The Database Environment Modern Database Management 9 th Edition Jeffrey A. Hoffer,
Lecturer: Gareth Jones. How does a relational database organise data? What are the principles of a database management system? What are the principal.
Project Overview Graduate Selection Process Project Goal Automate the Selection Process.
Discovering Computers Fundamentals Fifth Edition Chapter 9 Database Management.
Professor Michael J. Losacco CIS 1110 – Using Computers Database Management Chapter 9.
Database A database is a collection of data organized to meet users’ needs. In this section: Database Structure Database Tools Industrial Databases Concepts.
Database Design and Management CPTG /23/2015Chapter 12 of 38 Functions of a Database Store data Store data School: student records, class schedules,
Team Members Team Members Tim Geiger Joe Hunsaker Kevin Kocher David May Advisor Dr. Juliet Hurtig November 8, 2001.
CERN - IT Department CH-1211 Genève 23 Switzerland t DB Development Tools Benthic SQL Developer Application Express WLCG Service Reliability.
C6 Databases. 2 Traditional file environment Data Redundancy and Inconsistency: –Data redundancy: The presence of duplicate data in multiple data files.
Project Overview Graduate Selection Process Project Goal Automate the Selection Process.
8 8 Chapter 8 The University Lab: Conceptual Design Verification, Logical Design, and Implementation Database Systems: Design, Implementation, and Management.
Database Architectures Database System Architectures Considerations – Data storage: Where do the data and DBMS reside? – Processing: Where.
Database System Introduction to Database Environment October 31, 2009 Software Park, Bangkok Thailand Pree Thiengburanathum College of Arts and Media Chiang.
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
Chapter 1 Chapter 1: The Database Environment Modern Database Management 8 th Edition Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden © 2007 by Prentice.
A Brief Documentation.  Provides basic information about connection, server, and client.
IS 325 Notes for Wednesday August 28, Data is the Core of the Enterprise.
MANAGING DATA RESOURCES ~ pertemuan 7 ~ Oleh: Ir. Abdul Hayat, MTI.
Experiment Management System CSE 423 Aaron Kloc Jordan Harstad Robert Sorensen Robert Trevino Nicolas Tjioe Status Report Presentation Industry Mentor:
Database Administration
1 Database Systems Instructor: Nasir Minhas Assistant Professor UIIT PMAS-AAUR
Peter Chochula ALICE Offline Week, October 04,2005 External access to the ALICE DCS archives.
NOVA A Networked Object-Based EnVironment for Analysis “Framework Components for Distributed Computing” Pavel Nevski, Sasha Vanyashin, Torre Wenaus US.
3/6: Data Management, pt. 2 Refresh your memory Relational Data Model
Copyright (c) 2014 Pearson Education, Inc. Introduction to DBMS.
Jemerson Pedernal IT 2.1 FUNDAMENTALS OF DATABASE APPLICATIONS by PEDERNAL, JEMERSON G. [BS-Computer Science] Palawan State University Computer Network.
DCDB A. Sandoval TPC meeting, Tanka Village 16 May 2004.
Introduction to Core Database Concepts Getting started with Databases and Structure Query Language (SQL)
Physical Layer of a Repository. March 6, 2009 Agenda – What is a Repository? –What is meant by Physical Layer? –Data Source, Connection Pool, Tables and.
Managing Data Resources File Organization and databases for business information systems.
Oracle, MySQL and PostgreSQL DBMS
Architecture Review 10/11/2004
Database System Concepts and Architecture
The Database Environment
Presentation transcript:

Report from the Working Group "Detector Database" W.Peryt (rapporteur), P.Buncic, D.Vicinanza, Y.Schutz. This WG has an urgent task to achieve that is the design and implementation of detector construction databases for the different detector group in ALICE. (from the Memo of F.C.) March 20 th, 2001 Detector Construction Database Working Group ALICE week, off-line software meeting, CERN, May 28th, 2001W.S. Peryt & Warsaw DB Group, WUT

Report from the Working Group "Detector Database" Konrad Bohuszewicz undergraduate student Maciej Czyzowicz undergraduate student Michal Janik Ph.D. student Rafal Holubowicz undergraduate student Dawid Jarosz undergraduate student Piotr Mazan undergraduate student Marcin Mierzejewski undergraduate student Mikolaj Olszewski undergraduate student Wiktor S. Peryt Sylwester Radomski undergraduate student Piotr Szarwas Ph.D. student Tomasz Traczyk Dominik Tukendorf undergraduate student Jacek Wojcieszuk undergraduate student Faculty of Electronics and Information Technology Faculty of Mathematics and Information Sciences Faculty of Physics

Alice detector databases – architecture Central database  Placed at CERN  Contains –central inventory of components –copies of data from laboratories Satellite databases  Placed in laboratories-participants  Contain source data –produced at laboratories –delivered by manufacturers Communication  Passing messages in XML  Off-line (batch processing)  No satellite-satellite communication! Central database Satellite databases

Central database versus satellite databases Central database  Usage characteristics –very large data volume –many concurrent users –twenty-four-hour utilisation –critical data (breakdown may be very costly)  Necessary features –7 × 24 availability –high reliability –continuous administration by professional DBA team –on-line backup –data partitioning  Proper solution –high-end commercial DBMS software is necessary Satellite databases  Usage characteristics –average or small data volume –only few concurrent users –used only few hours per day –not critical data (can be restored from backup or from central database)  Necessary features –should not need complex administration (no trained personnel at labs-participants) –should be monitored remotely by developers –off-line backup procedures are sufficient –data may not need to be partitioned  Proper solution –non-commercial database can be used

Monitoring of components Central database  Central inventory of components contains –actual location and status of each components –history of each component Flow of components  Creation of new component must be signalled to central inventory –a unique identifier for each component is generated by lab and registered in central inventory  Arrival and departure of each component to/from any laboratory must be recorded in the inventory  Destruction of the component must also be signalled to the inventory Solution  Components must be “checked-out” and “checked- in” from/to central inventory before/after they are processed by satellite databases  “Create”, “Check-in”,”Check-out”, and “Destroy” messages are passed as XML documents Central database Satellite databases 2. Check-in 3. Check-out 1. Creation 4. Destruction

Problems Compound components  Components may be composed of other components  Compound components –form hierarchy –must be treated in a special way  Changes of the components’ properties must be “cascaded” up and down the hierarchy, e.g. –“checked-in”, “checked-out” and “destroyed” statuses –location Communication problems  Breakdowns of telecommunications links cannot lock normal work procedures of satellite laboratories  There must be a possibility to ‘force’ check-in, check-out and creation of new component’s identifiers during telecommunication breakdowns  Changes made in this ‘force’ mode must be synchronised in central database as soon as the communication is recovered  Unique identifier (primary key) must be created for each new component to store its data in satellite database – even if during communication breakdown, so –globally unique id should be created by satellite database as compound id: database id + locally unique identifier –this identifier must be registered in central inventory as soon as possible

Development of the system Phase 1  Central database –contains only inventory –located in WUT –technology  Oracle DBMS  Java + Oracle XDK  Satellite databases –prototypes prepared concurrently on  MySQL  PostgreSQL –applications written in PHP –XML applications based on Oracle XDK  Central-satellite communication –in XML – prototype versions of messages –only inventory (Check-in/out, etc.) data Phase 2  Central database –contains copies of components’ data collected from satellite databases –all the data in one integrated structure –technology  Oracle DBMS (with use of object-relational technology)  Java technology (servlets, JSP)  Oracle XDK  dedicated Oracle technology (PL/SQL Web Agent, XSU, XSQL)  Satellite databases –all on the same selected DBMS –applications in PHP –XML applications: Java + Oracle XDK  Central-satellite communication –in XML – final versions of messages –inventory data and detailed components’ data

Design Repository What is needed?  Formalised representation of –user requirements –software requirements  Formalised description of –databases’ structures –applications  Extended data dictionary –prompts and descriptions –help texts –standard values of application parameters (fields’ sequence, dimensions, etc.)  Automated generation of –SQL scripts –parts of applications –help and documentation Possible solutions  CASE software –very powerful –with graphical interface –difficult and costly  “Poor man’s CASE” –proprietary formalisms and scripting –may be implemented in XML

Taken up tasks  Prototype model of interchange of measurement data between labs-participants and central database  “Envelope” (control) protocol for data interchange between central and satellite databases  Prototype system for control of components’ flow  Remote monitoring of satellite databases

Generic structures Object type C # Id * Property C1 * Property C2 * Property C3... Object type B # Id * Property B1 * Property B2 * Property B3... Object type A # Id * Property A1 * Property A2 * Property A3... “Typical” structure  Separate column for each property  Separate set of tables for each type of objects (having different set of properties) Generic structure  Dictionary-based –dictionaries of object types, properties, etc.  One generic set of tables for all objects Object # Id * Name... Type # Id * Name... Property definition # Id * Name * Optional? * Data type... Property value * Value

Human interface IMAGE Integrated MAnagement with Graphical InterfacE What it will be Tool for remote db control & administration Graphical user-database interface General for all local databases IMAGE – system features OS independence WWW user-interface Possibility of remote-control & administration Multi-access Divers levels of accessibility On-line documentation Integration with ROOT IMAGE – implementation Object-oriented technologies Open source development Modular structure of the application

Class structure for IMAGE Package IHObject IHContainer IHLink IHLaballed IHList IHDoc IHTCell IHTable IHForm IHApplet IHFrame IHImage IHString IDDatabase IDField IDDatabaseCtl IDMetaTableIDCollection IDQuerry IDTable ISAuthorizationISPermsISSessionISUser

IMAGE – documentation

Communication server (LabSERVER) for LabVIEW Originally developed by: Michał Janik & Piotr Szarwas Currently maintained by Marek Szuba Works at IReS, Strasbourg Available for all interested ALICE members immediately LabVIEWLabSERVER DBMS (MySQL or PostgreSQL) TCP/IP

Environment for test measurements LabVIEW NETWORK DBMS LabSERVER

Features of LabSERVER 100% C, POSIX-compliant Works as daemon Support for multiple clients connected simultaneously Access control Reliable data handling Highly configurable: TCP/IP port, connection timeout, maximum number of clients, allowed domains etc. Works with MySQL and PostgreSQL. On the other side: LabVIEW, HP VEE…

Milestones till September Installation of Oracle DMBS at WUT (Warsaw) Development of the prototype of the Central Database Beta-versions of satellite databases – implementation for SDD (Torino and Trieste) – implementation for SSD (partial – mainly for modules, microcables and object flow; Strasbourg, Utrecht, etc.) – maintenance of existing db concerning ladders for SSD (Utrecht) – Summer training for ~8 undergraduate students at SUBATECH (Nantes) July 15 th.. August 20 th