Query time 0.00075
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "54.60"
},
"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": 19,
"rows_produced_per_join": 76,
"filtered": "100.00",
"cost_info": {
"read_cost": "19.00",
"eval_cost": "7.60",
"prefix_cost": "28.00",
"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": 76,
"filtered": "100.00",
"cost_info": {
"read_cost": "19.00",
"eval_cost": "7.60",
"prefix_cost": "54.60",
"data_read_per_join": "58K"
},
"used_columns": [
"feature_id",
"product_id",
"variant_id",
"lang_code"
]
}
}
]
}
}
Result
| feature_id |
product_id |
variant_id |
group_id |
| 553 |
11047 |
1324 |
461 |
| 553 |
11048 |
1324 |
461 |
| 553 |
11049 |
1324 |
461 |
| 553 |
11050 |
1324 |
461 |
| 553 |
11051 |
1324 |
461 |
| 553 |
11052 |
1324 |
461 |
| 553 |
11053 |
1324 |
461 |
| 553 |
11054 |
1324 |
461 |
| 553 |
11055 |
1324 |
461 |
| 553 |
11056 |
1324 |
461 |
| 553 |
11057 |
2197 |
461 |
| 553 |
11058 |
2197 |
461 |
| 553 |
11059 |
2197 |
461 |
| 553 |
11060 |
2197 |
461 |
| 553 |
11061 |
2197 |
461 |
| 553 |
11062 |
2197 |
461 |
| 553 |
11063 |
2197 |
461 |
| 553 |
11065 |
2197 |
461 |
| 553 |
11066 |
2197 |
461 |
| 553 |
11064 |
2197 |
461 |
| 624 |
11047 |
1705 |
461 |
| 624 |
11048 |
1705 |
461 |
| 624 |
11049 |
1705 |
461 |
| 624 |
11050 |
1705 |
461 |
| 624 |
11051 |
1705 |
461 |
| 624 |
11052 |
1705 |
461 |
| 624 |
11053 |
1705 |
461 |
| 624 |
11054 |
1705 |
461 |
| 624 |
11055 |
1705 |
461 |
| 624 |
11056 |
1705 |
461 |
| 624 |
11057 |
1705 |
461 |
| 624 |
11058 |
1705 |
461 |
| 624 |
11059 |
1705 |
461 |
| 624 |
11060 |
1705 |
461 |
| 624 |
11061 |
1705 |
461 |
| 624 |
11062 |
1705 |
461 |
| 624 |
11063 |
1705 |
461 |
| 624 |
11065 |
1705 |
461 |
| 624 |
11066 |
1705 |
461 |
| 624 |
11064 |
1705 |
461 |
| 623 |
11047 |
1983 |
461 |
| 623 |
11048 |
2095 |
461 |
| 623 |
11049 |
2096 |
461 |
| 623 |
11050 |
2097 |
461 |
| 623 |
11051 |
2085 |
461 |
| 623 |
11052 |
2086 |
461 |
| 623 |
11053 |
2087 |
461 |
| 623 |
11054 |
2088 |
461 |
| 623 |
11055 |
2089 |
461 |
| 623 |
11056 |
2090 |
461 |
| 623 |
11057 |
1983 |
461 |
| 623 |
11058 |
2095 |
461 |
| 623 |
11059 |
2096 |
461 |
| 623 |
11060 |
2097 |
461 |
| 623 |
11061 |
2085 |
461 |
| 623 |
11062 |
2086 |
461 |
| 623 |
11063 |
2087 |
461 |
| 623 |
11065 |
2089 |
461 |
| 623 |
11066 |
2090 |
461 |
| 623 |
11064 |
2088 |
461 |