| CDF2_DATASETS_REGISTRY | Register dataset id and other info (like registering cdf note number) |
| CDF2_DATASETS | Event counts, file counts, luminosity, description, etc |
| CDF2_PARENT_DATASETS | Input dataset(s) used to create given dataset |
| CDF2_DATASET_STATUSES | Text string for status numbers |
| CDF2_PROD_VERSION_DESCS | Text string for prod version nuumbers |
| CDF2_FILESETS | File count, dataset id, etc |
| CDF2_FILES | Event, run info, luminosity |
| CDF2_RUNSECTION_RANGES | Ranges of runsection in given file |
| CDF2_FILE_LIVETIMES | Average prescales for triggers with dynamic prescaling |
| CDF2_RUNSECTIONS | Time stamp, event and run info, data quality, luminosity (online, offline) |
| CDF2_RUNSECTION_LIVETIMES | Dynamic prescale values |
| CDF2_DATA_QUALITY_DESCS | Text string describing each data quality bit |
| CDF2_TAPES | Tapes with contents in tape robot |
| CDF2_TAPE_STATUSES | Text string for tape status numbers |
User books are intended for the creation of secondary/tertiary/... datasets. The user should register a new dataset (on a web registry page which behaves like the cdf note number registry page) and this creates a record or row in table JOSEPH.CDF2_DATASETS (for user with unix login account "joseph"). When joseph runs his AC++ job and writes files with the DHOutput module, file records will be created in table JOSEPH.CDF2_FILES. Subsequently, Data Handling jobs will put the files into filesets and onto tape; these actions create rows in table JOSEPH.CDF2_FILESETS.
Monte Carlo jobs which generate simulated data can also create datasets in user books.
Group books should not be used for creating datasets because there is not an easy way to prevent users erasing each other's entries in a group book. A method of moving the book entries for a completed dataset from a user book to a group book will exist. It is probable that the creation of a dataset will be complicated and will have false starts so that isolation of the catalog book until the dataset is final will make the creation process more easily managed.
The browser can show all books that are being used by querying for all *.CDF2_DATASETS tables (the "*" can be used as a wild card in the browser and here finds any book or owner). Note that the Production Book is the set FILECATALOG.* of tables.
Some tables exist only in the Production Book - CDF2_TAPES, CDF2_TAPEPOOLS, etc. The tables connected to runsections written for detector data also exist only in the Production Book; runsections written for MC simulated data can exist in other books.
An Oracle client is setup as part of the CDF Run II Offline setup (offsite and onsite,even abroad). Here is a session on fcdfsgi2.fnal.gov which enquired the list of fields or columns in the table CDF2_FILESETS:
SQL*Plus: Release 8.0.5.0.0 - Production on Thu Jul 27 15:18:16 2000
(c) Copyright 1998 Oracle Corporation. All rights reserved.
Connected to:
Oracle8i Enterprise Edition Release 8.1.6.1.0 - Production
With the Partitioning option
JServer Release 8.1.6.1.0 - Production
SQL> describe cdf2_filesets
Name
Null? Type
------------------------------- -------- ----
FILESET_NAME
NOT NULL VARCHAR2(12)
CREATE_TIME
NOT NULL NUMBER(38)
TAPE_LABEL
NOT NULL VARCHAR2(6)
DS_NAME_ID
NOT NULL VARCHAR2(6)
TAPE_PARTITION
NUMBER(38)
FILE_COUNT
NUMBER(38)
SQL> exit
Disconnected from Oracle8i Enterprise Edition Release 8.1.6.1.0
- Production
With the Partitioning option
JServer Release 8.1.6.1.0 - Production