Wrong values after migrating to MariaDB

Hello everybody,

After some good fights and purges,I reduced the size of my database (which already had 35GB) and managed to convert it to MariaDB.
Apparently everything went well. I can view the history, the data from the Energy dashboard, …

However, since then, the sensors have started to show wrong values, such as very unusual temperatures, the processor with negative utilization, even wrong values from external integrations such as Renault, AccuWeather, …
I didn’t make any other changes, all these sensors always worked fine until the conversion to MariaDB.

These errors are causing me several failures in automations, such as turning off the central heating for exceeding the set temperature, turning off the DHW circuit, generating false alerts, …

imagem

imagem

imagem

Has anyone gone through this?
How to solve? I’ve searched for solutions but haven’t found anything yet.