On Fri, 5 Dec 2025 at 01:28, Zed <[email protected]> wrote:

> Is the report generation dependent from the database layout?
>

Getting derived values from a DB is a lot faster than weeWX continuously
deriving or calculating them.


> What makes you think,  3rd party templates are in use?
>

Cause the standard or extended schemas include all possible columns needed.


> There is a  difference  in "schema" in weewx.conf:
> Before  (v4.9.1):
>
> [DataBindings]
>     [[wx_binding]]
>         database = archive_mysql
>         table_name = archive
>         manager = weewx.manager.DaySummaryManager
>         schema = schemas.wview_extended.schema
>
> Now (v5.2.0):
>
> [DataBindings]
>     [[wx_binding]]
>         database = archive_mysql
>         table_name = archive
>         manager = weewx.manager.DaySummaryManager
>         schema = weewx.schemas.wview_extended.schema
>
> Could this cause this issue?
>

No, it's a problem with the report generation, because it's not finished by
the time another report generation starts making the problem even worst by
having 2 or more reports running in parallel.

Not having derived or calculated columns in the database will cause weeWX
to regenerate them during every report cycle rather than just reading the
previously calculated and stored data.

All this would be triggered by a template asking for data that's not in the
database.

-- 
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].
To view this discussion visit 
https://groups.google.com/d/msgid/weewx-user/CAGTinV569a-LHZN%3D94UCzpPAFdmnXZvXrarb7wLPi8qjyicA3A%40mail.gmail.com.

Reply via email to