{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "20.40"
},
"grouping_operation": {
"using_temporary_table": true,
"using_filesort": true,
"cost_info": {
"sort_cost": "6.00"
},
"nested_loop": [
{
"table": {
"table_name": "pc",
"access_type": "ref",
"possible_keys": [
"pt"
],
"key": "pt",
"used_key_parts": [
"product_id"
],
"key_length": "3",
"ref": [
"const"
],
"rows_examined_per_scan": 6,
"rows_produced_per_join": 6,
"filtered": "100.00",
"cost_info": {
"read_cost": "6.00",
"eval_cost": "1.20",
"prefix_cost": "7.20",
"data_read_per_join": "96"
},
"used_columns": [
"product_id",
"category_id"
]
}
},
{
"table": {
"table_name": "c",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY",
"p_category_id"
],
"key": "PRIMARY",
"used_key_parts": [
"category_id"
],
"key_length": "3",
"ref": [
"eshopuga_upgr_4122.pc.category_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 6,
"filtered": "100.00",
"cost_info": {
"read_cost": "6.00",
"eval_cost": "1.20",
"prefix_cost": "14.40",
"data_read_per_join": "16K"
},
"used_columns": [
"category_id",
"company_id"
]
}
}
]
}
}
}
company_id |
---|
1 |