Query time 0.00059
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "22.75"
},
"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": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.25",
"eval_cost": "0.10",
"prefix_cost": "0.35",
"data_read_per_join": "104"
},
"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": 32,
"rows_produced_per_join": 32,
"filtered": "100.00",
"cost_info": {
"read_cost": "8.00",
"eval_cost": "3.20",
"prefix_cost": "11.55",
"data_read_per_join": "512"
},
"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": 32,
"filtered": "100.00",
"cost_info": {
"read_cost": "8.00",
"eval_cost": "3.20",
"prefix_cost": "22.75",
"data_read_per_join": "24K"
},
"used_columns": [
"feature_id",
"product_id",
"variant_id",
"lang_code"
]
}
}
]
}
}
Result
| feature_id |
product_id |
variant_id |
group_id |
| 553 |
11887 |
1324 |
515 |
| 553 |
11888 |
1324 |
515 |
| 553 |
11889 |
1324 |
515 |
| 553 |
11890 |
1324 |
515 |
| 553 |
11891 |
1324 |
515 |
| 553 |
11892 |
1324 |
515 |
| 553 |
11893 |
1324 |
515 |
| 553 |
11894 |
1324 |
515 |
| 553 |
11895 |
1324 |
515 |
| 553 |
11896 |
1324 |
515 |
| 553 |
11897 |
1324 |
515 |
| 553 |
11898 |
2197 |
515 |
| 553 |
11899 |
2197 |
515 |
| 553 |
11900 |
2197 |
515 |
| 553 |
11901 |
2197 |
515 |
| 553 |
11902 |
2197 |
515 |
| 553 |
11903 |
2197 |
515 |
| 553 |
11904 |
2197 |
515 |
| 553 |
11905 |
2197 |
515 |
| 553 |
11906 |
2197 |
515 |
| 553 |
11907 |
2197 |
515 |
| 553 |
11908 |
2197 |
515 |
| 623 |
11887 |
1975 |
515 |
| 623 |
11888 |
2082 |
515 |
| 623 |
11889 |
2092 |
515 |
| 623 |
11890 |
2083 |
515 |
| 623 |
11891 |
2084 |
515 |
| 623 |
11892 |
2085 |
515 |
| 623 |
11893 |
2086 |
515 |
| 623 |
11894 |
2087 |
515 |
| 623 |
11895 |
2088 |
515 |
| 623 |
11896 |
2089 |
515 |
| 623 |
11897 |
2093 |
515 |
| 623 |
11898 |
1975 |
515 |
| 623 |
11899 |
2082 |
515 |
| 623 |
11900 |
2092 |
515 |
| 623 |
11901 |
2083 |
515 |
| 623 |
11902 |
2084 |
515 |
| 623 |
11903 |
2085 |
515 |
| 623 |
11904 |
2086 |
515 |
| 623 |
11905 |
2087 |
515 |
| 623 |
11906 |
2088 |
515 |
| 623 |
11907 |
2089 |
515 |
| 623 |
11908 |
2093 |
515 |