Query time 0.00455
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": 52,
"filtered": 100,
"index_condition": "gp.group_id in (13928,16489,16845,16984,15893,15486,17225,15892,17306,15465)"
}
},
{
"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 |
21596 |
23030 |
75520 |
13928 |
21596 |
1535 |
75519 |
13928 |
23350 |
32558 |
81005 |
15465 |
23350 |
26880 |
81002 |
15465 |
23350 |
32557 |
81004 |
15465 |
23350 |
32556 |
81003 |
15465 |
23350 |
32559 |
81006 |
15465 |
23350 |
32560 |
81007 |
15465 |
23350 |
26892 |
81002 |
15486 |
23350 |
32721 |
81003 |
15486 |
23350 |
32722 |
81004 |
15486 |
23350 |
32723 |
81005 |
15486 |
23350 |
32724 |
81006 |
15486 |
23350 |
32725 |
81007 |
15486 |
23774 |
37131 |
82583 |
15892 |
23774 |
37130 |
82582 |
15892 |
23774 |
37132 |
82584 |
15892 |
23774 |
37133 |
82585 |
15892 |
23774 |
37129 |
82581 |
15892 |
23774 |
37128 |
82580 |
15892 |
23774 |
37127 |
82579 |
15892 |
23774 |
37126 |
82578 |
15892 |
23774 |
37125 |
82590 |
15892 |
23774 |
37092 |
82577 |
15892 |
23774 |
37121 |
82586 |
15892 |
23774 |
37122 |
82587 |
15892 |
23774 |
37124 |
82589 |
15892 |
23774 |
37123 |
82588 |
15892 |
23775 |
37098 |
82591 |
15893 |
23775 |
37143 |
82599 |
15893 |
23775 |
37140 |
82596 |
15893 |
23775 |
37141 |
82597 |
15893 |
23775 |
37142 |
82598 |
15893 |
23775 |
37137 |
82593 |
15893 |
23775 |
37138 |
82594 |
15893 |
23775 |
37139 |
82595 |
15893 |
23775 |
37134 |
82600 |
15893 |
23775 |
37135 |
82601 |
15893 |
23775 |
37136 |
82592 |
15893 |
24231 |
41429 |
84426 |
16489 |
24231 |
41478 |
84427 |
16489 |
24231 |
41479 |
84428 |
16489 |
24231 |
41480 |
84429 |
16489 |
24620 |
45508 |
85929 |
16845 |
24620 |
45531 |
85930 |
16845 |
24744 |
47103 |
86299 |
16984 |
24744 |
47102 |
86298 |
16984 |
24744 |
47012 |
86297 |
16984 |
24980 |
48998 |
87124 |
17225 |
24980 |
48999 |
87125 |
17225 |
25065 |
49808 |
87458 |
17306 |
25065 |
41291 |
87457 |
17306 |