Query time 0.00864
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 (14935,15894,15477,14931,16983,15480,15479,12427,16973,16985,13281,16979,16094,15469,16093)"
}
},
{
"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 |
19925 |
16373 |
69624 |
12427 |
19925 |
5832 |
69623 |
12427 |
20880 |
20685 |
72970 |
13281 |
20880 |
20684 |
72969 |
13281 |
20880 |
20683 |
72968 |
13281 |
20880 |
2921 |
72971 |
13281 |
22815 |
26879 |
79610 |
14931 |
22815 |
27037 |
79611 |
14931 |
22819 |
26875 |
79618 |
14935 |
22819 |
27041 |
79619 |
14935 |
23353 |
32603 |
81017 |
15469 |
23354 |
32603 |
81023 |
15469 |
23353 |
27863 |
81017 |
15469 |
23354 |
27863 |
81022 |
15469 |
23353 |
32604 |
81018 |
15469 |
23354 |
32604 |
81022 |
15469 |
23353 |
32605 |
81018 |
15469 |
23354 |
32605 |
81023 |
15469 |
23353 |
32606 |
81019 |
15469 |
23354 |
32606 |
81022 |
15469 |
23353 |
32607 |
81019 |
15469 |
23354 |
32607 |
81023 |
15469 |
23353 |
32608 |
81020 |
15469 |
23354 |
32608 |
81022 |
15469 |
23353 |
32609 |
81020 |
15469 |
23354 |
32609 |
81023 |
15469 |
23353 |
32610 |
81021 |
15469 |
23354 |
32610 |
81022 |
15469 |
23353 |
32611 |
81021 |
15469 |
23354 |
32611 |
81023 |
15469 |
23350 |
26881 |
81002 |
15477 |
23350 |
32628 |
81003 |
15477 |
23350 |
32629 |
81004 |
15477 |
23350 |
32630 |
81005 |
15477 |
23350 |
32631 |
81006 |
15477 |
23350 |
32632 |
81007 |
15477 |
23350 |
26883 |
81002 |
15479 |
23350 |
32639 |
81004 |
15479 |
23350 |
32638 |
81003 |
15479 |
23350 |
32640 |
81005 |
15479 |
23350 |
32641 |
81006 |
15479 |
23350 |
32642 |
81007 |
15479 |
23350 |
26884 |
81002 |
15480 |
23350 |
32644 |
81004 |
15480 |
23350 |
32643 |
81003 |
15480 |
23350 |
32645 |
81005 |
15480 |
23350 |
32646 |
81006 |
15480 |
23350 |
32647 |
81007 |
15480 |
23776 |
37145 |
82612 |
15894 |
23776 |
37146 |
82613 |
15894 |
23776 |
37147 |
82614 |
15894 |
23776 |
37095 |
82602 |
15894 |
23776 |
37144 |
82611 |
15894 |
23776 |
37148 |
82615 |
15894 |
23776 |
37149 |
82603 |
15894 |
23776 |
37150 |
82604 |
15894 |
23776 |
37151 |
82605 |
15894 |
23776 |
37152 |
82606 |
15894 |
23776 |
37153 |
82607 |
15894 |
23776 |
37154 |
82608 |
15894 |
23776 |
37155 |
82609 |
15894 |
23776 |
37156 |
82610 |
15894 |
23917 |
38134 |
83187 |
16093 |
23917 |
38315 |
83188 |
16093 |
23918 |
38135 |
83189 |
16094 |
23918 |
38316 |
83190 |
16094 |
23918 |
38317 |
83191 |
16094 |
24729 |
46993 |
86266 |
16973 |
24729 |
46624 |
86265 |
16973 |
24739 |
47026 |
86287 |
16979 |
24739 |
47025 |
86286 |
16979 |
24739 |
47010 |
86285 |
16979 |
24743 |
47011 |
86294 |
16983 |
24743 |
47100 |
86295 |
16983 |
24743 |
47101 |
86296 |
16983 |
24744 |
47013 |
86297 |
16985 |
24744 |
47104 |
86298 |
16985 |
24744 |
47105 |
86299 |
16985 |