Query time 0.00043
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "10.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": 10,
"rows_produced_per_join": 10,
"filtered": "100.00",
"index_condition": "(`test2_gaseus`.`pfv`.`variant_id` in (1935,1803,2423,2424,1660,2131,2415,2173,2426,1836))",
"cost_info": {
"read_cost": "6.01",
"eval_cost": "1.00",
"prefix_cost": "7.01",
"data_read_per_join": "11K"
},
"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": 10,
"filtered": "100.00",
"cost_info": {
"read_cost": "2.50",
"eval_cost": "1.00",
"prefix_cost": "10.51",
"data_read_per_join": "31K"
},
"used_columns": [
"variant_id",
"variant",
"lang_code"
]
}
}
]
}
}
Result
| variant_id |
position |
variant |
| 1660 |
0 |
Single stage |
| 1803 |
0 |
300 |
| 1836 |
0 |
Stainless steel |
| 1935 |
1 |
up to 6.0 (ultrapure gases) |
| 2131 |
0 |
7 |
| 2173 |
0 |
35 |
| 2415 |
0 |
3.5 |
| 2423 |
0 |
1.7 |
| 2424 |
0 |
Nickel-plated |
| 2426 |
0 |
17.5 |