NUMI MINOS GDM meeting 9 August 2005 MINOS Database Software Support Requirements MINOS Database Software Support Requirements D. Box, E. Buckley-Geer,

Slides:



Advertisements
Similar presentations
WaveMaker Visual AJAX Studio 4.0 Training
Advertisements

Lecture-7/ T. Nouf Almujally
1 Databases in ALICE L.Betev LCG Database Deployment and Persistency Workshop Geneva, October 17, 2005.
Objektorienteret Middleware Presentation 2: Distributed Systems – A brush up, and relations to Middleware, Heterogeneity & Transparency.
Concepts of Version Control A Technology-Independent View.
EventStore Managing Event Versioning and Data Partitioning using Legacy Data Formats Chris Jones Valentin Kuznetsov Dan Riley Greg Sharp CLEO Collaboration.
DBA Meeting December Supporting the MINOS MySQL Database at FNAL Nick West.
SQL Data Definition II Stanislava Armstrong 1SQL Data Definition II.
1 Archival Storage for Digital Libraries Arturo Crespo Hector Garcia-Molina Stanford University.
Integration case study Week 8 – Lecture 1. Enrolment request (Workstation) Application server Database server Database New University Student Record System.
Introduction to Database Management
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies,
Database Infrastructure Major Current Projects –CDF Connection Metering, codegen rewrite, hep w/ TRGSim++ – Dennis –CDF DB Client Monitor Server and MySQL.
© 2008 Quest Software, Inc. ALL RIGHTS RESERVED. Managing Database Change with Data Modeling Bert Scalzo, PhD
Lecture-8/ T. Nouf Almujally
Version Control with git. Version Control Version control is a system that records changes to a file or set of files over time so that you can recall.
ODBC Unplugged: What’s New in the DataFlex Connectivity Kit for ODBC? John Kramel Senior Consultant Data Access Corporation.
Clonedb: The quick and easy cloning solution you never knew you had. Tim Hall Oracle ACE Director Oracle ACE of the Year 2006.
9 Feb 2004Mikko Mäkinen & Saija Ylönen Joint UNECE/Eurostat/OECD work session on statistical metadata (METIS) Geneva, 9-11 February 2004, Topic (ii): Metadata.
FireRMS SQL Audit, Archiving & Purging Presented by Laura Small FireRMS Quality Assurance.
Database Systems – Data Warehousing
C Copyright © 2009, Oracle. All rights reserved. Appendix C: Service-Oriented Architectures.
DATABASE. A database is collection of information that is organized so that it can easily be accessed, managed and updated. It is also the collection.
Project Tracking. Questions... Why should we track a project that is underway? What aspects of a project need tracking?
Miscellaneous Excel Combining Excel and Access. – Importing, exporting and linking Parsing and manipulating data. 1.
M1G Introduction to Database Development 6. Building Applications.
Irina Sourikova Brookhaven National Laboratory for the PHENIX collaboration Migrating PHENIX databases from object to relational model.
HPS Online Software Discussion Jeremy McCormick, SLAC Status and Plans.
DB Installation and Care Carmine Cioffi Database Administrator and Developer ICAT Developer Workshop, The Cosener's House August
DB-based DAQ monitoring and Physics analysis tools Emiliano Barbuto European Emulsion Group (LNGS May 2003)
Module 6: Implementing SQL Server Replication in an Enterprise Environment.
Announcements. Data Management Chapter 12 Traditional File Approach  Structure Field  Record  File  Fixed All records have common fields, and a field.
5-1 McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved.
08/30/05GDM Project Presentation Lower Storage Summary of activity on 8/30/2005.
5 - 1 Copyright © 2006, The McGraw-Hill Companies, Inc. All rights reserved.
17 th October 2005CCP4 Database Meeting (York) CCP4(i)/BIOXHIT Database Project: Scope, Aims, Plans, Status and all that jazz Peter Briggs, Wanjuan Yang.
Computing Division Requests The following is a list of tasks about to be officially submitted to the Computing Division for requested support. D0 personnel.
October 14, 2002ROOT 2002 Workshop at CERNROOT at Minos 1 ROOT in the Minos Experiment Presented at ROOT2002 (CERN) October 14, 2002 George Irwin - Stanford.
Management Information Systems, 4 th Edition 1 Chapter 8 Data and Knowledge Management.
Week 8 - Wednesday.  What did we talk about last time?  Level order traversal  BST delete  2-3 trees.
Apr. 8, 2002Calibration Database Browser Workshop1 Database Access Using D0OM H. Greenlee Calibration Database Browser Workshop Apr. 8, 2002.
Upgrading from r4.1.4 to r7: Making a Smooth Transition Roger Suttmeier Support Distribution Manager June 14, 2006.
Why A Software Review? Now have experience of real data and first major analysis results –What have we learned? –How should that change what we do next.
JDBC CS 260 Database Systems. Overview  Introduction  JDBC driver types  Eclipse project setup  Programming with JDBC  Prepared statements  SQL.
CP476 Internet Computing Perl CGI and MySql 1 Relational Databases –A database is a collection of data organized to allow relatively easy access for retrievals,
ECMM6018 Enterprise Networking For Electronic Commerce Tutorial 6 CGI/Perl and databases.
Maintenance Practices. Goal  Automate the necessary DBA chores to put organizations on the path of having healthier, consistent and more trustworthy.
FTS monitoring work WLCG service reliability workshop November 2007 Alexander Uzhinskiy Andrey Nechaevskiy.
Pavel Nevski DDM Workshop BNL, September 27, 2006 JOB DEFINITION as a part of Production.
Climate-SDM (1) Climate analysis use case –Described by: Marcia Branstetter Use case description –Data obtained from ESG –Using a sequence steps in analysis,
Database Issues Peter Chochula 7 th DCS Workshop, June 16, 2003.
MICROSOFT ACCESS – CHAPTER 5 MICROSOFT ACCESS – CHAPTER 6 MICROSOFT ACCESS – CHAPTER 7 Sravanthi Lakkimsety Mar 14,2016.
Log Shipping, Mirroring, Replication and Clustering Which should I use? That depends on a few questions we must ask the user. We will go over these questions.
Getting the Most outof EPM Converting FDM to FDMEE – What’s it all about? March 16, 2016 Joe Mizerk
CDF SAM Deployment Status Doug Benjamin Duke University (for the CDF Data Handling Group)
1 SLAC simulation workshop, May 2003 Ties Behnke Mokka and LCDG4 Ties Behnke, DESY and SLAC MOKKA: european (france) developed GEANT4 based simulation.
1 Adding a Model. We have created an MVC web app project Added a controller class. Added a view class. Next we will add some classes for managing movies.
Legume: Master Reference System
Upgrading from r4.1.4 to r7: Making a Smooth Transition
DBA 5/20/2018 Like a policeman or teacher
RCM Turbo SQL Version.
Clonedb: The quick and easy cloning solution you never knew you had.
TriggerDB copy in TriggerTool
SDMX Reference Infrastructure Introduction
Data Resource Management
Manuscript Transcription Assistant Initiative
Data Resource Management
McGraw-Hill Technology Education
MIS2502: Data Analytics MySQL and MySQL Workbench
Presentation transcript:

NUMI MINOS GDM meeting 9 August 2005 MINOS Database Software Support Requirements MINOS Database Software Support Requirements D. Box, E. Buckley-Geer, G. Irwin, J. Urheim, N. West 9 August 2005  MINOS Database Model  Migration to Oracle for MINOS DB Warehouse  Software Needing Continuing Maintenance  Possible future projects

NUMI MINOS GDM meeting 9 August 2005 MINOS Database Software Support Requirements MINOS Database Model  Relational Database (MySQL + Oracle)  Used for “Constants”, also for Archival (i.e., Construction) Data.  Starting to use SAM for Event Data File Metadata [A. Kreymer, E. Buckley-Geer]  Software components:  DBU– online/quasi-realtime filling of Master DB (i.e., Acnet data for beam spills)  Up till now, master is a MySQL server; migrating to Oracle (see next slide).  DBI– Database Interface package for data access [D. Box, V. Onuchin, N. West**]  Based on ODBC middle layer for ‘easy’ interoperability…  MySQL interface is well-tested and debugged  MySQL Clients are running on Linux boxes for MINOS analysis jobs everywhere  DBM– Automated data distribution/replication system [D. Box, N. West**]  Used to get data from Master DB to MySQL ‘data marts’ around the collaboration  Also used to get data from (say) Soudan Mine DB to FNAL.

NUMI MINOS GDM meeting 9 August 2005 MINOS Database Software Support Requirements Migration to Oracle  We are migrating Master DB to Oracle…  Motivated by DBA support from CD. Also interoperability w/ SAM.  We thought ODBC would make adoption of Oracle easy!  This turned out to be far from true.  Annoying Oracle conventions:  (i.e., caps for tablenames, reserved words, data type representations, etc.)  We hadn’t anticipated the need for primary keys, having to add them…  Most annoying: ‘S’ in SQL definitely does not stand for ‘Standard’  Efforts (on all three fronts: DBU, DBI & DBM)  Needed an Oracle ODBC Driver for Linux [D. Box – completed]  Needed to address above-mentioned idiosyncracies  Much work on validation of DBM replication.

NUMI MINOS GDM meeting 9 August 2005 MINOS Database Software Support Requirements Migration to Oracle – cont’d  Migration Plan (in MINOS-ese): 1.Complete the software development section of The Task: ROW_COUNTER support and Table Conversion so that we can convert the automatically updated tables (although we don't need to convert them all yet).This is now done. 2.Confirm that the reconstruction software runs with an mixed cascade: MySQL (for temp); ORACLE. 3.Complete the software development The Task: Generation of SQL for Table Meta-Data so that drop/create table ddl is handled symmetrically between MySQL and ORACLE. 4.Pick a regularly updated table. I suggest SPILLTIMEND as it already has a ROW_COUNTER, but if we choose one without a ROW_COUNTER then it will need to be added first. 5.Prime this table into the ORACLE server minosora1 and set up a DBMauto feed from minos-db1. 6.Run daily checksums and confirm that no checksum conflicts are reported. Fix any false positives by refining the checksum algorithm (although there should not be anything left to do here). 7.Run for several days to show that it's stable. 8.Run some test jobs with an updater writing directly into minosora1.fnal.gov, by this time it will need a GLOBALSEQNO table. Show that it works. 9.Reverse the flow i.e. have the updater write to minosora1 and feed it back to to minos-db1. This has to be carefully managed, suspending updating and draining DBMauto feeds so that no data is lost. 10.Repeat the process with other regularly updated tables. We could do this in blocks e.g. all the DCS tables. We may have to hold back on some of the really big ones until we have checksum support for large tables 11.Fix up Checksum Compatibility for Character Data so that we don't get false positives from character data and then start priming the ORACLE server with other tables, ensuring we get no checksum conflicts.  Contributions from Dennis Box have been critical to progress along this path !!!  At every step, we encounter obstacles. We had expected to be done by now!!  We estimate 3 months till migration is complete.  Continuing participation by Dennis (at a moderate duty factor) is essential !!

NUMI MINOS GDM meeting 9 August 2005 MINOS Database Software Support Requirements Long Term: Software Maintenance  For DBI: `external packages’ now maintained by D. Box  libodbc++  freeware no longer under active support by original developer  needed by V. Onuchin’s RDBC pkg – xface of Root TSQL classes to ODBC (had expected this to be adopted by Root, but this hasn’t happened)  we are also using MyODBC & unixodbc packages, but these are supported  Oracle ODBC driver for Linux  this is Dennis’ package.  MINOS-specific software  DBM – Oracle-isms need to be tracked as new versions are introduced

NUMI MINOS GDM meeting 9 August 2005 MINOS Database Software Support Requirements Long Term: Abandon ODBC ?  Concern about dependence on 3 rd -party packages.  Also sense that ODBC isn’t buying us much  Supposed universality of SQL & ODBC interfaces is not there  MySQL and Oracle are both mature & stable products,  Unlikely that we would be forced to abandon one or the other in favor of another product.  Writing direct interfaces to MySQL & Oracle would be a major overhaul of our database software.  We would definitely need help from CD with this.