Query time 0.00048
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "13.66"
},
"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": 13,
"rows_produced_per_join": 13,
"filtered": "100.00",
"index_condition": "(`gaseus`.`pfv`.`variant_id` in (2197,1705,2090,2089,2088,2087,2086,2085,2097,2096,2095,1983,1324))",
"cost_info": {
"read_cost": "7.81",
"eval_cost": "1.30",
"prefix_cost": "9.11",
"data_read_per_join": "14K"
},
"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": 13,
"filtered": "100.00",
"cost_info": {
"read_cost": "3.25",
"eval_cost": "1.30",
"prefix_cost": "13.66",
"data_read_per_join": "40K"
},
"used_columns": [
"variant_id",
"variant",
"lang_code"
]
}
}
]
}
}
Result
| variant_id |
position |
variant |
| 1324 |
0 |
up to 4.5 |
| 1705 |
0 |
200 |
| 1983 |
0 |
G 3/8 LH x 9 mm (hose grommet) |
| 2085 |
0 |
Compression fitting front 6 mm |
| 2086 |
0 |
Compression fitting front 8 mm |
| 2087 |
0 |
Compression fitting front 10 mm |
| 2088 |
0 |
Compression fitting front 12 mm |
| 2089 |
0 |
Compression fitting front 1/8" |
| 2090 |
0 |
Compression fitting front 1/4" |
| 2095 |
0 |
Hose nozzle G 3/8" LHk x 6 mm |
| 2096 |
0 |
External thread G3/8" LHk according to EN 560 |
| 2097 |
0 |
External thread G1/2" LHk according to EN 560 |
| 2197 |
0 |
up to 5.0 |