Would be nice if there would be some way to call this script from digiKam UI (menu or config dialog). ---------- Forwarded Message ---------- SVN commit 965981 by aclemens: This little script can be used to clean up ("VACUUM;") the digiKam DB. It will increase speed and reduce the size of the database.