Database Distribution: Rules on SEQNO, INSERTDATE and CREATIONDATE

As explained in the Overview the distribution system relies critically on the values of certain columns in the auxiliary validity range table. In this section all rules on these values are defined and must be followed if distribution system is to work. Besides regular updates its sometimes necessary to fix errors that are found, for example mis-cabling in Plex tables. The preferred method of doing this is to issue an update i.e.:-
  1. Allocate a new SEQNO.
  2. Create and store a new validity record with this SEQNO and with CREATIONDATE and INSERTDATE set to the current date.
  3. Create and store the associated main table rows.
Bug fixing i.e. fixing errors in situ is deprecated as it means that rollback won't work. If bug fixing is unavoidable, then at the very least CREATIONDATE and INSERTDATE must be updated for then the INSERTDATE will ensure that the fix is propagated and on import. when the DBM finds a conflict, it will resolve correctly in favour of the bug fix as it will have a later CREATIONDATE.

UGLI Conflict Avoidance Scheme

The UGLI tables have SEQNOs of the form:-

    Dd00SSppp

where

    Dd :  10=Near, 20=Far-normal, 21=Far-shield, 4=CalDet
    SS :  "series"
    ppp:  plane #

The "series" is the count of how many times alignment (or other complete set of entries) has been done.


Return to the top-level Database Distribution document
Last Modified: $Date: 2004/11/15 11:31:25 $