Changing CCK content-types details results in numerous DB calls for the menu system

Posted by Paul Strugger on Stack Overflow See other posts from Stack Overflow or by Paul Strugger
Published on 2010-05-29T13:25:40Z Indexed on 2010/05/29 13:32 UTC
Read the original article Hit count: 142

Filed under:
|
|

Every time I make a change in the details of a content-type it takes too long. I though it had to do with the fact that I had too many content-types and fields (~500), but when I load the devel module to see the queries that take that long I see:

Executed 32212 queries in 12267.57 milliseconds. Queries taking longer than 5 ms and queries executed more than once, are highlighted. Page execution time was 55763.32 ms

When I see the details I notice that the vast majority of db calls come from the menu system, e.g.:

  1. _menu_route
  2. menu_local_tasks
  3. admin_menu_link_save

Why is that? Can I avoid some of these? It doesn't seem logical!

© Stack Overflow or respective owner

Related posts about mysql

Related posts about drupal