did you ate least try to minimize the number of entities recorded, and see what happens>
I used to have issues with logbook and history nit showing, until I curated my recorders recorded entities list. Havent had an issue since, and I am running a large system (3700 + entities) on a Pi4.
so for the sake of testing, only include lets say domain person and see what gives?