Query time 0.00037
JSON explain
{
"query_block": {
"select_id": 1,
"cost": 0.07126534,
"nested_loop": [
{
"table": {
"table_name": "p",
"access_type": "range",
"possible_keys": ["PRIMARY", "idx_group_id"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["product_id"],
"loops": 1,
"rows": 18,
"cost": 0.01994494,
"filtered": 100,
"attached_condition": "p.product_id in (189,192,168,188,203,196,3,165,167,221,166,184,193,224,160,820,169,200)"
}
},
{
"table": {
"table_name": "f",
"access_type": "ref",
"possible_keys": ["idx_group_id"],
"key": "idx_group_id",
"key_length": "3",
"used_key_parts": ["group_id"],
"ref": ["u428615623_ecartifygonje.p.group_id"],
"loops": 18,
"rows": 1,
"cost": 0.03440128,
"filtered": 100
}
},
{
"table": {
"table_name": "g",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["id"],
"ref": ["u428615623_ecartifygonje.p.group_id"],
"loops": 18,
"rows": 1,
"cost": 0.01691912,
"filtered": 100
}
}
]
}
}
Result
| feature_id |
purpose |
product_id |
parent_product_id |
id |
code |
| 37 |
group_variation_catalog_item |
165 |
0 |
29 |
PV-BF88B072B |
| 40 |
group_variation_catalog_item |
193 |
0 |
39 |
PV-2E6038F9D |
| 40 |
group_variation_catalog_item |
196 |
0 |
38 |
PV-82FA0FA06 |
| 40 |
group_variation_catalog_item |
200 |
0 |
40 |
PV-9702DAB2C |
| 37 |
group_variation_catalog_item |
221 |
0 |
34 |
PV-4DDD0AB9D |
| 37 |
group_variation_catalog_item |
224 |
0 |
35 |
PV-5A90F89B8 |