Query time 0.00202
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "104.28"
},
"nested_loop": [
{
"table": {
"table_name": "gpf",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"idx_group_id"
],
"key": "idx_group_id",
"used_key_parts": [
"group_id"
],
"key_length": "3",
"ref": [
"const"
],
"rows_examined_per_scan": 2,
"rows_produced_per_join": 2,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "1.00",
"eval_cost": "0.40",
"prefix_cost": "1.40",
"data_read_per_join": "208"
},
"used_columns": [
"feature_id",
"group_id"
]
}
},
{
"table": {
"table_name": "gp",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"idx_group_id"
],
"key": "idx_group_id",
"used_key_parts": [
"group_id"
],
"key_length": "3",
"ref": [
"const"
],
"rows_examined_per_scan": 36,
"rows_produced_per_join": 72,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "2.08",
"eval_cost": "14.40",
"prefix_cost": "17.88",
"data_read_per_join": "1K"
},
"used_columns": [
"product_id",
"group_id"
]
}
},
{
"table": {
"table_name": "pfv",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"fl",
"lang_code",
"product_id",
"fpl",
"idx_product_feature_variant_id"
],
"key": "fpl",
"used_key_parts": [
"feature_id",
"product_id",
"lang_code"
],
"key_length": "12",
"ref": [
"webmarco.gpf.feature_id",
"webmarco.gp.product_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 72,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "72.00",
"eval_cost": "14.40",
"prefix_cost": "104.28",
"data_read_per_join": "55K"
},
"used_columns": [
"feature_id",
"product_id",
"variant_id",
"lang_code"
]
}
}
]
}
}
Result
feature_id |
product_id |
variant_id |
group_id |
626 |
431698 |
7164 |
10699 |
626 |
431699 |
7168 |
10699 |
626 |
431700 |
7168 |
10699 |
626 |
431701 |
7168 |
10699 |
626 |
431702 |
7168 |
10699 |
626 |
431703 |
7169 |
10699 |
626 |
431704 |
7169 |
10699 |
626 |
431705 |
7169 |
10699 |
626 |
431706 |
7169 |
10699 |
626 |
431707 |
7170 |
10699 |
626 |
431708 |
7170 |
10699 |
626 |
431709 |
7170 |
10699 |
626 |
431710 |
7170 |
10699 |
626 |
431711 |
7171 |
10699 |
626 |
431712 |
7171 |
10699 |
626 |
431713 |
7171 |
10699 |
626 |
431714 |
7171 |
10699 |
626 |
431715 |
38285 |
10699 |
626 |
431716 |
38285 |
10699 |
626 |
431717 |
38285 |
10699 |
626 |
431718 |
38285 |
10699 |
626 |
431719 |
7164 |
10699 |
626 |
431720 |
7164 |
10699 |
626 |
431721 |
7164 |
10699 |
626 |
431722 |
7165 |
10699 |
626 |
431723 |
7165 |
10699 |
626 |
431724 |
7165 |
10699 |
626 |
431725 |
7165 |
10699 |
626 |
431726 |
7166 |
10699 |
626 |
431727 |
7166 |
10699 |
626 |
431728 |
7166 |
10699 |
626 |
431729 |
7166 |
10699 |
626 |
431730 |
7167 |
10699 |
626 |
431731 |
7167 |
10699 |
626 |
431732 |
7167 |
10699 |
626 |
431733 |
7167 |
10699 |
860 |
431698 |
64062 |
10699 |
860 |
431699 |
64062 |
10699 |
860 |
431700 |
64236 |
10699 |
860 |
431701 |
64691 |
10699 |
860 |
431702 |
65302 |
10699 |
860 |
431703 |
64062 |
10699 |
860 |
431704 |
64236 |
10699 |
860 |
431705 |
64691 |
10699 |
860 |
431706 |
65302 |
10699 |
860 |
431707 |
64062 |
10699 |
860 |
431708 |
64236 |
10699 |
860 |
431709 |
64691 |
10699 |
860 |
431710 |
65302 |
10699 |
860 |
431711 |
64062 |
10699 |
860 |
431712 |
64236 |
10699 |
860 |
431713 |
64691 |
10699 |
860 |
431714 |
65302 |
10699 |
860 |
431715 |
64062 |
10699 |
860 |
431716 |
64236 |
10699 |
860 |
431717 |
64691 |
10699 |
860 |
431718 |
65302 |
10699 |
860 |
431719 |
64236 |
10699 |
860 |
431720 |
64691 |
10699 |
860 |
431721 |
65302 |
10699 |
860 |
431722 |
64062 |
10699 |
860 |
431723 |
64236 |
10699 |
860 |
431724 |
64691 |
10699 |
860 |
431725 |
65302 |
10699 |
860 |
431726 |
64062 |
10699 |
860 |
431727 |
64236 |
10699 |
860 |
431728 |
64691 |
10699 |
860 |
431729 |
65302 |
10699 |
860 |
431730 |
64062 |
10699 |
860 |
431731 |
64236 |
10699 |
860 |
431732 |
64691 |
10699 |
860 |
431733 |
65302 |
10699 |