Query time 0.00086
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "12.61"
},
"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": 12,
"rows_produced_per_join": 12,
"filtered": "100.00",
"index_condition": "(`softwarepirmam_hewadelivard_cscart_4`.`pfv`.`variant_id` in (1559,1560,1755,1600,1674,2315,6290,6284,6285,7086,7090,7228))",
"cost_info": {
"read_cost": "7.21",
"eval_cost": "1.20",
"prefix_cost": "8.41",
"data_read_per_join": "13K"
},
"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": [
"softwarepirmam_hewadelivard_cscart_4.pfv.variant_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 12,
"filtered": "100.00",
"cost_info": {
"read_cost": "3.00",
"eval_cost": "1.20",
"prefix_cost": "12.61",
"data_read_per_join": "36K"
},
"used_columns": [
"variant_id",
"variant",
"lang_code"
]
}
}
]
}
}
Result
| variant_id |
position |
variant |
| 1559 |
0 |
white |
| 1560 |
0 |
Black |
| 1600 |
0 |
Blue |
| 1674 |
0 |
Brown |
| 1755 |
125 |
Navy Blue |
| 2315 |
0 |
Red |
| 6284 |
0 |
Mulberry |
| 6285 |
0 |
Taupe |
| 6290 |
0 |
Evergreen |
| 7086 |
0 |
2.8 mm, horizontal FOV: 101°, vertical FOV: 56°, diagonal FOV: 118° |
| 7090 |
0 |
3.6 mm, horizontal FOV: 78°, vertical FOV: 42°, diagonal FOV: 92° |
| 7228 |
0 |
6 mm, horizontal FOV: 49.2°, vertical FOV:28.3 °, diagonal FOV: 56.1° |