Query time 0.00144
JSON explain
{
"query_block": {
"select_id": 1,
"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": {
"table": {
"table_name": "pf",
"access_type": "index",
"possible_keys": ["PRIMARY", "status"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["feature_id"],
"rows": 5,
"filtered": 100,
"attached_condition": "pf.feature_type <> 'G' and pf.`status` = 'A' and pf.display_on_product = 'Y' and (pf.categories_path = '' or pf.categories_path is null or find_in_set(11,pf.categories_path) or find_in_set(34,pf.categories_path) or find_in_set(35,pf.categories_path))"
},
"table": {
"table_name": "pf_groups",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["feature_id"],
"ref": ["vietpom_dev.pf.parent_id"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(pf_groups.`status` = 'A' or pf_groups.`status` is null)"
},
"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": "PRIMARY",
"key_length": "6",
"used_key_parts": ["feature_id", "product_id"],
"ref": ["vietpom_dev.pf.feature_id", "const"],
"rows": 1,
"filtered": 50.56497192,
"attached_condition": "cscart_product_features_values.lang_code = 'vi'"
},
"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": ["vietpom_dev.pf.parent_id", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(pf_groups_description.lang_code = 'vi')"
},
"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": ["vietpom_dev.pf.feature_id", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(cscart_product_features_descriptions.lang_code = 'vi')"
}
}
}
}
}
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 |
| 1 |
0 |
S |
0 |
Y |
N |
Y |
Manufacturer |
Manufacturer |
vi |
|
|
|
|
A |
N |
0 |
find_products |
text |
checkbox |
|
1686110764 |
1687514923 |
|
|
30 |
|
| 4 |
0 |
M |
0 |
Y |
Y |
Y |
Danh Mục |
Danh Mục |
vi |
|
|
|
|
A |
N |
2 |
find_products |
multiple_checkbox |
checkbox |
|
1686111227 |
1687769426 |
|
|
23 |
|
| 2 |
0 |
S |
0 |
Y |
Y |
Y |
Đơn vị tính |
Đơn vị tính |
vi |
|
|
|
|
A |
N |
4 |
find_products |
text |
checkbox |
|
1686111081 |
1688108523 |
|
|
31 |
|
| 3 |
0 |
D |
0 |
Y |
Y |
Y |
Ngày hết hạn |
Ngày hết hạn |
vi |
|
|
|
|
A |
N |
5 |
find_products |
text |
date |
|
1686111166 |
1688108606 |
|
|
0 |
1703869200.00 |