Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-22613

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Critical
    • None
    • 14.10.21
    • Old Core
    • None
    • Unknown

    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.

      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).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tmortagne Thomas Mortagne
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: