Query time 0.03128
JSON explain
{
"query_block": {
"select_id": 1,
"nested_loop": [
{
"table": {
"table_name": "pfv",
"access_type": "range",
"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"],
"rows": 131,
"filtered": 0.258526951,
"index_condition": "pfv.product_id in (534,6559,41229,6554,2458,6555,2255,26854,286,25180,405,26864,36834,933,1059,6557,1041,2567,25850,3975,1835,2257)",
"attached_condition": "pfv.feature_id in (22243,19646,24203,19651,21057,19650,22573,22831,22419,22245,22333,22826,21267,23757,21965,21912,19648,21925,20980,22368,20439,21430,22576) and pfv.lang_code = 'vi'"
}
},
{
"table": {
"table_name": "fv",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY", "feature_id"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["variant_id"],
"ref": ["dev_db.pfv.variant_id"],
"rows": 1,
"filtered": 100,
"attached_condition": "fv.feature_id = pfv.feature_id"
}
},
{
"table": {
"table_name": "fvd",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "9",
"used_key_parts": ["variant_id", "lang_code"],
"ref": ["dev_db.pfv.variant_id", "const"],
"rows": 1,
"filtered": 100,
"index_condition": "fvd.lang_code = 'vi'"
}
}
]
}
}
Result
feature_id |
product_id |
variant_id |
position |
variant |
22419 |
286 |
78651 |
2 |
Xanh lá mạ |
22333 |
405 |
78278 |
3 |
Túi zip - 10g |
22243 |
534 |
77936 |
0 |
Nâu cam |
21965 |
933 |
76888 |
0 |
Dầu gội tinh Dầu Oải Hương |
21925 |
1041 |
76742 |
0 |
Nâu, Xanh lá, Cam |
21912 |
1059 |
76697 |
0 |
Khắc 1 mặt |
21430 |
1835 |
74987 |
0 |
Mẫu 5 |
22573 |
2255 |
79232 |
0 |
RADERMECKER |
22576 |
2257 |
79242 |
0 |
RADERMECKER |
21057 |
2458 |
73526 |
0 |
70g |
20980 |
2567 |
73306 |
0 |
Thùng 6 chai |
20439 |
3975 |
71521 |
0 |
Chuồn chuồn hoa |
19651 |
6554 |
68353 |
0 |
Full moon |
19650 |
6555 |
68348 |
0 |
My rose (Bản giới hạn) |
19648 |
6557 |
68337 |
0 |
My rose (Bản giới hạn) |
19646 |
6559 |
68328 |
0 |
Balance |
22245 |
25180 |
77943 |
0 |
Lục giác - Nâu cam |
22368 |
25850 |
78426 |
0 |
Nâu phối vàng |
22831 |
26854 |
79644 |
0 |
110g |
22826 |
26864 |
79632 |
0 |
300g |
21267 |
36834 |
74407 |
0 |
Hồng Nude |
23757 |
36834 |
82455 |
0 |
1.6m x 2m |
24203 |
41229 |
84335 |
1 |
Nguyên bản |