{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "31.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": 69,
"rows_produced_per_join": 69,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "0.85",
"eval_cost": "6.90",
"prefix_cost": "7.75",
"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": 69,
"filtered": "100.00",
"cost_info": {
"read_cost": "17.25",
"eval_cost": "6.90",
"prefix_cost": "31.90",
"data_read_per_join": "180K"
},
"used_columns": [
"category_id",
"id_path"
]
}
}
]
}
}
| id_path |
|---|
| 8 |
| 2/13 |
| 2/17 |
| 2/18 |
| 2/19 |
| 3/21 |
| 5/27 |
| 23/38 |
| 8/40 |
| 4/45 |
| 4/51 |
| 2/82 |
| 3/85 |
| 3/87 |
| 71/91/90 |
| 78/105 |
| 109/114 |
| 109/115 |
| 109/116 |
| 109/118 |
| 109/123 |
| 12/319/128 |
| 2/13/131 |
| 2/13/132 |
| 2/13/134 |
| 2/13/136 |
| 2/13/137 |
| 2/17/147 |
| 2/17/148 |
| 2/19/157 |
| 2/19/162 |
| 2/18/170 |
| 2/18/173 |
| 2/18/174 |
| 2/18/175 |
| 4/179 |
| 181 |
| 4/51/250 |
| 3/85/384 |
| 838 |
| 839 |
| 840 |
| 841 |
| 842 |
| 843 |
| 844 |
| 845 |
| 846 |
| 847 |
| 839/848 |
| 843/850 |
| 851 |
| 840/852 |
| 843/856 |
| 843/857 |
| 846/859 |
| 846/860 |
| 839/861 |
| 851/862 |
| 851/863 |
| 851/864 |
| 838/865 |
| 1323 |
| 1324 |
| 1331 |
| 1337 |
| 2566 |
| 4/51/6638 |
| 8/40/6737 |