Page MenuHomePhabricator
Paste P13051

MDEV-21813
ActivePublic

Authored by Marostegui on Oct 22 2020, 11:21 AM.
Tags
None
Referenced Files
F32410896: MDEV-21813
Oct 22 2020, 11:21 AM
Subscribers
None
This is the complete optimizer trace:
{code}
*************************** 1. row ***************************
QUERY: SELECT rc_id, rc_timestamp, rc_namespace, rc_title, rc_minor, rc_bot, rc_new, rc_cur_id, rc_this_oldid, rc_last_oldid, rc_type, rc_source, rc_patrolled, rc_ip, rc_old_len, rc_new_len, rc_deleted, rc_logid, rc_log_type, rc_log_action, rc_params, comment_rc_comment.comment_text AS `rc_comment_text`, comment_rc_comment.comment_data AS `rc_comment_data`, comment_rc_comment.comment_id AS `rc_comment_cid`, actor_rc_user.actor_user AS `rc_user`, actor_rc_user.actor_name AS `rc_user_text`, rc_actor, wl_user, wl_notificationtimestamp, page_latest, (SELECT GROUP_CONCAT(ctd_name SEPARATOR ', ') FROM `change_tag` JOIN `change_tag_def` ON ((ct_tag_id=ctd_id)) WHERE ct_rc_id=rc_id ) AS `ts_tags`, fp_stable, fp_pending_since, ores_damaging_cls.oresc_probability AS `ores_damaging_score`, ores_goodfaith_cls.oresc_probability AS `ores_goodfaith_score` FROM `recentchanges` JOIN `actor` `actor_rc_user` ON ((actor_rc_user.actor_id = rc_actor)) LEFT JOIN `user` ON ((actor_rc_user.actor_user = user_id)) JOIN `comment` `comment_rc_comment` ON ((comment_rc_comment.comment_id = rc_comment_id)) LEFT JOIN `watchlist` ON (wl_user = REDACTED AND (wl_title=rc_title) AND (wl_namespace=rc_namespace)) LEFT JOIN `page` ON ((rc_cur_id=page_id)) LEFT JOIN `flaggedpages` ON ((fp_page_id = rc_cur_id)) LEFT JOIN `ores_classification` `ores_damaging_cls` ON (ores_damaging_cls.oresc_model = 37 AND (ores_damaging_cls.oresc_rev=rc_this_oldid) AND ores_damaging_cls.oresc_class = 1) LEFT JOIN `ores_classification` `ores_goodfaith_cls` ON (ores_goodfaith_cls.oresc_model = 38 AND (ores_goodfaith_cls.oresc_rev=rc_this_oldid) AND ores_goodfaith_cls.oresc_class = 1) WHERE ((actor_rc_user.actor_user IS NULL) OR (NOT ( (user_editcount >= 10) AND (user_registration <= '20200220144929') ))) AND rc_bot = 0 AND ((rc_this_oldid = page_latest) OR rc_type = 3) AND (rc_type != 6) AND (rc_source != 'wb') AND (rc_namespace IN ('6', '7')) AND (rc_timestamp >= '20200224144839') AND rc_new IN (0, 1) ORDER BY rc_timestamp DESC LIMIT 500
TRACE: {
"steps": [
{
"join_preparation": {
"select_id": 1,
"steps": [
{
"join_preparation": {
"select_id": 2,
"steps": [
{
"expanded_query": "/* select#2 */ select group_concat(change_tag_def.ctd_name separator ', ') from (change_tag join change_tag_def on(change_tag.ct_tag_id = change_tag_def.ctd_id)) where change_tag.ct_rc_id = recentchanges.rc_id"
}
]
}
},
{
"expanded_query": "/* select#1 */ select recentchanges.rc_id AS rc_id,recentchanges.rc_timestamp AS rc_timestamp,recentchanges.rc_namespace AS rc_namespace,recentchanges.rc_title AS rc_title,recentchanges.rc_minor AS rc_minor,recentchanges.rc_bot AS rc_bot,recentchanges.rc_new AS rc_new,recentchanges.rc_cur_id AS rc_cur_id,recentchanges.rc_this_oldid AS rc_this_oldid,recentchanges.rc_last_oldid AS rc_last_oldid,recentchanges.rc_type AS rc_type,recentchanges.rc_source AS rc_source,recentchanges.rc_patrolled AS rc_patrolled,recentchanges.rc_ip AS rc_ip,recentchanges.rc_old_len AS rc_old_len,recentchanges.rc_new_len AS rc_new_len,recentchanges.rc_deleted AS rc_deleted,recentchanges.rc_logid AS rc_logid,recentchanges.rc_log_type AS rc_log_type,recentchanges.rc_log_action AS rc_log_action,recentchanges.rc_params AS rc_params,comment_rc_comment.comment_text AS rc_comment_text,comment_rc_comment.comment_data AS rc_comment_data,comment_rc_comment.comment_id AS rc_comment_cid,actor_rc_user.actor_user AS rc_user,actor_rc_user.actor_name AS rc_user_text,recentchanges.rc_actor AS rc_actor,watchlist.wl_user AS wl_user,watchlist.wl_notificationtimestamp AS wl_notificationtimestamp,`page`.page_latest AS page_latest,(/* select#2 */ select group_concat(change_tag_def.ctd_name separator ', ') from (change_tag join change_tag_def on(change_tag.ct_tag_id = change_tag_def.ctd_id)) where change_tag.ct_rc_id = recentchanges.rc_id) AS ts_tags,flaggedpages.fp_stable AS fp_stable,flaggedpages.fp_pending_since AS fp_pending_since,ores_damaging_cls.oresc_probability AS ores_damaging_score,ores_goodfaith_cls.oresc_probability AS ores_goodfaith_score from ((((((((recentchanges join actor actor_rc_user on(actor_rc_user.actor_id = recentchanges.rc_actor)) left join `user` on(actor_rc_user.actor_user = `user`.user_id)) join `comment` comment_rc_comment on(comment_rc_comment.comment_id = recentchanges.rc_comment_id)) left join watchlist on(watchlist.wl_user = REDACTED and watchlist.wl_title = recentchanges.rc_title and watchlist.wl_namespace = recentchanges.rc_namespace)) left join `page` on(recentchanges.rc_cur_id = `page`.page_id)) left join flaggedpages on(flaggedpages.fp_page_id = recentchanges.rc_cur_id)) left join ores_classification ores_damaging_cls on(ores_damaging_cls.oresc_model = 37 and ores_damaging_cls.oresc_rev = recentchanges.rc_this_oldid and ores_damaging_cls.oresc_class = 1)) left join ores_classification ores_goodfaith_cls on(ores_goodfaith_cls.oresc_model = 38 and ores_goodfaith_cls.oresc_rev = recentchanges.rc_this_oldid and ores_goodfaith_cls.oresc_class = 1)) where (actor_rc_user.actor_user is null or `user`.user_editcount < 10 or `user`.user_registration > '20200220144929') and recentchanges.rc_bot = 0 and (recentchanges.rc_this_oldid = `page`.page_latest or recentchanges.rc_type = 3) and recentchanges.rc_type <> 6 and recentchanges.rc_source <> 'wb' and recentchanges.rc_namespace in ('6','7') and recentchanges.rc_timestamp >= '20200224144839' and recentchanges.rc_new in (0,1) order by recentchanges.rc_timestamp desc limit 500"
}
]
}
},
{
"join_optimization": {
"select_id": 1,
"steps": [
{
"condition_processing": {
"condition": "WHERE",
"original_condition": "(actor_rc_user.actor_user is null or `user`.user_editcount < 10 or `user`.user_registration > '20200220144929') and recentchanges.rc_bot = 0 and (recentchanges.rc_this_oldid = `page`.page_latest or recentchanges.rc_type = 3) and recentchanges.rc_type <> 6 and recentchanges.rc_source <> 'wb' and recentchanges.rc_namespace in ('6','7') and recentchanges.rc_timestamp >= '20200224144839' and recentchanges.rc_new in (0,1) and comment_rc_comment.comment_id = recentchanges.rc_comment_id and actor_rc_user.actor_id = recentchanges.rc_actor",
"steps": [
{
"transformation": "equality_propagation",
"resulting_condition": "(actor_rc_user.actor_user is null or `user`.user_editcount < 10 or `user`.user_registration > '20200220144929') and (multiple equal(recentchanges.rc_this_oldid, `page`.page_latest) or multiple equal(3, recentchanges.rc_type)) and recentchanges.rc_type <> 6 and recentchanges.rc_source <> 'wb' and recentchanges.rc_namespace in ('6','7') and recentchanges.rc_timestamp >= '20200224144839' and recentchanges.rc_new in (0,1) and multiple equal(0, recentchanges.rc_bot) and multiple equal(comment_rc_comment.comment_id, recentchanges.rc_comment_id) and multiple equal(actor_rc_user.actor_id, recentchanges.rc_actor)"
},
{
"transformation": "constant_propagation",
"resulting_condition": "(actor_rc_user.actor_user is null or `user`.user_editcount < 10 or `user`.user_registration > '20200220144929') and (multiple equal(recentchanges.rc_this_oldid, `page`.page_latest) or multiple equal(3, recentchanges.rc_type)) and recentchanges.rc_type <> 6 and recentchanges.rc_source <> 'wb' and recentchanges.rc_namespace in ('6','7') and recentchanges.rc_timestamp >= '20200224144839' and recentchanges.rc_new in (0,1) and multiple equal(0, recentchanges.rc_bot) and multiple equal(comment_rc_comment.comment_id, recentchanges.rc_comment_id) and multiple equal(actor_rc_user.actor_id, recentchanges.rc_actor)"
},
{
"transformation": "trivial_condition_removal",
"resulting_condition": "(actor_rc_user.actor_user is null or `user`.user_editcount < 10 or `user`.user_registration > '20200220144929') and (multiple equal(recentchanges.rc_this_oldid, `page`.page_latest) or multiple equal(3, recentchanges.rc_type)) and recentchanges.rc_type <> 6 and recentchanges.rc_source <> 'wb' and recentchanges.rc_namespace in ('6','7') and recentchanges.rc_timestamp >= '20200224144839' and recentchanges.rc_new in (0,1) and multiple equal(0, recentchanges.rc_bot) and multiple equal(comment_rc_comment.comment_id, recentchanges.rc_comment_id) and multiple equal(actor_rc_user.actor_id, recentchanges.rc_actor)"
}
]
}
},
{
"table_dependencies": [
{
"table": "recentchanges",
"row_may_be_null": false,
"map_bit": 0,
"depends_on_map_bits": []
},
{
"table": "actor_rc_user",
"row_may_be_null": false,
"map_bit": 1,
"depends_on_map_bits": []
},
{
"table": "user",
"row_may_be_null": true,
"map_bit": 2,
"depends_on_map_bits": ["1"]
},
{
"table": "comment_rc_comment",
"row_may_be_null": false,
"map_bit": 3,
"depends_on_map_bits": []
},
{
"table": "watchlist",
"row_may_be_null": true,
"map_bit": 4,
"depends_on_map_bits": ["0"]
},
{
"table": "page",
"row_may_be_null": true,
"map_bit": 5,
"depends_on_map_bits": ["0", "4"]
},
{
"table": "flaggedpages",
"row_may_be_null": true,
"map_bit": 6,
"depends_on_map_bits": ["0", "4", "5"]
},
{
"table": "ores_damaging_cls",
"row_may_be_null": true,
"map_bit": 7,
"depends_on_map_bits": ["0", "4", "5", "6"]
},
{
"table": "ores_goodfaith_cls",
"row_may_be_null": true,
"map_bit": 8,
"depends_on_map_bits": ["0", "4", "5", "6", "7"]
}
]
},
{
"ref_optimizer_key_uses": [
{
"table": "recentchanges",
"field": "rc_actor",
"equals": "actor_rc_user.actor_id",
"null_rejecting": false
},
{
"table": "recentchanges",
"field": "rc_bot",
"equals": "0",
"null_rejecting": false
},
{
"table": "recentchanges",
"field": "rc_actor",
"equals": "actor_rc_user.actor_id",
"null_rejecting": false
},
{
"table": "recentchanges",
"field": "rc_comment_id",
"equals": "comment_rc_comment.comment_id",
"null_rejecting": false
},
{
"table": "actor_rc_user",
"field": "actor_id",
"equals": "recentchanges.rc_actor",
"null_rejecting": false
},
{
"table": "actor_rc_user",
"field": "actor_id",
"equals": "recentchanges.rc_actor",
"null_rejecting": false
},
{
"table": "user",
"field": "user_id",
"equals": "actor_rc_user.actor_user",
"null_rejecting": true
},
{
"table": "user",
"field": "user_id",
"equals": "actor_rc_user.actor_user",
"null_rejecting": true
},
{
"table": "comment_rc_comment",
"field": "comment_id",
"equals": "recentchanges.rc_comment_id",
"null_rejecting": false
},
{
"table": "comment_rc_comment",
"field": "comment_id",
"equals": "recentchanges.rc_comment_id",
"null_rejecting": false
},
{
"table": "watchlist",
"field": "wl_user",
"equals": "REDACTED",
"null_rejecting": false
},
{
"table": "watchlist",
"field": "wl_namespace",
"equals": "recentchanges.rc_namespace",
"null_rejecting": false
},
{
"table": "watchlist",
"field": "wl_title",
"equals": "recentchanges.rc_title",
"null_rejecting": false
},
{
"table": "watchlist",
"field": "wl_namespace",
"equals": "recentchanges.rc_namespace",
"null_rejecting": false
},
{
"table": "watchlist",
"field": "wl_title",
"equals": "recentchanges.rc_title",
"null_rejecting": false
},
{
"table": "watchlist",
"field": "wl_user",
"equals": "REDACTED",
"null_rejecting": false
},
{
"table": "watchlist",
"field": "wl_namespace",
"equals": "recentchanges.rc_namespace",
"null_rejecting": false
},
{
"table": "watchlist",
"field": "wl_title",
"equals": "recentchanges.rc_title",
"null_rejecting": false
},
{
"table": "page",
"field": "page_id",
"equals": "recentchanges.rc_cur_id",
"null_rejecting": false
},
{
"table": "page",
"field": "page_id",
"equals": "recentchanges.rc_cur_id",
"null_rejecting": false
},
{
"table": "flaggedpages",
"field": "fp_page_id",
"equals": "recentchanges.rc_cur_id",
"null_rejecting": false
},
{
"table": "flaggedpages",
"field": "fp_page_id",
"equals": "recentchanges.rc_cur_id",
"null_rejecting": false
},
{
"table": "ores_damaging_cls",
"field": "oresc_rev",
"equals": "recentchanges.rc_this_oldid",
"null_rejecting": false
},
{
"table": "ores_damaging_cls",
"field": "oresc_model",
"equals": "37",
"null_rejecting": false
},
{
"table": "ores_damaging_cls",
"field": "oresc_class",
"equals": "1",
"null_rejecting": false
},
{
"table": "ores_damaging_cls",
"field": "oresc_rev",
"equals": "recentchanges.rc_this_oldid",
"null_rejecting": false
},
{
"table": "ores_goodfaith_cls",
"field": "oresc_rev",
"equals": "recentchanges.rc_this_oldid",
"null_rejecting": false
},
{
"table": "ores_goodfaith_cls",
"field": "oresc_model",
"equals": "38",
"null_rejecting": false
},
{
"table": "ores_goodfaith_cls",
"field": "oresc_class",
"equals": "1",
"null_rejecting": false
},
{
"table": "ores_goodfaith_cls",
"field": "oresc_rev",
"equals": "recentchanges.rc_this_oldid",
"null_rejecting": false
}
]
},
{
"eliminated_tables": []
},
{
"rows_estimation": [
{
"table": "recentchanges",
"range_analysis": {
"table_scan": {
"rows": 9691377,
"cost": 2.11e6
},
"potential_range_indexes": [
{
"index": "PRIMARY",
"usable": false,
"cause": "not applicable"
},
{
"index": "rc_timestamp",
"usable": true,
"key_parts": ["rc_timestamp", "rc_id"]
},
{
"index": "rc_cur_id",
"usable": false,
"cause": "not applicable"
},
{
"index": "new_name_timestamp",
"usable": true,
"key_parts": [
"rc_new",
"rc_namespace",
"rc_timestamp",
"rc_id"
]
},
{
"index": "rc_ip",
"usable": false,
"cause": "not applicable"
},
{
"index": "rc_name_type_patrolled_timestamp",
"usable": true,
"key_parts": [
"rc_namespace",
"rc_type",
"rc_patrolled",
"rc_timestamp",
"rc_id"
]
},
{
"index": "rc_namespace_title_timestamp",
"usable": true,
"key_parts": [
"rc_namespace",
"rc_title",
"rc_timestamp",
"rc_id"
]
},
{
"index": "rc_ns_actor",
"usable": true,
"key_parts": ["rc_namespace", "rc_actor", "rc_id"]
},
{
"index": "rc_actor",
"usable": false,
"cause": "not applicable"
},
{
"index": "rc_this_oldid",
"usable": false,
"cause": "not applicable"
},
{
"index": "tmp_2",
"usable": true,
"key_parts": ["rc_bot", "rc_timestamp", "rc_id"]
},
{
"index": "tmp_3",
"usable": true,
"key_parts": ["rc_namespace", "rc_timestamp", "rc_id"]
}
],
"setup_range_conditions": [],
"group_index_range": {
"chosen": false,
"cause": "not single_table"
},
"analyzing_range_alternatives": {
"range_scan_alternatives": [
{
"index": "rc_timestamp",
"ranges": ["(20200224144839) <= (rc_timestamp)"],
"rowid_ordered": false,
"using_mrr": true,
"index_only": false,
"rows": 4845688,
"cost": 5.2e6,
"chosen": false,
"cause": "cost"
},
{
"index": "new_name_timestamp",
"ranges": [
"(0,6,20200224144839) <= (rc_new,rc_namespace,rc_timestamp) <= (0,6)",
"(0,7,20200224144839) <= (rc_new,rc_namespace,rc_timestamp) <= (0,7)",
"(1,6,20200224144839) <= (rc_new,rc_namespace,rc_timestamp) <= (1,6)",
"(1,7,20200224144839) <= (rc_new,rc_namespace,rc_timestamp) <= (1,7)"
],
"rowid_ordered": false,
"using_mrr": false,
"index_only": false,
"rows": 149237,
"cost": 186899,
"chosen": true
},
{
"index": "rc_name_type_patrolled_timestamp",
"ranges": [
"(6) <= (rc_namespace,rc_type) < (6,6)",
"(6,6) < (rc_namespace,rc_type) <= (6)",
"(7) <= (rc_namespace,rc_type) < (7,6)",
"(7,6) < (rc_namespace,rc_type) <= (7)"
],
"rowid_ordered": false,
"using_mrr": false,
"index_only": false,
"rows": 130655,
"cost": 163640,
"chosen": true
},
{
"index": "rc_namespace_title_timestamp",
"ranges": [
"(6) <= (rc_namespace) <= (6)",
"(7) <= (rc_namespace) <= (7)"
],
"rowid_ordered": false,
"using_mrr": false,
"index_only": false,
"rows": 154496,
"cost": 197163,
"chosen": false,
"cause": "cost"
},
{
"index": "rc_ns_actor",
"ranges": [
"(6) <= (rc_namespace) <= (6)",
"(7) <= (rc_namespace) <= (7)"
],
"rowid_ordered": false,
"using_mrr": false,
"index_only": false,
"rows": 167353,
"cost": 209442,
"chosen": false,
"cause": "cost"
},
{
"index": "tmp_2",
"ranges": [
"(0,20200224144839) <= (rc_bot,rc_timestamp) <= (0)"
],
"rowid_ordered": false,
"using_mrr": true,
"index_only": false,
"rows": 4845688,
"cost": 5.2e6,
"chosen": false,
"cause": "cost"
},
{
"index": "tmp_3",
"ranges": [
"(6,20200224144839) <= (rc_namespace,rc_timestamp) <= (6)",
"(7,20200224144839) <= (rc_namespace,rc_timestamp) <= (7)"
],
"rowid_ordered": false,
"using_mrr": false,
"index_only": false,
"rows": 141783,
"cost": 177548,
"chosen": false,
"cause": "cost"
}
],
"analyzing_roworder_intersect": {
"cause": "too few roworder scans"
},
"analyzing_index_merge_union": []
},
"chosen_range_access_summary": {
"range_access_plan": {
"type": "range_scan",
"index": "rc_name_type_patrolled_timestamp",
"rows": 130655,
"ranges": [
"(6) <= (rc_namespace,rc_type) < (6,6)",
"(6,6) < (rc_namespace,rc_type) <= (6)",
"(7) <= (rc_namespace,rc_type) < (7,6)",
"(7,6) < (rc_namespace,rc_type) <= (7)"
]
},
"rows_for_plan": 130655,
"cost_for_plan": 163640,
"chosen": true
}
}
},
{
"selectivity_for_indexes": [
{
"index_name": "new_name_timestamp",
"selectivity_from_index": 0.0154
},
{
"index_name": "tmp_2",
"selectivity_from_index": 0.5,
"selectivity_multiplier": 9247
}
],
"selectivity_for_columns": [],
"cond_selectivity": 71.197
},
{
"table": "actor_rc_user",
"range_analysis": {
"table_scan": {
"rows": 82209654,
"cost": 1.67e7
},
"potential_range_indexes": [
{
"index": "PRIMARY",
"usable": false,
"cause": "not applicable"
},
{
"index": "actor_name",
"usable": false,
"cause": "not applicable"
},
{
"index": "actor_user",
"usable": true,
"key_parts": ["actor_user"]
}
],
"setup_range_conditions": [],
"group_index_range": {
"chosen": false,
"cause": "not single_table"
}
}
},
{
"selectivity_for_indexes": [],
"selectivity_for_columns": [],
"cond_selectivity": 1
},
{
"table": "user",
"table_scan": {
"rows": 42798206,
"cost": 556470
}
},
{
"table": "comment_rc_comment",
"table_scan": {
"rows": 238258605,
"cost": 2.17e6
}
},
{
"table": "watchlist",
"range_analysis": {
"table_scan": {
"rows": 200369019,
"cost": 4.11e7
},
"potential_range_indexes": [
{
"index": "PRIMARY",
"usable": false,
"cause": "not applicable"
},
{
"index": "wl_user",
"usable": true,
"key_parts": ["wl_user", "wl_namespace", "wl_title"]
},
{
"index": "namespace_title",
"usable": false,
"cause": "not applicable"
},
{
"index": "wl_user_notificationtimestamp",
"usable": true,
"key_parts": ["wl_user", "wl_notificationtimestamp", "wl_id"]
}
],
"setup_range_conditions": [],
"group_index_range": {
"chosen": false,
"cause": "not single_table"
},
"analyzing_range_alternatives": {
"range_scan_alternatives": [
{
"index": "wl_user",
"ranges": ["(REDACTED) <= (wl_user) <= (REDACTED)"],
"rowid_ordered": false,
"using_mrr": false,
"index_only": false,
"rows": 852,
"cost": 1086.9,
"chosen": true
},
{
"index": "wl_user_notificationtimestamp",
"ranges": ["(REDACTED) <= (wl_user) <= (REDACTED)"],
"rowid_ordered": false,
"using_mrr": false,
"index_only": false,
"rows": 852,
"cost": 1067.4,
"chosen": true
}
],
"analyzing_roworder_intersect": {
"cause": "too few roworder scans"
},
"analyzing_index_merge_union": []
},
"chosen_range_access_summary": {
"range_access_plan": {
"type": "range_scan",
"index": "wl_user_notificationtimestamp",
"rows": 852,
"ranges": ["(REDACTED) <= (wl_user) <= (REDACTED)"]
},
"rows_for_plan": 852,
"cost_for_plan": 1067.4,
"chosen": true
}
}
},
{
"selectivity_for_indexes": [
{
"index_name": "wl_user",
"selectivity_from_index": 4.3e-6
}
],
"selectivity_for_columns": [],
"cond_selectivity": 4.3e-6
},
{
"table": "page",
"table_scan": {
"rows": 58356741,
"cost": 541374
}
},
{
"table": "flaggedpages",
"table_scan": {
"rows": 3994,
"cost": 20
}
},
{
"selectivity_for_indexes": [],
"selectivity_for_columns": [],
"cond_selectivity": 1
},
{
"table": "ores_damaging_cls",
"table_scan": {
"rows": 31946381,
"cost": 143553
}
},
{
"selectivity_for_indexes": [],
"selectivity_for_columns": [],
"cond_selectivity": 1
},
{
"table": "ores_goodfaith_cls",
"table_scan": {
"rows": 31946381,
"cost": 143553
}
}
]
},
{
"considered_execution_plans": [
{
"plan_prefix": [],
"table": "recentchanges",
"best_access_path": {
"considered_access_paths": [
{
"access_type": "ref",
"index": "tmp_2",
"used_range_estimates": true,
"rows": 4.85e6,
"cost": 527236,
"chosen": true
},
{
"access_type": "range",
"resulting_rows": 6.9e8,
"cost": 2e308,
"chosen": false
}
],
"chosen_access_method": {
"type": "ref",
"records": 4.85e6,
"cost": 527236,
"uses_join_buffering": false
}
},
"rows_for_plan": 4.85e6,
"cost_for_plan": 1.5e6,
"selectivity": 0.0154,
"rest_of_plan": [
{
"plan_prefix": ["recentchanges"],
"table": "watchlist",
"best_access_path": {
"considered_access_paths": [
{
"access_type": "eq_ref",
"index": "wl_user",
"rows": 1,
"cost": 74618,
"chosen": true
},
{
"access_type": "ref",
"index": "namespace_title",
"rows": 4,
"cost": 373092,
"chosen": false,
"cause": "cost"
},
{
"access_type": "ref",
"index": "wl_user_notificationtimestamp",
"used_range_estimates": true,
"rows": 852,
"cost": 6.36e7,
"chosen": false,
"cause": "cost"
},
{
"access_type": "range",
"resulting_rows": 852,
"cost": 7.96e7,
"chosen": false
}
],
"chosen_access_method": {
"type": "eq_ref",
"records": 1,
"cost": 74618,
"uses_join_buffering": false
}
},
"rows_for_plan": 74618,
"cost_for_plan": 1.59e6,
"rest_of_plan": [
{
"plan_prefix": ["recentchanges", "watchlist"],
"table": "actor_rc_user",
"best_access_path": {
"considered_access_paths": [
{
"access_type": "eq_ref",
"index": "PRIMARY",
"rows": 1,
"cost": 74618,
"chosen": true
},
{
"type": "scan",
"chosen": false,
"cause": "cost"
}
],
"chosen_access_method": {
"type": "eq_ref",
"records": 1,
"cost": 74618,
"uses_join_buffering": false
}
},
"rows_for_plan": 74618,
"cost_for_plan": 1.68e6,
"rest_of_plan": [
{
"plan_prefix": [
"recentchanges",
"watchlist",
"actor_rc_user"
],
"table": "user",
"best_access_path": {
"considered_access_paths": [
{
"access_type": "eq_ref",
"index": "PRIMARY",
"rows": 1,
"cost": 74618,
"chosen": true
},
{
"type": "scan",
"chosen": false,
"cause": "cost"
}
],
"chosen_access_method": {
"type": "eq_ref",
"records": 1,
"cost": 74618,
"uses_join_buffering": false
}
},
"rows_for_plan": 74618,
"cost_for_plan": 1.77e6,
"rest_of_plan": [
{
"plan_prefix": [
"recentchanges",
"watchlist",
"actor_rc_user",
"user"
],
"table": "page",
"best_access_path": {
"considered_access_paths": [
{
"access_type": "eq_ref",
"index": "PRIMARY",
"rows": 1,
"cost": 74618,
"chosen": true
},
{
"type": "scan",
"chosen": false,
"cause": "cost"
}
],
"chosen_access_method": {
"type": "eq_ref",
"records": 1,
"cost": 74618,
"uses_join_buffering": false
}
},
"rows_for_plan": 74618,
"cost_for_plan": 1.85e6,
"rest_of_plan": [
{
"plan_prefix": [
"recentchanges",
"watchlist",
"actor_rc_user",
"user",
"page"
],
"table": "flaggedpages",
"best_access_path": {
"considered_access_paths": [
{
"access_type": "eq_ref",
"index": "PRIMARY",
"rows": 1,
"cost": 74618,
"chosen": true
},
{
"access_type": "scan",
"resulting_rows": 3994,
"cost": 1.49e6,
"chosen": false
}
],
"chosen_access_method": {
"type": "eq_ref",
"records": 1,
"cost": 74618,
"uses_join_buffering": false
}
},
"rows_for_plan": 74618,
"cost_for_plan": 1.94e6,
"rest_of_plan": [
{
"plan_prefix": [
"recentchanges",
"watchlist",
"actor_rc_user",
"user",
"page",
"flaggedpages"
],
"table": "ores_damaging_cls",
"best_access_path": {
"considered_access_paths": [
{
"access_type": "eq_ref",
"index": "oresc_rev_model_class",
"rows": 1,
"cost": 74618,
"chosen": true
},
{
"type": "scan",
"chosen": false,
"cause": "cost"
}
],
"chosen_access_method": {
"type": "eq_ref",
"records": 1,
"cost": 74618,
"uses_join_buffering": false
}
},
"rows_for_plan": 74618,
"cost_for_plan": 2.03e6,
"rest_of_plan": [
{
"plan_prefix": [
"recentchanges",
"watchlist",
"actor_rc_user",
"user",
"page",
"flaggedpages",
"ores_damaging_cls"
],
"table": "ores_goodfaith_cls",
"best_access_path": {
"considered_access_paths": [
{
"access_type": "eq_ref",
"index": "oresc_rev_model_class",
"rows": 1,
"cost": 74618,
"chosen": true
},
{
"type": "scan",
"chosen": false,
"cause": "cost"
}
],
"chosen_access_method": {
"type": "eq_ref",
"records": 1,
"cost": 74618,
"uses_join_buffering": false
}
},
"rows_for_plan": 74618,
"cost_for_plan": 2.12e6,
"rest_of_plan": [
{
"plan_prefix": [
"recentchanges",
"watchlist",
"actor_rc_user",
"user",
"page",
"flaggedpages",
"ores_damaging_cls",
"ores_goodfaith_cls"
],
"table": "comment_rc_comment",
"best_access_path": {
"considered_access_paths": [
{
"access_type": "eq_ref",
"index": "PRIMARY",
"rows": 1,
"cost": 74618,
"chosen": true
},
{
"type": "scan",
"chosen": false,
"cause": "cost"
}
],
"chosen_access_method": {
"type": "eq_ref",
"records": 1,
"cost": 74618,
"uses_join_buffering": false
}
},
"rows_for_plan": 74618,
"cost_for_plan": 2.21e6,
"estimated_join_cardinality": 74618
}
]
},
{
"plan_prefix": [
"recentchanges",
"watchlist",
"actor_rc_user",
"user",
"page",
"flaggedpages",
"ores_damaging_cls"
],
"table": "comment_rc_comment",
"best_access_path": {
"considered_access_paths": [
{
"access_type": "eq_ref",
"index": "PRIMARY",
"rows": 1,
"cost": 74618,
"chosen": true
},
{
"type": "scan",
"chosen": false,
"cause": "cost"
}
],
"chosen_access_method": {
"type": "eq_ref",
"records": 1,
"cost": 74618,
"uses_join_buffering": false
}
},
"rows_for_plan": 74618,
"cost_for_plan": 2.12e6,
"pruned_by_heuristic": true
}
]
},
{
"plan_prefix": [
"recentchanges",
"watchlist",
"actor_rc_user",
"user",
"page",
"flaggedpages"
],
"table": "comment_rc_comment",
"best_access_path": {
"considered_access_paths": [
{
"access_type": "eq_ref",
"index": "PRIMARY",
"rows": 1,
"cost": 74618,
"chosen": true
},
{
"type": "scan",
"chosen": false,
"cause": "cost"
}
],
"chosen_access_method": {
"type": "eq_ref",
"records": 1,
"cost": 74618,
"uses_join_buffering": false
}
},
"rows_for_plan": 74618,
"cost_for_plan": 2.03e6,
"pruned_by_heuristic": true
}
]
},
{
"plan_prefix": [
"recentchanges",
"watchlist",
"actor_rc_user",
"user",
"page"
],
"table": "comment_rc_comment",
"best_access_path": {
"considered_access_paths": [
{
"access_type": "eq_ref",
"index": "PRIMARY",
"rows": 1,
"cost": 74618,
"chosen": true
},
{
"type": "scan",
"chosen": false,
"cause": "cost"
}
],
"chosen_access_method": {
"type": "eq_ref",
"records": 1,
"cost": 74618,
"uses_join_buffering": false
}
},
"rows_for_plan": 74618,
"cost_for_plan": 1.94e6,
"pruned_by_heuristic": true
}
]
},
{
"plan_prefix": [
"recentchanges",
"watchlist",
"actor_rc_user",
"user"
],
"table": "comment_rc_comment",
"best_access_path": {
"considered_access_paths": [
{
"access_type": "eq_ref",
"index": "PRIMARY",
"rows": 1,
"cost": 74618,
"chosen": true
},
{
"type": "scan",
"chosen": false,
"cause": "cost"
}
],
"chosen_access_method": {
"type": "eq_ref",
"records": 1,
"cost": 74618,
"uses_join_buffering": false
}
},
"rows_for_plan": 74618,
"cost_for_plan": 1.85e6,
"pruned_by_heuristic": true
}
]
},
{
"plan_prefix": [
"recentchanges",
"watchlist",
"actor_rc_user"
],
"table": "page",
"best_access_path": {
"considered_access_paths": [
{
"access_type": "eq_ref",
"index": "PRIMARY",
"rows": 1,
"cost": 74618,
"chosen": true
},
{
"type": "scan",
"chosen": false,
"cause": "cost"
}
],
"chosen_access_method": {
"type": "eq_ref",
"records": 1,
"cost": 74618,
"uses_join_buffering": false
}
},
"rows_for_plan": 74618,
"cost_for_plan": 1.77e6,
"pruned_by_heuristic": true
},
{
"plan_prefix": [
"recentchanges",
"watchlist",
"actor_rc_user"
],
"table": "comment_rc_comment",
"best_access_path": {
"considered_access_paths": [
{
"access_type": "eq_ref",
"index": "PRIMARY",
"rows": 1,
"cost": 74618,
"chosen": true
},
{
"type": "scan",
"chosen": false,
"cause": "cost"
}
],
"chosen_access_method": {
"type": "eq_ref",
"records": 1,
"cost": 74618,
"uses_join_buffering": false
}
},
"rows_for_plan": 74618,
"cost_for_plan": 1.77e6,
"pruned_by_heuristic": true
}
]
},
{
"plan_prefix": ["recentchanges", "watchlist"],
"table": "page",
"best_access_path": {
"considered_access_paths": [
{
"access_type": "eq_ref",
"index": "PRIMARY",
"rows": 1,
"cost": 74618,
"chosen": true
},
{
"type": "scan",
"chosen": false,
"cause": "cost"
}
],
"chosen_access_method": {
"type": "eq_ref",
"records": 1,
"cost": 74618,
"uses_join_buffering": false
}
},
"rows_for_plan": 74618,
"cost_for_plan": 1.68e6,
"pruned_by_heuristic": true
},
{
"plan_prefix": ["recentchanges", "watchlist"],
"table": "comment_rc_comment",
"best_access_path": {
"considered_access_paths": [
{
"access_type": "eq_ref",
"index": "PRIMARY",
"rows": 1,
"cost": 74618,
"chosen": true
},
{
"type": "scan",
"chosen": false,
"cause": "cost"
}
],
"chosen_access_method": {
"type": "eq_ref",
"records": 1,
"cost": 74618,
"uses_join_buffering": false
}
},
"rows_for_plan": 74618,
"cost_for_plan": 1.68e6,
"pruned_by_heuristic": true
}
]
},
{
"plan_prefix": ["recentchanges"],
"table": "actor_rc_user",
"best_access_path": {
"considered_access_paths": [
{
"access_type": "eq_ref",
"index": "PRIMARY",
"rows": 1,
"cost": 74618,
"chosen": true
},
{
"type": "scan",
"chosen": false,
"cause": "cost"
}
],
"chosen_access_method": {
"type": "eq_ref",
"records": 1,
"cost": 74618,
"uses_join_buffering": false
}
},
"rows_for_plan": 74618,
"cost_for_plan": 1.59e6,
"pruned_by_heuristic": true
},
{
"plan_prefix": ["recentchanges"],
"table": "comment_rc_comment",
"best_access_path": {
"considered_access_paths": [
{
"access_type": "eq_ref",
"index": "PRIMARY",
"rows": 1,
"cost": 74618,
"chosen": true
},
{
"type": "scan",
"chosen": false,
"cause": "cost"
}
],
"chosen_access_method": {
"type": "eq_ref",
"records": 1,
"cost": 74618,
"uses_join_buffering": false
}
},
"rows_for_plan": 74618,
"cost_for_plan": 1.59e6,
"pruned_by_heuristic": true
}
]
},
{
"plan_prefix": [],
"table": "actor_rc_user",
"best_access_path": {
"considered_access_paths": [
{
"access_type": "scan",
"resulting_rows": 8.22e7,
"cost": 279616,
"chosen": true
}
],
"chosen_access_method": {
"type": "scan",
"records": 8.22e7,
"cost": 279616,
"uses_join_buffering": false
}
},
"rows_for_plan": 8.22e7,
"cost_for_plan": 1.67e7,
"pruned_by_cost": true
},
{
"plan_prefix": [],
"table": "comment_rc_comment",
"best_access_path": {
"considered_access_paths": [
{
"access_type": "scan",
"resulting_rows": 2.38e8,
"cost": 2.17e6,
"chosen": true
}
],
"chosen_access_method": {
"type": "scan",
"records": 2.38e8,
"cost": 2.17e6,
"uses_join_buffering": false
}
},
"rows_for_plan": 2.38e8,
"cost_for_plan": 4.98e7,
"pruned_by_cost": true
}
]
},
{
"best_join_order": [
"recentchanges",
"watchlist",
"actor_rc_user",
"user",
"page",
"flaggedpages",
"ores_damaging_cls",
"ores_goodfaith_cls",
"comment_rc_comment"
]
},
{
"attaching_conditions_to_tables": {
"original_condition": "recentchanges.rc_bot = 0 and comment_rc_comment.comment_id = recentchanges.rc_comment_id and actor_rc_user.actor_id = recentchanges.rc_actor and (actor_rc_user.actor_user is null or `user`.user_editcount < 10 or `user`.user_registration > '20200220144929') and (`page`.page_latest = recentchanges.rc_this_oldid or recentchanges.rc_type = 3) and recentchanges.rc_type <> 6 and recentchanges.rc_source <> 'wb' and recentchanges.rc_namespace in ('6','7') and recentchanges.rc_timestamp >= '20200224144839' and recentchanges.rc_new in (0,1)",
"attached_conditions_computation": [],
"attached_conditions_summary": [
{
"table": "recentchanges",
"attached": "recentchanges.rc_type <> 6 and recentchanges.rc_source <> 'wb' and recentchanges.rc_namespace in ('6','7') and recentchanges.rc_timestamp >= '20200224144839' and recentchanges.rc_new in (0,1)"
},
{
"table": "watchlist",
"attached": null
},
{
"table": "actor_rc_user",
"attached": null
},
{
"table": "user",
"attached": "trigcond(actor_rc_user.actor_user is null or `user`.user_editcount < 10 or `user`.user_registration > '20200220144929') and trigcond(trigcond(actor_rc_user.actor_user is not null))"
},
{
"table": "page",
"attached": "trigcond(`page`.page_latest = recentchanges.rc_this_oldid or recentchanges.rc_type = 3)"
},
{
"table": "flaggedpages",
"attached": null
},
{
"table": "ores_damaging_cls",
"attached": null
},
{
"table": "ores_goodfaith_cls",
"attached": null
},
{
"table": "comment_rc_comment",
"attached": null
}
]
}
},
{
"join_optimization": {
"select_id": 2,
"steps": [
{
"condition_processing": {
"condition": "WHERE",
"original_condition": "change_tag.ct_rc_id = recentchanges.rc_id and change_tag.ct_tag_id = change_tag_def.ctd_id",
"steps": [
{
"transformation": "equality_propagation",
"resulting_condition": "change_tag.ct_rc_id = recentchanges.rc_id and multiple equal(change_tag.ct_tag_id, change_tag_def.ctd_id)"
},
{
"transformation": "constant_propagation",
"resulting_condition": "change_tag.ct_rc_id = recentchanges.rc_id and multiple equal(change_tag.ct_tag_id, change_tag_def.ctd_id)"
},
{
"transformation": "trivial_condition_removal",
"resulting_condition": "change_tag.ct_rc_id = recentchanges.rc_id and multiple equal(change_tag.ct_tag_id, change_tag_def.ctd_id)"
}
]
}
},
{
"table_dependencies": [
{
"table": "change_tag",
"row_may_be_null": false,
"map_bit": 0,
"depends_on_map_bits": []
},
{
"table": "change_tag_def",
"row_may_be_null": false,
"map_bit": 1,
"depends_on_map_bits": []
}
]
},
{
"ref_optimizer_key_uses": [
{
"table": "change_tag",
"field": "ct_rc_id",
"equals": "recentchanges.rc_id",
"null_rejecting": true
},
{
"table": "change_tag",
"field": "ct_tag_id",
"equals": "change_tag_def.ctd_id",
"null_rejecting": false
},
{
"table": "change_tag",
"field": "ct_tag_id",
"equals": "change_tag_def.ctd_id",
"null_rejecting": false
},
{
"table": "change_tag",
"field": "ct_rc_id",
"equals": "recentchanges.rc_id",
"null_rejecting": true
},
{
"table": "change_tag",
"field": "ct_rc_id",
"equals": "recentchanges.rc_id",
"null_rejecting": true
},
{
"table": "change_tag",
"field": "ct_tag_id",
"equals": "change_tag_def.ctd_id",
"null_rejecting": false
},
{
"table": "change_tag_def",
"field": "ctd_id",
"equals": "change_tag.ct_tag_id",
"null_rejecting": false
},
{
"table": "change_tag_def",
"field": "ctd_id",
"equals": "change_tag.ct_tag_id",
"null_rejecting": false
}
]
},
{
"rows_estimation": [
{
"table": "change_tag",
"table_scan": {
"rows": 109348056,
"cost": 293824
}
},
{
"table": "change_tag_def",
"table_scan": {
"rows": 207,
"cost": 1
}
}
]
},
{
"considered_execution_plans": [
{
"plan_prefix": [],
"table": "change_tag_def",
"best_access_path": {
"considered_access_paths": [
{
"access_type": "scan",
"resulting_rows": 207,
"cost": 1,
"chosen": true
}
],
"chosen_access_method": {
"type": "scan",
"records": 207,
"cost": 1,
"uses_join_buffering": false
}
},
"rows_for_plan": 207,
"cost_for_plan": 42.4,
"rest_of_plan": [
{
"plan_prefix": ["change_tag_def"],
"table": "change_tag",
"best_access_path": {
"considered_access_paths": [
{
"access_type": "eq_ref",
"index": "change_tag_rc_tag_id",
"rows": 1,
"cost": 207,
"chosen": true
},
{
"access_type": "ref",
"index": "change_tag_tag_id_id",
"rows": 1,
"cost": 207.06,
"chosen": false,
"cause": "cost"
},
{
"type": "scan",
"chosen": false,
"cause": "cost"
}
],
"chosen_access_method": {
"type": "eq_ref",
"records": 1,
"cost": 207,
"uses_join_buffering": false
}
},
"rows_for_plan": 207,
"cost_for_plan": 290.8,
"estimated_join_cardinality": 207
}
]
},
{
"plan_prefix": [],
"table": "change_tag",
"best_access_path": {
"considered_access_paths": [
{
"access_type": "ref",
"index": "change_tag_rc_tag_id",
"rows": 1,
"cost": 1.0002,
"chosen": true
},
{
"access_type": "ref",
"index": "change_tag_tag_id_id",
"rows": 1,
"cost": 1.2002,
"chosen": false,
"cause": "no predicate for first keypart"
},
{
"type": "scan",
"chosen": false,
"cause": "cost"
}
],
"chosen_access_method": {
"type": "ref",
"records": 1,
"cost": 1.0002,
"uses_join_buffering": false
}
},
"rows_for_plan": 1,
"cost_for_plan": 1.2002,
"rest_of_plan": [
{
"plan_prefix": ["change_tag"],
"table": "change_tag_def",
"best_access_path": {
"considered_access_paths": [
{
"access_type": "eq_ref",
"index": "PRIMARY",
"rows": 1,
"cost": 1,
"chosen": true
},
{
"type": "scan",
"chosen": false,
"cause": "cost"
}
],
"chosen_access_method": {
"type": "eq_ref",
"records": 1,
"cost": 1,
"uses_join_buffering": false
}
},
"rows_for_plan": 1,
"cost_for_plan": 2.4002,
"estimated_join_cardinality": 1
}
]
}
]
},
{
"best_join_order": ["change_tag", "change_tag_def"]
},
{
"attaching_conditions_to_tables": {
"original_condition": "change_tag_def.ctd_id = change_tag.ct_tag_id and change_tag.ct_rc_id = recentchanges.rc_id",
"attached_conditions_computation": [],
"attached_conditions_summary": [
{
"table": "change_tag",
"attached": "change_tag.ct_rc_id = recentchanges.rc_id"
},
{
"table": "change_tag_def",
"attached": null
}
]
}
}
]
}
}
]
}
},
{
"join_execution": {
"select_id": 1,
"steps": [
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
}
]
}
}
]
}
MISSING_BYTES_BEYOND_MAX_MEM_SIZE: 0
INSUFFICIENT_PRIVILEGES: 0
1 row in set (0.005 sec)
{code}
And this is the explain again
{code}
+------+--------------------+--------------------+--------+----------------------------------------------------------------------------------------------------------------------------------------------+-----------------------+---------+-----------------------------------------------------------------------+---------+--------------------------+
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
+------+--------------------+--------------------+--------+----------------------------------------------------------------------------------------------------------------------------------------------+-----------------------+---------+-----------------------------------------------------------------------+---------+--------------------------+
| 1 | PRIMARY | recentchanges | ref | rc_timestamp,new_name_timestamp,rc_name_type_patrolled_timestamp,rc_namespace_title_timestamp,rc_ns_actor,rc_actor,rc_this_oldid,tmp_2,tmp_3 | tmp_2 | 1 | const | 4845459 | Using where |
| 1 | PRIMARY | watchlist | eq_ref | wl_user,namespace_title,wl_user_notificationtimestamp | wl_user | 265 | const,enwiki.recentchanges.rc_namespace,enwiki.recentchanges.rc_title | 1 | |
| 1 | PRIMARY | actor_rc_user | eq_ref | PRIMARY,actor_user | PRIMARY | 8 | enwiki.recentchanges.rc_actor | 1 | |
| 1 | PRIMARY | user | eq_ref | PRIMARY | PRIMARY | 4 | enwiki.actor_rc_user.actor_user | 1 | Using where |
| 1 | PRIMARY | page | eq_ref | PRIMARY | PRIMARY | 4 | enwiki.recentchanges.rc_cur_id | 1 | Using where |
| 1 | PRIMARY | flaggedpages | eq_ref | PRIMARY | PRIMARY | 4 | enwiki.recentchanges.rc_cur_id | 1 | |
| 1 | PRIMARY | ores_damaging_cls | eq_ref | oresc_rev_model_class | oresc_rev_model_class | 7 | enwiki.recentchanges.rc_this_oldid,const,const | 1 | |
| 1 | PRIMARY | ores_goodfaith_cls | eq_ref | oresc_rev_model_class | oresc_rev_model_class | 7 | enwiki.recentchanges.rc_this_oldid,const,const | 1 | |
| 1 | PRIMARY | comment_rc_comment | eq_ref | PRIMARY | PRIMARY | 8 | enwiki.recentchanges.rc_comment_id | 1 | |
| 2 | DEPENDENT SUBQUERY | change_tag | ref | change_tag_rc_tag_id,change_tag_tag_id_id | change_tag_rc_tag_id | 5 | enwiki.recentchanges.rc_id | 1 | Using where; Using index |
| 2 | DEPENDENT SUBQUERY | change_tag_def | eq_ref | PRIMARY | PRIMARY | 4 | enwiki.change_tag.ct_tag_id | 1 | |
+------+--------------------+--------------------+--------+----------------------------------------------------------------------------------------------------------------------------------------------+-----------------------+---------+-----------------------------------------------------------------------+---------+--------------------------+
11 rows in set (0.004 sec)
{code}
This is the trace with the USE INDEX hint:
{code}
*************************** 1. row ***************************
QUERY: SELECT rc_id, rc_timestamp, rc_namespace, rc_title, rc_minor, rc_bot, rc_new, rc_cur_id, rc_this_oldid, rc_last_oldid, rc_type, rc_source, rc_patrolled, rc_ip, rc_old_len, rc_new_len, rc_deleted, rc_logid, rc_log_type, rc_log_action, rc_params, comment_rc_comment.comment_text AS `rc_comment_text`, comment_rc_comment.comment_data AS `rc_comment_data`, comment_rc_comment.comment_id AS `rc_comment_cid`, actor_rc_user.actor_user AS `rc_user`, actor_rc_user.actor_name AS `rc_user_text`, rc_actor, wl_user, wl_notificationtimestamp, page_latest, (SELECT GROUP_CONCAT(ctd_name SEPARATOR ', ') FROM `change_tag` JOIN `change_tag_def` ON ((ct_tag_id=ctd_id)) WHERE ct_rc_id=rc_id ) AS `ts_tags`, fp_stable, fp_pending_since, ores_damaging_cls.oresc_probability AS `ores_damaging_score`, ores_goodfaith_cls.oresc_probability AS `ores_goodfaith_score` FROM `recentchanges` USE INDEX (tmp_3) JOIN `actor` `actor_rc_user` ON ((actor_rc_user.actor_id = rc_actor)) LEFT JOIN `user` ON ((actor_rc_user.actor_user = user_id)) JOIN `comment` `comment_rc_comment` ON ((comment_rc_comment.comment_id = rc_comment_id)) LEFT JOIN `watchlist` ON (wl_user = REDACTED AND (wl_title=rc_title) AND (wl_namespace=rc_namespace)) LEFT JOIN `page` ON ((rc_cur_id=page_id)) LEFT JOIN `flaggedpages` ON ((fp_page_id = rc_cur_id)) LEFT JOIN `ores_classification` `ores_damaging_cls` ON (ores_damaging_cls.oresc_model = 37 AND (ores_damaging_cls.oresc_rev=rc_this_oldid) AND ores_damaging_cls.oresc_class = 1) LEFT JOIN `ores_classification` `ores_goodfaith_cls` ON (ores_goodfaith_cls.oresc_model = 38 AND (ores_goodfaith_cls.oresc_rev=rc_this_oldid) AND ores_goodfaith_cls.oresc_class = 1) WHERE ((actor_rc_user.actor_user IS NULL) OR (NOT ( (user_editcount >= 10) AND (user_registration <= '20200220144929') ))) AND rc_bot = 0 AND ((rc_this_oldid = page_latest) OR rc_type = 3) AND (rc_type != 6) AND (rc_source != 'wb') AND (rc_namespace IN ('6', '7')) AND (rc_timestamp >= '20200224144839') AND rc_new IN (0, 1) ORDER BY rc_timestamp DESC LIMIT 500
TRACE: {
"steps": [
{
"join_preparation": {
"select_id": 1,
"steps": [
{
"join_preparation": {
"select_id": 2,
"steps": [
{
"expanded_query": "/* select#2 */ select group_concat(change_tag_def.ctd_name separator ', ') from (change_tag join change_tag_def on(change_tag.ct_tag_id = change_tag_def.ctd_id)) where change_tag.ct_rc_id = recentchanges.rc_id"
}
]
}
},
{
"expanded_query": "/* select#1 */ select recentchanges.rc_id AS rc_id,recentchanges.rc_timestamp AS rc_timestamp,recentchanges.rc_namespace AS rc_namespace,recentchanges.rc_title AS rc_title,recentchanges.rc_minor AS rc_minor,recentchanges.rc_bot AS rc_bot,recentchanges.rc_new AS rc_new,recentchanges.rc_cur_id AS rc_cur_id,recentchanges.rc_this_oldid AS rc_this_oldid,recentchanges.rc_last_oldid AS rc_last_oldid,recentchanges.rc_type AS rc_type,recentchanges.rc_source AS rc_source,recentchanges.rc_patrolled AS rc_patrolled,recentchanges.rc_ip AS rc_ip,recentchanges.rc_old_len AS rc_old_len,recentchanges.rc_new_len AS rc_new_len,recentchanges.rc_deleted AS rc_deleted,recentchanges.rc_logid AS rc_logid,recentchanges.rc_log_type AS rc_log_type,recentchanges.rc_log_action AS rc_log_action,recentchanges.rc_params AS rc_params,comment_rc_comment.comment_text AS rc_comment_text,comment_rc_comment.comment_data AS rc_comment_data,comment_rc_comment.comment_id AS rc_comment_cid,actor_rc_user.actor_user AS rc_user,actor_rc_user.actor_name AS rc_user_text,recentchanges.rc_actor AS rc_actor,watchlist.wl_user AS wl_user,watchlist.wl_notificationtimestamp AS wl_notificationtimestamp,`page`.page_latest AS page_latest,(/* select#2 */ select group_concat(change_tag_def.ctd_name separator ', ') from (change_tag join change_tag_def on(change_tag.ct_tag_id = change_tag_def.ctd_id)) where change_tag.ct_rc_id = recentchanges.rc_id) AS ts_tags,flaggedpages.fp_stable AS fp_stable,flaggedpages.fp_pending_since AS fp_pending_since,ores_damaging_cls.oresc_probability AS ores_damaging_score,ores_goodfaith_cls.oresc_probability AS ores_goodfaith_score from ((((((((recentchanges USE INDEX (tmp_3) join actor actor_rc_user on(actor_rc_user.actor_id = recentchanges.rc_actor)) left join `user` on(actor_rc_user.actor_user = `user`.user_id)) join `comment` comment_rc_comment on(comment_rc_comment.comment_id = recentchanges.rc_comment_id)) left join watchlist on(watchlist.wl_user = REDACTED and watchlist.wl_title = recentchanges.rc_title and watchlist.wl_namespace = recentchanges.rc_namespace)) left join `page` on(recentchanges.rc_cur_id = `page`.page_id)) left join flaggedpages on(flaggedpages.fp_page_id = recentchanges.rc_cur_id)) left join ores_classification ores_damaging_cls on(ores_damaging_cls.oresc_model = 37 and ores_damaging_cls.oresc_rev = recentchanges.rc_this_oldid and ores_damaging_cls.oresc_class = 1)) left join ores_classification ores_goodfaith_cls on(ores_goodfaith_cls.oresc_model = 38 and ores_goodfaith_cls.oresc_rev = recentchanges.rc_this_oldid and ores_goodfaith_cls.oresc_class = 1)) where (actor_rc_user.actor_user is null or `user`.user_editcount < 10 or `user`.user_registration > '20200220144929') and recentchanges.rc_bot = 0 and (recentchanges.rc_this_oldid = `page`.page_latest or recentchanges.rc_type = 3) and recentchanges.rc_type <> 6 and recentchanges.rc_source <> 'wb' and recentchanges.rc_namespace in ('6','7') and recentchanges.rc_timestamp >= '20200224144839' and recentchanges.rc_new in (0,1) order by recentchanges.rc_timestamp desc limit 500"
}
]
}
},
{
"join_optimization": {
"select_id": 1,
"steps": [
{
"condition_processing": {
"condition": "WHERE",
"original_condition": "(actor_rc_user.actor_user is null or `user`.user_editcount < 10 or `user`.user_registration > '20200220144929') and recentchanges.rc_bot = 0 and (recentchanges.rc_this_oldid = `page`.page_latest or recentchanges.rc_type = 3) and recentchanges.rc_type <> 6 and recentchanges.rc_source <> 'wb' and recentchanges.rc_namespace in ('6','7') and recentchanges.rc_timestamp >= '20200224144839' and recentchanges.rc_new in (0,1) and comment_rc_comment.comment_id = recentchanges.rc_comment_id and actor_rc_user.actor_id = recentchanges.rc_actor",
"steps": [
{
"transformation": "equality_propagation",
"resulting_condition": "(actor_rc_user.actor_user is null or `user`.user_editcount < 10 or `user`.user_registration > '20200220144929') and (multiple equal(recentchanges.rc_this_oldid, `page`.page_latest) or multiple equal(3, recentchanges.rc_type)) and recentchanges.rc_type <> 6 and recentchanges.rc_source <> 'wb' and recentchanges.rc_namespace in ('6','7') and recentchanges.rc_timestamp >= '20200224144839' and recentchanges.rc_new in (0,1) and multiple equal(0, recentchanges.rc_bot) and multiple equal(comment_rc_comment.comment_id, recentchanges.rc_comment_id) and multiple equal(actor_rc_user.actor_id, recentchanges.rc_actor)"
},
{
"transformation": "constant_propagation",
"resulting_condition": "(actor_rc_user.actor_user is null or `user`.user_editcount < 10 or `user`.user_registration > '20200220144929') and (multiple equal(recentchanges.rc_this_oldid, `page`.page_latest) or multiple equal(3, recentchanges.rc_type)) and recentchanges.rc_type <> 6 and recentchanges.rc_source <> 'wb' and recentchanges.rc_namespace in ('6','7') and recentchanges.rc_timestamp >= '20200224144839' and recentchanges.rc_new in (0,1) and multiple equal(0, recentchanges.rc_bot) and multiple equal(comment_rc_comment.comment_id, recentchanges.rc_comment_id) and multiple equal(actor_rc_user.actor_id, recentchanges.rc_actor)"
},
{
"transformation": "trivial_condition_removal",
"resulting_condition": "(actor_rc_user.actor_user is null or `user`.user_editcount < 10 or `user`.user_registration > '20200220144929') and (multiple equal(recentchanges.rc_this_oldid, `page`.page_latest) or multiple equal(3, recentchanges.rc_type)) and recentchanges.rc_type <> 6 and recentchanges.rc_source <> 'wb' and recentchanges.rc_namespace in ('6','7') and recentchanges.rc_timestamp >= '20200224144839' and recentchanges.rc_new in (0,1) and multiple equal(0, recentchanges.rc_bot) and multiple equal(comment_rc_comment.comment_id, recentchanges.rc_comment_id) and multiple equal(actor_rc_user.actor_id, recentchanges.rc_actor)"
}
]
}
},
{
"table_dependencies": [
{
"table": "recentchanges",
"row_may_be_null": false,
"map_bit": 0,
"depends_on_map_bits": []
},
{
"table": "actor_rc_user",
"row_may_be_null": false,
"map_bit": 1,
"depends_on_map_bits": []
},
{
"table": "user",
"row_may_be_null": true,
"map_bit": 2,
"depends_on_map_bits": ["1"]
},
{
"table": "comment_rc_comment",
"row_may_be_null": false,
"map_bit": 3,
"depends_on_map_bits": []
},
{
"table": "watchlist",
"row_may_be_null": true,
"map_bit": 4,
"depends_on_map_bits": ["0"]
},
{
"table": "page",
"row_may_be_null": true,
"map_bit": 5,
"depends_on_map_bits": ["0", "4"]
},
{
"table": "flaggedpages",
"row_may_be_null": true,
"map_bit": 6,
"depends_on_map_bits": ["0", "4", "5"]
},
{
"table": "ores_damaging_cls",
"row_may_be_null": true,
"map_bit": 7,
"depends_on_map_bits": ["0", "4", "5", "6"]
},
{
"table": "ores_goodfaith_cls",
"row_may_be_null": true,
"map_bit": 8,
"depends_on_map_bits": ["0", "4", "5", "6", "7"]
}
]
},
{
"ref_optimizer_key_uses": [
{
"table": "recentchanges",
"field": "rc_actor",
"equals": "actor_rc_user.actor_id",
"null_rejecting": false
},
{
"table": "recentchanges",
"field": "rc_comment_id",
"equals": "comment_rc_comment.comment_id",
"null_rejecting": false
},
{
"table": "actor_rc_user",
"field": "actor_id",
"equals": "recentchanges.rc_actor",
"null_rejecting": false
},
{
"table": "actor_rc_user",
"field": "actor_id",
"equals": "recentchanges.rc_actor",
"null_rejecting": false
},
{
"table": "user",
"field": "user_id",
"equals": "actor_rc_user.actor_user",
"null_rejecting": true
},
{
"table": "user",
"field": "user_id",
"equals": "actor_rc_user.actor_user",
"null_rejecting": true
},
{
"table": "comment_rc_comment",
"field": "comment_id",
"equals": "recentchanges.rc_comment_id",
"null_rejecting": false
},
{
"table": "comment_rc_comment",
"field": "comment_id",
"equals": "recentchanges.rc_comment_id",
"null_rejecting": false
},
{
"table": "watchlist",
"field": "wl_user",
"equals": "REDACTED",
"null_rejecting": false
},
{
"table": "watchlist",
"field": "wl_namespace",
"equals": "recentchanges.rc_namespace",
"null_rejecting": false
},
{
"table": "watchlist",
"field": "wl_title",
"equals": "recentchanges.rc_title",
"null_rejecting": false
},
{
"table": "watchlist",
"field": "wl_namespace",
"equals": "recentchanges.rc_namespace",
"null_rejecting": false
},
{
"table": "watchlist",
"field": "wl_title",
"equals": "recentchanges.rc_title",
"null_rejecting": false
},
{
"table": "watchlist",
"field": "wl_user",
"equals": "REDACTED",
"null_rejecting": false
},
{
"table": "watchlist",
"field": "wl_namespace",
"equals": "recentchanges.rc_namespace",
"null_rejecting": false
},
{
"table": "watchlist",
"field": "wl_title",
"equals": "recentchanges.rc_title",
"null_rejecting": false
},
{
"table": "page",
"field": "page_id",
"equals": "recentchanges.rc_cur_id",
"null_rejecting": false
},
{
"table": "page",
"field": "page_id",
"equals": "recentchanges.rc_cur_id",
"null_rejecting": false
},
{
"table": "flaggedpages",
"field": "fp_page_id",
"equals": "recentchanges.rc_cur_id",
"null_rejecting": false
},
{
"table": "flaggedpages",
"field": "fp_page_id",
"equals": "recentchanges.rc_cur_id",
"null_rejecting": false
},
{
"table": "ores_damaging_cls",
"field": "oresc_rev",
"equals": "recentchanges.rc_this_oldid",
"null_rejecting": false
},
{
"table": "ores_damaging_cls",
"field": "oresc_model",
"equals": "37",
"null_rejecting": false
},
{
"table": "ores_damaging_cls",
"field": "oresc_class",
"equals": "1",
"null_rejecting": false
},
{
"table": "ores_damaging_cls",
"field": "oresc_rev",
"equals": "recentchanges.rc_this_oldid",
"null_rejecting": false
},
{
"table": "ores_goodfaith_cls",
"field": "oresc_rev",
"equals": "recentchanges.rc_this_oldid",
"null_rejecting": false
},
{
"table": "ores_goodfaith_cls",
"field": "oresc_model",
"equals": "38",
"null_rejecting": false
},
{
"table": "ores_goodfaith_cls",
"field": "oresc_class",
"equals": "1",
"null_rejecting": false
},
{
"table": "ores_goodfaith_cls",
"field": "oresc_rev",
"equals": "recentchanges.rc_this_oldid",
"null_rejecting": false
}
]
},
{
"eliminated_tables": []
},
{
"rows_estimation": [
{
"table": "recentchanges",
"range_analysis": {
"table_scan": {
"rows": 9691117,
"cost": 2.11e6
},
"potential_range_indexes": [
{
"index": "PRIMARY",
"usable": false,
"cause": "not applicable"
},
{
"index": "rc_timestamp",
"usable": false,
"cause": "not applicable"
},
{
"index": "rc_cur_id",
"usable": false,
"cause": "not applicable"
},
{
"index": "new_name_timestamp",
"usable": false,
"cause": "not applicable"
},
{
"index": "rc_ip",
"usable": false,
"cause": "not applicable"
},
{
"index": "rc_name_type_patrolled_timestamp",
"usable": false,
"cause": "not applicable"
},
{
"index": "rc_namespace_title_timestamp",
"usable": false,
"cause": "not applicable"
},
{
"index": "rc_ns_actor",
"usable": false,
"cause": "not applicable"
},
{
"index": "rc_actor",
"usable": false,
"cause": "not applicable"
},
{
"index": "rc_this_oldid",
"usable": false,
"cause": "not applicable"
},
{
"index": "tmp_2",
"usable": false,
"cause": "not applicable"
},
{
"index": "tmp_3",
"usable": true,
"key_parts": ["rc_namespace", "rc_timestamp", "rc_id"]
}
],
"setup_range_conditions": [],
"group_index_range": {
"chosen": false,
"cause": "not single_table"
},
"analyzing_range_alternatives": {
"range_scan_alternatives": [
{
"index": "tmp_3",
"ranges": [
"(6,20200224144839) <= (rc_namespace,rc_timestamp) <= (6)",
"(7,20200224144839) <= (rc_namespace,rc_timestamp) <= (7)"
],
"rowid_ordered": false,
"using_mrr": false,
"index_only": false,
"rows": 141521,
"cost": 177220,
"chosen": true
}
],
"analyzing_roworder_intersect": {
"cause": "too few roworder scans"
},
"analyzing_index_merge_union": []
},
"chosen_range_access_summary": {
"range_access_plan": {
"type": "range_scan",
"index": "tmp_3",
"rows": 141521,
"ranges": [
"(6,20200224144839) <= (rc_namespace,rc_timestamp) <= (6)",
"(7,20200224144839) <= (rc_namespace,rc_timestamp) <= (7)"
]
},
"rows_for_plan": 141521,
"cost_for_plan": 177220,
"chosen": true
}
}
},
{
"selectivity_for_indexes": [
{
"index_name": "tmp_3",
"selectivity_from_index": 0.0146
}
],
"selectivity_for_columns": [],
"cond_selectivity": 0.0146
},
{
"table": "actor_rc_user",
"range_analysis": {
"table_scan": {
"rows": 82209636,
"cost": 1.67e7
},
"potential_range_indexes": [
{
"index": "PRIMARY",
"usable": false,
"cause": "not applicable"
},
{
"index": "actor_name",
"usable": false,
"cause": "not applicable"
},
{
"index": "actor_user",
"usable": true,
"key_parts": ["actor_user"]
}
],
"setup_range_conditions": [],
"group_index_range": {
"chosen": false,
"cause": "not single_table"
}
}
},
{
"selectivity_for_indexes": [],
"selectivity_for_columns": [],
"cond_selectivity": 1
},
{
"table": "user",
"table_scan": {
"rows": 42798247,
"cost": 556470
}
},
{
"table": "comment_rc_comment",
"table_scan": {
"rows": 238259076,
"cost": 2.17e6
}
},
{
"table": "watchlist",
"range_analysis": {
"table_scan": {
"rows": 200369287,
"cost": 4.11e7
},
"potential_range_indexes": [
{
"index": "PRIMARY",
"usable": false,
"cause": "not applicable"
},
{
"index": "wl_user",
"usable": true,
"key_parts": ["wl_user", "wl_namespace", "wl_title"]
},
{
"index": "namespace_title",
"usable": false,
"cause": "not applicable"
},
{
"index": "wl_user_notificationtimestamp",
"usable": true,
"key_parts": ["wl_user", "wl_notificationtimestamp", "wl_id"]
}
],
"setup_range_conditions": [],
"group_index_range": {
"chosen": false,
"cause": "not single_table"
},
"analyzing_range_alternatives": {
"range_scan_alternatives": [
{
"index": "wl_user",
"ranges": ["(REDACTED) <= (wl_user) <= (REDACTED)"],
"rowid_ordered": false,
"using_mrr": false,
"index_only": false,
"rows": 852,
"cost": 1086.9,
"chosen": true
},
{
"index": "wl_user_notificationtimestamp",
"ranges": ["(REDACTED) <= (wl_user) <= (REDACTED)"],
"rowid_ordered": false,
"using_mrr": false,
"index_only": false,
"rows": 852,
"cost": 1067.4,
"chosen": true
}
],
"analyzing_roworder_intersect": {
"cause": "too few roworder scans"
},
"analyzing_index_merge_union": []
},
"chosen_range_access_summary": {
"range_access_plan": {
"type": "range_scan",
"index": "wl_user_notificationtimestamp",
"rows": 852,
"ranges": ["(REDACTED) <= (wl_user) <= (REDACTED)"]
},
"rows_for_plan": 852,
"cost_for_plan": 1067.4,
"chosen": true
}
}
},
{
"selectivity_for_indexes": [
{
"index_name": "wl_user",
"selectivity_from_index": 4.3e-6
}
],
"selectivity_for_columns": [],
"cond_selectivity": 4.3e-6
},
{
"table": "page",
"table_scan": {
"rows": 58356790,
"cost": 541374
}
},
{
"table": "flaggedpages",
"table_scan": {
"rows": 3994,
"cost": 20
}
},
{
"selectivity_for_indexes": [],
"selectivity_for_columns": [],
"cond_selectivity": 1
},
{
"table": "ores_damaging_cls",
"table_scan": {
"rows": 31946371,
"cost": 143553
}
},
{
"selectivity_for_indexes": [],
"selectivity_for_columns": [],
"cond_selectivity": 1
},
{
"table": "ores_goodfaith_cls",
"table_scan": {
"rows": 31946371,
"cost": 143553
}
}
]
},
{
"considered_execution_plans": [
{
"plan_prefix": [],
"table": "recentchanges",
"best_access_path": {
"considered_access_paths": [
{
"access_type": "range",
"resulting_rows": 141521,
"cost": 177220,
"chosen": true
}
],
"chosen_access_method": {
"type": "range",
"records": 141521,
"cost": 177220,
"uses_join_buffering": false
}
},
"rows_for_plan": 141521,
"cost_for_plan": 205524,
"rest_of_plan": [
{
"plan_prefix": ["recentchanges"],
"table": "watchlist",
"best_access_path": {
"considered_access_paths": [
{
"access_type": "eq_ref",
"index": "wl_user",
"rows": 1,
"cost": 141521,
"chosen": true
},
{
"access_type": "ref",
"index": "namespace_title",
"rows": 4,
"cost": 707605,
"chosen": false,
"cause": "cost"
},
{
"access_type": "ref",
"index": "wl_user_notificationtimestamp",
"used_range_estimates": true,
"rows": 852,
"cost": 1.21e8,
"chosen": false,
"cause": "cost"
},
{
"access_type": "range",
"resulting_rows": 852,
"cost": 1.51e8,
"chosen": false
}
],
"chosen_access_method": {
"type": "eq_ref",
"records": 1,
"cost": 141521,
"uses_join_buffering": false
}
},
"rows_for_plan": 141521,
"cost_for_plan": 375350,
"rest_of_plan": [
{
"plan_prefix": ["recentchanges", "watchlist"],
"table": "actor_rc_user",
"best_access_path": {
"considered_access_paths": [
{
"access_type": "eq_ref",
"index": "PRIMARY",
"rows": 1,
"cost": 141521,
"chosen": true
},
{
"type": "scan",
"chosen": false,
"cause": "cost"
}
],
"chosen_access_method": {
"type": "eq_ref",
"records": 1,
"cost": 141521,
"uses_join_buffering": false
}
},
"rows_for_plan": 141521,
"cost_for_plan": 545175,
"rest_of_plan": [
{
"plan_prefix": [
"recentchanges",
"watchlist",
"actor_rc_user"
],
"table": "user",
"best_access_path": {
"considered_access_paths": [
{
"access_type": "eq_ref",
"index": "PRIMARY",
"rows": 1,
"cost": 141521,
"chosen": true
},
{
"type": "scan",
"chosen": false,
"cause": "cost"
}
],
"chosen_access_method": {
"type": "eq_ref",
"records": 1,
"cost": 141521,
"uses_join_buffering": false
}
},
"rows_for_plan": 141521,
"cost_for_plan": 715000,
"rest_of_plan": [
{
"plan_prefix": [
"recentchanges",
"watchlist",
"actor_rc_user",
"user"
],
"table": "page",
"best_access_path": {
"considered_access_paths": [
{
"access_type": "eq_ref",
"index": "PRIMARY",
"rows": 1,
"cost": 141521,
"chosen": true
},
{
"type": "scan",
"chosen": false,
"cause": "cost"
}
],
"chosen_access_method": {
"type": "eq_ref",
"records": 1,
"cost": 141521,
"uses_join_buffering": false
}
},
"rows_for_plan": 141521,
"cost_for_plan": 884825,
"rest_of_plan": [
{
"plan_prefix": [
"recentchanges",
"watchlist",
"actor_rc_user",
"user",
"page"
],
"table": "flaggedpages",
"best_access_path": {
"considered_access_paths": [
{
"access_type": "eq_ref",
"index": "PRIMARY",
"rows": 1,
"cost": 141521,
"chosen": true
},
{
"access_type": "scan",
"resulting_rows": 3994,
"cost": 2.83e6,
"chosen": false
}
],
"chosen_access_method": {
"type": "eq_ref",
"records": 1,
"cost": 141521,
"uses_join_buffering": false
}
},
"rows_for_plan": 141521,
"cost_for_plan": 1.05e6,
"rest_of_plan": [
{
"plan_prefix": [
"recentchanges",
"watchlist",
"actor_rc_user",
"user",
"page",
"flaggedpages"
],
"table": "ores_damaging_cls",
"best_access_path": {
"considered_access_paths": [
{
"access_type": "eq_ref",
"index": "oresc_rev_model_class",
"rows": 1,
"cost": 141521,
"chosen": true
},
{
"type": "scan",
"chosen": false,
"cause": "cost"
}
],
"chosen_access_method": {
"type": "eq_ref",
"records": 1,
"cost": 141521,
"uses_join_buffering": false
}
},
"rows_for_plan": 141521,
"cost_for_plan": 1.22e6,
"rest_of_plan": [
{
"plan_prefix": [
"recentchanges",
"watchlist",
"actor_rc_user",
"user",
"page",
"flaggedpages",
"ores_damaging_cls"
],
"table": "ores_goodfaith_cls",
"best_access_path": {
"considered_access_paths": [
{
"access_type": "eq_ref",
"index": "oresc_rev_model_class",
"rows": 1,
"cost": 141521,
"chosen": true
},
{
"type": "scan",
"chosen": false,
"cause": "cost"
}
],
"chosen_access_method": {
"type": "eq_ref",
"records": 1,
"cost": 141521,
"uses_join_buffering": false
}
},
"rows_for_plan": 141521,
"cost_for_plan": 1.39e6,
"rest_of_plan": [
{
"plan_prefix": [
"recentchanges",
"watchlist",
"actor_rc_user",
"user",
"page",
"flaggedpages",
"ores_damaging_cls",
"ores_goodfaith_cls"
],
"table": "comment_rc_comment",
"best_access_path": {
"considered_access_paths": [
{
"access_type": "eq_ref",
"index": "PRIMARY",
"rows": 1,
"cost": 141521,
"chosen": true
},
{
"type": "scan",
"chosen": false,
"cause": "cost"
}
],
"chosen_access_method": {
"type": "eq_ref",
"records": 1,
"cost": 141521,
"uses_join_buffering": false
}
},
"rows_for_plan": 141521,
"cost_for_plan": 1.56e6,
"estimated_join_cardinality": 141521
}
]
},
{
"plan_prefix": [
"recentchanges",
"watchlist",
"actor_rc_user",
"user",
"page",
"flaggedpages",
"ores_damaging_cls"
],
"table": "comment_rc_comment",
"best_access_path": {
"considered_access_paths": [
{
"access_type": "eq_ref",
"index": "PRIMARY",
"rows": 1,
"cost": 141521,
"chosen": true
},
{
"type": "scan",
"chosen": false,
"cause": "cost"
}
],
"chosen_access_method": {
"type": "eq_ref",
"records": 1,
"cost": 141521,
"uses_join_buffering": false
}
},
"rows_for_plan": 141521,
"cost_for_plan": 1.39e6,
"pruned_by_heuristic": true
}
]
},
{
"plan_prefix": [
"recentchanges",
"watchlist",
"actor_rc_user",
"user",
"page",
"flaggedpages"
],
"table": "comment_rc_comment",
"best_access_path": {
"considered_access_paths": [
{
"access_type": "eq_ref",
"index": "PRIMARY",
"rows": 1,
"cost": 141521,
"chosen": true
},
{
"type": "scan",
"chosen": false,
"cause": "cost"
}
],
"chosen_access_method": {
"type": "eq_ref",
"records": 1,
"cost": 141521,
"uses_join_buffering": false
}
},
"rows_for_plan": 141521,
"cost_for_plan": 1.22e6,
"pruned_by_heuristic": true
}
]
},
{
"plan_prefix": [
"recentchanges",
"watchlist",
"actor_rc_user",
"user",
"page"
],
"table": "comment_rc_comment",
"best_access_path": {
"considered_access_paths": [
{
"access_type": "eq_ref",
"index": "PRIMARY",
"rows": 1,
"cost": 141521,
"chosen": true
},
{
"type": "scan",
"chosen": false,
"cause": "cost"
}
],
"chosen_access_method": {
"type": "eq_ref",
"records": 1,
"cost": 141521,
"uses_join_buffering": false
}
},
"rows_for_plan": 141521,
"cost_for_plan": 1.05e6,
"pruned_by_heuristic": true
}
]
},
{
"plan_prefix": [
"recentchanges",
"watchlist",
"actor_rc_user",
"user"
],
"table": "comment_rc_comment",
"best_access_path": {
"considered_access_paths": [
{
"access_type": "eq_ref",
"index": "PRIMARY",
"rows": 1,
"cost": 141521,
"chosen": true
},
{
"type": "scan",
"chosen": false,
"cause": "cost"
}
],
"chosen_access_method": {
"type": "eq_ref",
"records": 1,
"cost": 141521,
"uses_join_buffering": false
}
},
"rows_for_plan": 141521,
"cost_for_plan": 884825,
"pruned_by_heuristic": true
}
]
},
{
"plan_prefix": [
"recentchanges",
"watchlist",
"actor_rc_user"
],
"table": "page",
"best_access_path": {
"considered_access_paths": [
{
"access_type": "eq_ref",
"index": "PRIMARY",
"rows": 1,
"cost": 141521,
"chosen": true
},
{
"type": "scan",
"chosen": false,
"cause": "cost"
}
],
"chosen_access_method": {
"type": "eq_ref",
"records": 1,
"cost": 141521,
"uses_join_buffering": false
}
},
"rows_for_plan": 141521,
"cost_for_plan": 715000,
"pruned_by_heuristic": true
},
{
"plan_prefix": [
"recentchanges",
"watchlist",
"actor_rc_user"
],
"table": "comment_rc_comment",
"best_access_path": {
"considered_access_paths": [
{
"access_type": "eq_ref",
"index": "PRIMARY",
"rows": 1,
"cost": 141521,
"chosen": true
},
{
"type": "scan",
"chosen": false,
"cause": "cost"
}
],
"chosen_access_method": {
"type": "eq_ref",
"records": 1,
"cost": 141521,
"uses_join_buffering": false
}
},
"rows_for_plan": 141521,
"cost_for_plan": 715000,
"pruned_by_heuristic": true
}
]
},
{
"plan_prefix": ["recentchanges", "watchlist"],
"table": "page",
"best_access_path": {
"considered_access_paths": [
{
"access_type": "eq_ref",
"index": "PRIMARY",
"rows": 1,
"cost": 141521,
"chosen": true
},
{
"type": "scan",
"chosen": false,
"cause": "cost"
}
],
"chosen_access_method": {
"type": "eq_ref",
"records": 1,
"cost": 141521,
"uses_join_buffering": false
}
},
"rows_for_plan": 141521,
"cost_for_plan": 545175,
"pruned_by_heuristic": true
},
{
"plan_prefix": ["recentchanges", "watchlist"],
"table": "comment_rc_comment",
"best_access_path": {
"considered_access_paths": [
{
"access_type": "eq_ref",
"index": "PRIMARY",
"rows": 1,
"cost": 141521,
"chosen": true
},
{
"type": "scan",
"chosen": false,
"cause": "cost"
}
],
"chosen_access_method": {
"type": "eq_ref",
"records": 1,
"cost": 141521,
"uses_join_buffering": false
}
},
"rows_for_plan": 141521,
"cost_for_plan": 545175,
"pruned_by_heuristic": true
}
]
},
{
"plan_prefix": ["recentchanges"],
"table": "actor_rc_user",
"best_access_path": {
"considered_access_paths": [
{
"access_type": "eq_ref",
"index": "PRIMARY",
"rows": 1,
"cost": 141521,
"chosen": true
},
{
"type": "scan",
"chosen": false,
"cause": "cost"
}
],
"chosen_access_method": {
"type": "eq_ref",
"records": 1,
"cost": 141521,
"uses_join_buffering": false
}
},
"rows_for_plan": 141521,
"cost_for_plan": 375350,
"pruned_by_heuristic": true
},
{
"plan_prefix": ["recentchanges"],
"table": "comment_rc_comment",
"best_access_path": {
"considered_access_paths": [
{
"access_type": "eq_ref",
"index": "PRIMARY",
"rows": 1,
"cost": 141521,
"chosen": true
},
{
"type": "scan",
"chosen": false,
"cause": "cost"
}
],
"chosen_access_method": {
"type": "eq_ref",
"records": 1,
"cost": 141521,
"uses_join_buffering": false
}
},
"rows_for_plan": 141521,
"cost_for_plan": 375350,
"pruned_by_heuristic": true
}
]
},
{
"plan_prefix": [],
"table": "actor_rc_user",
"best_access_path": {
"considered_access_paths": [
{
"access_type": "scan",
"resulting_rows": 8.22e7,
"cost": 279616,
"chosen": true
}
],
"chosen_access_method": {
"type": "scan",
"records": 8.22e7,
"cost": 279616,
"uses_join_buffering": false
}
},
"rows_for_plan": 8.22e7,
"cost_for_plan": 1.67e7,
"pruned_by_cost": true
},
{
"plan_prefix": [],
"table": "comment_rc_comment",
"best_access_path": {
"considered_access_paths": [
{
"access_type": "scan",
"resulting_rows": 2.38e8,
"cost": 2.17e6,
"chosen": true
}
],
"chosen_access_method": {
"type": "scan",
"records": 2.38e8,
"cost": 2.17e6,
"uses_join_buffering": false
}
},
"rows_for_plan": 2.38e8,
"cost_for_plan": 4.98e7,
"pruned_by_cost": true
}
]
},
{
"best_join_order": [
"recentchanges",
"watchlist",
"actor_rc_user",
"user",
"page",
"flaggedpages",
"ores_damaging_cls",
"ores_goodfaith_cls",
"comment_rc_comment"
]
},
{
"attaching_conditions_to_tables": {
"original_condition": "recentchanges.rc_bot = 0 and comment_rc_comment.comment_id = recentchanges.rc_comment_id and actor_rc_user.actor_id = recentchanges.rc_actor and (actor_rc_user.actor_user is null or `user`.user_editcount < 10 or `user`.user_registration > '20200220144929') and (`page`.page_latest = recentchanges.rc_this_oldid or recentchanges.rc_type = 3) and recentchanges.rc_type <> 6 and recentchanges.rc_source <> 'wb' and recentchanges.rc_namespace in ('6','7') and recentchanges.rc_timestamp >= '20200224144839' and recentchanges.rc_new in (0,1)",
"attached_conditions_computation": [
{
"table": "recentchanges",
"range_analysis": {
"table_scan": {
"rows": 9691117,
"cost": 1.16e7
},
"potential_range_indexes": [
{
"index": "PRIMARY",
"usable": false,
"cause": "not applicable"
},
{
"index": "rc_timestamp",
"usable": false,
"cause": "not applicable"
},
{
"index": "rc_cur_id",
"usable": false,
"cause": "not applicable"
},
{
"index": "new_name_timestamp",
"usable": false,
"cause": "not applicable"
},
{
"index": "rc_ip",
"usable": false,
"cause": "not applicable"
},
{
"index": "rc_name_type_patrolled_timestamp",
"usable": false,
"cause": "not applicable"
},
{
"index": "rc_namespace_title_timestamp",
"usable": false,
"cause": "not applicable"
},
{
"index": "rc_ns_actor",
"usable": false,
"cause": "not applicable"
},
{
"index": "rc_actor",
"usable": false,
"cause": "not applicable"
},
{
"index": "rc_this_oldid",
"usable": false,
"cause": "not applicable"
},
{
"index": "tmp_2",
"usable": false,
"cause": "not applicable"
},
{
"index": "tmp_3",
"usable": true,
"key_parts": ["rc_namespace", "rc_timestamp", "rc_id"]
}
],
"setup_range_conditions": [],
"group_index_range": {
"chosen": false,
"cause": "not single_table"
},
"analyzing_range_alternatives": {
"range_scan_alternatives": [
{
"index": "tmp_3",
"ranges": [
"(6,20200224144839) <= (rc_namespace,rc_timestamp) <= (6)",
"(7,20200224144839) <= (rc_namespace,rc_timestamp) <= (7)"
],
"rowid_ordered": false,
"using_mrr": false,
"index_only": false,
"rows": 141521,
"cost": 177220,
"chosen": true
}
],
"analyzing_roworder_intersect": {
"cause": "too few roworder scans"
},
"analyzing_index_merge_union": []
},
"chosen_range_access_summary": {
"range_access_plan": {
"type": "range_scan",
"index": "tmp_3",
"rows": 141521,
"ranges": [
"(6,20200224144839) <= (rc_namespace,rc_timestamp) <= (6)",
"(7,20200224144839) <= (rc_namespace,rc_timestamp) <= (7)"
]
},
"rows_for_plan": 141521,
"cost_for_plan": 177220,
"chosen": true
}
}
}
],
"attached_conditions_summary": [
{
"table": "recentchanges",
"attached": "recentchanges.rc_bot = 0 and recentchanges.rc_type <> 6 and recentchanges.rc_source <> 'wb' and recentchanges.rc_namespace in ('6','7') and recentchanges.rc_timestamp >= '20200224144839' and recentchanges.rc_new in (0,1)"
},
{
"table": "watchlist",
"attached": null
},
{
"table": "actor_rc_user",
"attached": null
},
{
"table": "user",
"attached": "trigcond(actor_rc_user.actor_user is null or `user`.user_editcount < 10 or `user`.user_registration > '20200220144929') and trigcond(trigcond(actor_rc_user.actor_user is not null))"
},
{
"table": "page",
"attached": "trigcond(`page`.page_latest = recentchanges.rc_this_oldid or recentchanges.rc_type = 3)"
},
{
"table": "flaggedpages",
"attached": null
},
{
"table": "ores_damaging_cls",
"attached": null
},
{
"table": "ores_goodfaith_cls",
"attached": null
},
{
"table": "comment_rc_comment",
"attached": null
}
]
}
},
{
"join_optimization": {
"select_id": 2,
"steps": [
{
"condition_processing": {
"condition": "WHERE",
"original_condition": "change_tag.ct_rc_id = recentchanges.rc_id and change_tag.ct_tag_id = change_tag_def.ctd_id",
"steps": [
{
"transformation": "equality_propagation",
"resulting_condition": "change_tag.ct_rc_id = recentchanges.rc_id and multiple equal(change_tag.ct_tag_id, change_tag_def.ctd_id)"
},
{
"transformation": "constant_propagation",
"resulting_condition": "change_tag.ct_rc_id = recentchanges.rc_id and multiple equal(change_tag.ct_tag_id, change_tag_def.ctd_id)"
},
{
"transformation": "trivial_condition_removal",
"resulting_condition": "change_tag.ct_rc_id = recentchanges.rc_id and multiple equal(change_tag.ct_tag_id, change_tag_def.ctd_id)"
}
]
}
},
{
"table_dependencies": [
{
"table": "change_tag",
"row_may_be_null": false,
"map_bit": 0,
"depends_on_map_bits": []
},
{
"table": "change_tag_def",
"row_may_be_null": false,
"map_bit": 1,
"depends_on_map_bits": []
}
]
},
{
"ref_optimizer_key_uses": [
{
"table": "change_tag",
"field": "ct_rc_id",
"equals": "recentchanges.rc_id",
"null_rejecting": true
},
{
"table": "change_tag",
"field": "ct_tag_id",
"equals": "change_tag_def.ctd_id",
"null_rejecting": false
},
{
"table": "change_tag",
"field": "ct_tag_id",
"equals": "change_tag_def.ctd_id",
"null_rejecting": false
},
{
"table": "change_tag",
"field": "ct_rc_id",
"equals": "recentchanges.rc_id",
"null_rejecting": true
},
{
"table": "change_tag",
"field": "ct_rc_id",
"equals": "recentchanges.rc_id",
"null_rejecting": true
},
{
"table": "change_tag",
"field": "ct_tag_id",
"equals": "change_tag_def.ctd_id",
"null_rejecting": false
},
{
"table": "change_tag_def",
"field": "ctd_id",
"equals": "change_tag.ct_tag_id",
"null_rejecting": false
},
{
"table": "change_tag_def",
"field": "ctd_id",
"equals": "change_tag.ct_tag_id",
"null_rejecting": false
}
]
},
{
"rows_estimation": [
{
"table": "change_tag",
"table_scan": {
"rows": 109348732,
"cost": 293824
}
},
{
"table": "change_tag_def",
"table_scan": {
"rows": 207,
"cost": 1
}
}
]
},
{
"considered_execution_plans": [
{
"plan_prefix": [],
"table": "change_tag_def",
"best_access_path": {
"considered_access_paths": [
{
"access_type": "scan",
"resulting_rows": 207,
"cost": 1,
"chosen": true
}
],
"chosen_access_method": {
"type": "scan",
"records": 207,
"cost": 1,
"uses_join_buffering": false
}
},
"rows_for_plan": 207,
"cost_for_plan": 42.4,
"rest_of_plan": [
{
"plan_prefix": ["change_tag_def"],
"table": "change_tag",
"best_access_path": {
"considered_access_paths": [
{
"access_type": "eq_ref",
"index": "change_tag_rc_tag_id",
"rows": 1,
"cost": 207,
"chosen": true
},
{
"access_type": "ref",
"index": "change_tag_tag_id_id",
"rows": 1,
"cost": 207.06,
"chosen": false,
"cause": "cost"
},
{
"type": "scan",
"chosen": false,
"cause": "cost"
}
],
"chosen_access_method": {
"type": "eq_ref",
"records": 1,
"cost": 207,
"uses_join_buffering": false
}
},
"rows_for_plan": 207,
"cost_for_plan": 290.8,
"estimated_join_cardinality": 207
}
]
},
{
"plan_prefix": [],
"table": "change_tag",
"best_access_path": {
"considered_access_paths": [
{
"access_type": "ref",
"index": "change_tag_rc_tag_id",
"rows": 1,
"cost": 1.0002,
"chosen": true
},
{
"access_type": "ref",
"index": "change_tag_tag_id_id",
"rows": 1,
"cost": 1.2002,
"chosen": false,
"cause": "no predicate for first keypart"
},
{
"type": "scan",
"chosen": false,
"cause": "cost"
}
],
"chosen_access_method": {
"type": "ref",
"records": 1,
"cost": 1.0002,
"uses_join_buffering": false
}
},
"rows_for_plan": 1,
"cost_for_plan": 1.2002,
"rest_of_plan": [
{
"plan_prefix": ["change_tag"],
"table": "change_tag_def",
"best_access_path": {
"considered_access_paths": [
{
"access_type": "eq_ref",
"index": "PRIMARY",
"rows": 1,
"cost": 1,
"chosen": true
},
{
"type": "scan",
"chosen": false,
"cause": "cost"
}
],
"chosen_access_method": {
"type": "eq_ref",
"records": 1,
"cost": 1,
"uses_join_buffering": false
}
},
"rows_for_plan": 1,
"cost_for_plan": 2.4002,
"estimated_join_cardinality": 1
}
]
}
]
},
{
"best_join_order": ["change_tag", "change_tag_def"]
},
{
"attaching_conditions_to_tables": {
"original_condition": "change_tag_def.ctd_id = change_tag.ct_tag_id and change_tag.ct_rc_id = recentchanges.rc_id",
"attached_conditions_computation": [],
"attached_conditions_summary": [
{
"table": "change_tag",
"attached": "change_tag.ct_rc_id = recentchanges.rc_id"
},
{
"table": "change_tag_def",
"attached": null
}
]
}
}
]
}
},
{
"reconsidering_access_paths_for_index_ordering": {
"clause": "ORDER BY",
"fanout": 1,
"read_time": 177220,
"table": "recentchanges",
"rows_estimation": 141521,
"possible_keys": [
{
"index": "PRIMARY",
"can_resolve_order": false,
"cause": "not usable index for the query"
},
{
"index": "rc_timestamp",
"can_resolve_order": false,
"cause": "not usable index for the query"
},
{
"index": "rc_cur_id",
"can_resolve_order": false,
"cause": "not usable index for the query"
},
{
"index": "new_name_timestamp",
"can_resolve_order": false,
"cause": "not usable index for the query"
},
{
"index": "rc_ip",
"can_resolve_order": false,
"cause": "not usable index for the query"
},
{
"index": "rc_name_type_patrolled_timestamp",
"can_resolve_order": false,
"cause": "not usable index for the query"
},
{
"index": "rc_namespace_title_timestamp",
"can_resolve_order": false,
"cause": "not usable index for the query"
},
{
"index": "rc_ns_actor",
"can_resolve_order": false,
"cause": "not usable index for the query"
},
{
"index": "rc_actor",
"can_resolve_order": false,
"cause": "not usable index for the query"
},
{
"index": "rc_this_oldid",
"can_resolve_order": false,
"cause": "not usable index for the query"
},
{
"index": "tmp_2",
"can_resolve_order": false,
"cause": "not usable index for the query"
},
{
"index": "tmp_3",
"can_resolve_order": false,
"cause": "order can not be resolved by key"
}
]
}
}
]
}
},
{
"join_execution": {
"select_id": 1,
"steps": [
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
},
{
"join_execution": {
"select_id": 2,
"steps": []
}
}
]
}
}
]
}
MISSING_BYTES_BEYOND_MAX_MEM_SIZE: 0
INSUFFICIENT_PRIVILEGES: 0
1 row in set (0.004 sec)
{code}
And the explain:
{code}
+------+--------------------+--------------------+--------+-------------------------------------------------------+-----------------------+---------+-----------------------------------------------------------------------+--------+----------------------------------------------------+
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
+------+--------------------+--------------------+--------+-------------------------------------------------------+-----------------------+---------+-----------------------------------------------------------------------+--------+----------------------------------------------------+
| 1 | PRIMARY | recentchanges | range | tmp_3 | tmp_3 | 20 | NULL | 141493 | Using index condition; Using where; Using filesort |
| 1 | PRIMARY | watchlist | eq_ref | wl_user,namespace_title,wl_user_notificationtimestamp | wl_user | 265 | const,enwiki.recentchanges.rc_namespace,enwiki.recentchanges.rc_title | 1 | |
| 1 | PRIMARY | actor_rc_user | eq_ref | PRIMARY,actor_user | PRIMARY | 8 | enwiki.recentchanges.rc_actor | 1 | |
| 1 | PRIMARY | user | eq_ref | PRIMARY | PRIMARY | 4 | enwiki.actor_rc_user.actor_user | 1 | Using where |
| 1 | PRIMARY | page | eq_ref | PRIMARY | PRIMARY | 4 | enwiki.recentchanges.rc_cur_id | 1 | Using where |
| 1 | PRIMARY | flaggedpages | eq_ref | PRIMARY | PRIMARY | 4 | enwiki.recentchanges.rc_cur_id | 1 | |
| 1 | PRIMARY | ores_damaging_cls | eq_ref | oresc_rev_model_class | oresc_rev_model_class | 7 | enwiki.recentchanges.rc_this_oldid,const,const | 1 | |
| 1 | PRIMARY | ores_goodfaith_cls | eq_ref | oresc_rev_model_class | oresc_rev_model_class | 7 | enwiki.recentchanges.rc_this_oldid,const,const | 1 | |
| 1 | PRIMARY | comment_rc_comment | eq_ref | PRIMARY | PRIMARY | 8 | enwiki.recentchanges.rc_comment_id | 1 | |
| 2 | DEPENDENT SUBQUERY | change_tag | ref | change_tag_rc_tag_id,change_tag_tag_id_id | change_tag_rc_tag_id | 5 | enwiki.recentchanges.rc_id | 1 | Using where; Using index |
| 2 | DEPENDENT SUBQUERY | change_tag_def | eq_ref | PRIMARY | PRIMARY | 4 | enwiki.change_tag.ct_tag_id | 1 | |
+------+--------------------+--------------------+--------+-------------------------------------------------------+-----------------------+---------+-----------------------------------------------------------------------+--------+----------------------------------------------------+
11 rows in set (0.002 sec)
{code}