{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "15.66"
},
"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": 33,
"rows_produced_per_join": 33,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "0.81",
"eval_cost": "3.30",
"prefix_cost": "4.11",
"data_read_per_join": "528"
},
"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": 33,
"filtered": "100.00",
"cost_info": {
"read_cost": "8.25",
"eval_cost": "3.30",
"prefix_cost": "15.66",
"data_read_per_join": "86K"
},
"used_columns": [
"category_id",
"id_path"
]
}
}
]
}
}
| id_path |
|---|
| 3 |
| 12 |
| 3/14 |
| 5/27 |
| 5/28 |
| 23/36 |
| 4/45 |
| 12/59 |
| 71/75 |
| 3/84 |
| 3/85 |
| 3/86 |
| 71/126 |
| 12/319/128 |
| 2/18/172 |
| 3/178 |
| 8/6534/180 |
| 12/58/291 |
| 12/58/294 |
| 3/14/367 |
| 3/86/388 |
| 4799 |
| 4800 |
| 4801 |
| 4802 |
| 4803 |
| 4804 |
| 4805 |
| 4806 |
| 4807 |
| 5126 |
| 8/41/6781/6785 |
| 3/85/11912 |