On 12/17/2009 02:35 PM, Beutler, Ingo wrote:
Hi,
I have the problem, that the XWIKIRCS table has too many entries.
Is it possible to make it smaller without problems, e.g. by deleting
entries?
Yes, but you won't be able to revert later. You can also reset the
history for specific documents, by visiting:
http://localhost:8080/xwiki/bin/reset/Some/Document
Is there a way to stop the growth of this table, e.g.
disabling the
document history?
You can completely disable the history. The needed configuration should
already be in xwiki.cfg, commented out:
#-# Whether the document versioning feature is activated or not
# xwiki.store.versioning=1
Uncomment the line and change "1" with "0", as in:
xwiki.store.versioning=0
Alternatively, you can write a scheduler task that runs once a week and
resets the history for the documents with at least 50 versions, or
delete all versions older than one month, for example.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/