Negatives to keeping RRA data for a long time?

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
David Tomic
Posts: 19
Joined: Thu Nov 29, 2007 4:20 am

Negatives to keeping RRA data for a long time?

Post by David Tomic »

Obviously keeping data for weeks/months/years is going to result in BIG files, but aside from the disk space being used are there really any appreciable downsides to keeping RRA data for extended periods of time?

Does is reach a point where it starts affecting the performance of Cacti?

Does it create any other problems that I may not have thought about?

With disk space so ridiculously cheap these days, I'm just curious if there's any good reason not to hang onto data for ages ... just because I can! :P :P
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

It's more of a performance issue with rrdtool, not cacti. Offhand, I don't know of the permanence costs with the increases storage size. The two obvious areas you'd be interested in would be rrdtool update and rrdtool graph commands.

If you want, you could do some testing with a normal and large rra files and report the differences. The rrdtool mailing lists would also be a good place to post this question.
sheol
Posts: 16
Joined: Sun May 29, 2005 4:05 am

Post by sheol »

I'm about to start looking into using cacti combined with rrdtool for this very reason. I made a custom page that graphed the usage of our student labs with rrdtool but now the scope of the project has changed and my manager wants to be able to examine the usage of a lab in a 24 hour window (5min polling) for any day in the past two years.

That's 210,240 queries to be stored and be accessible/graphable at any time...could be fun ;)
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

You really should ask at the rrdtool-users mailing list. They are quite responsive, there.
I suppose, that with most versions of rrdtool, you may get some I/O overhead, but not a huge one, if any at all. Due to the nature of rrdtool files, rrdtool should fetch a single sector only (but OS file caching features may add more I/O. In this case, use latest rrdtool 1.3 that makes use of fadvise to avoid unnecessary read caching. Available for unix flavours only, AFAIK)
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests