EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: How have folks been dealing with the Channel Archiver's 2GB index file limit?
From: Thomas Birke <[email protected]>
To: Tom Cumming <[email protected]>
Cc: [email protected]
Date: Wed, 15 Oct 2008 08:45:21 +0200
Tom Cumming wrote:
On Wed, 2008-10-15 at 05:23 +0200, Thomas Birke wrote:

If our index-files at BESSY approach the 2GB limit, I usually re-create the index completely from scratch which typically produces a much smaller index-file.

How do you you, "re-create the index completely from scratch"? The only tool I know of is the, "RecoverIndex" tool that does it's thing by making educated guesses by groking the data.
The current version of the ChannelArchiver also installs a tool named "ArchiveIndexTool".
It has a "-reindex" option that will create a new index from an existing one. Maybe that'll help a bit...


I forgot to mention, that we are creating weekly archives of several different sets of PVs.
The index-files of these archives definitely never reach the 2GB limit (not even 100MB), and every monday at 2am we start a new one.
These separate archives/index-files are then combined into a "master_index" using the ArchiveIndexTool as well.


To do this, we create an xml-file (e.g. indexconfig.xml) containing a list of index-files to combine into the so-called master_index.
This master_index is updated regularly and in our case after ~1-2 years usually reaches the 2GB limit. All this is done automatically by scripts run by cron.


I just recreated our master_index (although it was not yet necessary) and it shrunk from ~1.5GB to ~1GB. It contains about 2.5 years of data from ~32000 PVs summing up to ~520GB of data.

There are sample scripts bundled with the ChannelArchiver (directory ExampleSetup) that do the job or may serve as a good starting point.

Thomas


Replies:
RE: How have folks been dealing with the Channel Archiver's 2GB indexfile limit? Kasemir, Kay
References:
How have folks been dealing with the Channel Archiver's 2GB index file limit? Tom Cumming
Re: How have folks been dealing with the Channel Archiver's 2GB index file limit? Thomas Birke
Re: How have folks been dealing with the Channel Archiver's 2GB index file limit? Tom Cumming

Navigate by Date:
Prev: RE: epics dbpf problem Williams Jr., Ernest L.
Next: Re: epics dbpf problem Benjamin Franksen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: How have folks been dealing with the Channel Archiver's 2GB index file limit? Tom Cumming
Next: RE: How have folks been dealing with the Channel Archiver's 2GB indexfile limit? Kasemir, Kay
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·