I am already using three RRD's (three files):

1. power: stores 2 values: power from the grid and power to the grid every
10 secs
2. sun: stores 1 value: power generated by solar panels every minute
3. gas: stores 1 value: stores the hourly updated gas counter value every
10 secs

1 and 3 are updated from the same script that reads the smart meter. I
could make the script more intelligent and only have it update the gas rrd
when needed (or copy the script and only let it work on the gas part and
then run it hourly), but from a functional point of view I don't think it
matters. It would help on some I/O, CPU and in the end probably will make
my SD Card in the raspberry PI live longer (the rrd file is being allocated
in advance  so the gas value will be written at the same location on the SD
Card many times per hour in my case, right?).



On Fri, Oct 14, 2016 at 12:15 PM, Bram [via RRD Mailinglists] <
ml-node+s937164n7583432...@n2.nabble.com> wrote:

> You may want to consider splitting the databases.  You can always combine
> the data for the graph later, if you want.  I take the readings every 10
> seconds too, but will populate the gas database only when the timestamp of
> the gas reading changes.
> Bram
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
> http://rrd-mailinglists.937164.n2.nabble.com/Confusion-about-VDEF-total-
> and-graph-values-tp7583425p7583432.html
> To unsubscribe from Confusion about VDEF total and graph values, click
> here
> <http://rrd-mailinglists.937164.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=7583425&code=YXJqYW4uaHVtbWVsQGdtYWlsLmNvbXw3NTgzNDI1fDIwOTMxOTIxNzU=>
> .
> <http://rrd-mailinglists.937164.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>

View this message in context: 
Sent from the RRDtool Users Mailinglist mailing list archive at Nabble.com.

rrd-users mailing list

Reply via email to