Mike,

Correct, the rebuild merely recalculates the daily summary data and in most 
cases is just overwriting data that is already there (but potentially 
incorrect). In some cases there may be extra days of data in the daily 
summaries that is no longer required, or there could be something more 
seriously wrong. In these cases dropping the tables starts you from a clean 
slate. I mentioned in my last post the potential to lose some of the fine 
detail in the daily summaries by rebuilding them. This fine detail (depending 
on how you have weeWX configured) comes from loop data and is the highs, lows 
and times of these highs and lows. Just as rebuilding all the daily summaries 
will likely lose this fine detail so will dropping the daily summaries. So if 
ou can get away with rebuilding without dropping you have the best chance of 
retaining some of this fine detail provided you limitbyour rebuild with --from 
and --to.

Of course the other thing is simplicity, it is easier to say to a user 'just 
rebuild the daily summaries' rather than 'drop the daily summaries then rebuild 
them'; 1 step compared to 2.

As for the rebuild taking less than 1 second, again that depends. Pertinent 
factors are how many archive records in your archive and how fast is your weeWX 
machine. For a RPi and if you have more than a couple of months of data I would 
expect more than a second. From memory (not in front of my PC just now) 
wee_database should display some info on screen (as well as the log). What is 
being displayed on screen?

Gary

-- 
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.

Reply via email to