Query time 0.01078
JSON explain
{
"query_block": {
"select_id": 1,
"filesort": {
"sort_key": "fd.internal_name, fv.position",
"temporary_table": {
"table": {
"table_name": "v",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"fl",
"variant_id",
"lang_code",
"product_id",
"fpl",
"idx_product_feature_variant_id"
],
"key": "product_id",
"key_length": "3",
"used_key_parts": ["product_id"],
"ref": ["const"],
"rows": 124,
"filtered": 11.5553093,
"attached_condition": "v.lang_code = 'ru'"
},
"table": {
"table_name": "f",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY", "status"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["feature_id"],
"ref": ["devmotorsbay.v.feature_id"],
"rows": 1,
"filtered": 100,
"attached_condition": "f.`status` = 'A' and (f.categories_path = '' or find_in_set(499,f.categories_path) or find_in_set(514,f.categories_path) or find_in_set(587,f.categories_path)) and if(f.parent_id,(subquery#2),'A') = 'A' and (v.variant_id <> 0 or f.feature_type <> 'C' and v.`value` <> '' or f.feature_type = 'C' or v.value_int <> '')"
},
"table": {
"table_name": "fd",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "9",
"used_key_parts": ["feature_id", "lang_code"],
"ref": ["devmotorsbay.v.feature_id", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(fd.lang_code = 'ru')"
},
"table": {
"table_name": "fv",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["variant_id"],
"ref": ["devmotorsbay.v.variant_id"],
"rows": 1,
"filtered": 100
},
"table": {
"table_name": "vd",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "9",
"used_key_parts": ["variant_id", "lang_code"],
"ref": ["devmotorsbay.fv.variant_id", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(vd.lang_code = 'ru' and trigcond(fv.variant_id is not null))"
},
"table": {
"table_name": "gf",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["feature_id"],
"ref": ["devmotorsbay.f.parent_id"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(gf.feature_type = 'G')"
},
"subqueries": [
{
"expression_cache": {
"state": "uninitialized",
"query_block": {
"select_id": 2,
"table": {
"table_name": "df",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["feature_id"],
"ref": ["devmotorsbay.f.parent_id"],
"rows": 1,
"filtered": 100
}
}
}
}
]
}
}
}
}
Result
| feature_id |
value |
value_int |
variant_id |
feature_type |
internal_name |
description |
prefix |
suffix |
variant |
parent_id |
position |
gposition |
display_on_header |
display_on_catalog |
display_on_product |
feature_code |
purpose |
| 81 |
|
|
15658 |
S |
Condition |
상태 |
|
|
신품 |
0 |
0 |
|
Y |
Y |
Y |
|
find_products |
| 2 |
|
|
12 |
E |
브랜드 |
브랜드 |
|
|
제네시스 |
0 |
0 |
|
Y |
Y |
Y |
Brand |
organize_catalog |
| 73 |
|
|
5819 |
S |
정품여부 |
정품여부 |
|
|
정품 |
0 |
50 |
|
Y |
Y |
Y |
|
find_products |
| 3 |
|
|
12329 |
M |
제조 파츠넘버 |
제조 파츠넘버 |
|
|
82520T1000 |
0 |
0 |
|
Y |
Y |
Y |
MPN |
find_products |
| 27 |
|
|
5645 |
S |
제조국 |
제조국 |
|
|
대한민국 |
0 |
0 |
|
Y |
Y |
Y |
|
find_products |
| 26 |
|
|
5797 |
S |
제조업체 |
제조업체 |
|
|
현대 |
0 |
0 |
|
Y |
Y |
Y |
|
find_products |
| 28 |
|
|
8157 |
M |
차종 |
차종 |
|
|
Genesis G80 2.5T 2WD 2020- |
0 |
0 |
|
Y |
Y |
Y |
|
find_products |
| 28 |
|
|
8149 |
M |
차종 |
차종 |
|
|
Genesis G80 3.5T 4WD 2020- |
0 |
0 |
|
Y |
Y |
Y |
|
find_products |
| 28 |
|
|
8150 |
M |
차종 |
차종 |
|
|
Genesis G80 3.5T 2WD 2020- |
0 |
0 |
|
Y |
Y |
Y |
|
find_products |
| 28 |
|
|
8156 |
M |
차종 |
차종 |
|
|
Genesis G80 2.5T 4WD 2020- |
0 |
0 |
|
Y |
Y |
Y |
|
find_products |