Skip to content

Seperate databases vs. everythig in one databases #1210

Answered by oetiker
cultur98 asked this question in Q&A
Discussion options

You must be logged in to vote

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

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@cultur98
Comment options

Answer selected by oetiker
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #1209 on January 20, 2023 16:05.