progress in databases (cms and emu) · 2004. 2. 2. · emu meeting cern 16 september 2003. dbs in...

12
Progress in Databases (CMS and EMU) Igor Vorobiev Carnegie Mellon University EMU Meeting CERN 16 September 2003

Upload: others

Post on 21-Jan-2021

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Progress in Databases (CMS and EMU) · 2004. 2. 2. · EMU Meeting CERN 16 September 2003. DBs in CMS 5 Databases: 1) DDD (Detector Description Database) 2 ... Tendency - Relational

Progress in Databases

(CMS and EMU)

Igor VorobievCarnegie Mellon University

EMU MeetingCERN

16 September 2003

Page 2: Progress in Databases (CMS and EMU) · 2004. 2. 2. · EMU Meeting CERN 16 September 2003. DBs in CMS 5 Databases: 1) DDD (Detector Description Database) 2 ... Tendency - Relational

DBs in CMS

5 Databases:

1) DDD (Detector Description Database)

2) Construction Database

3) Integration Database

(EMDB - Equipment ManagementDataBase)

4) Configuration Database

5) Conditions Database

Tendency - Relational Databases⇓

Oracle

DDD - Conversion XML ⇒ Oracle

EMU, CERN, 16 September

2003

Progress in Databases(CMS and EMU)

I. Vorobiev

CMU

Page 3: Progress in Databases (CMS and EMU) · 2004. 2. 2. · EMU Meeting CERN 16 September 2003. DBs in CMS 5 Databases: 1) DDD (Detector Description Database) 2 ... Tendency - Relational

Configuration and Conditions

The most probable solution:

Oracle and MySQL

Configuration

Possibilities:

1) Standard structure of tables.2) Different tables and common interface.3) Specific to each subdetector.

Conditions

Prototypes in Objectivity, Oracle and

MySQL exist.

Accepted by SC2 as a common LCG

Project.

EMU, CERN, 16 September

2003

Progress in Databases(CMS and EMU)

I. Vorobiev

CMU

Page 4: Progress in Databases (CMS and EMU) · 2004. 2. 2. · EMU Meeting CERN 16 September 2003. DBs in CMS 5 Databases: 1) DDD (Detector Description Database) 2 ... Tendency - Relational

Alternative solution

Valeri Sytnik:Simple object oriented Database.

Advantages:1) Tree structure of objects.2) Automatic data evolution.3) Effective storage in file-tree structure.4) Easy and direct access from C++.

To solve:1) Numerous versions of configuration.2) Variation in time.3) Search (keys? indexing?).

EMU, CERN, 16 September

2003

Progress in Databases(CMS and EMU)

I. Vorobiev

CMU

Page 5: Progress in Databases (CMS and EMU) · 2004. 2. 2. · EMU Meeting CERN 16 September 2003. DBs in CMS 5 Databases: 1) DDD (Detector Description Database) 2 ... Tendency - Relational

Cable selection

URL address:http://oraweb03.cern.ch:9000/pls/cmsintegration/

/stat.start view

Enter a part of EMU cable label to find matching records.

EMU, CERN, 16 September

2003

Progress in Databases(CMS and EMU)

I. Vorobiev

CMU

Page 6: Progress in Databases (CMS and EMU) · 2004. 2. 2. · EMU Meeting CERN 16 September 2003. DBs in CMS 5 Databases: 1) DDD (Detector Description Database) 2 ... Tendency - Relational

List of cables

EMU, CERN, 16 September

2003

Progress in Databases(CMS and EMU)

I. Vorobiev

CMU

Page 7: Progress in Databases (CMS and EMU) · 2004. 2. 2. · EMU Meeting CERN 16 September 2003. DBs in CMS 5 Databases: 1) DDD (Detector Description Database) 2 ... Tendency - Relational

Integration

EMU cables⇓

CMS Integration Database

EMU-label, CMS-label, both sidesconnection, type, length, parity, serialnumber

To enter:

label issued

location

EMU, CERN, 16 September

2003

Progress in Databases(CMS and EMU)

I. Vorobiev

CMU

Page 8: Progress in Databases (CMS and EMU) · 2004. 2. 2. · EMU Meeting CERN 16 September 2003. DBs in CMS 5 Databases: 1) DDD (Detector Description Database) 2 ... Tendency - Relational

EMU

New Oracle server:

cerndb1, Oracle 8i⇓

pdb01, Oracle 9i

Test Beam Database:

1) Run Log2) Online Text Log

EMU, CERN, 16 September

2003

Progress in Databases(CMS and EMU)

I. Vorobiev

CMU

Page 9: Progress in Databases (CMS and EMU) · 2004. 2. 2. · EMU Meeting CERN 16 September 2003. DBs in CMS 5 Databases: 1) DDD (Detector Description Database) 2 ... Tendency - Relational

Run view

EMU, CERN, 16 September

2003

Progress in Databases(CMS and EMU)

I. Vorobiev

CMU

Page 10: Progress in Databases (CMS and EMU) · 2004. 2. 2. · EMU Meeting CERN 16 September 2003. DBs in CMS 5 Databases: 1) DDD (Detector Description Database) 2 ... Tendency - Relational

Top page of Run-log Database

EMU, CERN, 16 September

2003

Progress in Databases(CMS and EMU)

I. Vorobiev

CMU

Page 11: Progress in Databases (CMS and EMU) · 2004. 2. 2. · EMU Meeting CERN 16 September 2003. DBs in CMS 5 Databases: 1) DDD (Detector Description Database) 2 ... Tendency - Relational

Online log

EMU, CERN, 16 September

2003

Progress in Databases(CMS and EMU)

I. Vorobiev

CMU

Page 12: Progress in Databases (CMS and EMU) · 2004. 2. 2. · EMU Meeting CERN 16 September 2003. DBs in CMS 5 Databases: 1) DDD (Detector Description Database) 2 ... Tendency - Relational

Outlook

Outlook

Next important task - creation ofConfiguration and Conditions

Databases.

EMU, CERN, 16 September

2003

Progress in Databases(CMS and EMU)

I. Vorobiev

CMU