Query time 0.00182
JSON explain
{
"query_block": {
"select_id": 1,
"cost": 0.0417714,
"filesort": {
"sort_key": "pf.position, cscart_product_features_descriptions.description",
"temporary_table": {
"nested_loop": [
{
"table": {
"table_name": "pf",
"access_type": "ALL",
"possible_keys": ["PRIMARY"],
"loops": 1,
"rows": 15,
"cost": 0.0132998,
"filtered": 100,
"attached_condition": "pf.feature_type = 'G' and (pf.feature_id = '' or !<in_optimizer>(pf.feature_id,pf.feature_id in (subquery#2))) and pf.display_on_product = 'Y' and (pf.categories_path = '' or pf.categories_path is null or find_in_set(268,pf.categories_path) or find_in_set(273,pf.categories_path))"
}
},
{
"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": ["u358358020_main.pf.feature_id", "const"],
"loops": 15,
"rows": 1,
"cost": 0.0142358,
"filtered": 100,
"attached_condition": "trigcond(cscart_product_features_descriptions.lang_code = 'zh')"
}
},
{
"table": {
"table_name": "cscart_ult_objects_sharing",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "159",
"used_key_parts": [
"share_object_id",
"share_company_id",
"share_object_type"
],
"ref": ["u358358020_main.pf.feature_id", "const", "const"],
"loops": 15,
"rows": 1,
"cost": 0.0142358,
"filtered": 100,
"attached_condition": "cscart_ult_objects_sharing.share_object_id = pf.feature_id and cscart_ult_objects_sharing.share_object_type = 'product_features'"
}
}
],
"subqueries": [
{
"materialization": {
"query_block": {
"select_id": 2,
"cost": 0.0132998,
"nested_loop": [
{
"table": {
"table_name": "cscart_product_features",
"access_type": "ALL",
"loops": 1,
"rows": 15,
"cost": 0.0132998,
"filtered": 100
}
}
]
}
}
}
]
}
}
}
}
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 |
| 14 |
1 |
G |
0 |
Y |
Y |
N |
Electronics |
Electronics |
zh |
|
|
|
|
A |
N |
0 |
|
|
|
|
0 |
0 |
| 20 |
1 |
G |
0 |
Y |
Y |
N |
Main features |
Main features |
zh |
|
|
|
|
A |
N |
10 |
|
|
|
|
0 |
0 |
| 24 |
1 |
G |
0 |
Y |
Y |
N |
Specifications |
Specifications |
zh |
|
|
|
|
A |
N |
20 |
|
|
|
|
0 |
0 |
| 33 |
1 |
G |
0 |
Y |
Y |
N |
Multimedia |
Multimedia |
zh |
|
|
|
|
A |
N |
30 |
|
|
|
|
0 |
0 |
| 30 |
1 |
G |
0 |
Y |
Y |
N |
Interfaces |
Interfaces |
zh |
|
|
|
|
A |
N |
40 |
|
|
|
|
0 |
0 |