Query time 0.07948
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_feature_variants",
"access_type": "ALL",
"possible_keys": ["PRIMARY", "feature_id"],
"rows": 158,
"filtered": 24.68354416,
"attached_condition": "cscart_product_feature_variants.feature_id in (23,21,26,25,27,29,28,35,36,32,31,42,45,44,43)"
}
},
{
"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_feature_variants.variant_id", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(cscart_product_feature_variant_descriptions.lang_code = 'ru')"
}
},
{
"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_feature_variants.feature_id"],
"rows": 1,
"filtered": 100
}
},
{
"table": {
"table_name": "cscart_product_features_values",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY",
"fl",
"variant_id",
"lang_code",
"product_id",
"fpl",
"idx_product_feature_variant_id"
],
"key": "PRIMARY",
"key_length": "15",
"used_key_parts": [
"feature_id",
"product_id",
"variant_id",
"lang_code"
],
"ref": [
"cscart.cscart_product_feature_variants.feature_id",
"const",
"cscart.cscart_product_feature_variants.variant_id",
"const"
],
"rows": 1,
"filtered": 100,
"attached_condition": "cscart_product_features_values.lang_code = 'ru'",
"using_index": true
}
}
]
}
}
}
}
Result
| variant |
variant_id |
feature_id |
selected |
feature_type |
| 1 терафлоп |
164 |
27 |
164 |
S |
| 1.23 терафлоп |
142 |
27 |
142 |
S |
| 1.75 ГГц |
143 |
28 |
143 |
S |
| 250 Гб |
138 |
23 |
138 |
S |
| 3.20 ГГц |
166 |
28 |
166 |
S |
| 500 Гб |
139 |
23 |
139 |
S |
| 512 Мб, 700 МГц, GDDR3 |
163 |
25 |
163 |
S |
| 8-ядерный AMD |
144 |
29 |
144 |
S |
| 8192 Мб, DDR3 |
140 |
25 |
140 |
S |
| ATI C1/Xenos |
162 |
26 |
162 |
S |
| AV-выход |
171 |
31 |
171 |
M |
| BD (Blu-ray Disc) |
159 |
43 |
159 |
S |
| Blu-ray |
150 |
35 |
150 |
M |
| CD |
154 |
35 |
154 |
M |
| CD R |
167 |
35 |
167 |
M |
| CR RW |
168 |
35 |
168 |
M |
| DVD |
175 |
43 |
175 |
S |
| 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 |
| JPEG |
170 |
36 |
170 |
M |
| MP3 |
169 |
36 |
169 |
M |
| Power PC (трехъядерный) |
165 |
29 |
165 |
S |
| USB x2 |
146 |
31 |
146 |
M |
| USB x5 |
172 |
31 |
172 |
M |
| USB-кабель |
158 |
42 |
158 |
M |
| Wi-Fi (802.11b/g/n) |
148 |
32 |
148 |
M |
| WMA |
155 |
36 |
155 |
M |
| Xbox |
174 |
44 |
174 |
M |
| Xbox One |
160 |
44 |
160 |
M |
| Xbox360 |
176 |
44 |
176 |
M |
| Гарнитура |
156 |
42 |
156 |
M |
| интегрированный AMD Radeon GPU |
141 |
26 |
141 |
S |
| композитный AV-кабель |
173 |
42 |
173 |
M |
| оптический аудиовыход |
147 |
31 |
147 |
M |
| стационарная |
137 |
21 |
137 |
S |
| Чёрный |
161 |
45 |
161 |
S |