Query time 0.00101
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "24.16"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "cscart_product_feature_variants",
"access_type": "range",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"variant_id"
],
"key_length": "3",
"rows_examined_per_scan": 23,
"rows_produced_per_join": 23,
"filtered": "100.00",
"index_condition": "(`softwarepirmam_hewadelivard_cscart_4`.`cscart_product_feature_variants`.`variant_id` in (1559,7688,1560,7753,2986,1558,7700,1702,1600,1782,1783,7064,6283,7756,7712,7715,1674,6252,7717,1755,5636,7750,1609))",
"cost_info": {
"read_cost": "13.81",
"eval_cost": "2.30",
"prefix_cost": "16.11",
"data_read_per_join": "26K"
},
"used_columns": [
"variant_id",
"color",
"position"
]
}
},
{
"table": {
"table_name": "cscart_product_feature_variant_descriptions",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"variant_id",
"lang_code"
],
"key_length": "9",
"ref": [
"softwarepirmam_hewadelivard_cscart_4.cscart_product_feature_variants.variant_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 23,
"filtered": "100.00",
"cost_info": {
"read_cost": "5.75",
"eval_cost": "2.30",
"prefix_cost": "24.16",
"data_read_per_join": "69K"
},
"used_columns": [
"variant_id",
"variant",
"lang_code"
]
}
}
]
}
}
}
Result
| variant_id |
position |
color |
variant |
| 1560 |
0 |
#000000 |
Black |
| 5636 |
0 |
|
Black with gold accents |
| 1600 |
0 |
#4a86e8 |
Blue |
| 7715 |
0 |
|
Bluetooth 5.1, 3.5mm audio jack |
| 1702 |
0 |
#ffffff |
Bluetooth 5.3 |
| 7712 |
0 |
|
Bluetooth 5.3 with multipairing |
| 7753 |
0 |
|
Bluetooth 5.3 with multipoint pairing, supports SBC and AAC |
| 7717 |
0 |
|
Bluetooth 5.3, USB-C Wired Audio, 2.5mm analog headphone jack |
| 7756 |
0 |
|
Bluetooth 5.4 with multipoint pairing, 2.5mm audio jack, supports SBC, AAC and aptX Adaptive |
| 7750 |
0 |
|
Bluetooth 5.4, 3.5mm/2.5mm audio jack |
| 7688 |
0 |
|
Bose |
| 1674 |
0 |
#783f04 |
Brown |
| 1783 |
0 |
#154584 |
Dark blue |
| 7064 |
0 |
#0948c8 |
Deep blue |
| 6283 |
0 |
#f3f3f3 |
Off-White |
| 6252 |
0 |
#3d2845 |
Plum |
| 1609 |
0 |
#9900ff |
Purple |
| 2986 |
0 |
#d9aa79 |
Sand Gold |
| 7700 |
0 |
|
Sunset Iridescent |
| 1559 |
0 |
#ffffff |
white |
| 1782 |
0 |
#6a4c9c |
Wonderful Lilac |
| 1558 |
80 |
#f3b2dc |
Pink |
| 1755 |
125 |
#20365d |
Navy Blue |