Query time 0.00050
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "32.56"
},
"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": 31,
"rows_produced_per_join": 31,
"filtered": "100.00",
"index_condition": "(`test2_gaseus`.`pfv`.`variant_id` in (1935,1949,2131,1836,1660,1954,2378,2143,2130,2132,2129,1803,2381,1712,2403,2388,2133,2135,2134,2136,2411,2410,2409,2408,2424,2415,2423,2173,2426,2413,2290))",
"cost_info": {
"read_cost": "18.61",
"eval_cost": "3.10",
"prefix_cost": "21.71",
"data_read_per_join": "35K"
},
"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": 31,
"filtered": "100.00",
"cost_info": {
"read_cost": "7.75",
"eval_cost": "3.10",
"prefix_cost": "32.56",
"data_read_per_join": "96K"
},
"used_columns": [
"variant_id",
"variant",
"lang_code"
]
}
}
]
}
}
Result
| variant_id |
position |
variant |
| 1660 |
0 |
Single stage |
| 1712 |
0 |
Double stage |
| 1803 |
0 |
300 |
| 1836 |
0 |
Stainless steel |
| 1935 |
1 |
up to 6.0 (ultrapure gases) |
| 1949 |
0 |
70 |
| 1954 |
2 |
Monel |
| 2129 |
0 |
1,5 |
| 2130 |
0 |
3,5 |
| 2131 |
0 |
7 |
| 2132 |
0 |
15 |
| 2133 |
0 |
0,05 |
| 2134 |
0 |
0,15 |
| 2135 |
0 |
0,3 |
| 2136 |
0 |
0,5 |
| 2143 |
0 |
30 |
| 2173 |
0 |
35 |
| 2290 |
0 |
Chrome-plated |
| 2378 |
0 |
Chrome-plated brass |
| 2381 |
0 |
210 |
| 2388 |
0 |
1 |
| 2403 |
0 |
15 |
| 2408 |
0 |
0,050 |
| 2409 |
0 |
0,150 |
| 2410 |
0 |
0,300 |
| 2411 |
0 |
0,500 |
| 2413 |
0 |
1.5 |
| 2415 |
0 |
3.5 |
| 2423 |
0 |
1.7 |
| 2424 |
0 |
Nickel-plated |
| 2426 |
0 |
17.5 |