July 10, 2006ElizabethGallas1 Luminosity Database Elizabeth Gallas Fermilab Computing Division / D0 Computing and Analysis Group D0 Database ‘Taking Stock’

Slides:



Advertisements
Similar presentations
Chapter 10: Designing Databases
Advertisements

C6 Databases.
Chapter 3 : Relational Model
Prentice Hall, Database Systems Week 1 Introduction By Zekrullah Popal.
Database Management System Module 3:. Complex Constraints In this we specify complex integrity constraints included in SQL. It relates to integrity constraints.
System integrity The term system integrity has the following meanings: That condition of a system where in its specified operational and technical parameters.
Database Security and Auditing: Protecting Data Integrity and Accessibility Chapter 5 Database Application Security Models.
Client/Server Databases and the Oracle 10g Relational Database
Chapter 5 Database Application Security Models
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
Chapter 1 Introduction to Databases
Working with SQL and PL/SQL/ Session 1 / 1 of 27 SQL Server Architecture.
Project Execution & Termination Life Cycle Execution Presented by: Basker George.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
Transforming Data Models into Database Designs
Chapter 9 Database Management
CSC271 Database Systems Lecture # 20.
Chapter 2 Database System Concepts and Architecture
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.
Chapter 3 The Relational Model Transparencies Last Updated: Pebruari 2011 By M. Arief
DBMS By Narinder Singh Computer Sc. Deptt. Topics What is DBMS What is DBMS File System Approach: its limitations File System Approach: its limitations.
May 14, 2001E. Gallas/Trigger Database1 Status of the Trigger Database Elizabeth Gallas, Rich Wellner, Vicky White Fermilab - Computing Division See my.
Online Database Support Experiences Diana Bonham, Dennis Box, Anil Kumar, Julie Trumbo, Nelly Stanfield.
ITEC224 Database Programming
ATLAS Data Periods in COMA Elizabeth Gallas - Oxford ATLAS Software and Computing Week CERN – April 4-8, 2011.
1 Adapted from Pearson Prentice Hall Adapted form James A. Senn’s Information Technology, 3 rd Edition Chapter 7 Enterprise Databases and Data Warehouses.
ECE 8443 – Pattern Recognition ECE 3822 – Software Tools For Engineers Topics: Definitions and Terminology Abstraction Schema Tables Types of Databases.
Discovering Computers Fundamentals Fifth Edition Chapter 9 Database Management.
Chapter 10 Database Management. Chapter 10 Objectives Discuss the functions common to most DBMSs Identify the qualities of valuable information Explain.
1 Client/Server Databases and the Oracle Relational Database.
ETL Extract. Design Logical before Physical Have a plan Identify Data source candidates Analyze source systems with data- profiling tools Receive walk-through.
March 15, 2004ElizabethGallas -- D0 Luminosity Db1 D0 Luminosity Database: Status_Mask Implementation Elizabeth Gallas Fermilab Computing Division / D0.
C6 Databases. 2 Traditional file environment Data Redundancy and Inconsistency: –Data redundancy: The presence of duplicate data in multiple data files.
Enhanced Guide to Oracle8i
10/10/2012ISC239 Isabelle Bichindaritz1 Physical Database Design.
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
INFORMATION MANAGEMENT Unit 2 SO 4 Explain the advantages of using a database approach compared to using traditional file processing; Advantages including.
Databases Shortfalls of file management systems Structure of a database Database administration Database Management system Hierarchical Databases Network.
MANAGING DATA RESOURCES ~ pertemuan 7 ~ Oleh: Ir. Abdul Hayat, MTI.
1 CS 430 Database Theory Winter 2005 Lecture 2: General Concepts.
Elizabeth Gallas August 9, 2005 CD Support for D0 Database Projects 1 Elizabeth Gallas Fermilab Computing Division Fermilab CD Grid and Data Management.
Chapter 2 Database System Concepts and Architecture Dr. Bernard Chen Ph.D. University of Central Arkansas.
Programming Logic and Design Fourth Edition, Comprehensive Chapter 16 Using Relational Databases.
Database Systems. Role and Advantages of the DBMS Improved data sharing Improved data security Better data integration Minimized data inconsistency Improved.
Conditions Metadata for TAGs Elizabeth Gallas, (Ryan Buckingham, Jeff Tseng) - Oxford ATLAS Software & Computing Workshop CERN – April 19-23, 2010.
Database Basics BCIS 3680 Enterprise Programming.
Jan 28, 2005Elizabeth_Gallas D0_Trigger_Database 1 D0 Trigger Database Status Elizabeth Gallas Fermilab CD/D0CA Margherita Vittone, Vijay Murthi, and Steve.
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,
Nov 1, 2002D0 DB Taking Stock1 Trigger Database Status and Plans Elizabeth Gallas – FNAL CD (with recent help from Jeremy Simmons, John Weigand, and Adam.
Keeping your Data Repository in Top Health By: Ian Proffer MUSE Session 359.
Jan 27, 2003D0 Trigger Db Status1 Trigger Database Status Elizabeth Gallas – FNAL CD Trigger Working Page d0.fnal.gov/~gallas/d0_private/trig/trigger.html.
May 21, 2004ElizabethGallas -- D0 Luminosity Db1 D0 Luminosity Database Status Elizabeth Gallas Fermilab Computing Division / D0 Computing and Analysis.
November 1, 2004 ElizabethGallas -- D0 Luminosity Db 1 D0 Luminosity Database: Checklist for Production Elizabeth Gallas Fermilab Computing Division /
Jan 7, 2002E. Gallas/Trigger Db1 Trigger Database and Trigger Configurations and Trigger Issues Elizabeth Gallas, Jeremy Simmons (Fermilab - Computing.
Level 1-2 Trigger Data Base development Current status and overview Myron Campbell, Alexei Varganov, Stephen Miller University of Michigan August 17, 2000.
5 Copyright © 2008, Oracle. All rights reserved. Testing and Validating a Repository.
Introduction to Core Database Concepts Getting started with Databases and Structure Query Language (SQL)
IT 5433 LM3 Relational Data Model. Learning Objectives: List the 5 properties of relations List the properties of a candidate key, primary key and foreign.
Elizabeth Gallas Oxford University FILE: RunLumDB / 11-Dec-06 / Page 1 Growing a Luminosity Database for Atlas Elizabeth Gallas Oxford University.
Getting started with Accurately Storing Data
Client/Server Databases and the Oracle 10g Relational Database
Chapter 2 Database System Concepts and Architecture
Chapter 4 Relational Databases
Database Management  .
Introduction to Database Management System
MANAGING DATA RESOURCES
What is database? Types and Examples
LECTURE 34: Database Introduction
LECTURE 33: Database Introduction
Presentation transcript:

July 10, 2006ElizabethGallas1 Luminosity Database Elizabeth Gallas Fermilab Computing Division / D0 Computing and Analysis Group D0 Database ‘Taking Stock’ meeting July 10, 2006

ElizabethGallas2 Outline Luminosity Database Status Client/Server Status Short Term activities Long Term activities Storage Requirements Conclusions Appendix –Purpose: Luminosity Offline Software –Lum Database is central to Lum Offline Software –These systems are extensively documented

July 10, 2006ElizabethGallas3 Luminosity Database Status Schema is stable Legacy Data is loaded Online Data is loaded automatically (lumGrabber) –evolving with other short term work (next slide) Data Quality (DQ by LBN is waiting…) –Test system online 30-March-2006 No problems found –waiting for feedback from DQ group  Cannot go to production without specifications

July 10, 2006ElizabethGallas4 Luminosity Client/Server Status Operations Reports –Need to: understand operation and discrepancies address performance lmAccess –Need to: understand operation and discrepancies address performance –Short term help: luminosity db server –Long term help: replace db server (?) The corresponding legacy systems still in place. Goal for coming year: Need to phase out legacy systems.

July 10, 2006ElizabethGallas5 LumDB: Short Term Activities Current work on the database: –Luminosity Constant – many years of studies changing all luminosity measurements back to start of Run 2A –Other improvements: Eliminating duplicate records, impose unique keys and constraints Understanding Special Values and Status Flags Fix Transition Times Get Begin/End LBN for every Store in the database loading of fuzzy or other times (transition records) Development database fully loaded Makes testing/implementation of these changes more robust Thanks to DBAs for making this possible.

July 10, 2006ElizabethGallas6 LumDB: Long Term Issues Procedures for updating the database –Examples: luminosity constant change discrepancies found –In future: establish on case by case basis –Examples exist: provide templates for future changes Program: check database vs online Scalar files –at regular intervals and especially after updates (above) Expect to start this project when ‘constant change’ is complete Online data loading –will require some maintenance/supervision –Thanks Vladimir for help so far ! In the absence of change, these systems have become more and more stable, not requiring much supervision.

July 10, 2006ElizabethGallas7 1. LumDB Table Counts (Corrections and DataQuality) TABLECURRENTSTART ROWS END ROWS LBNFactors 0 no use case RangedFactors 0 no use case QualFlags 5 No growth expected QualGroups 9 No growth expected QualUsers 8 No growth expected LBNQual 0 *684 k1,823 k LBNQualParams 0 *219 k583 k * Waiting for additional requirements from Data Quality Group.

July 10, 2006ElizabethGallas8 2. LumDB Table Counts (PK’s, Transitions) TABLECURRENTSTART ROWS END ROWS LBNS2.7 M2.0 M5.2 M ExpGroups8 No growth expected Lmtypes9 No growth expected TICKS160 No growth expected Transitions705 k *1 K8 k * Transitions – decided to include all transitions except 60 second timer, some duplicates will be eliminated.

July 10, 2006ElizabethGallas9 3. LumDB Table Counts (the big ones) TABLECURRENTSTART ROWS END ROWS STREAMS2.3 M1.4 M3.8 M PrdFileChks43 K4 M11 M LmRates385 M217 M579 M Delivered95 M72 M192 M ExpFraction755 M513 M1,370 M ExpLums355 M436 M1,162 M Triggers294 M239 M639 M

July 10, 2006ElizabethGallas10 4. LumDB Table Counts (Status Conditions) STATUS TABLE DISTINCT CONDITIONS CURRENTSTART ROWS END ROWS ELTS8213 K LBNS373.0 M0.6 M1.6 M LFS LSS51.3 M140 K374 K LTS42550 M24 M64 M PFCS00420 K1.1 M RFS TKS246 K618 K1.6 M TRS

July 10, 2006ElizabethGallas11 Conclusions Luminosity Database –Stable for some time Activity in short term will make it robust for the foreseen future –Storage: within expectations Luminosity Offline Software –client(s)/db server systems using LumDB in operation complementary to legacy systems –corresponding legacy systems still in place. –D0 & D0 Luminosity group empowered will need advice from DBA’s (as always) need specific help from FNAL CD REX on Lum DB Server issue –conversations underway, need more specifications Goal for coming year: Phase out legacy systems: –Operations Reports, –lmAccess stage files

July 10, 2006ElizabethGallas12 Appendix Backup slides

July 10, 2006ElizabethGallas13 Purpose – Luminosity Offline Software Calculate/Deliver a Luminosity Normalization –for any physics data set Verify and certify data integrity –for normalization purposes Improve error tracking and characterization Produce Operations Reports and Graphs Produce LBN Quality Reports

July 10, 2006ElizabethGallas14 Purpose – Luminosity Database The Luminosity Offline Software is centered on the Luminosity Database The Luminosity Database stores information from: –Luminosity Monitor Detector –Trigger Framework –Level 3 –Fermilab Tevatron Accelerator –Offline Data Processing (SAM) –"Group" assigned quality quality flags –"Consistency" determined quality Plays administrative role cross checking information from all online and some offline subsystems

July 10, 2006ElizabethGallas15 Documentation Luminosity Group – Home page –www-d0.fnal.gov/phys_id/luminosity/ links to documentation on all related Online and Offline systems Luminosity Offline Software Documentation –www-d0.fnal.gov/phys_id/luminosity/software/offline.html Loading online and offline Data Luminosity database description (below) clients and servers Luminosity Database Documentation (D0 note 4915) –/d0dist/dist/packages/lm_db/devel/www/ LumDB.html/d0dist/dist/packages/lm_db/devel/www/ LumDB.html the luminosity database schema database definition language in cvs descriptions of database tables and columns, relationships, data types and links to database access methods in production and development

July 10, 2006ElizabethGallas16 The Luminosity Database “Schema”