{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "14.40"
},
"nested_loop": [
{
"table": {
"table_name": "p",
"access_type": "ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"company_id"
],
"key_length": "4",
"ref": [
"const"
],
"rows_examined_per_scan": 31,
"rows_produced_per_join": 31,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "0.45",
"eval_cost": "3.10",
"prefix_cost": "3.55",
"data_read_per_join": "496"
},
"used_columns": [
"company_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": [
"cscartdevel.p.category_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 31,
"filtered": "100.00",
"cost_info": {
"read_cost": "7.75",
"eval_cost": "3.10",
"prefix_cost": "14.40",
"data_read_per_join": "106K"
},
"used_columns": [
"category_id",
"id_path"
]
}
}
]
}
}
id_path |
---|
295/298 |
295/299 |
295/300 |
295/301 |
295/303 |
295/305 |
295/306 |
308 |
308/309 |
313 |
295/321 |
295/324 |
295/399/348 |
317/359 |
295/362 |
295/363 |
295/391/386 |
295/388 |
295/389 |
295/390 |
295/391/392 |
295/393 |
295/394 |
295/395 |
295/396 |
295/397 |
295/399/398 |
295/399/400 |
295/401 |
383/402 |
295/403 |
295/391/404 |
295/405 |