Query time 0.00033
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "14.71"
},
"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": 14,
"rows_produced_per_join": 14,
"filtered": "100.00",
"index_condition": "(`gaseus`.`pfv`.`variant_id` in (2000,1660,1659,1803,2413,1973,2003,2504,2501,2369,2373,2348,2345,1680))",
"cost_info": {
"read_cost": "8.41",
"eval_cost": "1.40",
"prefix_cost": "9.81",
"data_read_per_join": "15K"
},
"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": 14,
"filtered": "100.00",
"cost_info": {
"read_cost": "3.50",
"eval_cost": "1.40",
"prefix_cost": "14.71",
"data_read_per_join": "43K"
},
"used_columns": [
"variant_id",
"variant",
"lang_code"
]
}
}
]
}
}
Result
| variant_id |
position |
variant |
| 1659 |
1 |
Brass |
| 1660 |
0 |
Single stage |
| 1680 |
0 |
18 |
| 1803 |
0 |
300 |
| 1973 |
1 |
up to 4.5 (technical gases) |
| 2000 |
0 |
Acetylene (C2H2) |
| 2003 |
0 |
10 |
| 2345 |
0 |
N |
| 2348 |
0 |
Y |
| 2369 |
0 |
Gauge |
| 2373 |
0 |
Gauge |
| 2413 |
0 |
1.5 |
| 2501 |
0 |
G 3/4" × 18 mm |
| 2504 |
0 |
W 21.8×1/14 LH |