Query time 0.00055
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "115.21"
},
"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": 32,
"rows_produced_per_join": 32,
"filtered": "100.00",
"index_condition": "(`danishecarter_latest`.`cscart_product_feature_variants`.`variant_id` in (52,53,54,89,58,45,55,56,39,44,91,46,47,88,48,49,50,92,59,60,61,62,63,64,41,51,94,93,95,97,98,99))",
"cost_info": {
"read_cost": "70.41",
"eval_cost": "6.40",
"prefix_cost": "76.81",
"data_read_per_join": "84K"
},
"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": [
"danishecarter_latest.cscart_product_feature_variants.variant_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 32,
"filtered": "100.00",
"cost_info": {
"read_cost": "32.00",
"eval_cost": "6.40",
"prefix_cost": "115.21",
"data_read_per_join": "96K"
},
"used_columns": [
"variant_id",
"variant",
"lang_code"
]
}
}
]
}
}
}
Result
variant_id |
position |
color |
variant |
63 |
0 |
|
13.3" |
61 |
0 |
|
14.0" |
59 |
0 |
|
15.6" |
45 |
0 |
|
16GB |
47 |
0 |
|
1TB |
51 |
0 |
|
23" |
64 |
0 |
|
256GB |
41 |
0 |
|
27" |
50 |
0 |
|
320GB |
54 |
0 |
|
32GB |
48 |
0 |
|
500GB |
60 |
0 |
|
640GB |
56 |
0 |
|
7.0" |
62 |
0 |
|
750GB |
53 |
0 |
|
8.9" |
44 |
0 |
|
9.7" |
92 |
0 |
|
Acer |
55 |
0 |
|
Android 2.2, Froyo |
52 |
0 |
|
Android 3.1, Honeycomb |
58 |
0 |
|
Android 3.2, Honeycomb |
91 |
0 |
|
Apple |
88 |
0 |
|
ASUS |
95 |
0 |
|
D-Link |
93 |
0 |
|
Hewlett-Packard |
99 |
0 |
|
Intel |
94 |
0 |
|
LG |
98 |
0 |
|
Panasonic |
89 |
0 |
|
Samsung |
97 |
0 |
|
TP-Link |
49 |
0 |
|
Windows 7 Home Basic |
46 |
0 |
|
Windows 7 Home Premium |
39 |
40 |
|
iOS 5 |