Query time 0.00269
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "34.68"
},
"nested_loop": [
{
"table": {
"table_name": "pfv",
"access_type": "range",
"possible_keys": [
"PRIMARY",
"fl",
"variant_id",
"lang_code",
"product_id",
"fpl",
"idx_product_feature_variant_id"
],
"key": "idx_product_feature_variant_id",
"used_key_parts": [
"product_id",
"feature_id",
"lang_code"
],
"key_length": "12",
"rows_examined_per_scan": 54,
"rows_produced_per_join": 54,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "7.28",
"eval_cost": "5.40",
"prefix_cost": "12.68",
"data_read_per_join": "41K"
},
"used_columns": [
"feature_id",
"product_id",
"variant_id",
"lang_code"
],
"attached_condition": "((`gaseus`.`pfv`.`feature_id` in (553,624,623)) and (`gaseus`.`pfv`.`product_id` in (11237,11259,11279,11299,11813,11819,11825,11831,11838,11844,11851,11869)) and (`gaseus`.`pfv`.`lang_code` = 'en'))"
}
},
{
"table": {
"table_name": "fv",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY",
"feature_id"
],
"key": "PRIMARY",
"used_key_parts": [
"variant_id"
],
"key_length": "3",
"ref": [
"gaseus.pfv.variant_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 8,
"filtered": "16.43",
"cost_info": {
"read_cost": "13.50",
"eval_cost": "0.89",
"prefix_cost": "31.58",
"data_read_per_join": "10K"
},
"used_columns": [
"variant_id",
"feature_id",
"position"
],
"attached_condition": "(`gaseus`.`fv`.`feature_id` = `gaseus`.`pfv`.`feature_id`)"
}
},
{
"table": {
"table_name": "fvd",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"variant_id",
"lang_code"
],
"key_length": "9",
"ref": [
"gaseus.pfv.variant_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 8,
"filtered": "100.00",
"cost_info": {
"read_cost": "2.22",
"eval_cost": "0.89",
"prefix_cost": "34.68",
"data_read_per_join": "27K"
},
"used_columns": [
"variant_id",
"variant",
"lang_code"
]
}
}
]
}
}
Result
| feature_id |
product_id |
variant_id |
position |
variant |
| 553 |
11237 |
1324 |
0 |
up to 4.5 |
| 623 |
11237 |
1975 |
0 |
G 1/4 RH x 6 mm (hose grommet) |
| 624 |
11237 |
1705 |
0 |
200 |
| 553 |
11259 |
1324 |
0 |
up to 4.5 |
| 623 |
11259 |
1983 |
0 |
G 3/8 LH x 9 mm (hose grommet) |
| 624 |
11259 |
1705 |
0 |
200 |
| 553 |
11279 |
1324 |
0 |
up to 4.5 |
| 623 |
11279 |
1983 |
0 |
G 3/8 LH x 9 mm (hose grommet) |
| 624 |
11279 |
1705 |
0 |
200 |
| 553 |
11299 |
1324 |
0 |
up to 4.5 |
| 623 |
11299 |
1975 |
0 |
G 1/4 RH x 6 mm (hose grommet) |
| 624 |
11299 |
1705 |
0 |
200 |
| 553 |
11813 |
2197 |
0 |
up to 5.0 |
| 623 |
11813 |
2083 |
0 |
External thread G3/8" RHk according to EN 560 |
| 624 |
11813 |
1949 |
0 |
70 |
| 553 |
11819 |
2197 |
0 |
up to 5.0 |
| 623 |
11819 |
2225 |
0 |
G 3/8 LHak (according to EN 560) |
| 624 |
11819 |
1949 |
0 |
70 |
| 553 |
11825 |
2197 |
0 |
up to 5.0 |
| 623 |
11825 |
2225 |
0 |
G 3/8 LHak (according to EN 560) |
| 624 |
11825 |
1949 |
0 |
70 |
| 553 |
11831 |
2197 |
0 |
up to 5.0 |
| 623 |
11831 |
1726 |
0 |
G 1/4 RHak |
| 624 |
11831 |
1949 |
0 |
70 |
| 553 |
11838 |
2197 |
0 |
up to 5.0 |
| 623 |
11838 |
2225 |
0 |
G 3/8 LHak (according to EN 560) |
| 624 |
11838 |
1949 |
0 |
70 |
| 553 |
11844 |
2197 |
0 |
up to 5.0 |
| 623 |
11844 |
1975 |
0 |
G 1/4 RH x 6 mm (hose grommet) |
| 624 |
11844 |
1949 |
0 |
70 |
| 553 |
11851 |
1324 |
0 |
up to 4.5 |
| 623 |
11851 |
2002 |
0 |
G 1/2 RHak (according to EN 560) |
| 624 |
11851 |
1949 |
0 |
70 |
| 553 |
11869 |
1324 |
0 |
up to 4.5 |
| 623 |
11869 |
2002 |
0 |
G 1/2 RHak (according to EN 560) |
| 624 |
11869 |
1949 |
0 |
70 |