Query time 0.00062
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": "(`gaseus`.`pfv`.`variant_id` in (1935,1803,2132,2378,1660,2350,2379,2369,2376,2131,2345,2380,2371,2374,2375,2373,1876,2130,2370,1675,2129,1949,2143,1954,1712,1705,1836,1980,2381,2197))",
"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": [
"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 |
| 1660 |
0 |
Single stage |
| 1675 |
0 |
40 |
| 1705 |
0 |
200 |
| 1712 |
0 |
Double stage |
| 1803 |
0 |
300 |
| 1836 |
0 |
Stainless steel |
| 1876 |
0 |
100 |
| 1935 |
1 |
up to 6.0 (ultrapure gases) |
| 1949 |
0 |
70 |
| 1954 |
2 |
Monel |
| 1980 |
0 |
80 |
| 2129 |
0 |
1,5 |
| 2130 |
0 |
3,5 |
| 2131 |
0 |
7 |
| 2132 |
0 |
15 |
| 2143 |
0 |
30 |
| 2197 |
0 |
up to 5.0 |
| 2345 |
0 |
N |
| 2350 |
0 |
Y |
| 2369 |
0 |
Gauge |
| 2370 |
0 |
Contact gauge |
| 2371 |
0 |
Pressure transmitter |
| 2373 |
0 |
Gauge |
| 2374 |
0 |
Contact gauge |
| 2375 |
0 |
Pressure transmitter |
| 2376 |
0 |
Flow meter |
| 2378 |
0 |
Chrome-plated brass |
| 2379 |
0 |
wrench nut |
| 2380 |
0 |
handwheel |
| 2381 |
0 |
210 |