Query time 0.00122
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "27.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": 26,
"rows_produced_per_join": 26,
"filtered": "100.00",
"index_condition": "(`softwarepirmam_hewadelivard_cscart_4`.`pfv`.`variant_id` in (1653,1652,1701,1700,1707,1610,1609,1600,1599,1912,1559,1607,1558,1560,2443,2442,2441,2444,1606,1597,1596,1724,1783,1755,1682,2460))",
"cost_info": {
"read_cost": "15.61",
"eval_cost": "2.60",
"prefix_cost": "18.21",
"data_read_per_join": "29K"
},
"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": 26,
"filtered": "100.00",
"cost_info": {
"read_cost": "6.50",
"eval_cost": "2.60",
"prefix_cost": "27.31",
"data_read_per_join": "78K"
},
"used_columns": [
"variant_id",
"variant",
"lang_code"
]
}
}
]
}
}
Result
| variant_id |
position |
variant |
| 1558 |
80 |
Pink |
| 1559 |
0 |
white |
| 1560 |
0 |
Black |
| 1596 |
0 |
Green |
| 1597 |
0 |
Lavender Purple |
| 1599 |
0 |
Midnight Black |
| 1600 |
0 |
Blue |
| 1606 |
0 |
Space Black |
| 1607 |
0 |
silver |
| 1609 |
0 |
Purple |
| 1610 |
30 |
Starlight |
| 1652 |
0 |
Ceramic White |
| 1653 |
0 |
Titan Grey |
| 1682 |
33 |
Light Blue |
| 1700 |
0 |
Airpods 4 |
| 1701 |
0 |
Airpods Noise Cancellation |
| 1707 |
0 |
Orange |
| 1724 |
0 |
Obsidian Black |
| 1755 |
125 |
Navy Blue |
| 1783 |
0 |
Dark blue |
| 1912 |
0 |
Graphite |
| 2441 |
0 |
Coral Green |
| 2442 |
0 |
Night Black |
| 2443 |
0 |
Cloud White |
| 2444 |
0 |
Glacier White |
| 2460 |
0 |
Sandstone Beige |