Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-3846

Remove solr optimize (-o) commands from "Scheduled Tasks via Cron" page

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      2
    • Documentation Status:
      Needed

      Description

      As also discussed in the comments of:

      https://wiki.duraspace.org/display/DSDOC6x/Scheduled+Tasks+via+Cron 

      Optimize (-o) shouldn't be executed on a regular (& automated basis). 

      In a larger DSpace instance, executing optimize on a larger SOLR core, while your DSpace is serving production traffic, can lead to downtime. Optimize puts the core in read-only, so accumulating stats or edit requests potentially keep DB connections open and might exhaust your DB pool while optimize is running.

      Optimize also has a substantial disk space impact: when optimize is running you temporarily need 2x the space of your SOLR core, as the optimized one is being built as a duplicate. Until the new one is completely finished, the old one stays on disk, hence you're in the situation where you temporarily need twice the disk space.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              bram Bram Luyten (Atmire)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: