{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "15.18"
},
"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": 32,
"rows_produced_per_join": 32,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "0.78",
"eval_cost": "3.20",
"prefix_cost": "3.98",
"data_read_per_join": "512"
},
"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": 32,
"filtered": "100.00",
"cost_info": {
"read_cost": "8.00",
"eval_cost": "3.20",
"prefix_cost": "15.18",
"data_read_per_join": "83K"
},
"used_columns": [
"category_id",
"id_path"
]
}
}
]
}
}
| id_path |
|---|
| 2/13 |
| 2/15 |
| 2/16 |
| 2/18 |
| 23 |
| 4/46 |
| 79 |
| 2/81 |
| 2/82 |
| 3/87 |
| 2/13/131 |
| 2/13/134 |
| 2/13/135 |
| 2/13/137 |
| 2/81/154 |
| 2/81/155 |
| 2/81/156 |
| 2/18/170 |
| 2/18/172 |
| 2/18/173 |
| 2/18/176 |
| 4/46/206 |
| 4/46/208 |
| 4/52/228 |
| 2268 |
| 2269 |
| 2272 |
| 2273 |
| 2276 |
| 2308 |
| 2309 |
| 2310 |