Query time 0.00212
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 (1587,1751,1562,1750,1526,1748,1749,1684,1560,1687,1766,1682,1591,1561,1773,1775,1563,1776,1774,1778,1755,1558,1779,1780,1781,1782,1554,1785,1564,1786,1760,1787,1788,1789,1761,1762,1737,1738,1739,1740,1559,5991,1600,2315,5563))",
"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 |
| 1554 |
13 |
Black Titanium |
| 1558 |
80 |
Pink |
| 1559 |
0 |
White |
| 1560 |
0 |
Black |
| 1561 |
10 |
128GB |
| 1562 |
20 |
256GB |
| 1563 |
30 |
512GB |
| 1564 |
40 |
1TB |
| 1587 |
80 |
12GB |
| 1591 |
50 |
6GB |
| 1600 |
0 |
Blue |
| 1682 |
33 |
Light Blue |
| 1684 |
40 |
4GB |
| 1687 |
7 |
64GB |
| 1737 |
40 |
Lavender Awesome |
| 1738 |
41 |
Black Handsome |
| 1739 |
42 |
Lemony Awesome |
| 1740 |
43 |
White Handsome |
| 1748 |
0 |
Awesome Pink |
| 1749 |
0 |
Awesome graphite |
| 1750 |
0 |
Awesome Olive |
| 1751 |
0 |
Awesome Light Gray |
| 1755 |
125 |
Navy Blue |
| 1760 |
14 |
Gray Titanium |
| 1761 |
15 |
Silver Titanium |
| 1762 |
16 |
Sky Blue Titanium |
| 1766 |
0 |
Golden |
| 1773 |
145 |
Black Gray |
| 1774 |
146 |
Marble Gray |
| 1775 |
1147 |
Mint |
| 1776 |
1148 |
Sky Blue |
| 1778 |
0 |
Shiny Silver |
| 1779 |
0 |
Gorgeous Ice Blue |
| 1780 |
0 |
Gorgeous Lemon |
| 1781 |
0 |
Wonderful Navy |
| 1782 |
0 |
Wonderful Lilac |
| 1785 |
0 |
Purple Titanium |
| 1786 |
0 |
Yellow Titanium |
| 1787 |
0 |
لأصفر الكهرماني |
| 1788 |
0 |
Cobalt Purple |
| 1789 |
0 |
Onyx Black |
| 2315 |
0 |
Red |
| 5563 |
0 |
Jet Black |
| 5991 |
0 |
Peachy Pink |