Even if I load a page without any views I'm getting tremendous SQL activity. Over 3000 calls per page! The call DrupalDefaultEntityController::load is loading almost 1000 times. I've tried stripping my site completely down, changing themes, removing the nav... Nothing seems to affect the high SQL load.

Unfortunately I don't have any time base for when this problem started. Thus I can't connect it with any particular change in the instal.

Comments

Stefan Lehmann’s picture

Hm .. did you check of which nature those SQL calls are? That might give you an indication where they come from. Also a tool like xdebug might help to see which functions / classes are going a bit wild.

I like cookies!

museumboy’s picture

The extra calls are put in there by TB Mega Menu. It seems to load the assets of every entity linked on the main menu. I don't know why. I'll look at this more today and probably submit a support request there.

museumboy’s picture

Turns out its not solely TB Mega Menu, loading other menus causes this as well.