Query time 0.00776
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "124.20"
},
"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": 163,
"rows_produced_per_join": 163,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "20.29",
"eval_cost": "16.30",
"prefix_cost": "36.59",
"data_read_per_join": "126K"
},
"used_columns": [
"feature_id",
"product_id",
"variant_id",
"lang_code"
],
"attached_condition": "((`test2_gaseus`.`pfv`.`feature_id` in (553,625,624,627,628,595,626,622,623,646,647,636,637)) and (`test2_gaseus`.`pfv`.`product_id` in (12684,12714,13260,13267,13176,13162,13169,13232,13225,13190,13183,13239)) 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": 87,
"filtered": "53.58",
"cost_info": {
"read_cost": "40.75",
"eval_cost": "8.73",
"prefix_cost": "93.64",
"data_read_per_join": "99K"
},
"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": 87,
"filtered": "100.00",
"cost_info": {
"read_cost": "21.83",
"eval_cost": "8.73",
"prefix_cost": "124.20",
"data_read_per_join": "272K"
},
"used_columns": [
"variant_id",
"variant",
"lang_code"
]
}
}
]
}
}
Result
| feature_id |
product_id |
variant_id |
position |
variant |
| 553 |
12684 |
1935 |
1 |
up to 6.0 (ultrapure gases) |
| 624 |
12684 |
1705 |
0 |
200 |
| 625 |
12684 |
2413 |
0 |
1.5 |
| 627 |
12684 |
2290 |
0 |
Chrome-plated |
| 628 |
12684 |
1660 |
0 |
Single stage |
| 553 |
12714 |
1935 |
1 |
up to 6.0 (ultrapure gases) |
| 624 |
12714 |
1705 |
0 |
200 |
| 625 |
12714 |
2413 |
0 |
1.5 |
| 627 |
12714 |
2290 |
0 |
Chrome-plated |
| 628 |
12714 |
1712 |
0 |
Double stage |
| 553 |
13162 |
1973 |
1 |
up to 4.5 (technical gases) |
| 595 |
13162 |
1904 |
0 |
Oxygen (O2) |
| 622 |
13162 |
2497 |
0 |
M 24×1.5 RH |
| 623 |
13162 |
2541 |
0 |
G 3/8" × 10 mm |
| 624 |
13162 |
1803 |
0 |
300 |
| 625 |
13162 |
2122 |
0 |
10 |
| 626 |
13162 |
2043 |
0 |
50 |
| 627 |
13162 |
1659 |
1 |
Brass |
| 628 |
13162 |
1660 |
0 |
Single stage |
| 636 |
13162 |
2348 |
0 |
Y |
| 637 |
13162 |
2345 |
0 |
N |
| 646 |
13162 |
2370 |
0 |
Contact gauge |
| 647 |
13162 |
2374 |
0 |
Contact gauge |
| 553 |
13169 |
1973 |
1 |
up to 4.5 (technical gases) |
| 595 |
13169 |
1904 |
0 |
Oxygen (O2) |
| 622 |
13169 |
2497 |
0 |
M 24×1.5 RH |
| 623 |
13169 |
2501 |
0 |
G 3/4" × 18 mm |
| 624 |
13169 |
1803 |
0 |
300 |
| 625 |
13169 |
2123 |
0 |
20 |
| 626 |
13169 |
1721 |
0 |
75 |
| 627 |
13169 |
1659 |
1 |
Brass |
| 628 |
13169 |
1660 |
0 |
Single stage |
| 636 |
13169 |
2348 |
0 |
Y |
| 637 |
13169 |
2345 |
0 |
N |
| 646 |
13169 |
2370 |
0 |
Contact gauge |
| 647 |
13169 |
2374 |
0 |
Contact gauge |
| 553 |
13176 |
1973 |
1 |
up to 4.5 (technical gases) |
| 595 |
13176 |
1904 |
0 |
Oxygen (O2) |
| 622 |
13176 |
2497 |
0 |
M 24×1.5 RH |
| 623 |
13176 |
2501 |
0 |
G 3/4" × 18 mm |
| 624 |
13176 |
1803 |
0 |
300 |
| 625 |
13176 |
2123 |
0 |
20 |
| 626 |
13176 |
1721 |
0 |
75 |
| 627 |
13176 |
1659 |
1 |
Brass |
| 628 |
13176 |
1660 |
0 |
Single stage |
| 636 |
13176 |
2348 |
0 |
Y |
| 637 |
13176 |
2345 |
0 |
N |
| 646 |
13176 |
2369 |
0 |
Gauge |
| 647 |
13176 |
2373 |
0 |
Gauge |
| 553 |
13183 |
1973 |
1 |
up to 4.5 (technical gases) |
| 595 |
13183 |
1904 |
0 |
Oxygen (O2) |
| 622 |
13183 |
2497 |
0 |
M 24×1.5 RH |
| 623 |
13183 |
2501 |
0 |
G 3/4" × 18 mm |
| 624 |
13183 |
1803 |
0 |
300 |
| 625 |
13183 |
2147 |
0 |
28 |
| 626 |
13183 |
1723 |
0 |
120 |
| 627 |
13183 |
1659 |
1 |
Brass |
| 628 |
13183 |
1660 |
0 |
Single stage |
| 636 |
13183 |
2348 |
0 |
Y |
| 637 |
13183 |
2345 |
0 |
N |
| 646 |
13183 |
2370 |
0 |
Contact gauge |
| 647 |
13183 |
2374 |
0 |
Contact gauge |
| 553 |
13190 |
1973 |
1 |
up to 4.5 (technical gases) |
| 595 |
13190 |
1904 |
0 |
Oxygen (O2) |
| 622 |
13190 |
2497 |
0 |
M 24×1.5 RH |
| 623 |
13190 |
2501 |
0 |
G 3/4" × 18 mm |
| 624 |
13190 |
1803 |
0 |
300 |
| 625 |
13190 |
2147 |
0 |
28 |
| 626 |
13190 |
1723 |
0 |
120 |
| 627 |
13190 |
1659 |
1 |
Brass |
| 628 |
13190 |
1660 |
0 |
Single stage |
| 636 |
13190 |
2348 |
0 |
Y |
| 637 |
13190 |
2345 |
0 |
N |
| 646 |
13190 |
2369 |
0 |
Gauge |
| 647 |
13190 |
2373 |
0 |
Gauge |
| 553 |
13225 |
1973 |
1 |
up to 4.5 (technical gases) |
| 595 |
13225 |
1904 |
0 |
Oxygen (O2) |
| 622 |
13225 |
2497 |
0 |
M 24×1.5 RH |
| 623 |
13225 |
2541 |
0 |
G 3/8" × 10 mm |
| 624 |
13225 |
1803 |
0 |
300 |
| 625 |
13225 |
2122 |
0 |
10 |
| 626 |
13225 |
2043 |
0 |
50 |
| 627 |
13225 |
1659 |
1 |
Brass |
| 628 |
13225 |
1660 |
0 |
Single stage |
| 636 |
13225 |
2348 |
0 |
Y |
| 637 |
13225 |
2345 |
0 |
N |
| 646 |
13225 |
2370 |
0 |
Contact gauge |
| 647 |
13225 |
2374 |
0 |
Contact gauge |
| 553 |
13232 |
1973 |
1 |
up to 4.5 (technical gases) |
| 595 |
13232 |
1904 |
0 |
Oxygen (O2) |
| 622 |
13232 |
2497 |
0 |
M 24×1.5 RH |
| 623 |
13232 |
2501 |
0 |
G 3/4" × 18 mm |
| 624 |
13232 |
1803 |
0 |
300 |
| 625 |
13232 |
2123 |
0 |
20 |
| 626 |
13232 |
1721 |
0 |
75 |
| 627 |
13232 |
1659 |
1 |
Brass |
| 628 |
13232 |
1660 |
0 |
Single stage |
| 636 |
13232 |
2348 |
0 |
Y |
| 637 |
13232 |
2345 |
0 |
N |
| 646 |
13232 |
2370 |
0 |
Contact gauge |
| 647 |
13232 |
2374 |
0 |
Contact gauge |
| 553 |
13239 |
1973 |
1 |
up to 4.5 (technical gases) |
| 595 |
13239 |
1904 |
0 |
Oxygen (O2) |
| 622 |
13239 |
2497 |
0 |
M 24×1.5 RH |
| 623 |
13239 |
2501 |
0 |
G 3/4" × 18 mm |
| 624 |
13239 |
1803 |
0 |
300 |
| 625 |
13239 |
2124 |
0 |
40 |
| 626 |
13239 |
1723 |
0 |
120 |
| 627 |
13239 |
1659 |
1 |
Brass |
| 628 |
13239 |
1660 |
0 |
Single stage |
| 636 |
13239 |
2348 |
0 |
Y |
| 637 |
13239 |
2345 |
0 |
N |
| 646 |
13239 |
2370 |
0 |
Contact gauge |
| 647 |
13239 |
2374 |
0 |
Contact gauge |
| 553 |
13260 |
1912 |
1 |
up to 5.0 (laboratory gases / laser gases) |
| 595 |
13260 |
1904 |
0 |
Oxygen (O2) |
| 622 |
13260 |
2497 |
0 |
M 24×1.5 RH |
| 623 |
13260 |
2524 |
0 |
Clamp ring 8 mm |
| 624 |
13260 |
1803 |
0 |
300 |
| 625 |
13260 |
2122 |
0 |
10 |
| 626 |
13260 |
2043 |
0 |
50 |
| 627 |
13260 |
2378 |
0 |
Chrome-plated brass |
| 628 |
13260 |
1660 |
0 |
Single stage |
| 636 |
13260 |
2348 |
0 |
Y |
| 637 |
13260 |
2345 |
0 |
N |
| 646 |
13260 |
2369 |
0 |
Gauge |
| 647 |
13260 |
2373 |
0 |
Gauge |
| 553 |
13267 |
1912 |
1 |
up to 5.0 (laboratory gases / laser gases) |
| 595 |
13267 |
1904 |
0 |
Oxygen (O2) |
| 622 |
13267 |
2497 |
0 |
M 24×1.5 RH |
| 623 |
13267 |
2524 |
0 |
Clamp ring 8 mm |
| 624 |
13267 |
1803 |
0 |
300 |
| 625 |
13267 |
2122 |
0 |
10 |
| 626 |
13267 |
2043 |
0 |
50 |
| 627 |
13267 |
2378 |
0 |
Chrome-plated brass |
| 628 |
13267 |
1660 |
0 |
Single stage |
| 636 |
13267 |
2348 |
0 |
Y |
| 637 |
13267 |
2345 |
0 |
N |
| 646 |
13267 |
2370 |
0 |
Contact gauge |
| 647 |
13267 |
2374 |
0 |
Contact gauge |