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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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   676 Views

Avatar
JonShutt

Community Member, 244 Posts

13 February 2012 at 4:40pm

Hello,

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?

Avatar
swaiba

Forum Moderator, 1899 Posts

13 February 2012 at 9:37pm