{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "10.04"
},
"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": 21,
"rows_produced_per_join": 21,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "0.59",
"eval_cost": "2.10",
"prefix_cost": "2.69",
"data_read_per_join": "336"
},
"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": 21,
"filtered": "100.00",
"cost_info": {
"read_cost": "5.25",
"eval_cost": "2.10",
"prefix_cost": "10.04",
"data_read_per_join": "54K"
},
"used_columns": [
"category_id",
"id_path"
]
}
}
]
}
}
| id_path |
|---|
| 78 |
| 8/80 |
| 4/99 |
| 78/106 |
| 109/118 |
| 3/178 |
| 4/45/183 |
| 4/46/195 |
| 4/46/195/196 |
| 4/100/210 |
| 4/47/218 |
| 4/179/266 |
| 4/275 |
| 3/22/357 |
| 2566 |
| 4/48/6636 |
| 8/6790 |
| 22227 |
| 22228 |
| 22229 |
| 22231 |