{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "13.74"
},
"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": 29,
"rows_produced_per_join": 29,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "0.69",
"eval_cost": "2.90",
"prefix_cost": "3.59",
"data_read_per_join": "464"
},
"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": [
"goimagine.p.category_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 29,
"filtered": "100.00",
"cost_info": {
"read_cost": "7.25",
"eval_cost": "2.90",
"prefix_cost": "13.74",
"data_read_per_join": "75K"
},
"used_columns": [
"category_id",
"id_path"
]
}
}
]
}
}
| id_path |
|---|
| 5/26 |
| 4/52 |
| 12/56 |
| 12/77 |
| 109/114 |
| 4/179/262 |
| 4/179/267 |
| 12/57/288 |
| 12/58/291 |
| 12/319/321 |
| 12/319/323 |
| 2566 |
| 5/97/6726 |
| 16555/16543 |
| 16558/16544 |
| 16555/16545 |
| 16560/16547 |
| 16560/16548 |
| 16560/16549 |
| 16558/16550 |
| 16559/16551 |
| 16552 |
| 16555/16554 |
| 16555 |
| 16556 |
| 16556/16557 |
| 16558 |
| 16559 |
| 16560 |