Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-6523

Tune DocumentNodeStore setup for indexing flow for index command

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.7.6, 1.8.0
    • run
    • None

    Description

      Currently oak-run index command uses default DocumentNodeStore setup for all actions. It would be better if we can tune the DocumentNodeStore for specific actions.

      For e.g. for read only indexing phase we should configure

      1. Persistent cache for previous documents and disable it for nodes and children
         -Doak.documentMK.persCache="temp/cache,size=4096,binary=0,-nodes,-children"
        
      2. Configure cache size to some percentage of allocated heap. To start with say 50%

      Any such tuning should only be done if it is not done explicitly i.e. it should be possible to override such settings

      Attachments

        Activity

          People

            chetanm Chetan Mehrotra
            chetanm Chetan Mehrotra
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: