Query time 0.00071
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "154.81"
},
"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": 43,
"rows_produced_per_join": 43,
"filtered": "100.00",
"index_condition": "(`danishecarter_31jan`.`cscart_product_feature_variants`.`variant_id` in (39,65,45,66,67,68,69,70,71,72,73,54,74,75,76,77,78,79,80,81,82,55,83,84,100,101,102,103,104,89,106,91,108,109,110,111,114,121,112,115,117,135,136))",
"cost_info": {
"read_cost": "94.61",
"eval_cost": "8.60",
"prefix_cost": "103.21",
"data_read_per_join": "113K"
},
"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_31jan.cscart_product_feature_variants.variant_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 43,
"filtered": "100.00",
"cost_info": {
"read_cost": "43.00",
"eval_cost": "8.60",
"prefix_cost": "154.81",
"data_read_per_join": "130K"
},
"used_columns": [
"variant_id",
"variant",
"lang_code"
]
}
}
]
}
}
}
Result
variant_id |
position |
color |
variant |
45 |
0 |
|
16GB |
77 |
0 |
|
2.4" |
79 |
0 |
|
256MB |
81 |
0 |
|
2GB |
83 |
0 |
|
3.1" |
80 |
0 |
|
3.2" |
65 |
0 |
|
3.5" |
71 |
0 |
|
3.7" |
54 |
0 |
|
32GB |
67 |
0 |
|
4.0" |
68 |
0 |
|
4.3" |
74 |
0 |
|
4.5" |
70 |
0 |
|
4.7" |
75 |
0 |
|
4GB |
82 |
0 |
|
512MB |
72 |
0 |
|
8GB |
84 |
0 |
|
Android 2.1 |
55 |
0 |
|
Android 2.2, Froyo |
66 |
0 |
|
Android 2.3, Gingerbread |
73 |
0 |
|
Android 4.0, Ice Cream Sandwich |
91 |
0 |
|
Apple |
104 |
0 |
|
Cobra |
111 |
0 |
|
Creative |
102 |
0 |
|
Garmin |
135 |
0 |
|
GoPro |
108 |
0 |
|
HTC |
103 |
0 |
|
Kenwood |
115 |
0 |
|
Koss |
136 |
0 |
|
Microsoft |
109 |
0 |
|
Motorola |
117 |
0 |
|
Nikon |
110 |
0 |
|
Nokia |
76 |
0 |
|
Nokia OS |
100 |
0 |
|
Pioneer |
89 |
0 |
|
Samsung |
121 |
0 |
|
SanDisk |
114 |
0 |
|
Sony |
78 |
0 |
|
Symbian OS |
101 |
0 |
|
TomTom |
106 |
0 |
|
Toshiba |
69 |
0 |
|
Windows Phone 7.5, Mango |
112 |
0 |
|
Yamaha |
39 |
40 |
|
iOS 5 |