[rrd-users] Re: Question about concurent access of RRD database?

Mohacsi Janos mohacsi at ik.bme.hu
Fri Jun 8 15:33:54 MEST 2001




On Fri, 8 Jun 2001, Alex van den Bogaerdt wrote:

> Date: Fri, 8 Jun 2001 14:41:24 +0200 (CEST)
> From: Alex van den Bogaerdt <alex at slot.hollandcasino.nl>
> To: Mohacsi Janos <mohacsi at ik.bme.hu>
> Cc: RRD users <rrd-users at list.ee.ethz.ch>
> Subject: Re: [rrd-users] Question about concurent access of RRD database?
>
> Mohacsi Janos wrote:
> >
> > Hi,
> > 	What happens if 2 process is updating in the same time the same
> > RRD database (of course different variable)?
>
> You need to read more about RRDtool.  "Of course different variable"
> tells that you don't understand how RRDtool works.

I think I understand how the RRDtool works. Let suppose the following
scenario:

You are collecting data that are related to each other with different
methods (for the simplicity 2 different measuring methods for 2 different
metric). You start to collect them in the same time, but both takes a long
time, let suppose between 30-90 seconds. You want to store the
measured data as soon as possible, and you can do it with specifying the
template for the DS respectively. You are collecting the data for
every 10 minutes, but you are only interested in the hourly average.


>
> An RRD is updated for all DSes (variables) at the same time. No
> exceptions.  If you don't specify a value for a certain DS, the
> unknown value is used.

I use the template.

>
> To answer your question: It is not possible.

Yes it is possible, I am doing it for more than half a month, but I want
to know, whether it is dangerous for the consistency of the RRD database
or not.


Thanks,
	Janos Mohacsi


--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list