- Issue created by @nicrodgers
- 🇬🇧United Kingdom nicrodgers Monmouthshire, UK
Here's the output from EXPLAIN'ing that query:
*************************** 1. row *************************** id: 1 select_type: PRIMARY table: node_field_revision partitions: NULL type: ALL possible_keys: PRIMARY key: NULL key_len: NULL ref: NULL rows: 1556908 filtered: 100.00 Extra: Using temporary; Using filesort *************************** 2. row *************************** id: 1 select_type: PRIMARY table: node_revision partitions: NULL type: eq_ref possible_keys: PRIMARY,node_field__revision_uid__target_id key: PRIMARY key_len: 4 ref: drupal8.node_field_revision.vid rows: 1 filtered: 100.00 Extra: Using where *************************** 3. row *************************** id: 1 select_type: PRIMARY table: users_field_data_node_revision partitions: NULL type: ref possible_keys: PRIMARY,user__id__default_langcode__langcode key: PRIMARY key_len: 4 ref: drupal8.node_revision.revision_uid rows: 1 filtered: 100.00 Extra: Using index *************************** 4. row *************************** id: 1 select_type: PRIMARY table: node_field_data_node_field_revision partitions: NULL type: eq_ref possible_keys: PRIMARY,node__id__default_langcode__langcode key: PRIMARY key_len: 18 ref: drupal8.node_field_revision.nid,drupal8.node_field_revision.langcode rows: 1 filtered: 100.00 Extra: Using where; Using index *************************** 5. row *************************** id: 1 select_type: PRIMARY table: node_field_revision2 partitions: NULL type: ref possible_keys: PRIMARY,node__id__default_langcode__langcode key: node__id__default_langcode__langcode key_len: 4 ref: drupal8.node_field_revision.nid rows: 40 filtered: 100.00 Extra: Using where; Not exists; Using index; Distinct *************************** 6. row *************************** id: 2 select_type: DEPENDENT SUBQUERY table: na partitions: NULL type: ref possible_keys: PRIMARY key: PRIMARY key_len: 4 ref: drupal8.node_field_data_node_field_revision.nid rows: 2 filtered: 2.41 Extra: Using where 6 rows in set, 2 warnings (0.00 sec)
- heddn Nicaragua
I'm seeing drastic performance issues from this module as well. What is more, because it uses node grants,
NodeAccessGrantsCacheContext
marks all nodes as non-cacheable. So bad and worse because we can't even cache away the bad performance. - 🇩🇪Germany szeidler Berlin
We are experiencing the same issue after start using the module.