[rrd-users] Error in database?
Tobias Oetiker
tobi at oetiker.ch
Thu Mar 5 15:03:33 CET 2009
Hi Karl,
note that rrdtool use unix time todo all its time based
calculations, if you create a database that ventures out of the
unix time stamp range all sorts of interesting corner cases are
bound to be touched ...
cheers
tobi
Today Karl Fischer wrote:
> Mats Gustafsson wrote:
> >>
> >> rrdtool dump measure10.rrd \
> >> | pcregrep -v '<!-- 19[567]\d-\d+-\d+ \d+:\d+:\d+ \w+ / -?\d+ -->' > new
> >> rrdtool restore new new.rrd
> >>
> >> did work for me - YMMV
> >>
> >> hth
> >>
> >> - Karl
> >>
> > Hi Karl,
> >
> > before I received your proposal I tried to shrink the databases using
> > rrdtool resize. This seems to work just fine (knock on wood).
> > Could you see any disadvantage with this method?
>
> Well,
>
> of course I thought about resize first, but since rrdtool obvoisly can't
> handle the data properly (fetch didn't work) I simply didn't trust that
> method anymore. Dumping the data and restoring it seemed safer to me.
> Does that make sense?
>
> - Karl
>
>
>
> _______________________________________________
> rrd-users mailing list
> rrd-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
>
>
--
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900
More information about the rrd-users
mailing list