Query time 0.00074
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "33.61"
},
"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": 32,
"rows_produced_per_join": 32,
"filtered": "100.00",
"index_condition": "(`test2_gaseus`.`pfv`.`variant_id` in (1973,1904,2497,2501,1803,2513,2031,1659,1660,2348,2345,2369,2373,1899,1900,1787,2499,1789,1905,2515,2032,2451,2518,2517,2057,2521,2000,2504,2413,2003,1680,2536))",
"cost_info": {
"read_cost": "19.21",
"eval_cost": "3.20",
"prefix_cost": "22.41",
"data_read_per_join": "36K"
},
"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": 32,
"filtered": "100.00",
"cost_info": {
"read_cost": "8.00",
"eval_cost": "3.20",
"prefix_cost": "33.61",
"data_read_per_join": "99K"
},
"used_columns": [
"variant_id",
"variant",
"lang_code"
]
}
}
]
}
}
Result
| variant_id |
position |
variant |
| 1659 |
1 |
Brass |
| 1660 |
0 |
Single stage |
| 1680 |
0 |
18 |
| 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) |
| 1973 |
1 |
up to 4.5 (technical gases) |
| 2000 |
0 |
Acetylene (C2H2) |
| 2003 |
0 |
10 |
| 2031 |
0 |
290 |
| 2032 |
0 |
450 |
| 2057 |
0 |
480 |
| 2345 |
0 |
N |
| 2348 |
0 |
Y |
| 2369 |
0 |
Gauge |
| 2373 |
0 |
Gauge |
| 2413 |
0 |
1.5 |
| 2451 |
0 |
CO₂/Argon (Ar, CO2) |
| 2497 |
0 |
M 24×1.5 RH |
| 2499 |
0 |
CO₂ (CO2) |
| 2501 |
0 |
G 3/4" × 18 mm |
| 2504 |
0 |
W 21.8×1/14 LH |
| 2513 |
0 |
15–40 |
| 2515 |
0 |
15–60 |
| 2517 |
0 |
15–200 |
| 2518 |
0 |
G 1/2" Rhi |
| 2521 |
0 |
15–270 |
| 2536 |
0 |
38 |