Query time 0.00043
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "9.46"
},
"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": 9,
"rows_produced_per_join": 9,
"filtered": "100.00",
"index_condition": "(`gaseus`.`pfv`.`variant_id` in (1324,2154,2158,2159,2160,2155,2156,2157,2197))",
"cost_info": {
"read_cost": "5.41",
"eval_cost": "0.90",
"prefix_cost": "6.31",
"data_read_per_join": "10K"
},
"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": 9,
"filtered": "100.00",
"cost_info": {
"read_cost": "2.25",
"eval_cost": "0.90",
"prefix_cost": "9.46",
"data_read_per_join": "28K"
},
"used_columns": [
"variant_id",
"variant",
"lang_code"
]
}
}
]
}
}
Result
| variant_id |
position |
variant |
| 1324 |
0 |
up to 4.5 |
| 2154 |
0 |
bds. External thread G3/4" RHak according to EN 560 |
| 2155 |
0 |
Compression fitting front 12mm |
| 2156 |
0 |
Compression fitting VA 15mm |
| 2157 |
0 |
Compression fitting 18 mm |
| 2158 |
0 |
Compression fitting front 6mm |
| 2159 |
0 |
Compression fitting front 8mm |
| 2160 |
0 |
Compression fitting VA 10mm |
| 2197 |
0 |
up to 5.0 |