Query time 0.00893
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": ["feature_id"],
"rows": 158,
"filtered": 35.44303894,
"attached_condition": "cscart_product_feature_variants.feature_id in (15,16,17)"
}
},
{
"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_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": "trigcond(cscart_product_features_values.lang_code = 'ru')",
"using_index": true
}
},
{
"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
}
}
]
}
}
}
}
Result
| variant |
variant_id |
feature_id |
selected |
feature_type |
| 13.3" |
63 |
16 |
|
S |
| 14.0" |
61 |
16 |
|
S |
| 15.6" |
59 |
16 |
|
S |
| 16GB |
45 |
17 |
45 |
S |
| 1TB |
47 |
17 |
|
S |
| 2.4" |
77 |
16 |
|
S |
| 23" |
51 |
16 |
|
S |
| 256GB |
64 |
17 |
|
S |
| 256MB |
79 |
17 |
|
S |
| 27" |
41 |
16 |
|
S |
| 2GB |
81 |
17 |
|
S |
| 3.1" |
83 |
16 |
|
S |
| 3.2" |
80 |
16 |
|
S |
| 3.5" |
65 |
16 |
|
S |
| 3.7" |
71 |
16 |
|
S |
| 320GB |
50 |
17 |
|
S |
| 32GB |
54 |
17 |
|
S |
| 4.0" |
67 |
16 |
|
S |
| 4.3" |
68 |
16 |
68 |
S |
| 4.5" |
74 |
16 |
|
S |
| 4.7" |
70 |
16 |
|
S |
| 4GB |
75 |
17 |
|
S |
| 500GB |
48 |
17 |
|
S |
| 512MB |
82 |
17 |
|
S |
| 640GB |
60 |
17 |
|
S |
| 7.0" |
56 |
16 |
|
S |
| 750GB |
62 |
17 |
|
S |
| 8.9" |
53 |
16 |
|
S |
| 8GB |
72 |
17 |
|
S |
| 9.7" |
44 |
16 |
|
S |
| Android 2.1 |
84 |
15 |
|
S |
| Android 2.2, Froyo |
55 |
15 |
|
S |
| Android 2.3, Gingerbread |
66 |
15 |
66 |
S |
| Android 3.1, Honeycomb |
52 |
15 |
|
S |
| Android 3.2, Honeycomb |
58 |
15 |
|
S |
| Android 4.0, Ice Cream Sandwich |
73 |
15 |
|
S |
| Nokia OS |
76 |
15 |
|
S |
| Symbian OS |
78 |
15 |
|
S |
| Windows 7 Home Basic |
49 |
15 |
|
S |
| Windows 7 Home Premium |
46 |
15 |
|
S |
| Windows Phone 7.5, Mango |
69 |
15 |
|
S |
| iOS 5 |
39 |
15 |
|
S |