110 likes | 227 Views
COOL for DCS. Current Status and Plans. Introduction. Current idea for ATLAS Other LHC experiments’ ideas Possibilities for collaboration? The Oracle Archive Ideas of possible mechanisms Conclusions. Oracle Archiving without PVSS API but with COOL API. LHC Conditions DBs.
E N D
COOL for DCS Current Status and Plans Jim Cook, PVSS/Conditions DB Interface
Introduction • Current idea for ATLAS • Other LHC experiments’ ideas • Possibilities for collaboration? • The Oracle Archive • Ideas of possible mechanisms • Conclusions Jim Cook, PVSS/Conditions DB Interface
Oracle Archiving without PVSS API but with COOL API Jim Cook, PVSS/Conditions DB Interface
LHC Conditions DBs Alice has closest match to ATLAS. Possibility of added man-power Jim Cook, PVSS/Conditions DB Interface
Signal PVSS PVSS COOL Conditions DB PVSS PVSS Oracle Archive PVSS Data Data COOL Data PVSS-COOL Process Configuration DIM-COOL Process LHCb System Overview Jim Cook, PVSS/Conditions DB Interface
PVSS Oracle Archive • Uses trigger • Data inserted/updated in a single table • Trigger ‘takes’ this data and enters it into required table • Table always holds last value of element • Also contains timestamp and validity information • Array data in separate table • Also has a trigger • Identifiers used in database • Datapoint element names in separate table Jim Cook, PVSS/Conditions DB Interface
Mechanism? (I) • ‘Overload’ trigger • Enter required data into table under our control • Temporary tables • Allow to grow to pre-defined size • Create new table and ‘close’ old one • Size can be tailored for optimum performance • Use block update feature of COOL • Possible to filter data at this time • External process • Signaled when temporary table is ‘closed’ • How to signal process? Jim Cook, PVSS/Conditions DB Interface
Mechanism? (II) • External Process • Uses timer(s) for when to copy data • No signalling required • Retrieve data over last time-range • Use block update feature of COOL • Could filter data at this time • No additional code required in Archive itself Jim Cook, PVSS/Conditions DB Interface
External Process • Read data from PVSS Oracle Archive • Use COOL API • Uses configuration information held in PVSS Oracle Archive • This implies this configuration information held in known datapoints that are archived • Mechanism (I) only • Remove temporary table(s) • Once data known to be in COOL, can drop temporary tables to save space Jim Cook, PVSS/Conditions DB Interface
Signaling • Oracle Foreign Function Interface (FFI) • Unix (SUN) and Windows • Call shared library functions • Use sockets for platform independence? • Keep function small • Fast and simple • Send name of temporary table to process • Is this permitted on CERN servers? • External process polling • Intermittent check for value in DB • When ‘true’, process table indicated • Other ideas? Jim Cook, PVSS/Conditions DB Interface
Conclusions and Questions • PVSS Oracle Archiving • Can be used now with some limitations • Un-user friendly setup • Trigger usage • Scalability and performance questions • Signaling • Push or Pull? • ‘Push’ would run on Oracle server • Mechanism • Both ideas presented need investigation before final decision made Jim Cook, PVSS/Conditions DB Interface