Download Offline User Manual

Transcript
Offline User Manual, Release 24142
21.20.3 Intended Migration of Existing DB entries
Rebuild Approach
Where possible it is much preferable to correct DBI and rerun over source loadfiles rather than attempting to fix things
up and risk inconsistencies/confusion/doubts.
Tables that have been recreated from source reloading, listed with dybaux revision numbers:
CableMap
CalibPmtSpec
HardwareID
31
71
22
[4898, 4913, 4914, 4915, 4916, 4917, 4918, 4919, 4920, 4921, 492
[4942, 4943, 4944, 4945, 4946, 4947, 4948, 4949, 4950, 4951, 495
[4898, 4913, 4914, 4917, 4919, 4920, 4921, 4922, 4923, 4924, 492
CalibPmtHighGain
CalibPmtPedBias
4
1
[5019, 5042, 5048, 5063]
[5034]
CoordinateAd
CoordinateReactor
Reactor
1
1
1
[4974]
[4974]
[5065]
Other tables that need taming:
## rollinggain entries may be probl
Table Rebuilding and Insertdates
Implications of slated approach for table rebuilding Exceptional Operating Procedures for Major Changes
1. changes INSERTDATE to the times of the re-insertions
2. simplest approach would even clump everything under one INSERTDATE MUST AVOID THIS
What to do with insertdates ?
1. staying honest with INSERTDATE, is important part of DBI contract do not want to kludge this
2. some tables CableMap/HardwareID hold little information in INSERTDATE
3. avoid everything going in under a single INSERTDATE
(a) when employing SOP loading with dbaux.py this requires separate dybaux commits (eg for each loaded
file)
(b) a long sequence of OVERRIDE commits ? actually only the start scratching commit needs to be OVERRIDE
4. other tables with significant information in INSERTDATE ?
(a) compromise and forgo rebuilding these : just code changes and future write protections
Table Summary
Table
Recreation?
CaOK
bleMap/HardwareID
CalibPmtSpec
CalibPmtHighGain
OK(?) Sept 30th load
not verified
not-OK rollinggain
entries not easily
recreatable
21.20. DBI Overlay Versioning Bug
Notes
Many duplicated loads and little information in
INSERTDATEs (as they recreate prior static history) MOST
IN NEED OF REBUILD
2 ctx with issues, but fairly localized
323