Uploaded image for project: 'translate5'
  1. translate5
  2. TRANSLATE-1322

Improve import performance by disabling metacache update for import termtagging

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • None
    • None
    • TermTagger integration

    Description

      problem

      With implementing the segment metaCache on each segment save the segments metaCache is updated. This update call was very slow for huge tasks. It seems that the whole data is considered instead only the affected segments of one transunit.

      This was improved with TRANSLATE-1310 by changing the UPDATE SQL for single segments.
      An additional improvement is described by this issue: disabling the metaCache update on segment save for tasks in status import. The final update of the metaCache must be done in setTaskToOpen.

      See editor_Models_Segment_MaterializedView::updateSiblingMetaCache

      solution

      • Enable a bulk metacache update like on the import itself, triggered on set task to open
        • single update on each segment must be disabled therefore if task has still state import
           

      Attachments

        Issue Links

          Activity

            People

              marcmittag Marc Mittag [Administrator]
              tlauria Thomas Lauria
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: