Query time 0.00071
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "19.96"
},
"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": 19,
"rows_produced_per_join": 19,
"filtered": "100.00",
"index_condition": "(`test2_gaseus`.`pfv`.`variant_id` in (1912,2451,2559,2524,1694,2413,1926,2290,1660,2344,2345,1787,1905,1900,1462,1904,2122,1928,1712))",
"cost_info": {
"read_cost": "11.41",
"eval_cost": "1.90",
"prefix_cost": "13.31",
"data_read_per_join": "21K"
},
"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": 19,
"filtered": "100.00",
"cost_info": {
"read_cost": "4.75",
"eval_cost": "1.90",
"prefix_cost": "19.96",
"data_read_per_join": "59K"
},
"used_columns": [
"variant_id",
"variant",
"lang_code"
]
}
}
]
}
}
Result
| variant_id |
position |
variant |
| 1462 |
0 |
Compressed air |
| 1660 |
0 |
Single stage |
| 1694 |
0 |
20 |
| 1712 |
0 |
Double stage |
| 1787 |
0 |
Helium (He) |
| 1900 |
0 |
Hydrogen (H2) |
| 1904 |
0 |
Oxygen (O2) |
| 1905 |
0 |
Nitrogen (N2) |
| 1912 |
1 |
up to 5.0 (laboratory gases / laser gases) |
| 1926 |
0 |
8 |
| 1928 |
0 |
30 |
| 2122 |
0 |
10 |
| 2290 |
0 |
Chrome-plated |
| 2344 |
0 |
N |
| 2345 |
0 |
N |
| 2413 |
0 |
1.5 |
| 2451 |
0 |
CO₂/Argon (Ar, CO2) |
| 2524 |
0 |
Clamp ring 8 mm |
| 2559 |
0 |
Clamp ring 8 mm |