This material is based upon work supported by the U.S. Department of Energy Office of Science under Cooperative Agreement DE-SC0000661. Michigan State.

Slides:



Advertisements
Similar presentations
Paul Chu FRIB Controls Group Leader (Acting) Service-Oriented Architecture for High-level Applications.
Advertisements

SNS Integrated Control System SNS RDB Requirements, wish list, status A little history l Oracle RDB used exclusively by accelerator physics group l JERI.
Chapter 10: Designing Databases
Irwin/McGraw-Hill Copyright © 2000 The McGraw-Hill Companies. All Rights reserved Whitten Bentley DittmanSYSTEMS ANALYSIS AND DESIGN METHODS5th Edition.
Database Architectures and the Web
This material is based upon work supported by the U.S. Department of Energy Office of Science under Cooperative Agreement DE-SC Michigan State.
RDB Services Vasu Vuppala FRIB-NSCL, East Lansing, Michigan, USA.
8 Chapter 8 The University Lab: Conceptual Design Verification, Logical Design, and Implementation Database Systems: Design, Implementation, and Management,
Summary Role of Software (1 slide) ARCS Software Architecture (4 slides) SNS -- Caltech Interactions (3 slides)
A U.S. Department of Energy Office of Science Laboratory Operated by The University of Chicago Argonne National Laboratory Office of Science U.S. Department.
Paul Chu FRIB Controls Group Leader (Acting)
Chapter 6 Database Design
Chapter 2 Database Environment. Agenda Three-Level ANSI-SPARC Architecture Database Languages Data Models Functions of DBMS Components of DBMS Teleprocessing.
Geographic Information Systems
“DOK 322 DBMS” Y.T. Database Design Hacettepe University Department of Information Management DOK 322: Database Management Systems.
M1G Introduction to Database Development 1. Databases and Database Design.
Database Management COP4540, SCS, FIU An Introduction to database system.
Who am I? ● Catalin Comanici ● QA for 10 years, doing test automation for about 6 years ● fun guy and rock star wannabe.
Web Application Architecture: multi-tier (2-tier, 3-tier) & mvc
IST Databases and DBMSs Todd S. Bacastow January 2005.
IT – DBMS Concepts Relational Database Theory.
Database System Concepts and Architecture Lecture # 3 22 June 2012 National University of Computer and Emerging Sciences.
Information storage: Introduction of database 10/7/2004 Xiangming Mu.
Intro to MIS – MGS351 Databases and Data Warehouses Chapter 3.
What is Architecture  Architecture is a subjective thing, a shared understanding of a system’s design by the expert developers on a project  In the.
Chapter 2 Database Environment
Database Design - Lecture 2
 DATABASE DATABASE  DATABASE ENVIRONMENT DATABASE ENVIRONMENT  WHY STUDY DATABASE WHY STUDY DATABASE  DBMS & ITS FUNCTIONS DBMS & ITS FUNCTIONS 
IST 210 Database Design Process IST 210 Todd S. Bacastow January 2005.
Week 4 Lecture Part 3 of 3 Database Design Samuel ConnSamuel Conn, Faculty Suggestions for using the Lecture Slides.
This material is based upon work supported by the U.S. Department of Energy Office of Science under Cooperative Agreement DE-SC Michigan State.
311: Management Information Systems Database Systems Chapter 3.
Teaching Database Design Concepts With Access 2010.
Debby Quock November 13, 2012 IRMIS at CLS. IRMIS Currently at CLS PV Crawler –Perl modules that parse EPICS IOC st.cmd, db, and dbd files. Information.
Dr. Mohamed Osman Hegazi 1 Database Systems Concepts Database Systems Concepts Course Outlines: Introduction to Databases and DBMS. Database System Concepts.
Database Administration COMSATS INSTITUTE OF INFORMATION TECHNOLOGY, VEHARI.
Lecture2: Database Environment Prepared by L. Nouf Almujally & Aisha AlArfaj 1 Ref. Chapter2 College of Computer and Information Sciences - Information.
1.file. 2.database. 3.entity. 4.record. 5.attribute. When working with a database, a group of related fields comprises a(n)…
2005 Epocrates, Inc. All rights reserved. Integrating XML with legacy relational data for publishing on handheld devices David A. Lee Senior member of.
CS370 Spring 2007 CS 370 Database Systems Lecture 4 Introduction to Database Design.
Lecture2: Database Environment Prepared by L. Nouf Almujally 1 Ref. Chapter2 Lecture2.
Database Architectures Database System Architectures Considerations – Data storage: Where do the data and DBMS reside? – Processing: Where.
© 2005 Prentice Hall10-1 Stumpf and Teague Object-Oriented Systems Analysis and Design with UML.
IRMIS: a practical Ansatz for an Accelerator Operations DB? S. Herb,
MANAGING DATA RESOURCES ~ pertemuan 7 ~ Oleh: Ir. Abdul Hayat, MTI.
1 CS 430 Database Theory Winter 2005 Lecture 2: General Concepts.
This material is based upon work supported by the U.S. Department of Energy Office of Science under Cooperative Agreement DE-SC Michigan State.
This material is based upon work supported by the U.S. Department of Energy Office of Science under Cooperative Agreement DE-SC , the State of Michigan.
Management Information Systems, 4 th Edition 1 Chapter 8 Data and Knowledge Management.
A U.S. Department of Energy Office of Science Laboratory Operated by The University of Chicago Argonne National Laboratory Office of Science U.S. Department.
Assoc. Prof. Dr. Ahmet Turan ÖZCERİT.  The concept of Data, Information and Knowledge  The fundamental terms:  Database and database system  Database.
This material is based upon work supported by the U.S. Department of Energy Office of Science under Cooperative Agreement DE-SC Michigan State.
Jemerson Pedernal IT 2.1 FUNDAMENTALS OF DATABASE APPLICATIONS by PEDERNAL, JEMERSON G. [BS-Computer Science] Palawan State University Computer Network.
ATLAS Database Access Library Local Area LCG3D Meeting Fermilab, Batavia, USA October 21, 2004 Alexandre Vaniachine (ANL)
1 Chapter 2 Database Environment Pearson Education © 2009.
SNS Integrated Control System EPICS IOCs – Relational DB Connectivity Bridge A. Liyu, A. Zhukov.
Introduction to Core Database Concepts Getting started with Databases and Structure Query Language (SQL)
IST 210 Database Design Process IST 210, Section 1 Todd S. Bacastow January 2004.
This material is based upon work supported by the U.S. Department of Energy Office of Science under Cooperative Agreement DE-SC , the State of Michigan.
This material is based upon work supported by the U.S. Department of Energy Office of Science under Cooperative Agreement DE-SC , the State of Michigan.
This material is based upon work supported by the U.S. Department of Energy Office of Science under Cooperative Agreement DE-SC , the State of Michigan.
Databases and DBMSs Todd S. Bacastow January
Database Systems: Design, Implementation, and Management Tenth Edition
Intro to MIS – MGS351 Databases and Data Warehouses
An Introduction to database system
MongoDB Er. Shiva K. Shrestha ME Computer, NCIT
Chapter 6 Database Design
Database Design Hacettepe University
Presentation transcript:

This material is based upon work supported by the U.S. Department of Energy Office of Science under Cooperative Agreement DE-SC Michigan State University designs and establishes FRIB as a DOE Office of Science National User Facility in support of the mission of the Office of Nuclear Physics. Vasu Vuppala FRIB Data Services - Design

 Information Architecture  Design Principles  Domains  Components  Hierarchies  Lattice - Models  EPICS  Cabling  Security  Challenges Overview V. Vuppala, Controls DB Meeting, Slide 2

 Database (DB): An organized collection of data  Database Management System (DBMS): Software system that manages databases  Database Model: Structure of the data in a database Hierarchical, Network, Relational, ER, Object, Dimensional etc  Relational Model: Based on mathematical relation (set theory)  Relational DBMS: DBMS based on Relational Model Ingres, Oracle, DB2, MySQL, Postgres etc Terminology V. Vuppala, Controls DB Meeting, Slide 3

Information Architecture, Slide 4V. Vuppala, Controls DB Meeting  Application layer Operator interfaces High-level applications Libraries  Service layer Access to data Programming Interface  Data layer Managed data No direct access RDB, Files, No-SQL etc

Distributed Components, Slide 5V. Vuppala, Controls DB Meeting  Distributed across the network Data Services Applications  Scalable

 Keep the schema as simple as possible.  Do not model every small piece of the facility.  The operational database must be in sync, or very close to, the real facility. So it should be easy to update the database.  Updates to the database should be controlled but not overly cumbersome.  The schema should be generic, to an extent, so that other labs can use it. However, it should not be at an inordinate cost.  It should be possible, for other labs, to use parts of the schema, possibly by having a set of loosely-coupled subschemas or “domains”. DB Design Principles V. Vuppala, Controls DB Meeting, Slide 6

Schema Domains V. Vuppala, Controls DB Meeting, Slide 7

FRIB Configuration, Slide 8V. Vuppala, Controls DB Meeting

FRIB Configuration – LS1, Slide 9V. Vuppala, Controls DB Meeting

Components V. Vuppala, Controls DB Meeting, Slide 10  Physical Component: This represents physical entities; things that exist in the real world. Example: the cavity with part number T30802-MDE-0008 that was manufactured by Jefferson Lab is a physical-component.  Conceptual Component or Component Type This represents generic entities or concepts and their designs. Example: horizontal electrostatic dipole, beam current monitor, RFQ, and RF cavity  Configuration or Logical Component It represents the entities that exist on the blueprint or configuration of the FRIB facility. Example: the cavity LS1_CA01:CAV2_D1101

Components: Example V. Vuppala, Controls DB Meeting, Slide 11

Components Schema V. Vuppala, Controls DB Meeting, Slide 12

Configuration Components V. Vuppala, Controls DB Meeting, Slide 13

Configuration Hierarchy V. Vuppala, Controls DB Meeting, Slide 14

Control Hierarchy V. Vuppala, Controls DB Meeting, Slide 15

Configuration Component Relations V. Vuppala, Controls DB Meeting, Slide 16

Conceptual Components V. Vuppala, Controls DB Meeting, Slide 17

Q1Q2Q3 Location in driver linacLS1, FS1, FS2, LS3, BDSBDS Effective Length (m) Full Aperture, A (min. pipe ID, m) Quadrupole Gradient, B’0 (T/m)3530 Approx. Quadrupole Pole Tip Field (T)0.875*1.2 Quadrupole good field region, 2 R0 = 0.8 A (m) Quadrupole field uniformity dB’/B’0 within radius R0, over operating range ≤ ±5e-3≤ ±7e-3 Operating range, as fraction of B’ % Quadrupole Specifications V. Vuppala, Controls DB Meeting, Slide 18

 Set of Tables A Table (or set of tables) for Each Conceptual Component Pros: Efficient Storage and Performance, Relational Cons: Limited Schema Changes Issues; Unsupported Data Types (ranges, lists etc) Implementation 1 V. Vuppala, Controls DB Meeting, Slide 19

 Set of Properties A Table of Attributes Table for Conceptual Components Pros: Flexible (Schema Changes) Cons: Efficiency, Performance, Complex SQL Issues: Storage of Different Data Types Implementation 2 V. Vuppala, Controls DB Meeting, Slide 20

Physical Component V. Vuppala, Controls DB Meeting, Slide 21

Implementation V. Vuppala, Controls DB Meeting, Slide 22

 What are all the Horizontal Electrostatic Quads?  Who is the manufacturer of ‘LS1_CA01:CAV2_D1101’?  Where is T30802-MDE-0008 installed?  What are all the components in LINAC Segment 1?  What is CAD drawing for LS1_CA01:CAV2_D0910?  When was LS1_CA01:CAV3_D1101 calibrated?  What are the PVs associated with component with serial number T30802-MDE-008?  Is LS1_CA01:PS1_D0910 turned on?  Give the traveler information associated with T30802-MDE-008. Data Service V. Vuppala, Controls DB Meeting, Slide 23

 Components Conceptual (Component Type) Configuration (Logical) Physical  Design Data Linked with Conceptual Component  Groupings/Hierarchies Built On Configuration Component  Lattice, Model Data Associated with Configuration Component  Measurements, Calibration, Traveler, Maintenance Data with Physical Component  Implementation Approaches Set of Tables Set of Properties Core Schema Summary V. Vuppala, Controls DB Meeting, Slide 24

Behavioral: Controls V. Vuppala, Controls DB Meeting, Slide 25

Behavioral: Model V. Vuppala, Controls DB Meeting, Slide 26

Naming V. Vuppala, Controls DB Meeting, Slide 27

Traveler V. Vuppala, Controls DB Meeting, Slide 28

 Two “Flavors” of IRMIS Systems Controls-based IRMIS (IRMIS-C): Excellent GUI, stable releases Physics-based IRMIS (IRMIS-P): Physics schemas, data loading scripts  IRMIS-P closer to FRIB Schema Configuration-component – install Physical-component – component Conceptual-component – component-type  Ideal situation Everyone agrees to one core schema The GUI can be “ported” to new schema  What all changes are need to IRMIS-C and IRMIS-P? Mapping to IRMIS V. Vuppala, Controls DB Meeting, Slide 29

 Possible solutions RDBMS (Relational Database Management System) »Oracle direct path, partitioning »Integrated access SciDB: open source high performance database for scientific problems Hypertable: open source distributed high performance data storage Cassendra: open source distributed high performance database (apache)  Other labs BNL looking into SciDB and Hypertable BNL goal: 1M PVs at 1hz forever SLAC has tried RDBMS SNS is using Oracle (93K PVs) Archiver, Slide 30V. Vuppala, Controls DB Meeting

Status, Slide 31V. Vuppala, Controls DB Meeting  IRMIS Mapping  Gaps, and how to bridge them  Refine schemas  Components, lattice, configuration, groupings, security etc  Cables, MPS, Save/Restore etc  Properties and attributes for all classes  Installing MySQL Community Edition  MySQL Cluster to be Tested in Parallel  Generic Design Documentation  To Do: MPS, Interlocks, Operations Modeling

1.Understand and accept that you will make mistakes. 2.You are not your code. 3.No matter how much "karate" you know, someone else will always know more. 4.Don't rewrite code without consultation. 5.Treat people who know less than you with respect, deference, and patience. 6.The only constant in the world is change. 7.The only true authority stems from knowledge, not from position. 8.Fight for what you believe, but gracefully accept defeat. 9.Don't be "the guy in the room." 10.Critique code instead of people—be kind to the coder, not to the code. Ten Commandments of Egoless Programming V. Vuppala, Controls DB Meeting, Slide 32