Not complete/incorrect history shown on entity detail

Hello
I have migrated DB to MariaDB and since morning I have problem, that after clicking to entity I see data only until last reboot. in addition there are empty space between previous reboot.

and if I click to show more:


I see everything correctly.
also energy dashboard doesn’t seems to be updated correctly.

What can be the problem?
Maybe some delay between backup od sqlite db and starting on mariadb?

thank you

The energy dashboard and the entity dialog both use information from the statistics tables in your database.

The history plot uses data from the states table.

So it appears that you are having issues with statistics being generated. Got to developer tools → statistics and check to see if there are any issues there that need to be corrected.