Query time 0.00245
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "32.56"
},
"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": 31,
"rows_produced_per_join": 31,
"filtered": "100.00",
"index_condition": "(`softwarepirmam_hewadelivard_cscart_4`.`pfv`.`variant_id` in (1560,1916,1526,1592,1563,1562,2117,3038,1564,1599,4733,1607,1776,1610,4734,4735,4737,4765,4766,4767,4846,4845,4839,4852,4854,4853,5064,5063,2758,1559,1600))",
"cost_info": {
"read_cost": "18.61",
"eval_cost": "3.10",
"prefix_cost": "21.71",
"data_read_per_join": "35K"
},
"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": 31,
"filtered": "100.00",
"cost_info": {
"read_cost": "7.75",
"eval_cost": "3.10",
"prefix_cost": "32.56",
"data_read_per_join": "93K"
},
"used_columns": [
"variant_id",
"variant",
"lang_code"
]
}
}
]
}
}
Result
| variant_id |
position |
variant |
| 1526 |
60 |
8GB |
| 1559 |
0 |
white |
| 1560 |
0 |
Black |
| 1562 |
20 |
256GB |
| 1563 |
30 |
512GB |
| 1564 |
40 |
1TB |
| 1592 |
90 |
16GB |
| 1599 |
0 |
Midnight Black |
| 1600 |
0 |
Blue |
| 1607 |
0 |
silver |
| 1610 |
30 |
Starlight |
| 1776 |
1148 |
Sky Blue |
| 1916 |
0 |
Platinum Silver |
| 2117 |
110 |
32GB |
| 2758 |
0 |
Gold |
| 3038 |
140 |
64GB |
| 4733 |
10 |
M4 chip with 10-core CPU and 8-core GPU, 16GB, 256GB SSD |
| 4734 |
20 |
M4 chip with 10-core CPU and 10-core GPU, 16GB, 512GB SSD |
| 4735 |
30 |
M4 chip with 10-core CPU and 10-core GPU, 24GB, 512GB SSD |
| 4737 |
15 |
M4 chip with 10-core CPU and 10-core GPU, 16GB, 256GB SSD |
| 4765 |
40 |
10-core CPU and 10-core GPU, 16GB, 512GB SSD |
| 4766 |
50 |
10-core CPU and 10-core GPU, 16GB, 1TB SSD |
| 4767 |
60 |
10-core CPU and 10-core GPU, 24GB, 1TB SSD |
| 4839 |
70 |
M4 Pro (12-core CPU and 16-core GPU), 24GB, 512GB SSD |
| 4845 |
80 |
M4 Pro (14-core CPU and 20-core GPU), 24GB, 1TB SSD |
| 4846 |
90 |
M4 Max (14-core cpu and 32-core GPU), 36GB, 1TB SSD |
| 4852 |
100 |
M4 Pro (14-core CPU and 20-core GPU), 24GB, 512GB SSD |
| 4853 |
110 |
M4 Pro (14-core CPU and 20-core GPU), 48GB, 512GB SSD |
| 4854 |
130 |
M4 Max (16-core CPU and 40-core GPU), 48GB, 1TB 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 |