Query time 0.00824
JSON explain
{
"query_block": {
"select_id": 1,
"cost": 0.148599656,
"filesort": {
"sort_key": "tmall_product_feature_variants.position, tmall_product_feature_variant_descriptions.variant",
"temporary_table": {
"nested_loop": [
{
"table": {
"table_name": "tmall_product_features_values",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"fl",
"variant_id",
"lang_code",
"product_id",
"fpl",
"idx_product_feature_variant_id"
],
"key": "product_id",
"key_length": "3",
"used_key_parts": ["product_id"],
"ref": ["const"],
"loops": 1,
"rows": 39,
"cost": 0.048911433,
"filtered": 99.73403931,
"attached_condition": "tmall_product_features_values.product_id <=> 248 and tmall_product_features_values.lang_code = 'en'"
}
},
{
"table": {
"table_name": "tmall_product_feature_variants",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY", "feature_id"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["variant_id"],
"ref": ["tmall.tmall_product_features_values.variant_id"],
"rowid_filter": {
"range": {
"key": "feature_id",
"used_key_parts": ["feature_id"]
},
"rows": 58,
"selectivity_pct": 31.86813187
},
"loops": 38.8962766,
"rows": 1,
"cost": 0.056414282,
"filtered": 31.86813164,
"attached_condition": "tmall_product_feature_variants.feature_id = tmall_product_features_values.feature_id and tmall_product_feature_variants.feature_id in (23,21,29,28,26,25,27,36,35,32,31,42,45,44,43)"
}
},
{
"table": {
"table_name": "tmall_product_features",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["feature_id"],
"ref": ["tmall.tmall_product_features_values.feature_id"],
"loops": 12.39551672,
"rows": 1,
"cost": 0.021636971,
"filtered": 100
}
},
{
"table": {
"table_name": "tmall_product_feature_variant_descriptions",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "9",
"used_key_parts": ["variant_id", "lang_code"],
"ref": ["tmall.tmall_product_features_values.variant_id", "const"],
"loops": 12.39551672,
"rows": 1,
"cost": 0.021636971,
"filtered": 100,
"attached_condition": "trigcond(tmall_product_feature_variant_descriptions.lang_code = 'en')"
}
}
]
}
}
}
}
Result
| variant |
variant_id |
feature_id |
selected |
feature_type |
color |
value_int |
abt__ut2_multicolor |
abt__ut2_color_style |
| 1.23 TFLOPs |
142 |
27 |
142 |
S |
|
|
|
default |
| 1.75 GHz |
143 |
28 |
143 |
S |
|
|
|
default |
| 500 GB |
139 |
23 |
139 |
S |
|
|
|
default |
| 8-core AMD |
144 |
29 |
144 |
S |
|
|
|
default |
| 8192 MB, DDR3 |
140 |
25 |
140 |
S |
|
|
|
default |
| BD (Blu-ray Disc) |
159 |
43 |
159 |
S |
|
|
|
default |
| Black |
161 |
45 |
161 |
S |
|
|
|
default |
| Blu-ray |
150 |
35 |
150 |
M |
|
|
|
default |
| CD |
154 |
35 |
154 |
M |
|
|
|
default |
| DVD |
151 |
35 |
151 |
M |
|
|
|
default |
| DVD R |
152 |
35 |
152 |
M |
|
|
|
default |
| DVD RW |
153 |
35 |
153 |
M |
|
|
|
default |
| Ethernet |
149 |
32 |
149 |
M |
|
|
|
default |
| HDMI |
145 |
31 |
145 |
M |
|
|
|
default |
| HDMI cable |
157 |
42 |
157 |
M |
|
|
|
default |
| Headset |
156 |
42 |
156 |
M |
|
|
|
default |
| integrated AMD Radeon GPU |
141 |
26 |
141 |
S |
|
|
|
default |
| optical audio output |
147 |
31 |
147 |
M |
|
|
|
default |
| stationary |
137 |
21 |
137 |
S |
|
|
|
default |
| USB cable |
158 |
42 |
158 |
M |
|
|
|
default |
| USB x2 |
146 |
31 |
146 |
M |
|
|
|
default |
| Wi-Fi (802.11b/g/n) |
148 |
32 |
148 |
M |
|
|
|
default |
| WMA |
155 |
36 |
155 |
M |
|
|
|
default |
| Xbox One |
160 |
44 |
160 |
M |
|
|
|
default |