Query time 0.00066
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "15.76"
},
"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": 15,
"rows_produced_per_join": 15,
"filtered": "100.00",
"index_condition": "(`test2_gaseus`.`pfv`.`variant_id` in (1973,2000,2504,2501,2503,2413,1680,1659,1660,2348,2345,2369,2373,2370,2374))",
"cost_info": {
"read_cost": "9.01",
"eval_cost": "1.50",
"prefix_cost": "10.51",
"data_read_per_join": "17K"
},
"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": 15,
"filtered": "100.00",
"cost_info": {
"read_cost": "3.75",
"eval_cost": "1.50",
"prefix_cost": "15.76",
"data_read_per_join": "46K"
},
"used_columns": [
"variant_id",
"variant",
"lang_code"
]
}
}
]
}
}
Result
| variant_id |
position |
variant |
| 1659 |
1 |
Brass |
| 1660 |
0 |
Single stage |
| 1680 |
0 |
18 |
| 1973 |
1 |
up to 4.5 (technical gases) |
| 2000 |
0 |
Acetylene (C2H2) |
| 2345 |
0 |
N |
| 2348 |
0 |
Y |
| 2369 |
0 |
Gauge |
| 2370 |
0 |
Contact gauge |
| 2373 |
0 |
Gauge |
| 2374 |
0 |
Contact gauge |
| 2413 |
0 |
1.5 |
| 2501 |
0 |
G 3/4" × 18 mm |
| 2503 |
0 |
26 |
| 2504 |
0 |
W 21.8×1/14 LH |