-
This is rather a question then a feature request: I am redesigning my software for environmental Thanks in advance for any advise! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Having multiple DS in a single RRD file is much more performant than having a single RRD file for each DS. Modern computers will write 4k Byte every time they write to disk. Regardless of how much data you are changing. So as long as your updates to the RRD file will be less than 4k, it will not make a difference if you write a single or 500 DS to the file. That said, having a single RRD file for each DS makes you much more flexible in adding and removing DS as you go along. So if performance is not the issue, I would go for the one DS one RRD ... or maybe some hybrid ... like if you have 'in/out' type data these two could go into a single RRD file. HTH |
Beta Was this translation helpful? Give feedback.
-
@oetiker, I'm just implementing ptiles in DSstats, and I was amazed at how "performant" RRDtool is. I will be eternally be grateful for that. To the argument around one data source per RRDfile, this is a troupe put out when graphite became a thing. In this case, I defer to @oetiker, and I agree with his point. I could go on with a point by point defense of it but why? I'll be 61 in March. Not got the time for that now. God bless everyone! |
Beta Was this translation helpful? Give feedback.
Having multiple DS in a single RRD file is much more performant than having a single RRD file for each DS. Modern computers will write 4k Byte every time they write to disk. Regardless of how much data you are changing. So as long as your updates to the RRD file will be less than 4k, it will not make a difference if you write a single or 500 DS to the file.
That said, having a single RRD file for each DS makes you much more flexible in adding and removing DS as you go along. So if performance is not the issue, I would go for the one DS one RRD ... or maybe some hybrid ... like if you have 'in/out' type data these two could go into a single RRD file.
HTH
Tobi