There is 1 update.
 
 
XWiki Platform / cid:jira-generated-image-avatar-6e242432-786b-446d-b8e6-16f232d51dbd XWIKI-22613 Open

Updating the history can take a very long time when there are a lot of objects

 
View issue   ยท   Add comment
 

1 update

 
cid:jira-generated-image-avatar-48bdddfd-373c-4b58-b757-e474ce0d5e57 Changes by Thomas Mortagne on 08/Nov/24 14:37
 
Description: Saving a document with 10000 xobject can easily take 30s and most of it is spent updating the history, and more precisely creating the diff (see XWIKI-21680) .

One idea from [~MichaelHamann] would be to simply stop storing diffs, that would make history update/loading a lot faster and simpler and might not take more space if stored compressed. It would also help get rid of the long dead JRCS eventually.

Setting "xwiki.store.rcs.nodesPerFull" property to {{1}} in xwiki.cfg might help as it tells XWiki that each version should be a complete version, so it will never try to create a diff. However it means the history will take much more room in the database, but never more than 5 times the current room (since the default is to store a complete diff every 5 version currently).