Query time 0.00132
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "43.06"
},
"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": 41,
"rows_produced_per_join": 41,
"filtered": "100.00",
"index_condition": "(`softwarepirmam_hewadelivard_cscart_4`.`pfv`.`variant_id` in (1563,1560,1562,1561,1559,1614,1633,1687,1553,1637,1636,1635,1634,1613,1526,1773,1775,1776,1774,2910,1653,2907,2908,1684,2870,1596,1600,2758,2985,1558,2315,4839,5064,5063,6971,1681,2077,6250,1754,1607,1912))",
"cost_info": {
"read_cost": "24.61",
"eval_cost": "4.10",
"prefix_cost": "28.71",
"data_read_per_join": "46K"
},
"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": 41,
"filtered": "100.00",
"cost_info": {
"read_cost": "10.25",
"eval_cost": "4.10",
"prefix_cost": "43.06",
"data_read_per_join": "123K"
},
"used_columns": [
"variant_id",
"variant",
"lang_code"
]
}
}
]
}
}
Result
| variant_id |
position |
variant |
| 1526 |
60 |
8GB |
| 1553 |
11 |
Natural Titanium |
| 1558 |
80 |
Pink |
| 1559 |
0 |
white |
| 1560 |
0 |
Black |
| 1561 |
10 |
128GB |
| 1562 |
20 |
256GB |
| 1563 |
30 |
512GB |
| 1596 |
0 |
Green |
| 1600 |
0 |
Blue |
| 1607 |
0 |
silver |
| 1613 |
0 |
46mm |
| 1614 |
0 |
42mm |
| 1633 |
22 |
Silver Aluminum |
| 1634 |
10 |
Jet Black Aluminum |
| 1635 |
100 |
Rose Gold Aluminum |
| 1636 |
101 |
Slate Titanium |
| 1637 |
102 |
Gold Titanium |
| 1653 |
0 |
Titan Grey |
| 1681 |
32 |
Light Purple |
| 1684 |
40 |
4GB |
| 1687 |
7 |
64GB |
| 1754 |
127 |
Light Green |
| 1773 |
145 |
Black Gray |
| 1774 |
146 |
Marble Gray |
| 1775 |
1147 |
Mint |
| 1776 |
1148 |
Sky Blue |
| 1912 |
0 |
Graphite |
| 2077 |
0 |
Grey |
| 2315 |
0 |
Red |
| 2758 |
0 |
Gold |
| 2870 |
30 |
3GB |
| 2907 |
0 |
Titan Black |
| 2908 |
0 |
Titan Blue |
| 2910 |
0 |
Lemon Green |
| 2985 |
0 |
Aurora Purple |
| 4839 |
70 |
M4 Pro (12-core CPU and 16-core GPU), 24GB, 512GB SSD |
| 5063 |
200 |
M4 (10-core CPU and 10-core GPU), 16GB, 256GB SSD |
| 5064 |
210 |
M4 (10-core CPU and 10-core GPU), 16GB, 512GB SSD |
| 6250 |
0 |
Denim |
| 6971 |
0 |
Pale yellow |