Query time 0.00722
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": 66,
"filtered": 100,
"index_condition": "gp.group_id in (15868,13743,14605,12159,15472,16892,13990,15475,14616,13416,13607,12314,13611,12913,15476,16774,14770,15471,12498,12591,12908,13405)"
}
},
{
"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 |
19628 |
14830 |
68250 |
12159 |
19628 |
14829 |
68249 |
12159 |
19628 |
14828 |
68248 |
12159 |
19628 |
14827 |
68247 |
12159 |
19628 |
14826 |
68246 |
12159 |
19628 |
6577 |
68251 |
12159 |
19804 |
15600 |
68882 |
12314 |
19804 |
6063 |
68883 |
12314 |
19999 |
16597 |
69903 |
12498 |
19999 |
16596 |
69902 |
12498 |
19999 |
5567 |
69904 |
12498 |
20107 |
17734 |
70373 |
12591 |
20107 |
17733 |
70374 |
12591 |
20107 |
5141 |
70372 |
12591 |
20458 |
18761 |
71565 |
12908 |
20458 |
3880 |
71566 |
12908 |
20463 |
18768 |
71578 |
12913 |
20463 |
18767 |
71576 |
12913 |
20463 |
3875 |
71577 |
12913 |
21013 |
21016 |
73414 |
13405 |
21013 |
21015 |
73415 |
13405 |
21013 |
2513 |
73413 |
13405 |
21024 |
50089 |
73448 |
13416 |
21024 |
50088 |
73447 |
13416 |
21024 |
2502 |
73446 |
13416 |
21225 |
21776 |
74243 |
13607 |
21225 |
21775 |
74242 |
13607 |
21225 |
21774 |
74241 |
13607 |
21225 |
2136 |
74244 |
13607 |
21229 |
21788 |
74259 |
13611 |
21229 |
21787 |
74258 |
13611 |
21229 |
21786 |
74257 |
13611 |
21229 |
2132 |
74260 |
13611 |
21383 |
22400 |
74797 |
13743 |
21383 |
22399 |
74796 |
13743 |
21383 |
22398 |
74798 |
13743 |
21383 |
1897 |
74795 |
13743 |
21666 |
1412 |
75769 |
13990 |
21666 |
23264 |
75767 |
13990 |
21666 |
23265 |
75768 |
13990 |
21666 |
23266 |
75770 |
13990 |
22337 |
25734 |
78287 |
14605 |
22337 |
25735 |
78288 |
14605 |
22337 |
401 |
78289 |
14605 |
22348 |
382 |
78331 |
14616 |
22348 |
25767 |
78332 |
14616 |
22517 |
112 |
79034 |
14770 |
22517 |
50110 |
79035 |
14770 |
23357 |
32616 |
81033 |
15471 |
23357 |
6057 |
81032 |
15471 |
23357 |
32617 |
81034 |
15471 |
23357 |
32618 |
81033 |
15472 |
23357 |
6058 |
81032 |
15472 |
23357 |
32619 |
81034 |
15472 |
23357 |
32624 |
81033 |
15475 |
23357 |
6061 |
81032 |
15475 |
23357 |
32625 |
81034 |
15475 |
23357 |
32626 |
81033 |
15476 |
23357 |
6062 |
81032 |
15476 |
23357 |
32627 |
81034 |
15476 |
23744 |
66 |
82422 |
15868 |
23744 |
36733 |
82425 |
15868 |
23744 |
36732 |
82424 |
15868 |
23744 |
36731 |
82423 |
15868 |
24545 |
44939 |
85607 |
16774 |
24545 |
44964 |
85608 |
16774 |
24545 |
44965 |
85609 |
16774 |
24063 |
46181 |
83856 |
16892 |
24063 |
46182 |
83855 |
16892 |