Click here to start

Table of contents

CDB: New Conditions Database of BaBar

What’s in this talk

Major redesign of the Condition/DB

Why redesign?

What’s inherited from the old database?

Slide 6

The integral parts of CDB (as a “holistic” product)

About Terminology…

The Philosophy of the CDB design : four main principles

Concepts…

Concepts : metadata / payload separation

Concepts : Logical Model of Conditions : storing

Concepts : Logical Model of Conditions : accessing

Concepts : Logical Model of Conditions : intervals

Concepts : Logical Model of Conditions : revisions

Concepts : Logical Model of Conditions : operations

Notes on 2-D model of metadata

Concepts : Condition Type

Concepts : Logical Model of Conditions : partitioning

Concepts : Why do we need partitioning?

Use of partitions in BaBar

Concepts : Logical Model of Conditions : partitions and revisions

Slide 23

Concepts : Partitions layout : definition

Concepts : Partitions layout : example (1)

Concepts : Partitions layout : example (2)

Concepts : Partitions layout : example (3)

Concepts : Partitions layout : example (4)

Slide 29

Concepts : Virtual Namespace : Views & Folders

Concepts : Virtual Namespace : Views & Revisions

Concepts : Virtual Namespace : Views & Revisions (2)

Concepts : Virtual Namespace : Views & Partitions

Slide 34

Distributed CDB : Kinds of DATABASES (ORIGINS)

Distributed CDB: MASTER

Distributed CDB: SLAVE

Distributed CDB: TEST

Distributed CDB: example : setup

Distributed CDB: example : communications

Distributed CDB: Using the Distributed Model

Slide 42

Concepts : State Identifier : the main idea

Concepts : State Identifier : the implementation

Concepts : State Identifier : the data structure

API…

API: Main Ideas..

API: Main Ideas (1)

API: Data Placement and Clustering…

API : Data Placement and Clustering (1)

API : Data Placement and Clustering (2)

API : Packaging (excluding tools and administrative packages)

API : Job Configuration

API : Example : Find a Condition Object (shortcut)

API : Example : Store a new Condition Object (shortcut)

API: More information on the CDB API

Slide 57

Some statistics…

Some statistics (1)

Justification for Partitions in BaBar: “Rolling Calibrations”

CDB installations in BaBar => Distributed CDB of BaBar

Slide 62

Slide 63

Management Model…

Performance

Space overhead for metadata

Slide 67

New problems : general problems

New problems : managing and using views

New problems : synchronizing distributed CDB

New problems : others

“Wish list” for new developments…

“Wish list” for new developments (1)

Trends

Slide 75

Migration to new CDB

Migration to new CDB (cont.)

CdbConditionBrowser : screenshot

Author: Igor A.Gaponenko

E-mail: gapon@slac.stanford.edu