[rrd-users] Re: rrdcgi problem with picture.

Paul C. Williamson pwilliamson at mandtbank.com
Sat Nov 24 04:39:12 MET 2001


Is this correct?  I thought that if set up correctly, you could keep the 5 minute precision data for the last 365 days.  I know it is a large database, but I think this could be done.  In addition to those 5 minute samples, you could have the week (30 minute avg), month (2 hour avg), and year (1 day avg) graphs as well, right?

Paul

>>> Olivier Nicole <on at cs.ait.ac.th> 11/23/01 19:56 PM >>>
Hi,

> I started using rrdcgi today. I am planning to use rrdcgi to make "zooms" .
> The user will have a form with 2 fields, startdate and enddate, so he can
> create graphics from old values with very good precision.

It seems that you make a confusion and RRD is NOT  the tool you need.

You cannot make good precision zoom on old data.

Say you keep one day with no average, one week with average at 30
minutes, one month with average at 2 hours and one year with average
at one day. If you want to zoom in a day last week, you will only get
30 minutes precision, and if you zoom in november 1st, you get 2 hours
precision. If you zoom at january you get one day precision and if you
are interested inoctober 2000 you get nothing.

RRD keeps AVERAGE values, not the full precision values. And it keeps
just the exact amount of data that you asked him to keep: in my example
it will keep:

- 288 data full precision (one day, one sample every 5 minutes)
- 288 data at 30 minutes average (one week, one average every 30 minutes)
- 276 data at 2 hours average (one month, one average every 2 hours)
- 335 data at one day average (one year, one average per day)

(and yes, one year is 365 days, but it can use the month (30 days)
above to make it 335+30=365 :)

So RRD only keep one year worth of data, nd only 1/4 of the data are
at full precision.

If youwant to use RRD to draw the graphics, you keep the full
precision data in a database, extract the data range you want, push
them in a RRD file and draw your graphic. But RRD cannot be kept for
full precision data conservation, it is the  contrary of its purpose.

Of course one dat,one week, one month or one year are there just for
explanation, you can define the time range you want.

Olivier

--
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



--
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