Hi,
Is there any way to delay HA until MariaDB addon starts (0.112 updated today, no issues before)?
Connecting to the same machine MariaDB addon results in logbook (and all related services) failure. However, with same settings on a different Hassio machine everything works fine.
LE1: 0.112 failed to upgrade the database. After troubleshooting, it seems that having logbook_cache active at the time of upgrade, combined with large volume of records completely botched the structure of the database and I had to start from scratch with a new MariaDB addon instance.
LE2: for about 12 hours I used MariaDB on a different machine before starting from scratch. This is the impact on the machine (Intel NUC with Celeron J4005 and 8 GB of RAM); although it is quite early for a complete picture it seems that 0.112 is taxing a little bit more on the RAM (logbook loads almost immediately, history takes 4-6 seconds, database grows by ~40MB each hour):
0.111.4 (550 entities monitored; MariaDB addon on same machine with HA; logbook_cache used): CPU used: 18-20%; 15m load: 0.22-0.25; memory used: 20-22%
0.112 (all 2,000 entities monitored; MariaDB addon on different machine; no logbook_cache): CPU used: 8-11%; 15m load: 0.11-0.14; memory used: 12-14%
0.112 (all 2,000 entities monitored; MariaDB addon on same machine with HA; no logbook_cache): CPU used: 16-20%; 15m load: 0.18-0.22; memory used: 25-30%
LE3: the second instance above might not be fully comparable as it was over a period of 12 hours, most of it during the night, thus the events recorded were significantly fewer. Overall, last updates to HA brought huge performance improvements as startup time decreased from 180-200 seconds (pre 0.110) to 16-20 seconds for frontend to come up and ~50 seconds for all the components to load (probably can decrease even further by cleaning up some of the components I hardly ever use).