Query time 0.00099
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "27.31"
},
"nested_loop": [
{
"table": {
"table_name": "pfv",
"access_type": "range",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"variant_id"
],
"key_length": "3",
"rows_examined_per_scan": 26,
"rows_produced_per_join": 26,
"filtered": "100.00",
"index_condition": "(`test2_gaseus`.`pfv`.`variant_id` in (1973,1902,2489,2490,1675,2139,2003,1659,1660,2344,2345,1462,2485,2486,2123,1721,2455,1900,1904,2000,2447,2413,1718,2451,1787,1905))",
"cost_info": {
"read_cost": "15.61",
"eval_cost": "2.60",
"prefix_cost": "18.21",
"data_read_per_join": "29K"
},
"used_columns": [
"variant_id",
"position"
]
}
},
{
"table": {
"table_name": "pfvd",
"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": 26,
"filtered": "100.00",
"cost_info": {
"read_cost": "6.50",
"eval_cost": "2.60",
"prefix_cost": "27.31",
"data_read_per_join": "81K"
},
"used_columns": [
"variant_id",
"variant",
"lang_code"
]
}
}
]
}
}
Result
| variant_id |
position |
variant |
| 1462 |
0 |
Compressed air |
| 1659 |
1 |
Brass |
| 1660 |
0 |
Single stage |
| 1675 |
0 |
40 |
| 1718 |
0 |
5 |
| 1721 |
0 |
75 |
| 1787 |
0 |
Helium (He) |
| 1900 |
0 |
Hydrogen (H2) |
| 1902 |
0 |
Propane (C3H8) |
| 1904 |
0 |
Oxygen (O2) |
| 1905 |
0 |
Nitrogen (N2) |
| 1973 |
1 |
up to 4.5 (technical gases) |
| 2000 |
0 |
Acetylene (C2H2) |
| 2003 |
0 |
10 |
| 2123 |
0 |
20 |
| 2139 |
0 |
4 |
| 2344 |
0 |
N |
| 2345 |
0 |
N |
| 2413 |
0 |
1.5 |
| 2447 |
0 |
1.5 |
| 2451 |
0 |
CO₂/Argon (Ar, CO2) |
| 2455 |
0 |
Forming gas (mixture) |
| 2485 |
0 |
G 1/2" RH nut (acc. to EN 560) |
| 2486 |
0 |
G 1/2" RH x 9 mm (hose nozzle) |
| 2489 |
0 |
G 1/2" LH nut (acc. to EN 560) |
| 2490 |
0 |
G 1/2" LH x 9 mm (hose nozzle) |