{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "37.46"
},
"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": 81,
"rows_produced_per_join": 81,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "1.01",
"eval_cost": "8.10",
"prefix_cost": "9.11",
"data_read_per_join": "1K"
},
"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": 81,
"filtered": "100.00",
"cost_info": {
"read_cost": "20.25",
"eval_cost": "8.10",
"prefix_cost": "37.46",
"data_read_per_join": "211K"
},
"used_columns": [
"category_id",
"id_path"
]
}
}
]
}
}
| id_path |
|---|
| 12 |
| 3/14 |
| 2/15 |
| 3/22 |
| 5/26 |
| 23/38/37 |
| 8/39 |
| 4/45 |
| 4/46 |
| 4/48 |
| 4/52 |
| 5/62 |
| 71/72 |
| 71/73 |
| 71/75 |
| 4/76 |
| 78 |
| 3/85 |
| 3/86 |
| 3/87 |
| 5/96 |
| 5/97 |
| 4/100 |
| 78/105 |
| 78/106 |
| 78/108 |
| 109 |
| 109/112 |
| 109/115 |
| 109/116 |
| 109/117 |
| 109/118 |
| 109/123 |
| 71/126 |
| 2/18/176 |
| 3/178 |
| 181 |
| 4/45/183 |
| 4/46/206 |
| 4/46/208 |
| 4/51/250 |
| 4/179/261 |
| 12/319/321 |
| 3/21/336 |
| 3/14/375 |
| 3/14/377 |
| 3/14/378 |
| 3/14/379 |
| 2426 |
| 2427 |
| 2427/2428 |
| 2427/2429 |
| 2427/2432 |
| 2426/2433 |
| 2426/2434 |
| 2426/2438 |
| 2427/2428/2439 |
| 2427/2428/2440 |
| 2441 |
| 2442 |
| 2443 |
| 2444 |
| 2426/2445 |
| 2426/2446 |
| 2447 |
| 2448 |
| 2427/2449 |
| 2450 |
| 2452 |
| 2533 |
| 2535 |
| 2618 |
| 2427/2633 |
| 2695 |
| 3339 |
| 3376 |
| 3382 |
| 4894 |
| 5235 |
| 4/45/6634 |
| 3/85/11904 |