{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "30.96"
},
"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": 67,
"rows_produced_per_join": 67,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "0.81",
"eval_cost": "6.70",
"prefix_cost": "7.51",
"data_read_per_join": "1K"
},
"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": 67,
"filtered": "100.00",
"cost_info": {
"read_cost": "16.75",
"eval_cost": "6.70",
"prefix_cost": "30.96",
"data_read_per_join": "175K"
},
"used_columns": [
"category_id",
"id_path"
]
}
}
]
}
}
| id_path |
|---|
| 3/14 |
| 23 |
| 23/36 |
| 4/45 |
| 3/84 |
| 3/86 |
| 3/87 |
| 71/91/90 |
| 4/100 |
| 109 |
| 109/114 |
| 109/118 |
| 109/123 |
| 4/179 |
| 4/45/183 |
| 4/45/184 |
| 4/45/185 |
| 4/100/209 |
| 4/47/218 |
| 4/48/240 |
| 4/179/260 |
| 12/58/291 |
| 12/59/313 |
| 3/14/367 |
| 3/14/368 |
| 3/14/374 |
| 3/84/380 |
| 3/84/381 |
| 3/86/388 |
| 3/20087/394 |
| 2566 |
| 4/51/6638 |
| 4/6644/6646 |
| 3/14/6648 |
| 5/27/6720 |
| 71/6727/6731 |
| 4/46/195/22740/7651 |
| 4/125/9793 |
| 4/6639/11179 |
| 16223 |
| 16223/16224 |
| 16223/16225 |
| 16221/16226 |
| 16221/16228 |
| 16236 |
| 16319 |
| 17192 |
| 16221/20084 |
| 17192/20963 |
| 17192/20964 |
| 20934/20965 |
| 20934/20966 |
| 20934/20967 |
| 20934/20969 |
| 16221/20991 |
| 4/7580/22667 |
| 4/46/195/22740/22750 |
| 23158 |
| 16221/23208 |