{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "38.67"
},
"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": 84,
"rows_produced_per_join": 84,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "0.87",
"eval_cost": "8.40",
"prefix_cost": "9.27",
"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": 84,
"filtered": "100.00",
"cost_info": {
"read_cost": "21.00",
"eval_cost": "8.40",
"prefix_cost": "38.67",
"data_read_per_join": "219K"
},
"used_columns": [
"category_id",
"id_path"
]
}
}
]
}
}
| id_path |
|---|
| 23/31 |
| 4/45 |
| 4/46 |
| 4/47 |
| 4/52 |
| 12/53 |
| 12/59 |
| 3/85 |
| 3/87 |
| 71/91/90 |
| 4/99 |
| 4/100 |
| 109/110 |
| 109/115 |
| 109/117 |
| 109/118 |
| 109/124 |
| 2/16/143 |
| 2/15/168 |
| 2/15/169 |
| 4/45/183 |
| 4/45/186 |
| 4/45/194 |
| 4/46/195 |
| 4/46/200 |
| 4/46/206 |
| 4/46/207 |
| 4/46/208 |
| 4/100/209 |
| 4/100/212 |
| 4/47/220 |
| 4/52/234 |
| 4/48/238 |
| 4/99/271 |
| 12/58/291 |
| 12/59/317 |
| 3815/3816 |
| 3815/3817 |
| 3821/3822 |
| 3821/3824 |
| 3821/3826 |
| 3821/3828 |
| 3821/3829 |
| 3830/3831 |
| 3830/3832 |
| 3830/3834 |
| 3835 |
| 3835/3836 |
| 3835/3837 |
| 3835/3838 |
| 3821/3839 |
| 3840/3846 |
| 3853/3860 |
| 3853/3861 |
| 3853/3862 |
| 3853/3863 |
| 3853/3864 |
| 3821/3867 |
| 4/6640/6641 |
| 11037 |