Query time 0.00071
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "31.51"
},
"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": 30,
"rows_produced_per_join": 30,
"filtered": "100.00",
"index_condition": "(`test2_gaseus`.`pfv`.`variant_id` in (1935,1705,2415,1836,1712,2131,2132,2143,1803,2413,1954,2290,1973,1905,2497,2501,2123,1879,1659,1660,2348,2345,2369,2373,1789,2499,1787,1900,1899,1904))",
"cost_info": {
"read_cost": "18.01",
"eval_cost": "3.00",
"prefix_cost": "21.01",
"data_read_per_join": "34K"
},
"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": 30,
"filtered": "100.00",
"cost_info": {
"read_cost": "7.50",
"eval_cost": "3.00",
"prefix_cost": "31.51",
"data_read_per_join": "93K"
},
"used_columns": [
"variant_id",
"variant",
"lang_code"
]
}
}
]
}
}
Result
| variant_id |
position |
variant |
| 1659 |
1 |
Brass |
| 1660 |
0 |
Single stage |
| 1705 |
0 |
200 |
| 1712 |
0 |
Double stage |
| 1787 |
0 |
Helium (He) |
| 1789 |
0 |
Argon (Ar) |
| 1803 |
0 |
300 |
| 1836 |
0 |
Stainless steel |
| 1879 |
0 |
170 |
| 1899 |
0 |
Compressed Air (mixture) |
| 1900 |
0 |
Hydrogen (H2) |
| 1904 |
0 |
Oxygen (O2) |
| 1905 |
0 |
Nitrogen (N2) |
| 1935 |
1 |
up to 6.0 (ultrapure gases) |
| 1954 |
2 |
Monel |
| 1973 |
1 |
up to 4.5 (technical gases) |
| 2123 |
0 |
20 |
| 2131 |
0 |
7 |
| 2132 |
0 |
15 |
| 2143 |
0 |
30 |
| 2290 |
0 |
Chrome-plated |
| 2345 |
0 |
N |
| 2348 |
0 |
Y |
| 2369 |
0 |
Gauge |
| 2373 |
0 |
Gauge |
| 2413 |
0 |
1.5 |
| 2415 |
0 |
3.5 |
| 2497 |
0 |
M 24×1.5 RH |
| 2499 |
0 |
CO₂ (CO2) |
| 2501 |
0 |
G 3/4" × 18 mm |