[xwiki-users] Purge revision of pages/attachments with date older than jjjjmmdd
From an administrator-point-of-view, to keep the SQL database as small as possible, is it possible to purge documents which are older than 3 months old (but keep at least 3 revisions)
Any setting which controls the purging of the database? Or is there a script available? -- View this message in context: http://xwiki.475771.n2.nabble.com/Purge-revision-of-pages-attachments-with-d... Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi, On Jun 7, 2013, at 3:22 PM, Hamster <teunham@hotmail.com> wrote:
From an administrator-point-of-view, to keep the SQL database as small as possible, is it possible to purge documents which are older than 3 months old (but keep at least 3 revisions)
Any setting which controls the purging of the database? Or is there a script available?
I found this: http://extensions.xwiki.org/xwiki/bin/view/Extension/Remove+Document+History Thanks -Vincent Ps: Next time don't hesitate to check yourself on extensions.xwiki.org ;)
BTW note that removing history is not recommended… A wiki is made to suport large histories. Removing history is anti wiki IMO. If you have performance issues, it would be good to know what's your problem. maybe you're missing indexes? Thanks -Vincent On Jun 7, 2013, at 3:34 PM, Vincent Massol <vincent@massol.net> wrote:
Hi,
On Jun 7, 2013, at 3:22 PM, Hamster <teunham@hotmail.com> wrote:
From an administrator-point-of-view, to keep the SQL database as small as possible, is it possible to purge documents which are older than 3 months old (but keep at least 3 revisions)
Any setting which controls the purging of the database? Or is there a script available?
I found this: http://extensions.xwiki.org/xwiki/bin/view/Extension/Remove+Document+History
Thanks -Vincent
Ps: Next time don't hesitate to check yourself on extensions.xwiki.org ;)
Actualy, I did search the extension first (after looking at the Administration Guide) But if you search for "purge" or "revisions" you will not find the "Remove Document History" :-) Our IT department is concerned that the ammount of revisions on pages/attachments will eventualy slow down the SQL Db. So this is more like a precaution :-) -- View this message in context: http://xwiki.475771.n2.nabble.com/Purge-revision-of-pages-attachments-with-d... Sent from the XWiki- Users mailing list archive at Nabble.com.
participants (2)
-
Hamster -
Vincent Massol