From: Kasemir, K. <kas...@or...> - 2014-09-16 18:07:51
|
Hi: We run about 40 archive engines. One for channels related to vacuum, one for water, one for low-level RF, … All write to the same RDB, so that's not a problem. There is no short-term/middle-term/long-term, though. All go to the same RDB tables. In principle, the channel configuration contains a "retention" parameter. You could configure that to for example set the retention of some channels to "1 year", and then you can write a tool that deletes data for those channels that's older than one year. For now, nobody has written such a tool. The SLAC Archive appliance has the idea of short-term/middle-term/long-term, you'll have to look for info on that, it's a different system. As an end user, you can view data from that with the same CSS data browser, but the archive config/engine/storage/maintenance is different. -Kay On Sep 16, 2014, at 6:08 AM, zunbeltz <zun...@es...> wrote: > Dear all, > > As I understand from the CSS documentation; it is possible to have > multiple ArchiveEngine programs running (even in the same computer) > different archive prupouses (like short-term, middle-term and long-term > archiving). Am I right? > > My question is: Is it possible to write to the same DB from different > ArchiveEngine? Is it dangerous or not a good idea? > My intention is the following. I want to setup a DB for long term > archiving for the machine physics group. The idea is to store parameters > with a low frequency, but I also need some how to store more parameter > when we are running, say a Wire Scanner experiment. For this I was > thinking to just run another ArchiveEngine that writes to the long term > DB. Sounds it right? > > Thanks in advance, > > Zunbeltz > > -- > Dr. Zunbeltz Izaola > Accelerator Physics Group > ESS-Bilbao > > > ------------------------------------------------------------------------------ > Want excitement? > Manually upgrade your production database. > When you want reliability, choose Perforce. > Perforce version control. Predictably reliable. > http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk > _______________________________________________ > Cs-studio-users mailing list > Cs-...@li... > https://lists.sourceforge.net/lists/listinfo/cs-studio-users |