Shortlog interval Question
Moderator: leecollings
-
- Posts: 21
- Joined: Saturday 17 October 2015 23:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Shortlog interval Question
Just wondering?
I have been using Domoticz for a few weeks now and have no complaints.
But i do have a question?
Would i be right in my assumption that Domoticz only records data once every 5mins?
So in simple terms i can throw as much data (temp + Energy etc) as i like but it will not record it all?
I have been using Domoticz for a few weeks now and have no complaints.
But i do have a question?
Would i be right in my assumption that Domoticz only records data once every 5mins?
So in simple terms i can throw as much data (temp + Energy etc) as i like but it will not record it all?
- gizmocuz
- Posts: 2350
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: Shortlog interval Question
i have seen your question also in another post...
.... you can try beta #3532, there is a new option in the settings for the shortlog, the update interval.
But i would not advice to lower it, as i have no experience what the implications could be:
- larger database
- slower domoticz
- when settings to 1 minute, and you have set the short log to 7 days, that will be 10.080 values that are retreived when displaying a chart, and must be processed internally in domoticz
for each value there will also be overhead in the html/json
But if you would like to test it... please go ahead.
if it gets slow, you can always clear your shortlog, i would advise to do this at 00:05am in the morning
.... you can try beta #3532, there is a new option in the settings for the shortlog, the update interval.
But i would not advice to lower it, as i have no experience what the implications could be:
- larger database
- slower domoticz
- when settings to 1 minute, and you have set the short log to 7 days, that will be 10.080 values that are retreived when displaying a chart, and must be processed internally in domoticz
for each value there will also be overhead in the html/json
But if you would like to test it... please go ahead.
if it gets slow, you can always clear your shortlog, i would advise to do this at 00:05am in the morning
Quality outlives Quantity!
-
- Posts: 21
- Joined: Saturday 17 October 2015 23:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Shortlog interval Question
gizmocuz
Thank you for your reply.
I am quite happy with the 5 minute interval.
From my past experience with pvoutput.org that is also 5 minute intervals,it gives more than adequate results.
It was just curiosity because i have seen the odd screenshots of domoticz which showed data at intervals less than 5 minutes.
I am a little reluctant to update from my v2.3475 as it is very stable and there seems to have been a bit of instability with the last few updates.
Thank you for your reply.
I am quite happy with the 5 minute interval.
From my past experience with pvoutput.org that is also 5 minute intervals,it gives more than adequate results.
It was just curiosity because i have seen the odd screenshots of domoticz which showed data at intervals less than 5 minutes.
I am a little reluctant to update from my v2.3475 as it is very stable and there seems to have been a bit of instability with the last few updates.
- gizmocuz
- Posts: 2350
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: Shortlog interval Question
there is no issue with the latest beta (or stable) now
there was a problem before that caused the shortlog to be automatically set to 1 minute, and the database had no indexed and because of that, it became slow
not it has indexes, but i never tried it myself on my live system...
i would advise to upgrade to the latest beta now, before it gets instable, because i have some major changes planned (logging in UTC is one)
there was a problem before that caused the shortlog to be automatically set to 1 minute, and the database had no indexed and because of that, it became slow
not it has indexes, but i never tried it myself on my live system...
i would advise to upgrade to the latest beta now, before it gets instable, because i have some major changes planned (logging in UTC is one)
Quality outlives Quantity!
-
- Posts: 21
- Joined: Saturday 17 October 2015 23:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Shortlog interval Question
Gizmocuz
On your advice I have took the plunge and updated to v2.3532.
Fingers crossed.
Thanks
On your advice I have took the plunge and updated to v2.3532.
Fingers crossed.
Thanks
- gizmocuz
- Posts: 2350
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: Shortlog interval Question
Let me know... but i think your fine with this update
Quality outlives Quantity!
-
- Posts: 11
- Joined: Sunday 24 January 2016 17:02
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Shortlog interval Question
Just in case someone is interested
I have successfully changed the log interval from 5 minutes to 1 minute by changing the iShortLogInterval in the SQLServer.cpp
And then rebuilding/re-making the code
viewtopic.php?f=4&t=10183&p=73855#p73855
I have successfully changed the log interval from 5 minutes to 1 minute by changing the iShortLogInterval in the SQLServer.cpp
And then rebuilding/re-making the code
viewtopic.php?f=4&t=10183&p=73855#p73855
Who is online
Users browsing this forum: No registered users and 1 guest