A 'common' archive time is 300 seconds. Most stations will output LOOP data at intervals ranging from every 2 seconds to 60 seconds depending on the station type. Weewx never cleans up the archive records. It does create 'daily summary' tables for each observation type (in addition to the detailed archive records) - which will give daily max, min and sum for each obsdervation type. The archive records which weewx stores in the database will be either archive (log) records from the station or be calculated by weewx as being the averages of loop data received during the archive interval.
30 to 60 seconds for archive interval is probably too frequent - and could/will create possible problems with report generation - as reports are only generated on archive intervals, and suffiocient time must be allowed for the generation before the next archive event. datasbase size is not an issue however. loop records are not stored by weewx, but can be stored using the mesowx extension. does this help or merely confuse you?? weewx never deletes or cleans up anything in the database automatically. On Thursday, 6 July 2017 16:04:01 UTC+3, Jonis Maurin Ceará wrote: > Hi. > > Is there any database cleanup or summarization proccess in weewx? > I'm asking because I'm planing to change my archive time from 300 seconds > to something about 30 or 60 seconds, but I'm concerned about database size > (i'm planing to switch to MySQL too). With 30 seconds, it will be at least > 2.880 rows per day, or about 1.000,000 a year. > WeeWx does any kind of summariozation? I mean, get the summarization of > the day, insert new registry with this 'sum' and clear all small readings > in database... (just an example). > > I'm planing to change this update interval to make my local webpage (and > services like WeatherUnderground) more updated. > > > Also, another question: there is a 'commom' update interval for most of > hardware stations?? Like 30 seconds, 1 minute, etc...? > > Tks! > > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
