Query time 0.00063
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "57.40"
},
"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": 20,
"rows_produced_per_join": 80,
"filtered": "100.00",
"cost_info": {
"read_cost": "20.00",
"eval_cost": "8.00",
"prefix_cost": "29.40",
"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": 80,
"filtered": "100.00",
"cost_info": {
"read_cost": "20.00",
"eval_cost": "8.00",
"prefix_cost": "57.40",
"data_read_per_join": "61K"
},
"used_columns": [
"feature_id",
"product_id",
"variant_id",
"lang_code"
]
}
}
]
}
}
Result
| feature_id |
product_id |
variant_id |
group_id |
| 553 |
11236 |
2197 |
469 |
| 553 |
11235 |
2197 |
469 |
| 553 |
11234 |
2197 |
469 |
| 553 |
11233 |
2197 |
469 |
| 553 |
11232 |
2197 |
469 |
| 553 |
11231 |
2197 |
469 |
| 553 |
11230 |
2197 |
469 |
| 553 |
11229 |
2197 |
469 |
| 553 |
11228 |
2197 |
469 |
| 553 |
11227 |
2197 |
469 |
| 553 |
11226 |
2197 |
469 |
| 553 |
11225 |
1324 |
469 |
| 553 |
11224 |
1324 |
469 |
| 553 |
11223 |
1324 |
469 |
| 553 |
11222 |
1324 |
469 |
| 553 |
11221 |
1324 |
469 |
| 553 |
11220 |
1324 |
469 |
| 553 |
11219 |
1324 |
469 |
| 553 |
11218 |
1324 |
469 |
| 553 |
11217 |
1324 |
469 |
| 553 |
11216 |
1324 |
469 |
| 553 |
11215 |
1324 |
469 |
| 624 |
11236 |
1705 |
469 |
| 624 |
11235 |
1705 |
469 |
| 624 |
11234 |
1705 |
469 |
| 624 |
11233 |
1705 |
469 |
| 624 |
11232 |
1705 |
469 |
| 624 |
11231 |
1705 |
469 |
| 624 |
11230 |
1705 |
469 |
| 624 |
11229 |
1705 |
469 |
| 624 |
11228 |
1705 |
469 |
| 624 |
11227 |
1705 |
469 |
| 624 |
11226 |
1705 |
469 |
| 624 |
11225 |
1705 |
469 |
| 624 |
11224 |
1705 |
469 |
| 624 |
11223 |
1705 |
469 |
| 624 |
11222 |
1705 |
469 |
| 624 |
11221 |
1705 |
469 |
| 624 |
11220 |
1705 |
469 |
| 624 |
11219 |
1705 |
469 |
| 624 |
11218 |
1705 |
469 |
| 624 |
11217 |
1705 |
469 |
| 624 |
11216 |
1705 |
469 |
| 624 |
11215 |
1705 |
469 |
| 623 |
11236 |
2093 |
469 |
| 623 |
11235 |
2089 |
469 |
| 623 |
11234 |
2088 |
469 |
| 623 |
11233 |
2087 |
469 |
| 623 |
11232 |
2086 |
469 |
| 623 |
11231 |
2085 |
469 |
| 623 |
11230 |
2084 |
469 |
| 623 |
11229 |
2083 |
469 |
| 623 |
11228 |
2092 |
469 |
| 623 |
11227 |
2082 |
469 |
| 623 |
11226 |
1975 |
469 |
| 623 |
11225 |
2093 |
469 |
| 623 |
11224 |
2089 |
469 |
| 623 |
11223 |
2088 |
469 |
| 623 |
11222 |
2087 |
469 |
| 623 |
11221 |
2086 |
469 |
| 623 |
11220 |
2085 |
469 |
| 623 |
11219 |
2084 |
469 |
| 623 |
11218 |
2083 |
469 |
| 623 |
11217 |
2092 |
469 |
| 623 |
11216 |
2082 |
469 |
| 623 |
11215 |
1975 |
469 |