{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "13.76"
},
"nested_loop": [
{
"table": {
"table_name": "p",
"access_type": "range",
"possible_keys": [
"PRIMARY",
"idx_group_id"
],
"key": "PRIMARY",
"used_key_parts": [
"product_id"
],
"key_length": "3",
"rows_examined_per_scan": 4,
"rows_produced_per_join": 4,
"filtered": "100.00",
"index_condition": "(`test2_gaseus`.`p`.`product_id` in (3172,6714,6840))",
"cost_info": {
"read_cost": "2.16",
"eval_cost": "0.40",
"prefix_cost": "2.56",
"data_read_per_join": "64"
},
"used_columns": [
"product_id",
"parent_product_id",
"group_id"
]
}
},
{
"table": {
"table_name": "g",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"id"
],
"key_length": "3",
"ref": [
"test2_gaseus.p.group_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 4,
"filtered": "100.00",
"cost_info": {
"read_cost": "1.00",
"eval_cost": "0.40",
"prefix_cost": "3.96",
"data_read_per_join": "1K"
},
"used_columns": [
"id",
"code"
]
}
},
{
"table": {
"table_name": "f",
"access_type": "ref",
"possible_keys": [
"idx_group_id"
],
"key": "idx_group_id",
"used_key_parts": [
"group_id"
],
"key_length": "3",
"ref": [
"test2_gaseus.p.group_id"
],
"rows_examined_per_scan": 7,
"rows_produced_per_join": 28,
"filtered": "100.00",
"cost_info": {
"read_cost": "7.00",
"eval_cost": "2.80",
"prefix_cost": "13.76",
"data_read_per_join": "2K"
},
"used_columns": [
"feature_id",
"purpose",
"group_id"
]
}
}
]
}
}
| feature_id | purpose | product_id | parent_product_id | id | code |
|---|---|---|---|---|---|
| 595 | group_variation_catalog_item | 3172 | 6843 | 797 | F10EffectLabLine |
| 628 | group_variation_catalog_item | 3172 | 6843 | 797 | F10EffectLabLine |
| 624 | group_variation_catalog_item | 3172 | 6843 | 797 | F10EffectLabLine |
| 625 | group_variation_catalog_item | 3172 | 6843 | 797 | F10EffectLabLine |
| 553 | group_variation_catalog_item | 3172 | 6843 | 797 | F10EffectLabLine |
| 626 | group_variation_catalog_item | 3172 | 6843 | 797 | F10EffectLabLine |
| 622 | group_variation_catalog_item | 3172 | 6843 | 797 | F10EffectLabLine |
| 623 | group_variation_catalog_item | 3172 | 6843 | 797 | F10EffectLabLine |
| 627 | group_variation_catalog_item | 3172 | 6843 | 797 | F10EffectLabLine |
| 636 | group_variation_catalog_item | 3172 | 6843 | 797 | F10EffectLabLine |
| 637 | group_variation_catalog_item | 3172 | 6843 | 797 | F10EffectLabLine |
| 641 | group_variation_catalog_item | 3172 | 6843 | 797 | F10EffectLabLine |
| 625 | group_variation_catalog_item | 6714 | 3687 | 802 | F15 |
| 624 | group_variation_catalog_item | 6714 | 3687 | 802 | F15 |
| 628 | group_variation_catalog_item | 6714 | 3687 | 802 | F15 |
| 595 | group_variation_catalog_item | 6714 | 3687 | 802 | F15 |
| 641 | group_variation_catalog_item | 6714 | 3687 | 802 | F15 |
| 637 | group_variation_catalog_item | 6714 | 3687 | 802 | F15 |
| 636 | group_variation_catalog_item | 6714 | 3687 | 802 | F15 |
| 627 | group_variation_catalog_item | 6714 | 3687 | 802 | F15 |
| 623 | group_variation_catalog_item | 6714 | 3687 | 802 | F15 |
| 622 | group_variation_catalog_item | 6714 | 3687 | 802 | F15 |
| 626 | group_variation_catalog_item | 6714 | 3687 | 802 | F15 |
| 553 | group_variation_catalog_item | 6714 | 3687 | 802 | F15 |
| 625 | group_variation_catalog_item | 6840 | 0 | 803 | F15EffectLabLine |
| 624 | group_variation_catalog_item | 6840 | 0 | 803 | F15EffectLabLine |
| 628 | group_variation_catalog_item | 6840 | 0 | 803 | F15EffectLabLine |
| 595 | group_variation_catalog_item | 6840 | 0 | 803 | F15EffectLabLine |
| 641 | group_variation_catalog_item | 6840 | 0 | 803 | F15EffectLabLine |
| 637 | group_variation_catalog_item | 6840 | 0 | 803 | F15EffectLabLine |
| 636 | group_variation_catalog_item | 6840 | 0 | 803 | F15EffectLabLine |
| 627 | group_variation_catalog_item | 6840 | 0 | 803 | F15EffectLabLine |
| 623 | group_variation_catalog_item | 6840 | 0 | 803 | F15EffectLabLine |
| 622 | group_variation_catalog_item | 6840 | 0 | 803 | F15EffectLabLine |
| 626 | group_variation_catalog_item | 6840 | 0 | 803 | F15EffectLabLine |
| 553 | group_variation_catalog_item | 6840 | 0 | 803 | F15EffectLabLine |