[rrd-users] Will rrdtool be unhappy with a 1.1GB file?
Marc MERLIN
marc_rrd at merlins.org
Sun Nov 1 20:55:45 CET 2009
On Fri, Oct 23, 2009 at 04:04:34PM -0700, Marc MERLIN wrote:
> I can spare the disk space, I'd rather log and keep more if it's not going
> to cause issues.
> Is graphing 20 temperatures every minute over 5 years, and then every 5
> minutes over 30 years really a bad idea, or on a modern system as long as I
> have the disk space, who cares?
>
> My definition will either be
> /usr/bin/rrdtool create /var/lib/cacti/rra/housetemp_test.rrd --step 60 DS:attic:GAUGE:600:0:150 DS:roof_shingles:GAUGE:600:0:150 DS:MBR_vent_probe:GAUGE:600:0:150 DS:MBR_HVAC:GAUGE:600:-1:1 DS:main_HVAC:GAUGE:600:-1:1 DS:garage_freezer:GAUGE:600:-50:150 DS:garage_fridge:GAUGE:600:0:150 DS:br4:GAUGE:600:0:150 DS:br3:GAUGE:600:0:150 DS:outdoors_roof:GAUGE:600:0:150 DS:outdoors_crawlspace:GAUGE:600:0:150 DS:hall_closet:GAUGE:600:0:150 DS:computer_closet:GAUGE:600:0:150 DS:corridor:GAUGE:600:0:150 DS:crawlspace:GAUGE:600:0:150 DS:family_room:GAUGE:600:0:150 DS:garage:GAUGE:600:0:150 DS:living_room:GAUGE:600:0:150 DS:masterbedroom:GAUGE:600:0:150 DS:br2:GAUGE:600:0:150 RRA:AVERAGE:0.5:1:2628000 RRA:AVERAGE:0.5:120:131400 RRA:AVERAGE:0.5:1440:10950 RRA:AVERAGE:0.5:5:3153600 RRA:AVERAGE:0.5:30:525600 RRA:MAX:0.5:30:525600 RRA:MAX:0.5:120:131400 RRA:MAX:0.5:1440:10950
> (1.1GB)
>
> or
> /usr/bin/rrdtool create /var/lib/cacti/rra/housetemp_test2.rrd --step 60 DS:attic:GAUGE:600:0:150 DS:roof_shingles:GAUGE:600:0:150 DS:MBR_vent_probe:GAUGE:600:0:150 DS:MBR_HVAC:GAUGE:600:-1:1 DS:main_HVAC:GAUGE:600:-1:1 DS:garage_freezer:GAUGE:600:-50:150 DS:garage_fridge:GAUGE:600:0:150 DS:br4:GAUGE:600:0:150 DS:br3:GAUGE:600:0:150 DS:outdoors_roof:GAUGE:600:0:150 DS:outdoors_crawlspace:GAUGE:600:0:150 DS:hall_closet:GAUGE:600:0:150 DS:computer_closet:GAUGE:600:0:150 DS:corridor:GAUGE:600:0:150 DS:crawlspace:GAUGE:600:0:150 DS:family_room:GAUGE:600:0:150 DS:garage:GAUGE:600:0:150 DS:living_room:GAUGE:600:0:150 DS:masterbedroom:GAUGE:600:0:150 DS:br2:GAUGE:600:0:150 RRA:AVERAGE:0.5:1:525600 RRA:AVERAGE:0.5:5:525600 RRA:AVERAGE:0.5:120:131400 RRA:AVERAGE:0.5:1440:10950 RRA:AVERAGE:0.5:30:525600 RRA:MAX:0.5:120:131400 RRA:MAX:0.5:1440:10950 RRA:MAX:0.5:30:525600
> (381MB)
>
> I would think that one it's created rrdtool shouldn't really care too much
> how big the file is (maybe a few more seeks as data gets introduced), but I
> thought I'd ask.
To answer my own question, cacti and rrdtool seem to be doing fine with a
1.1GB file. Loading 2 months worth of data with rrdtool update took 3
seconds.
Marc:x
--
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems & security ....
.... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/
More information about the rrd-users
mailing list