Query time 0.00129
JSON explain
{
"query_block": {
"select_id": 1,
"cost": 0.256391075,
"filesort": {
"sort_key": "pf_groups.position, pf_groups_description.description, pf_groups.feature_id, pf.position, cscart_product_features_descriptions.description, pf.feature_id",
"temporary_table": {
"nested_loop": [
{
"table": {
"table_name": "pf",
"access_type": "index",
"possible_keys": ["status"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["feature_id"],
"loops": 1,
"rows": 61,
"cost": 0.0207978,
"filtered": 100,
"attached_condition": "pf.feature_type <> 'G' and pf.`status` = 'A' and pf.feature_code in ('Brand','ISBN','GTIN','MPN')"
}
},
{
"table": {
"table_name": "pf_groups",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["feature_id"],
"ref": ["u985510652_ecartify_dev.pf.parent_id"],
"loops": 61,
"rows": 1,
"cost": 0.05538004,
"filtered": 100,
"attached_condition": "trigcond(pf_groups.`status` = 'A' or pf_groups.`status` is null)"
}
},
{
"table": {
"table_name": "pf_groups_description",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "9",
"used_key_parts": ["feature_id", "lang_code"],
"ref": ["u985510652_ecartify_dev.pf.parent_id", "const"],
"loops": 61,
"rows": 1,
"cost": 0.05538004,
"filtered": 100,
"attached_condition": "trigcond(pf_groups_description.lang_code = 'en')"
}
},
{
"table": {
"table_name": "cscart_product_features_descriptions",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "9",
"used_key_parts": ["feature_id", "lang_code"],
"ref": ["u985510652_ecartify_dev.pf.feature_id", "const"],
"loops": 61,
"rows": 1,
"cost": 0.05538004,
"filtered": 100,
"attached_condition": "trigcond(cscart_product_features_descriptions.lang_code = 'en')"
}
},
{
"table": {
"table_name": "cscart_product_features_values",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"fl",
"lang_code",
"product_id",
"fpl",
"idx_product_feature_variant_id"
],
"key": "lang_code",
"key_length": "12",
"used_key_parts": ["lang_code", "feature_id", "product_id"],
"ref": ["const", "u985510652_ecartify_dev.pf.feature_id", "const"],
"rowid_filter": {
"range": {
"key": "product_id",
"used_key_parts": ["product_id"]
},
"rows": 1,
"selectivity_pct": 0.020124774
},
"loops": 61,
"rows": 1,
"cost": 0.069453155,
"filtered": 0.020124774,
"attached_condition": "trigcond(cscart_product_features_values.lang_code = 'en')"
}
}
]
}
}
}
}
Result
| feature_id |
company_id |
feature_type |
parent_id |
display_on_product |
display_on_catalog |
display_on_header |
description |
internal_name |
lang_code |
prefix |
suffix |
categories_path |
full_description |
status |
comparison |
position |
purpose |
feature_style |
filter_style |
feature_code |
timestamp |
updated_timestamp |
group_position |
value |
variant_id |
value_int |
| 572 |
0 |
T |
568 |
0 |
0 |
N |
Brand |
|
en |
|
|
|
|
A |
N |
0 |
|
|
|
Brand |
0 |
0 |
0 |
|
|
|
| 570 |
0 |
T |
568 |
0 |
0 |
N |
GTIN |
|
en |
|
|
|
|
A |
N |
0 |
|
|
|
GTIN |
0 |
0 |
0 |
|
|
|
| 569 |
0 |
T |
568 |
0 |
0 |
N |
ISBN |
|
en |
|
|
|
|
A |
N |
0 |
|
|
|
ISBN |
0 |
0 |
0 |
|
|
|
| 571 |
0 |
T |
568 |
0 |
0 |
N |
MPN |
|
en |
|
|
|
|
A |
N |
0 |
|
|
|
MPN |
0 |
0 |
0 |
|
|
|