{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "11.01"
},
"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": 23,
"rows_produced_per_join": 23,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "0.66",
"eval_cost": "2.30",
"prefix_cost": "2.96",
"data_read_per_join": "368"
},
"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": 23,
"filtered": "100.00",
"cost_info": {
"read_cost": "5.75",
"eval_cost": "2.30",
"prefix_cost": "11.01",
"data_read_per_join": "60K"
},
"used_columns": [
"category_id",
"id_path"
]
}
}
]
}
}
| id_path |
|---|
| 5/97 |
| 4/99 |
| 4/100 |
| 109/113 |
| 109/116 |
| 109/117 |
| 109/118 |
| 4/45/185 |
| 4/46/207 |
| 4/46/208 |
| 4/100/209 |
| 4/48/240 |
| 4/50/247 |
| 4/99/271 |
| 4/99/272 |
| 2566 |
| 4/7580/7581 |
| 7707 |
| 7707/7762 |
| 7707/8161 |
| 7707/8577 |
| 8657 |
| 7707/9688 |