Over many months I see that the table cache_views_data.ibd fills the disk extremly. On my site it has grown to 18 GB where the rest of the raw data is very small.
It looks like views cache is not cleaned up by cron. Is this a known bug?
Over many months I see that the table cache_views_data.ibd fills the disk extremly. On my site it has grown to 18 GB where the rest of the raw data is very small.
It looks like views cache is not cleaned up by cron. Is this a known bug?
Comments
Comment #1
hass commentedHere is the files list, that you get a feeling about the data size:
Comment #2
dawehnerViews implements hook_flush_caches which is used by system_cron().
Are you really using 6.x-2.10? Maybe there was a bug in some older versions of views, maybe you have configured views so it caches things for a long long long time, you newer know.
Comment #3
hass commentedYes, it was 2.10. View cache time is 1h - no longer. Some only 30 minutes.
Comment #4
hass commentedIssue seems to be fixed with latest version.
Comment #6
ressaI found this issue after the
cache_pagetable (cache_page.ibd) in my MariaDB database was filled up, and the database couldn't restart. Thecache_pagetable ballooned with several GB's in a short time, up to 30GB. The solution was to set a maximum number of rows for caching, see Database cache bins are now fixed size — no more unlimited growth.Comment #7
ressa