Query time 0.00405
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "28.41"
},
"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": 36,
"rows_produced_per_join": 36,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "5.05",
"eval_cost": "3.60",
"prefix_cost": "8.65",
"data_read_per_join": "27K"
},
"used_columns": [
"feature_id",
"product_id",
"variant_id",
"lang_code"
],
"attached_condition": "((`gaseus`.`pfv`.`feature_id` in (595,628,624,625,553,626,622,623,627,636,637,641)) and (`gaseus`.`pfv`.`product_id` in (3172,6714,3178)) 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": 20,
"filtered": "56.87",
"cost_info": {
"read_cost": "9.00",
"eval_cost": "2.05",
"prefix_cost": "21.25",
"data_read_per_join": "23K"
},
"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": 20,
"filtered": "100.00",
"cost_info": {
"read_cost": "5.12",
"eval_cost": "2.05",
"prefix_cost": "28.41",
"data_read_per_join": "63K"
},
"used_columns": [
"variant_id",
"variant",
"lang_code"
]
}
}
]
}
}
Result
| feature_id |
product_id |
variant_id |
position |
variant |
| 553 |
3172 |
1912 |
1 |
up to 5.0 (laboratory gases / laser gases) |
| 595 |
3172 |
1904 |
0 |
Oxygen (O2) |
| 622 |
3172 |
2026 |
0 |
DIN 477-5 No. 59 (W 30 x 2 RH 17.3 / 18.7) |
| 623 |
3172 |
1938 |
0 |
Clamping ring 6 mm |
| 624 |
3172 |
1803 |
0 |
300 |
| 625 |
3172 |
2334 |
0 |
10,00 |
| 626 |
3172 |
1706 |
0 |
48 |
| 627 |
3172 |
2290 |
0 |
Chrome-plated |
| 628 |
3172 |
1660 |
0 |
Single stage |
| 636 |
3172 |
2348 |
0 |
Y |
| 637 |
3172 |
2345 |
0 |
N |
| 641 |
3172 |
2347 |
0 |
N |
| 553 |
3178 |
1912 |
1 |
up to 5.0 (laboratory gases / laser gases) |
| 595 |
3178 |
1789 |
0 |
Argon (Ar) |
| 622 |
3178 |
2327 |
0 |
DIN 477-5 No. 54 (W30 x 2 RH 15.9 / 20.1) |
| 623 |
3178 |
1938 |
0 |
Clamping ring 6 mm |
| 624 |
3178 |
1803 |
0 |
300 |
| 625 |
3178 |
2341 |
0 |
1,50 |
| 626 |
3178 |
1926 |
0 |
8 |
| 627 |
3178 |
2290 |
0 |
Chrome-plated |
| 628 |
3178 |
1660 |
0 |
Single stage |
| 636 |
3178 |
2348 |
0 |
Y |
| 637 |
3178 |
2345 |
0 |
N |
| 641 |
3178 |
2347 |
0 |
N |
| 553 |
6714 |
1973 |
1 |
up to 4.5 (technical gases) |
| 595 |
6714 |
1988 |
0 |
Forming gases (mixture) |
| 622 |
6714 |
1937 |
0 |
DIN 477-1 No. 1 (W 21.80 x 1/14 LH) |
| 623 |
6714 |
1983 |
0 |
G 3/8 LH x 9 mm (hose grommet) |
| 624 |
6714 |
1705 |
0 |
200 |
| 625 |
6714 |
2338 |
0 |
2,50 |
| 626 |
6714 |
2020 |
0 |
1,92 |
| 627 |
6714 |
1659 |
1 |
Brass |
| 628 |
6714 |
1660 |
0 |
Single stage |
| 636 |
6714 |
2348 |
0 |
Y |
| 637 |
6714 |
2350 |
0 |
Y |
| 641 |
6714 |
2347 |
0 |
N |