{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "14.76"
},
"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": 31,
"rows_produced_per_join": 31,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "0.81",
"eval_cost": "3.10",
"prefix_cost": "3.91",
"data_read_per_join": "496"
},
"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": 31,
"filtered": "100.00",
"cost_info": {
"read_cost": "7.75",
"eval_cost": "3.10",
"prefix_cost": "14.76",
"data_read_per_join": "81K"
},
"used_columns": [
"category_id",
"id_path"
]
}
}
]
}
}
| id_path |
|---|
| 3/22 |
| 23/30 |
| 4/45 |
| 4/100 |
| 78/106 |
| 109/118 |
| 2/17/147 |
| 4/45/183 |
| 4/45/189 |
| 4/45/191 |
| 4/46/195 |
| 4/46/195/196 |
| 4/47/218 |
| 4/47/219 |
| 4/125/269 |
| 3/20/329 |
| 3/21/336 |
| 3/22/357 |
| 3/20/964 |
| 2750 |
| 2751 |
| 2752 |
| 5933 |
| 5934 |
| 5934/5936 |
| 4/46/195/22740/7651 |
| 5934/8018 |
| 2750/11722 |
| 2750/11723 |
| 2750/11724 |
| 22063 |