Query time 0.00292
JSON explain
{
"query_block": {
"select_id": 1,
"nested_loop": [
{
"table": {
"table_name": "gp",
"access_type": "range",
"possible_keys": ["PRIMARY", "idx_group_id"],
"key": "idx_group_id",
"key_length": "3",
"used_key_parts": ["group_id"],
"rows": 62,
"filtered": 100,
"index_condition": "gp.group_id in (12179,12245,14602,13660,14832,16316,12178,14525,14681,14947,14601,14804,14675,13370,14806,14942,13505,13426,13535)"
}
},
{
"table": {
"table_name": "gpf",
"access_type": "ref",
"possible_keys": ["PRIMARY", "idx_group_id"],
"key": "idx_group_id",
"key_length": "3",
"used_key_parts": ["group_id"],
"ref": ["dev_db.gp.group_id"],
"rows": 1,
"filtered": 100
}
},
{
"table": {
"table_name": "pfv",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"fl",
"lang_code",
"product_id",
"fpl",
"idx_product_feature_variant_id"
],
"key": "idx_product_feature_variant_id",
"key_length": "12",
"used_key_parts": ["product_id", "feature_id", "lang_code"],
"ref": ["dev_db.gp.product_id", "dev_db.gpf.feature_id", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "pfv.lang_code = 'vi'",
"using_index": true
}
}
]
}
}
Result
feature_id |
product_id |
variant_id |
group_id |
19650 |
14929 |
68347 |
12178 |
19650 |
14928 |
68346 |
12178 |
19650 |
14927 |
68345 |
12178 |
19650 |
14926 |
68344 |
12178 |
19650 |
14925 |
68343 |
12178 |
19650 |
6555 |
68348 |
12178 |
19651 |
14933 |
68352 |
12179 |
19651 |
14932 |
68351 |
12179 |
19651 |
14931 |
68350 |
12179 |
19651 |
14930 |
68349 |
12179 |
19651 |
6554 |
68353 |
12179 |
19723 |
15222 |
68596 |
12245 |
19723 |
15221 |
68595 |
12245 |
19723 |
15220 |
68594 |
12245 |
19723 |
15219 |
68593 |
12245 |
19723 |
15218 |
68592 |
12245 |
19723 |
6361 |
68597 |
12245 |
19723 |
48798 |
87019 |
12245 |
19723 |
48799 |
87020 |
12245 |
20977 |
20930 |
73300 |
13370 |
20977 |
2576 |
73301 |
13370 |
21034 |
21061 |
73481 |
13426 |
21034 |
2492 |
73480 |
13426 |
21115 |
21189 |
73689 |
13505 |
21115 |
21188 |
73688 |
13505 |
21115 |
2347 |
73690 |
13505 |
21147 |
21490 |
73957 |
13535 |
21147 |
21489 |
73956 |
13535 |
21147 |
21488 |
73955 |
13535 |
21147 |
21487 |
73954 |
13535 |
21147 |
2302 |
73958 |
13535 |
21291 |
22070 |
74498 |
13660 |
21291 |
22069 |
74499 |
13660 |
21291 |
2015 |
74497 |
13660 |
22245 |
25183 |
77946 |
14525 |
22245 |
25182 |
77945 |
14525 |
22245 |
532 |
77947 |
14525 |
22245 |
25180 |
77943 |
14525 |
22245 |
25181 |
77944 |
14525 |
22333 |
405 |
78278 |
14601 |
22333 |
25728 |
78277 |
14601 |
22334 |
25730 |
78280 |
14602 |
22334 |
404 |
78281 |
14602 |
22413 |
294 |
78622 |
14675 |
22413 |
26109 |
78621 |
14675 |
22419 |
26132 |
78650 |
14681 |
22419 |
286 |
78651 |
14681 |
22551 |
60 |
79179 |
14804 |
22551 |
26603 |
79175 |
14804 |
22551 |
26604 |
79176 |
14804 |
22551 |
26605 |
79177 |
14804 |
22551 |
26606 |
79178 |
14804 |
22553 |
58 |
79188 |
14806 |
22553 |
26608 |
79182 |
14806 |
22553 |
26609 |
79183 |
14806 |
22553 |
26610 |
79184 |
14806 |
22553 |
26611 |
79185 |
14806 |
22553 |
26612 |
79186 |
14806 |
22553 |
26613 |
79187 |
14806 |
22573 |
2255 |
79232 |
14832 |
22573 |
26674 |
79233 |
14832 |
22573 |
26675 |
79234 |
14832 |
22826 |
26864 |
79632 |
14942 |
22826 |
27048 |
79633 |
14942 |
22826 |
27049 |
79634 |
14942 |
22826 |
27050 |
79635 |
14942 |
22831 |
26854 |
79644 |
14947 |
22831 |
27055 |
79645 |
14947 |
24099 |
40526 |
83984 |
16316 |
24099 |
40599 |
83985 |
16316 |