Query time 0.00086
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "16.81"
},
"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": 16,
"rows_produced_per_join": 16,
"filtered": "100.00",
"index_condition": "(`softwarepirmam_hewadelivard_cscart_4`.`pfv`.`variant_id` in (8611,8612,1559,1783,1560,1563,1564,1914,9180,9187,1682,1761,1600,2077,1725,1790))",
"cost_info": {
"read_cost": "9.61",
"eval_cost": "1.60",
"prefix_cost": "11.21",
"data_read_per_join": "18K"
},
"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": 16,
"filtered": "100.00",
"cost_info": {
"read_cost": "4.00",
"eval_cost": "1.60",
"prefix_cost": "16.81",
"data_read_per_join": "48K"
},
"used_columns": [
"variant_id",
"variant",
"lang_code"
]
}
}
]
}
}
Result
| variant_id |
position |
variant |
| 1559 |
0 |
white |
| 1560 |
0 |
Black |
| 1563 |
30 |
512GB |
| 1564 |
40 |
1TB |
| 1600 |
0 |
Blue |
| 1682 |
33 |
Light Blue |
| 1725 |
0 |
Rose Gold |
| 1761 |
15 |
Silver Titanium |
| 1783 |
0 |
Dark blue |
| 1790 |
0 |
Creamy |
| 1914 |
0 |
Gray |
| 2077 |
0 |
Grey |
| 8611 |
0 |
Black Case with Black Fluororubber Strap |
| 8612 |
0 |
Silver Case with Brown Leather Strap |
| 9180 |
0 |
Mocha Gold |
| 9187 |
0 |
Tan |