{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "12.90"
},
"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": 27,
"rows_produced_per_join": 27,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "0.75",
"eval_cost": "2.70",
"prefix_cost": "3.45",
"data_read_per_join": "432"
},
"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": 27,
"filtered": "100.00",
"cost_info": {
"read_cost": "6.75",
"eval_cost": "2.70",
"prefix_cost": "12.90",
"data_read_per_join": "70K"
},
"used_columns": [
"category_id",
"id_path"
]
}
}
]
}
}
| id_path |
|---|
| 2566 |
| 8/6534 |
| 8/42/6767 |
| 20877/20880 |
| 20877/20881 |
| 20877/20883 |
| 20877/20884 |
| 20886 |
| 20887 |
| 20888 |
| 20889 |
| 20894 |
| 20895 |
| 20896 |
| 20899 |
| 20900 |
| 20902 |
| 20903 |
| 20904 |
| 20906 |
| 20907 |
| 20910 |
| 20911 |
| 20915 |
| 20916 |
| 20917 |
| 20918 |