Home > Database, English, OSS Solutions > Clean your Gallery 2 ImageBlockCacheMap table regularly

Clean your Gallery 2 ImageBlockCacheMap table regularly

Supposedly, Gallery 2 has a process to clean this table periodically (through Cron, which you should always configure), but apparently sometimes this doesn’t get to execute correctly.

As a result, the rest of the cleanup will happen but this stable might not get cleaned, leading you to millions of rows of purely useless years-old cache junk.

Fix it manually by issuing a “TRUNCATE [prefix]_ImageBlockCacheMap;” in your database, or install a more recent version of Gallery, or something like that, but make sure you always keep an eye on its size.

Reference: http://galleryproject.org/node/30045

Advertisements
Categories: Database, English, OSS Solutions Tags:
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: