Query time 0.00500
JSON explain
{
"query_block": {
"select_id": 1,
"filesort": {
"sort_key": "cscart_product_feature_variants.position, cscart_product_feature_variant_descriptions.variant",
"temporary_table": {
"nested_loop": [
{
"table": {
"table_name": "cscart_product_features_values",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"fl",
"variant_id",
"lang_code",
"product_id",
"fpl",
"idx_product_feature_variant_id"
],
"key": "idx_product_feature_variant_id",
"key_length": "3",
"used_key_parts": ["product_id"],
"ref": ["const"],
"rows": 54,
"filtered": 46.73684311,
"attached_condition": "cscart_product_features_values.product_id <=> 250 and cscart_product_features_values.lang_code = 'en'",
"using_index": true
}
},
{
"table": {
"table_name": "cscart_product_feature_variants",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY", "feature_id"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["variant_id"],
"ref": ["cscart.cscart_product_features_values.variant_id"],
"rowid_filter": {
"range": {
"key": "feature_id",
"used_key_parts": ["feature_id"]
},
"rows": 35,
"selectivity_pct": 22.15189873
},
"rows": 1,
"filtered": 100,
"attached_condition": "cscart_product_feature_variants.feature_id = cscart_product_features_values.feature_id and cscart_product_feature_variants.feature_id in (23,21,26,25,27,29,35,32,31,42,45,44,43)"
}
},
{
"table": {
"table_name": "cscart_product_features",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["feature_id"],
"ref": ["cscart.cscart_product_features_values.feature_id"],
"rows": 1,
"filtered": 100
}
},
{
"table": {
"table_name": "cscart_product_feature_variant_descriptions",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "9",
"used_key_parts": ["variant_id", "lang_code"],
"ref": ["cscart.cscart_product_features_values.variant_id", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(cscart_product_feature_variant_descriptions.lang_code = 'en')"
}
}
]
}
}
}
}
Result
| variant |
variant_id |
feature_id |
selected |
feature_type |
| 1.84 терафлоп |
186 |
27 |
186 |
S |
| 500 Гб |
139 |
23 |
139 |
S |
| 8-ядерный AMD |
144 |
29 |
144 |
S |
| 8192 Мб, GDDR5 |
185 |
25 |
185 |
S |
| BD (Blu-ray Disc) |
159 |
43 |
159 |
S |
| Blu-ray |
150 |
35 |
150 |
M |
| Bluetooth |
187 |
32 |
187 |
M |
| DVD |
151 |
35 |
151 |
M |
| DVD R |
152 |
35 |
152 |
M |
| DVD RW |
153 |
35 |
153 |
M |
| Ethernet |
149 |
32 |
149 |
M |
| HDMI |
145 |
31 |
145 |
M |
| HDMI-кабель |
157 |
42 |
157 |
M |
| PlayStation 4 |
188 |
44 |
188 |
M |
| USB x2 |
146 |
31 |
146 |
M |
| USB-кабель |
158 |
42 |
158 |
M |
| Wi-Fi (802.11b/g/n) |
148 |
32 |
148 |
M |
| Гарнитура |
156 |
42 |
156 |
M |
| интегрированный AMD Radeon GPU |
141 |
26 |
141 |
S |
| оптический аудиовыход |
147 |
31 |
147 |
M |
| стационарная |
137 |
21 |
137 |
S |
| Чёрный |
161 |
45 |
161 |
S |