Query time 0.00403
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "27.61"
},
"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": "4.89",
"eval_cost": "3.60",
"prefix_cost": "8.49",
"data_read_per_join": "27K"
},
"used_columns": [
"feature_id",
"product_id",
"variant_id",
"lang_code"
],
"attached_condition": "((`test2_gaseus`.`pfv`.`feature_id` in (553,625,624,627,628,641,637,636,623,622,626,595)) and (`test2_gaseus`.`pfv`.`product_id` in (12379,519,7008)) and (`test2_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": [
"test2_gaseus.pfv.variant_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 18,
"filtered": "51.79",
"cost_info": {
"read_cost": "9.00",
"eval_cost": "1.86",
"prefix_cost": "21.09",
"data_read_per_join": "21K"
},
"used_columns": [
"variant_id",
"feature_id",
"position"
],
"attached_condition": "(`test2_gaseus`.`fv`.`feature_id` = `test2_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": [
"test2_gaseus.pfv.variant_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 18,
"filtered": "100.00",
"cost_info": {
"read_cost": "4.66",
"eval_cost": "1.86",
"prefix_cost": "27.61",
"data_read_per_join": "58K"
},
"used_columns": [
"variant_id",
"variant",
"lang_code"
]
}
}
]
}
}
Result
| feature_id |
product_id |
variant_id |
position |
variant |
| 553 |
519 |
1912 |
1 |
up to 5.0 (laboratory gases / laser gases) |
| 595 |
519 |
1988 |
0 |
Forming gases (mixture) |
| 622 |
519 |
2016 |
0 |
DIN 477-5 No. 57 (W 30 x 2 LH 15.2 / 20.8) |
| 623 |
519 |
2090 |
0 |
Compression fitting front 1/4" |
| 624 |
519 |
1705 |
0 |
200 |
| 625 |
519 |
2145 |
0 |
2,5 |
| 626 |
519 |
1989 |
0 |
1,8 |
| 627 |
519 |
1659 |
1 |
Brass |
| 628 |
519 |
1660 |
0 |
Single stage |
| 636 |
519 |
2348 |
0 |
Y |
| 637 |
519 |
2350 |
0 |
Y |
| 641 |
519 |
2347 |
0 |
N |
| 553 |
7008 |
1912 |
1 |
up to 5.0 (laboratory gases / laser gases) |
| 595 |
7008 |
1748 |
0 |
Carbon Dioxide (CO2) |
| 622 |
7008 |
2325 |
0 |
DIN 477-1 No. 6 (W 21.8 x 1/14 RH) |
| 623 |
7008 |
1938 |
0 |
Clamping ring 6 mm |
| 624 |
7008 |
1705 |
0 |
200 |
| 625 |
7008 |
2122 |
0 |
10 |
| 626 |
7008 |
1706 |
0 |
48 |
| 627 |
7008 |
2290 |
0 |
Chrome-plated |
| 628 |
7008 |
1660 |
0 |
Single stage |
| 636 |
7008 |
2348 |
0 |
Y |
| 637 |
7008 |
2345 |
0 |
N |
| 641 |
7008 |
2347 |
0 |
N |
| 553 |
12379 |
1935 |
1 |
up to 6.0 (ultrapure gases) |
| 624 |
12379 |
1949 |
0 |
70 |
| 625 |
12379 |
2413 |
0 |
1.5 |
| 627 |
12379 |
2290 |
0 |
Chrome-plated |
| 628 |
12379 |
1660 |
0 |
Single stage |