Query time 0.00232
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "90.31"
},
"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": 86,
"rows_produced_per_join": 86,
"filtered": "100.00",
"index_condition": "(`softwarepirmam_hewadelivard_cscart_4`.`pfv`.`variant_id` in (1553,1563,1562,1555,1554,1564,1552,1560,1561,1559,1659,1558,1556,1557,1660,1587,1751,1750,1526,1748,1749,1684,1687,1766,1682,1591,1773,1775,1776,1774,1778,1755,1779,1780,1781,1782,1785,1786,1760,1787,1788,1789,1641,2903,1596,1653,2907,2908,2910,1597,2919,1600,2758,2870,1599,1598,2441,2984,2985,1607,1609,1595,1592,2077,2315,1761,1762,1737,1738,1739,1740,5991,5563,7521,7064,1784,7534,7535,1606,2243,2443,1565,1914,9180,1725,9253))",
"cost_info": {
"read_cost": "51.61",
"eval_cost": "8.60",
"prefix_cost": "60.21",
"data_read_per_join": "98K"
},
"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": 86,
"filtered": "100.00",
"cost_info": {
"read_cost": "21.50",
"eval_cost": "8.60",
"prefix_cost": "90.31",
"data_read_per_join": "260K"
},
"used_columns": [
"variant_id",
"variant",
"lang_code"
]
}
}
]
}
}
Result
| variant_id |
position |
variant |
| 1526 |
60 |
8GB |
| 1552 |
4 |
Desert Titanium |
| 1553 |
11 |
Natural Titanium |
| 1554 |
13 |
Black Titanium |
| 1555 |
12 |
White Titanium |
| 1556 |
0 |
Ultramarine |
| 1557 |
70 |
Teal |
| 1558 |
80 |
Pink |
| 1559 |
0 |
White |
| 1560 |
0 |
Black |
| 1561 |
10 |
128GB |
| 1562 |
20 |
256GB |
| 1563 |
30 |
512GB |
| 1564 |
40 |
1TB |
| 1565 |
50 |
2TB |
| 1587 |
80 |
12GB |
| 1591 |
50 |
6GB |
| 1592 |
90 |
16GB |
| 1595 |
0 |
Yellow |
| 1596 |
0 |
Green |
| 1597 |
0 |
Lavender Purple |
| 1598 |
0 |
Frost Blue |
| 1599 |
0 |
Midnight Black |
| 1600 |
0 |
Blue |
| 1606 |
0 |
Space Black |
| 1607 |
0 |
Silver |
| 1609 |
0 |
Purple |
| 1641 |
0 |
Silver Chrome |
| 1653 |
0 |
Titan Grey |
| 1659 |
90 |
Frost white |
| 1660 |
100 |
Frost Black |
| 1682 |
33 |
Light Blue |
| 1684 |
40 |
4GB |
| 1687 |
7 |
64GB |
| 1725 |
0 |
Rose Gold |
| 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 |
| 1784 |
0 |
Lavender |
| 1785 |
0 |
Purple Titanium |
| 1786 |
0 |
Yellow Titanium |
| 1787 |
0 |
لأصفر الكهرماني |
| 1788 |
0 |
Cobalt Purple |
| 1789 |
0 |
Onyx Black |
| 1914 |
0 |
Gray |
| 2077 |
0 |
Grey |
| 2243 |
0 |
Light Gold |
| 2315 |
0 |
Red |
| 2441 |
0 |
Coral Green |
| 2443 |
0 |
Cloud White |
| 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 |
| 5563 |
0 |
Jet Black |
| 5991 |
0 |
Peachy Pink |
| 7064 |
0 |
Deep blue |
| 7521 |
0 |
Cosmic Orange |
| 7534 |
0 |
Sage |
| 7535 |
0 |
Mist Blue |
| 9180 |
0 |
Mocha Gold |
| 9253 |
0 |
Shadow Black |