Add index about destination IDs

Created on 17 September 2023, over 1 year ago
Updated 18 September 2023, over 1 year ago

Problem/Motivation

Rolling back items in migrations with lot of records can be extremely slow because migrate map tables do not have any index for their destination IDs. For example in my case, with migrations about 200k items, only deleting the corresponding record from the migrate map table takes up to 3 second.

Proposed resolution

Just like in case of source IDs, add index to destination IDs too in the migrate map table.

✨ Feature request
Status

Fixed

Version

1.2

Component

Code

Created by

πŸ‡­πŸ‡ΊHungary huzooka Hungary πŸ‡­πŸ‡ΊπŸ‡ͺπŸ‡Ί

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024