Query time 0.00122
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "47.26"
},
"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": 45,
"rows_produced_per_join": 45,
"filtered": "100.00",
"index_condition": "(`softwarepirmam_hewadelivard_cscart_4`.`pfv`.`variant_id` in (1653,1652,1726,1725,1724,1607,1560,2231,1558,1600,1559,2758,2315,1564,1563,1641,2903,1596,1562,2907,2908,2910,2919,2077,1526,1587,1684,1561,2870,1687,1599,1597,1598,2441,2984,2985,2992,2993,1609,1595,8553,8558,8557,8560,8551))",
"cost_info": {
"read_cost": "27.01",
"eval_cost": "4.50",
"prefix_cost": "31.51",
"data_read_per_join": "51K"
},
"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": 45,
"filtered": "100.00",
"cost_info": {
"read_cost": "11.25",
"eval_cost": "4.50",
"prefix_cost": "47.26",
"data_read_per_join": "136K"
},
"used_columns": [
"variant_id",
"variant",
"lang_code"
]
}
}
]
}
}
Result
| variant_id |
position |
variant |
| 1526 |
60 |
8GB |
| 1558 |
80 |
Pink |
| 1559 |
0 |
White |
| 1560 |
0 |
Black |
| 1561 |
10 |
128GB |
| 1562 |
20 |
256GB |
| 1563 |
30 |
512GB |
| 1564 |
40 |
1TB |
| 1587 |
80 |
12GB |
| 1595 |
0 |
Yellow |
| 1596 |
0 |
Green |
| 1597 |
0 |
Lavender Purple |
| 1598 |
0 |
Frost Blue |
| 1599 |
0 |
Midnight Black |
| 1600 |
0 |
Blue |
| 1607 |
0 |
Silver |
| 1609 |
0 |
Purple |
| 1641 |
0 |
Silver Chrome |
| 1652 |
0 |
Ceramic White |
| 1653 |
0 |
Titan Grey |
| 1684 |
40 |
4GB |
| 1687 |
7 |
64GB |
| 1724 |
0 |
Obsidian Black |
| 1725 |
0 |
Rose Gold |
| 1726 |
0 |
Moonlight silver |
| 2077 |
0 |
Grey |
| 2231 |
0 |
Rainbow |
| 2315 |
0 |
Red |
| 2441 |
0 |
Coral Green |
| 2758 |
0 |
Gold |
| 2870 |
30 |
3GB |
| 2903 |
0 |
Liquid Silver |
| 2907 |
0 |
Titan Black |
| 2908 |
0 |
Titan Blue |
| 2910 |
0 |
Lemon Green |
| 2919 |
0 |
Jade Green |
| 2984 |
0 |
Ocean Blue |
| 2985 |
0 |
Aurora Purple |
| 2992 |
0 |
Graphite Gray |
| 2993 |
0 |
Mint Green |
| 8551 |
30 |
50 |
| 8553 |
90 |
75" |
| 8557 |
40 |
55" |
| 8558 |
70 |
65" |
| 8560 |
20 |
43" |