Query time 0.00195
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "126.69"
},
"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": 44,
"rows_produced_per_join": 88,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "2.09",
"eval_cost": "17.60",
"prefix_cost": "21.10",
"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": 88,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "88.00",
"eval_cost": "17.60",
"prefix_cost": "126.70",
"data_read_per_join": "68K"
},
"used_columns": [
"feature_id",
"product_id",
"variant_id",
"lang_code"
]
}
}
]
}
}
Result
feature_id |
product_id |
variant_id |
group_id |
626 |
431615 |
7160 |
10694 |
626 |
431616 |
7168 |
10694 |
626 |
431617 |
7168 |
10694 |
626 |
431618 |
7168 |
10694 |
626 |
431619 |
7168 |
10694 |
626 |
431620 |
7169 |
10694 |
626 |
431621 |
7169 |
10694 |
626 |
431622 |
7169 |
10694 |
626 |
431623 |
7169 |
10694 |
626 |
431624 |
7170 |
10694 |
626 |
431625 |
7170 |
10694 |
626 |
431626 |
7170 |
10694 |
626 |
431627 |
7170 |
10694 |
626 |
431628 |
7160 |
10694 |
626 |
431629 |
7160 |
10694 |
626 |
431630 |
7160 |
10694 |
626 |
431631 |
7161 |
10694 |
626 |
431632 |
7161 |
10694 |
626 |
431633 |
7161 |
10694 |
626 |
431634 |
7161 |
10694 |
626 |
431635 |
7162 |
10694 |
626 |
431636 |
7162 |
10694 |
626 |
431637 |
7162 |
10694 |
626 |
431638 |
7162 |
10694 |
626 |
431639 |
7163 |
10694 |
626 |
431640 |
7163 |
10694 |
626 |
431641 |
7163 |
10694 |
626 |
431642 |
7163 |
10694 |
626 |
431643 |
7164 |
10694 |
626 |
431644 |
7164 |
10694 |
626 |
431645 |
7164 |
10694 |
626 |
431646 |
7164 |
10694 |
626 |
431647 |
7165 |
10694 |
626 |
431648 |
7165 |
10694 |
626 |
431649 |
7165 |
10694 |
626 |
431650 |
7165 |
10694 |
626 |
431651 |
7166 |
10694 |
626 |
431652 |
7166 |
10694 |
626 |
431653 |
7166 |
10694 |
626 |
431654 |
7166 |
10694 |
626 |
431655 |
7167 |
10694 |
626 |
431656 |
7167 |
10694 |
626 |
431657 |
7167 |
10694 |
626 |
431658 |
7167 |
10694 |
860 |
431615 |
65265 |
10694 |
860 |
431616 |
64062 |
10694 |
860 |
431617 |
64236 |
10694 |
860 |
431618 |
64475 |
10694 |
860 |
431619 |
65265 |
10694 |
860 |
431620 |
64062 |
10694 |
860 |
431621 |
64236 |
10694 |
860 |
431622 |
64475 |
10694 |
860 |
431623 |
65265 |
10694 |
860 |
431624 |
64062 |
10694 |
860 |
431625 |
64236 |
10694 |
860 |
431626 |
64475 |
10694 |
860 |
431627 |
65265 |
10694 |
860 |
431628 |
64062 |
10694 |
860 |
431629 |
64236 |
10694 |
860 |
431630 |
64475 |
10694 |
860 |
431631 |
64062 |
10694 |
860 |
431632 |
64236 |
10694 |
860 |
431633 |
64475 |
10694 |
860 |
431634 |
65265 |
10694 |
860 |
431635 |
64062 |
10694 |
860 |
431636 |
64236 |
10694 |
860 |
431637 |
64475 |
10694 |
860 |
431638 |
65265 |
10694 |
860 |
431639 |
64062 |
10694 |
860 |
431640 |
64236 |
10694 |
860 |
431641 |
64475 |
10694 |
860 |
431642 |
65265 |
10694 |
860 |
431643 |
64062 |
10694 |
860 |
431644 |
64236 |
10694 |
860 |
431645 |
64475 |
10694 |
860 |
431646 |
65265 |
10694 |
860 |
431647 |
64062 |
10694 |
860 |
431648 |
64236 |
10694 |
860 |
431649 |
64475 |
10694 |
860 |
431650 |
65265 |
10694 |
860 |
431651 |
64062 |
10694 |
860 |
431652 |
64236 |
10694 |
860 |
431653 |
64475 |
10694 |
860 |
431654 |
65265 |
10694 |
860 |
431655 |
64062 |
10694 |
860 |
431656 |
64236 |
10694 |
860 |
431657 |
64475 |
10694 |
860 |
431658 |
65265 |
10694 |