Query time 0.00271
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": 69,
"filtered": 100,
"index_condition": "gp.group_id in (14637,14223,14636,13598,12745,14069,12735,14826,15859,16102,12734,15858,17246,14824,15863,12742,15620,14829,15861,16664,13783)"
}
},
{
"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 |
20276 |
18287 |
70941 |
12734 |
20276 |
18286 |
70940 |
12734 |
20276 |
4384 |
70942 |
12734 |
20277 |
18289 |
70944 |
12735 |
20277 |
18288 |
70943 |
12735 |
20277 |
4383 |
70945 |
12735 |
20284 |
18303 |
70965 |
12742 |
20284 |
18302 |
70964 |
12742 |
20284 |
4376 |
70966 |
12742 |
20287 |
18309 |
70974 |
12745 |
20287 |
18308 |
70973 |
12745 |
20287 |
4373 |
70975 |
12745 |
21215 |
21752 |
74213 |
13598 |
21215 |
21751 |
74212 |
13598 |
21215 |
2155 |
74214 |
13598 |
21424 |
22529 |
74959 |
13783 |
21424 |
22528 |
74958 |
13783 |
21424 |
22527 |
74957 |
13783 |
21424 |
1841 |
74960 |
13783 |
21748 |
23481 |
76046 |
14069 |
21748 |
1287 |
76045 |
14069 |
21922 |
24132 |
76728 |
14223 |
21922 |
1044 |
76730 |
14223 |
21922 |
24133 |
76729 |
14223 |
22369 |
25852 |
78429 |
14636 |
22369 |
25851 |
78428 |
14636 |
22369 |
351 |
78430 |
14636 |
22370 |
25855 |
78433 |
14637 |
22370 |
350 |
78434 |
14637 |
22563 |
26658 |
79212 |
14824 |
22563 |
26659 |
79213 |
14824 |
22563 |
2247 |
79211 |
14824 |
22566 |
26662 |
79215 |
14826 |
22566 |
26663 |
79216 |
14826 |
22566 |
2248 |
79214 |
14826 |
22570 |
26668 |
79224 |
14829 |
22570 |
26669 |
79225 |
14829 |
22570 |
2251 |
79223 |
14829 |
23491 |
33809 |
81512 |
15620 |
23491 |
33810 |
81513 |
15620 |
23491 |
33811 |
81514 |
15620 |
23491 |
33812 |
81515 |
15620 |
23491 |
33813 |
81516 |
15620 |
23491 |
33814 |
81517 |
15620 |
23734 |
36302 |
82386 |
15858 |
23734 |
36697 |
82387 |
15858 |
23734 |
36698 |
82388 |
15858 |
23735 |
36303 |
82389 |
15859 |
23735 |
49260 |
82393 |
15859 |
23735 |
49259 |
82392 |
15859 |
23735 |
49258 |
82391 |
15859 |
23735 |
49257 |
82390 |
15859 |
23737 |
36305 |
82399 |
15861 |
23737 |
36705 |
82400 |
15861 |
23737 |
36706 |
82401 |
15861 |
23739 |
36308 |
82407 |
15863 |
23739 |
36711 |
82408 |
15863 |
23739 |
36712 |
82409 |
15863 |
23739 |
36713 |
82410 |
15863 |
23739 |
36714 |
82411 |
15863 |
23739 |
36715 |
82412 |
15863 |
23926 |
38151 |
83212 |
16102 |
23926 |
38331 |
83213 |
16102 |
24438 |
43651 |
85235 |
16664 |
24438 |
43806 |
85236 |
16664 |
24438 |
43807 |
85237 |
16664 |
24717 |
49659 |
86220 |
17246 |
24717 |
49186 |
86219 |
17246 |
24717 |
49658 |
86218 |
17246 |
24717 |
49660 |
87235 |
17246 |