7
PMT and HPD PMT and HPD Databases Databases University of Iowa HEP University of Iowa HEP Eric Berry Eric Berry [email protected] [email protected]

PMT and HPD Databases University of Iowa HEP Eric Berry [email protected]

Embed Size (px)

Citation preview

Page 1: PMT and HPD Databases University of Iowa HEP Eric Berry eric-berry@uiowa.edu

PMT and HPD PMT and HPD DatabasesDatabases

University of Iowa HEPUniversity of Iowa HEPEric BerryEric Berry

[email protected]@uiowa.edu

Page 2: PMT and HPD Databases University of Iowa HEP Eric Berry eric-berry@uiowa.edu

22

Iowa HEP DatabasesIowa HEP Databases

MySQL basedMySQL based Web interfaceWeb interface

– http://omega.physics.uiowa.edu/HEPhttp://omega.physics.uiowa.edu/HEP– DadabikDadabik

Open source web interfaceOpen source web interface http://www.dadabik.org/http://www.dadabik.org/

– Secured by web based authorizationSecured by web based authorization– Contact Iowa HEP for accessContact Iowa HEP for access

Hosts two databasesHosts two databases– HPD – created by Minnesota, hosted by IowaHPD – created by Minnesota, hosted by Iowa– PMT (Photomultiplier Tube) – created by IowaPMT (Photomultiplier Tube) – created by Iowa

Contains test data for the two devicesContains test data for the two devices

Page 3: PMT and HPD Databases University of Iowa HEP Eric Berry eric-berry@uiowa.edu

33

Database LayoutsDatabase Layouts

PMT PMT – All test data contained in one tableAll test data contained in one table

16 columns representing physical 16 columns representing physical properties tested and test detailsproperties tested and test details

One row per specific pmt testedOne row per specific pmt tested HPD HPD

– Data dispersed across 14 TablesData dispersed across 14 Tables One table per physical property measuredOne table per physical property measured One row per test performedOne row per test performed

Page 4: PMT and HPD Databases University of Iowa HEP Eric Berry eric-berry@uiowa.edu

44

Iowa ITS DatabasesIowa ITS Databases

Oracle based databaseOracle based database Hosted at ITSHosted at ITS

– loaf.its.uiowa.eduloaf.its.uiowa.edu Backup of PMT DatabaseBackup of PMT Database

– Migration from MySQL in Fall of 2004Migration from MySQL in Fall of 2004– For ease of future transfer to Fermilab For ease of future transfer to Fermilab

databasedatabase

Page 5: PMT and HPD Databases University of Iowa HEP Eric Berry eric-berry@uiowa.edu

55

Database MaintenanceDatabase Maintenance

Periodic updates of dataPeriodic updates of data– New test data is insertedNew test data is inserted– Erroneous test data is replaced by Erroneous test data is replaced by

data from new PMT testsdata from new PMT tests MySQL software updatesMySQL software updates

– Security patchesSecurity patches– Version updatesVersion updates

Regular backupsRegular backups

Page 6: PMT and HPD Databases University of Iowa HEP Eric Berry eric-berry@uiowa.edu

66

Database BackupsDatabase Backups

Current Backup at ITS Oracle serverCurrent Backup at ITS Oracle server HEP Hosted backup serverHEP Hosted backup server

– pion.physics.uiowa.edupion.physics.uiowa.edu– Second MySQL Database serverSecond MySQL Database server– Nearling completionNearling completion

Scripted to backup databases nightlyScripted to backup databases nightly Backups archived for historical restore to Backups archived for historical restore to

specific date.specific date. Completion expected – late August 2005Completion expected – late August 2005

Page 7: PMT and HPD Databases University of Iowa HEP Eric Berry eric-berry@uiowa.edu

77

Future PlansFuture Plans

Migrate databases to FermilabMigrate databases to Fermilab– Sent metadata for databases to Fermilab Spring 2005Sent metadata for databases to Fermilab Spring 2005– Use OJB Generator project to insert data into Fermilab’s Use OJB Generator project to insert data into Fermilab’s

Oracle database structureOracle database structure Continued MaintenanceContinued Maintenance

– Update with new test data from experiments at Iowa HEPUpdate with new test data from experiments at Iowa HEP– Complete locally hosted backup systemComplete locally hosted backup system

Web interfaceWeb interface– Custom build web interface designed for ease of accessCustom build web interface designed for ease of access– Ease insertion of dataEase insertion of data

Currently manual inserts are requiredCurrently manual inserts are required Provide API for data collection applicationsProvide API for data collection applications

– Expected completion Fall 2005Expected completion Fall 2005