forked from ControlSystemStudio/cs-studio
-
Notifications
You must be signed in to change notification settings - Fork 0
ArchiveSupport
Trac2Gollum edited this page Jun 20, 2013
·
4 revisions
The CSS archive support modules allow read access to historic control system data, for example for the .
The initial API was in org.csstudio.archive with pluggable implementations for the ChannelArchiver, DESY AAPI, SNS RDB Archive, DESY archive record, and others.
Since Feb. 2010, there is a new API in org.csstudio.archivereader with pluggable implementations for the Channel Archiver and the SNS RDB archive.
Motivation for the new API:
- Samples are fetched via iterators, similar to JDBC. The old API returned an array of samples and would either run out of memory when trying to get a lot of data, or return only a fraction of the requested data, which in turn required another layer of code to iterate over 'batches' of partial results.
- Functionality that several data providers never actually implemented has been removed
- Channel search via a 'glob' pattern, which can be a lot faster than a regular expression search, is directly supported.