Query time 0.00072
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "60.20"
},
"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": 4,
"rows_produced_per_join": 4,
"filtered": "100.00",
"cost_info": {
"read_cost": "1.00",
"eval_cost": "0.40",
"prefix_cost": "1.40",
"data_read_per_join": "416"
},
"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": 21,
"rows_produced_per_join": 84,
"filtered": "100.00",
"cost_info": {
"read_cost": "21.00",
"eval_cost": "8.40",
"prefix_cost": "30.80",
"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": [
"gaseus.gpf.feature_id",
"gaseus.gp.product_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 84,
"filtered": "100.00",
"cost_info": {
"read_cost": "21.00",
"eval_cost": "8.40",
"prefix_cost": "60.20",
"data_read_per_join": "64K"
},
"used_columns": [
"feature_id",
"product_id",
"variant_id",
"lang_code"
]
}
}
]
}
}
Result
| feature_id |
product_id |
variant_id |
group_id |
| 553 |
11005 |
1324 |
459 |
| 553 |
11006 |
1324 |
459 |
| 553 |
11007 |
1324 |
459 |
| 553 |
11008 |
1324 |
459 |
| 553 |
11009 |
1324 |
459 |
| 553 |
11010 |
1324 |
459 |
| 553 |
11011 |
1324 |
459 |
| 553 |
11012 |
1324 |
459 |
| 553 |
11013 |
1324 |
459 |
| 553 |
11014 |
1324 |
459 |
| 553 |
11015 |
1324 |
459 |
| 553 |
11016 |
2197 |
459 |
| 553 |
11017 |
2197 |
459 |
| 553 |
11018 |
2197 |
459 |
| 553 |
11019 |
2197 |
459 |
| 553 |
11020 |
2197 |
459 |
| 553 |
11021 |
2197 |
459 |
| 553 |
11022 |
2197 |
459 |
| 553 |
11023 |
2197 |
459 |
| 553 |
11024 |
2197 |
459 |
| 553 |
11025 |
2197 |
459 |
| 553 |
11026 |
2197 |
459 |
| 624 |
11005 |
1705 |
459 |
| 624 |
11006 |
1705 |
459 |
| 624 |
11007 |
1705 |
459 |
| 624 |
11008 |
1705 |
459 |
| 624 |
11009 |
1705 |
459 |
| 624 |
11010 |
1705 |
459 |
| 624 |
11011 |
1705 |
459 |
| 624 |
11012 |
1705 |
459 |
| 624 |
11013 |
1705 |
459 |
| 624 |
11014 |
1705 |
459 |
| 624 |
11015 |
1705 |
459 |
| 624 |
11016 |
1705 |
459 |
| 624 |
11017 |
1705 |
459 |
| 624 |
11018 |
1705 |
459 |
| 624 |
11019 |
1705 |
459 |
| 624 |
11020 |
1705 |
459 |
| 624 |
11021 |
1705 |
459 |
| 624 |
11022 |
1705 |
459 |
| 624 |
11023 |
1705 |
459 |
| 624 |
11024 |
1705 |
459 |
| 624 |
11025 |
1705 |
459 |
| 624 |
11026 |
1705 |
459 |
| 623 |
11005 |
1975 |
459 |
| 623 |
11006 |
2082 |
459 |
| 623 |
11007 |
2092 |
459 |
| 623 |
11008 |
2083 |
459 |
| 623 |
11009 |
2084 |
459 |
| 623 |
11010 |
2085 |
459 |
| 623 |
11011 |
2086 |
459 |
| 623 |
11012 |
2087 |
459 |
| 623 |
11013 |
2088 |
459 |
| 623 |
11014 |
2089 |
459 |
| 623 |
11015 |
2093 |
459 |
| 623 |
11016 |
1975 |
459 |
| 623 |
11017 |
2082 |
459 |
| 623 |
11018 |
2092 |
459 |
| 623 |
11019 |
2083 |
459 |
| 623 |
11020 |
2084 |
459 |
| 623 |
11021 |
2085 |
459 |
| 623 |
11022 |
2086 |
459 |
| 623 |
11023 |
2087 |
459 |
| 623 |
11024 |
2088 |
459 |
| 623 |
11025 |
2089 |
459 |
| 623 |
11026 |
2093 |
459 |