Query time 0.00734
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": 108,
"filtered": 100,
"index_condition": "gp.group_id in (13342,16439,16444,13346,16421,16428,16434,16424,16435,16485,15849,17043,16429,16441,16420,16437,16430,16431,16426,16425,17044,17045,17042)"
}
},
{
"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 |
20949 |
20841 |
73183 |
13342 |
20949 |
20840 |
73182 |
13342 |
20949 |
20839 |
73181 |
13342 |
20949 |
20838 |
73180 |
13342 |
20949 |
2627 |
73184 |
13342 |
20953 |
20859 |
73205 |
13346 |
20953 |
20858 |
73204 |
13346 |
20953 |
2623 |
73206 |
13346 |
23726 |
36522 |
82357 |
15849 |
23726 |
36658 |
82358 |
15849 |
24191 |
41098 |
84292 |
16420 |
24191 |
37884 |
84291 |
16420 |
24191 |
41099 |
84293 |
16420 |
24191 |
42338 |
84766 |
16420 |
24191 |
41101 |
84293 |
16421 |
24191 |
41100 |
84292 |
16421 |
24191 |
37897 |
84291 |
16421 |
24191 |
41107 |
84293 |
16424 |
24191 |
43736 |
84292 |
16424 |
24191 |
43737 |
84766 |
16424 |
24191 |
43735 |
84291 |
16424 |
24191 |
41109 |
84293 |
16425 |
24191 |
43733 |
84292 |
16425 |
24191 |
43734 |
84766 |
16425 |
24191 |
43732 |
84291 |
16425 |
24191 |
42341 |
84766 |
16426 |
24191 |
37893 |
84291 |
16426 |
24191 |
41110 |
84292 |
16426 |
24191 |
41111 |
84293 |
16426 |
24191 |
37890 |
84291 |
16428 |
24191 |
41115 |
84293 |
16428 |
24191 |
41116 |
84292 |
16429 |
24191 |
37891 |
84291 |
16429 |
24191 |
41117 |
84293 |
16429 |
24191 |
42345 |
84766 |
16429 |
24191 |
41119 |
84293 |
16430 |
24191 |
41118 |
84292 |
16430 |
24191 |
37899 |
84291 |
16430 |
24191 |
42347 |
84766 |
16430 |
24191 |
42349 |
84766 |
16431 |
24191 |
37889 |
84291 |
16431 |
24191 |
41121 |
84293 |
16431 |
24191 |
41120 |
84292 |
16431 |
24191 |
42360 |
84766 |
16434 |
24191 |
37898 |
84291 |
16434 |
24191 |
41126 |
84292 |
16434 |
24191 |
41127 |
84293 |
16434 |
24191 |
37892 |
84291 |
16435 |
24191 |
41128 |
84292 |
16435 |
24191 |
41129 |
84293 |
16435 |
24191 |
37896 |
84291 |
16437 |
24191 |
41132 |
84292 |
16437 |
24191 |
41133 |
84293 |
16437 |
24191 |
42346 |
84766 |
16439 |
24191 |
41136 |
84292 |
16439 |
24191 |
41137 |
84293 |
16439 |
24191 |
37883 |
84291 |
16441 |
24191 |
41140 |
84292 |
16441 |
24191 |
41141 |
84293 |
16441 |
24191 |
42350 |
84766 |
16441 |
24191 |
37882 |
84291 |
16444 |
24191 |
42362 |
84766 |
16444 |
24191 |
41146 |
84292 |
16444 |
24191 |
41147 |
84293 |
16444 |
24227 |
41425 |
84409 |
16485 |
24227 |
41465 |
84410 |
16485 |
24227 |
41466 |
84411 |
16485 |
24227 |
41467 |
84412 |
16485 |
24793 |
47429 |
86495 |
17042 |
24793 |
47412 |
86494 |
17042 |
24793 |
47430 |
86496 |
17042 |
24794 |
47432 |
86499 |
17043 |
24794 |
47431 |
86498 |
17043 |
24794 |
47416 |
86497 |
17043 |
24795 |
47433 |
86501 |
17044 |
24795 |
47414 |
86500 |
17044 |
24796 |
47434 |
86503 |
17045 |
24796 |
47415 |
86502 |
17045 |