Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
This module adds a condition on the node-id as well as the revision-id when joining the node_revision table with the field_* tables. This can make MySQL utilize the compound primary key better.