0

What exactly is doing this cache_menu table in MySQL Database of my Drupal 7?

It is the hugest table of all = currently 308 mb.... (and I have disabled search term indexing, so this is absolutely the biggest now...)

Is it necessaru so huge?! I assume it is so huge, because I it includes a few of my Book - menus as well, but still...

If it is just a Cache - would it be safe to empty / disable somehow?

1

What exactly is doing this cache_menu table in MySQL Database of my Drupal 7?

Not to sound too glib, but it does exactly what it says - it stores cache for the menu system.

Is it necessaru so huge?!

It's as big as it needs to be - if you have a lot of menu structure, it will be large. But 300mb isn't exactly a lot of data in this day and age.

If it is just a Cache - would it be safe to empty / disable somehow?

Depends how you define "safe". Yes, your site will still work, but rebuilding the menus from scratch on every page load is likely to make your page requests take quite a bit longer.

You can safely truncate that cache bin and let it rebuild; maybe there is stale data in there that won't be re-added when the menus are built up again.

|improve this answer|||||
0

Change the Cache Expiry life time... It will clear all the cache table and lets your site to speed up. Go to "your_site/admin/config/development/performance". If you delete this table, your site menu's wont work and gives error while loading pages"

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.