Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-8918

MBImport unnecessarily runs an expensive query

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • Database setup
    • None
    • House

      After importing, MBImport tries to make sure there are entries in the editor table for all editors referenced elsewhere. This is a very slow process (took 25 minutes on rika). Sensibly, MBImport first checks whether the editor table has been imported during this run, in which case the step is skipped.

      Unfortunately, the hash for imported tables stores the names of the files, not of the tables; in the case of editor_sanitized and editor, they differ, and so the expensive step is run even when editor_sanitized has been imported.

            Unassigned Unassigned
            chirlu Ulrich Klauer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:

                Version Package