Query time 0.00344
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "37.69"
},
"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": 48,
"rows_produced_per_join": 48,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "6.53",
"eval_cost": "4.80",
"prefix_cost": "11.33",
"data_read_per_join": "37K"
},
"used_columns": [
"feature_id",
"product_id",
"variant_id",
"lang_code"
],
"attached_condition": "((`gaseus`.`pfv`.`feature_id` in (628,595,641,637,636,627,623,622,626,553,625,624)) and (`gaseus`.`pfv`.`product_id` in (3315,3318,3687,5076)) 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": 27,
"filtered": "56.87",
"cost_info": {
"read_cost": "12.00",
"eval_cost": "2.73",
"prefix_cost": "28.13",
"data_read_per_join": "31K"
},
"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": 27,
"filtered": "100.00",
"cost_info": {
"read_cost": "6.82",
"eval_cost": "2.73",
"prefix_cost": "37.69",
"data_read_per_join": "85K"
},
"used_columns": [
"variant_id",
"variant",
"lang_code"
]
}
}
]
}
}
Result
| feature_id |
product_id |
variant_id |
position |
variant |
| 553 |
3315 |
1973 |
1 |
up to 4.5 (technical gases) |
| 595 |
3315 |
1941 |
0 |
Tracer gases (mixture) |
| 622 |
3315 |
1942 |
0 |
DIN 477-1 No. 14 (M 19 x 1.5 LH) |
| 623 |
3315 |
1983 |
0 |
G 3/8 LH x 9 mm (hose grommet) |
| 624 |
3315 |
1705 |
0 |
200 |
| 625 |
3315 |
2341 |
0 |
1,50 |
| 626 |
3315 |
2343 |
0 |
n/a |
| 627 |
3315 |
1659 |
1 |
Brass |
| 628 |
3315 |
1712 |
0 |
Double stage |
| 636 |
3315 |
2344 |
0 |
N |
| 637 |
3315 |
2345 |
0 |
N |
| 641 |
3315 |
2347 |
0 |
N |
| 553 |
3318 |
1973 |
1 |
up to 4.5 (technical gases) |
| 595 |
3318 |
1905 |
0 |
Nitrogen (N2) |
| 622 |
3318 |
1946 |
0 |
DIN 477-1 No. 10 (W 24.32 x 1/14 RH) |
| 623 |
3318 |
1975 |
0 |
G 1/4 RH x 6 mm (hose grommet) |
| 624 |
3318 |
1705 |
0 |
200 |
| 625 |
3318 |
2334 |
0 |
10,00 |
| 626 |
3318 |
1706 |
0 |
48 |
| 627 |
3318 |
1659 |
1 |
Brass |
| 628 |
3318 |
1660 |
0 |
Single stage |
| 636 |
3318 |
2348 |
0 |
Y |
| 637 |
3318 |
2345 |
0 |
N |
| 641 |
3318 |
2347 |
0 |
N |
| 553 |
3687 |
1973 |
1 |
up to 4.5 (technical gases) |
| 595 |
3687 |
1789 |
0 |
Argon (Ar) |
| 622 |
3687 |
2325 |
0 |
DIN 477-1 No. 6 (W 21.8 x 1/14 RH) |
| 623 |
3687 |
1975 |
0 |
G 1/4 RH x 6 mm (hose grommet) |
| 624 |
3687 |
1705 |
0 |
200 |
| 625 |
3687 |
2339 |
0 |
4,50 |
| 626 |
3687 |
2021 |
0 |
0,3 |
| 627 |
3687 |
1659 |
1 |
Brass |
| 628 |
3687 |
1660 |
0 |
Single stage |
| 636 |
3687 |
2348 |
0 |
Y |
| 637 |
3687 |
2350 |
0 |
Y |
| 641 |
3687 |
2347 |
0 |
N |
| 553 |
5076 |
1973 |
1 |
up to 4.5 (technical gases) |
| 595 |
5076 |
1900 |
0 |
Hydrogen (H2) |
| 622 |
5076 |
1937 |
0 |
DIN 477-1 No. 1 (W 21.80 x 1/14 LH) |
| 623 |
5076 |
1983 |
0 |
G 3/8 LH x 9 mm (hose grommet) |
| 624 |
5076 |
1705 |
0 |
200 |
| 625 |
5076 |
2339 |
0 |
4,50 |
| 626 |
5076 |
2020 |
0 |
1,92 |
| 627 |
5076 |
1659 |
1 |
Brass |
| 628 |
5076 |
1660 |
0 |
Single stage |
| 636 |
5076 |
2348 |
0 |
Y |
| 637 |
5076 |
2350 |
0 |
Y |
| 641 |
5076 |
2347 |
0 |
N |