Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This is triggered by hook_entity_load() so runs a lot.
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE et range PRIMARY,revision_id PRIMARY 390 1655 Using where; Using filesort
Comment | File | Size | Author |
---|---|---|---|
#1 | entity_translation_2458393.patch | 565 bytes | catch |
Comments
Comment #1
catchTried a couple of indexes but neither actually gets rid of the filesort. Then I thought about it and checked with plach, and we could just remove the ORDER BY instead.
Comment #2
plachLooks good to me, please RTBC when tested enough.
Comment #3
douggreen CreditAttribution: douggreen commentedComment #4
plachCommitted and pushed, thanks.
Comment #6
plach