Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

cleaning 'history' out of the database

Go to End

2 Posts   608 Views


Community Member, 244 Posts

13 February 2012 at 4:40pm


I'm working on clients site, the 'SiteTree_versions' table has 55,000 entries and is 86mb. The site has maybe 100 pages, but some are long and updated regularly.

I don't think the client even know about the history options, and probably don't need to keep copies going back years.

It would be nice if there was a way to clear all but say the last 5 version....

any ideas?


Forum Moderator, 1899 Posts

13 February 2012 at 9:37pm