{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "27.82"
},
"grouping_operation": {
"using_temporary_table": true,
"using_filesort": true,
"cost_info": {
"sort_cost": "0.75"
},
"nested_loop": [
{
"table": {
"table_name": "b",
"access_type": "ALL",
"possible_keys": [
"thread_id",
"thread_id_2"
],
"rows_examined_per_scan": 75,
"rows_produced_per_join": 7,
"filtered": "10.00",
"cost_info": {
"read_cost": "16.58",
"eval_cost": "1.50",
"prefix_cost": "18.08",
"data_read_per_join": "3K"
},
"used_columns": [
"post_id",
"thread_id",
"status"
],
"attached_condition": "((`44mm_ru`.`b`.`status` = 'A') and (`44mm_ru`.`b`.`thread_id` is not null))"
}
},
{
"table": {
"table_name": "a",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY",
"object_id"
],
"key": "PRIMARY",
"used_key_parts": [
"thread_id"
],
"key_length": "3",
"ref": [
"44mm_ru.b.thread_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "10.00",
"cost_info": {
"read_cost": "7.50",
"eval_cost": "0.15",
"prefix_cost": "27.08",
"data_read_per_join": "18"
},
"used_columns": [
"thread_id",
"object_id",
"object_type"
],
"attached_condition": "(`44mm_ru`.`a`.`object_type` = 'M')"
}
}
]
}
}
}