Query time 0.00195
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "63.01"
},
"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": 60,
"rows_produced_per_join": 60,
"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,1792,1607,1793,1912,1913,1559,1761,1762,1737,1738,1739,1740,5991,1914,1592,1790,1612,1596,1611,8551,8558,8557,8805,8553,8556,8806))",
"cost_info": {
"read_cost": "36.01",
"eval_cost": "6.00",
"prefix_cost": "42.01",
"data_read_per_join": "68K"
},
"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": 60,
"filtered": "100.00",
"cost_info": {
"read_cost": "15.00",
"eval_cost": "6.00",
"prefix_cost": "63.01",
"data_read_per_join": "181K"
},
"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 |
| 1592 |
90 |
16GB |
| 1596 |
0 |
Green |
| 1607 |
0 |
silver |
| 1611 |
0 |
44mm |
| 1612 |
0 |
40mm |
| 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 |
Amber Yellow |
| 1788 |
0 |
Cobalt Purple |
| 1789 |
0 |
Onyx Black |
| 1790 |
0 |
Creamy |
| 1792 |
0 |
43" |
| 1793 |
0 |
47" |
| 1912 |
0 |
Graphite |
| 1913 |
0 |
Navy |
| 1914 |
0 |
Gray |
| 5991 |
0 |
Peachy Pink |
| 8551 |
30 |
50" |
| 8553 |
90 |
75" |
| 8556 |
120 |
85" |
| 8557 |
40 |
55" |
| 8558 |
70 |
65" |
| 8805 |
100 |
77" |
| 8806 |
110 |
83" |