Query time 0.00126
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "30.46"
},
"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": 29,
"rows_produced_per_join": 29,
"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,7521,1607,7064,1784,7534,7535,1776,1606,2243,2443,1565,1595,1596,1600))",
"cost_info": {
"read_cost": "17.41",
"eval_cost": "2.90",
"prefix_cost": "20.31",
"data_read_per_join": "33K"
},
"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": 29,
"filtered": "100.00",
"cost_info": {
"read_cost": "7.25",
"eval_cost": "2.90",
"prefix_cost": "30.46",
"data_read_per_join": "87K"
},
"used_columns": [
"variant_id",
"variant",
"lang_code"
]
}
}
]
}
}
Result
| variant_id |
position |
variant |
| 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 |
| 1595 |
0 |
Yellow |
| 1596 |
0 |
Green |
| 1600 |
0 |
Blue |
| 1606 |
0 |
Space Black |
| 1607 |
0 |
Silver |
| 1659 |
90 |
Frost white |
| 1660 |
100 |
Frost Black |
| 1776 |
1148 |
Sky Blue |
| 1784 |
0 |
Lavender |
| 2243 |
0 |
Light Gold |
| 2443 |
0 |
Cloud White |
| 7064 |
0 |
Deep blue |
| 7521 |
0 |
Cosmic Orange |
| 7534 |
0 |
Sage |
| 7535 |
0 |
Mist Blue |