next up previous contents
Next: Series specific tables Up: Database representation of JSOC Previous: Database representation of JSOC   Contents

Global tables

The JSOC catalog will maintain a set of global tables that define the structure of data records belonging to each series, and contain information shared by all record of the series, such as tape storage group, default online retention time and whether records from the series should be archived to tape.

An example of what these tables might look like is shown in Figure 2.

Figure 2: Example illustrating the structure of the global tables in the JSOC catalog.
\begin{figure}\centerline{\epsfig{figure=master_tables.eps,height=15cm }}\end{figure}

The master tables above merely describe the structure of data records belonging to data series and are therefore reasonably small. The number of rows in these tables is proportional to the number of data series [which is probably no more than a few hundreds, maybe a thousand.]. The bulk of the JSOC catalog is a set of tables, one for each series, containing the actual keyword values for all data records. In addition, a special sequence table is maintained for each series. A sequence is a special database table type containing a counter that can be read and incremented in an atomic operation. It is used to guarantee that unique record numbers are generated even when several modules concurrently are creating new records belonging to the same series.


next up previous contents
Next: Series specific tables Up: Database representation of JSOC Previous: Database representation of JSOC   Contents
Philip Scherrer 2006-06-17