Query time 0.00072
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "22.06"
},
"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": 21,
"rows_produced_per_join": 21,
"filtered": "100.00",
"index_condition": "(`test2_gaseus`.`pfv`.`variant_id` in (1912,1905,2497,2524,1803,2122,2043,2378,1660,2348,2345,2369,2373,1904,1789,2499,1787,1900,1899,2370,2374))",
"cost_info": {
"read_cost": "12.61",
"eval_cost": "2.10",
"prefix_cost": "14.71",
"data_read_per_join": "23K"
},
"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": 21,
"filtered": "100.00",
"cost_info": {
"read_cost": "5.25",
"eval_cost": "2.10",
"prefix_cost": "22.06",
"data_read_per_join": "65K"
},
"used_columns": [
"variant_id",
"variant",
"lang_code"
]
}
}
]
}
}
Result
| variant_id |
position |
variant |
| 1660 |
0 |
Single stage |
| 1787 |
0 |
Helium (He) |
| 1789 |
0 |
Argon (Ar) |
| 1803 |
0 |
300 |
| 1899 |
0 |
Compressed Air (mixture) |
| 1900 |
0 |
Hydrogen (H2) |
| 1904 |
0 |
Oxygen (O2) |
| 1905 |
0 |
Nitrogen (N2) |
| 1912 |
1 |
up to 5.0 (laboratory gases / laser gases) |
| 2043 |
0 |
50 |
| 2122 |
0 |
10 |
| 2345 |
0 |
N |
| 2348 |
0 |
Y |
| 2369 |
0 |
Gauge |
| 2370 |
0 |
Contact gauge |
| 2373 |
0 |
Gauge |
| 2374 |
0 |
Contact gauge |
| 2378 |
0 |
Chrome-plated brass |
| 2497 |
0 |
M 24×1.5 RH |
| 2499 |
0 |
CO₂ (CO2) |
| 2524 |
0 |
Clamp ring 8 mm |