Query time 0.00168
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "236.60"
},
"nested_loop": [
{
"table": {
"table_name": "p",
"access_type": "range",
"possible_keys": [
"PRIMARY",
"idx_group_id"
],
"key": "PRIMARY",
"used_key_parts": [
"product_id"
],
"key_length": "3",
"rows_examined_per_scan": 55,
"rows_produced_per_join": 55,
"filtered": "100.00",
"cost_info": {
"read_cost": "66.07",
"eval_cost": "11.00",
"prefix_cost": "77.07",
"data_read_per_join": "880"
},
"used_columns": [
"product_id",
"parent_product_id",
"group_id"
],
"attached_condition": "(`webmarco`.`p`.`product_id` in (82071,82118,82073,82038,149042,82061,81948,82101,82009,81647,82133,82103,81737,81655,82104,81704,81826,81863,81741,81860,81702,82072,81634,81657,81739,81625,82115,81776,82074,81611,81862,81627,82114,82069,81817,81773,81636,81812,81624,81806,82099,82052,81756,81816,82096,81814,81747,81768,82116,82095,81672,81764,81765,81762,81766))"
}
},
{
"table": {
"table_name": "g",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"id"
],
"key_length": "3",
"ref": [
"webmarco.p.group_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 55,
"filtered": "100.00",
"cost_info": {
"read_cost": "55.00",
"eval_cost": "11.00",
"prefix_cost": "143.07",
"data_read_per_join": "21K"
},
"used_columns": [
"id",
"code"
]
}
},
{
"table": {
"table_name": "f",
"access_type": "ref",
"possible_keys": [
"idx_group_id"
],
"key": "idx_group_id",
"used_key_parts": [
"group_id"
],
"key_length": "3",
"ref": [
"webmarco.p.group_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 77,
"filtered": "100.00",
"cost_info": {
"read_cost": "77.95",
"eval_cost": "15.59",
"prefix_cost": "236.61",
"data_read_per_join": "7K"
},
"used_columns": [
"feature_id",
"purpose",
"group_id"
]
}
}
]
}
}
Result
feature_id |
purpose |
product_id |
parent_product_id |
id |
code |
548 |
group_variation_catalog_item |
81611 |
0 |
2011 |
PV-5264F6AA0 |
549 |
group_variation_catalog_item |
81611 |
0 |
2011 |
PV-5264F6AA0 |
549 |
group_catalog_item |
81624 |
0 |
1075 |
PV-1098EDBE8 |
549 |
group_catalog_item |
81625 |
0 |
1075 |
PV-1098EDBE8 |
549 |
group_catalog_item |
81627 |
0 |
1075 |
PV-1098EDBE8 |
549 |
group_catalog_item |
81634 |
0 |
1077 |
PV-F9ABCCBE2 |
549 |
group_catalog_item |
81636 |
0 |
1077 |
PV-F9ABCCBE2 |
548 |
group_variation_catalog_item |
81647 |
0 |
2009 |
PV-95604C89F |
549 |
group_variation_catalog_item |
81647 |
0 |
2009 |
PV-95604C89F |
549 |
group_catalog_item |
81655 |
0 |
1079 |
PV-2C8604979 |
549 |
group_catalog_item |
81657 |
0 |
1079 |
PV-2C8604979 |
549 |
group_catalog_item |
81672 |
0 |
1080 |
PV-C95163516 |
549 |
group_catalog_item |
81702 |
0 |
1082 |
PV-A3F556C8F |
549 |
group_catalog_item |
81704 |
0 |
1082 |
PV-A3F556C8F |
549 |
group_catalog_item |
81737 |
0 |
1085 |
PV-0D2E7CD07 |
549 |
group_catalog_item |
81739 |
0 |
1085 |
PV-0D2E7CD07 |
549 |
group_catalog_item |
81756 |
0 |
1091 |
PV-EFB4A96E5 |
549 |
group_catalog_item |
81762 |
0 |
1091 |
PV-EFB4A96E5 |
549 |
group_catalog_item |
81764 |
0 |
1091 |
PV-EFB4A96E5 |
549 |
group_catalog_item |
81765 |
0 |
1091 |
PV-EFB4A96E5 |
549 |
group_catalog_item |
81766 |
0 |
1091 |
PV-EFB4A96E5 |
549 |
group_catalog_item |
81768 |
0 |
1091 |
PV-EFB4A96E5 |
549 |
group_catalog_item |
81773 |
0 |
1093 |
PV-1024B07FA |
549 |
group_catalog_item |
81776 |
0 |
1093 |
PV-1024B07FA |
549 |
group_catalog_item |
81806 |
0 |
1096 |
PV-CC1507FCE |
549 |
group_catalog_item |
81812 |
0 |
1096 |
PV-CC1507FCE |
549 |
group_catalog_item |
81814 |
0 |
1096 |
PV-CC1507FCE |
549 |
group_catalog_item |
81816 |
0 |
1096 |
PV-CC1507FCE |
549 |
group_catalog_item |
81817 |
0 |
1096 |
PV-CC1507FCE |
549 |
group_catalog_item |
81826 |
0 |
1099 |
PV-108198BA5 |
549 |
group_catalog_item |
81860 |
0 |
1099 |
PV-108198BA5 |
549 |
group_catalog_item |
81862 |
0 |
1099 |
PV-108198BA5 |
549 |
group_catalog_item |
81863 |
0 |
1099 |
PV-108198BA5 |
548 |
group_variation_catalog_item |
81948 |
0 |
2004 |
PV-757F6FB0F |
549 |
group_variation_catalog_item |
81948 |
0 |
2004 |
PV-757F6FB0F |
548 |
group_variation_catalog_item |
82009 |
0 |
2007 |
PV-CB57F53DE |
549 |
group_variation_catalog_item |
82009 |
0 |
2007 |
PV-CB57F53DE |
548 |
group_variation_catalog_item |
82038 |
0 |
2003 |
PV-945FDEB21 |
549 |
group_variation_catalog_item |
82038 |
0 |
2003 |
PV-945FDEB21 |
549 |
group_catalog_item |
82052 |
0 |
1120 |
PV-249358FE2 |
549 |
group_catalog_item |
82061 |
0 |
1120 |
PV-249358FE2 |
549 |
group_catalog_item |
82069 |
0 |
1122 |
PV-809D1FD8A |
549 |
group_catalog_item |
82071 |
0 |
1122 |
PV-809D1FD8A |
549 |
group_catalog_item |
82072 |
0 |
1122 |
PV-809D1FD8A |
549 |
group_catalog_item |
82073 |
0 |
1122 |
PV-809D1FD8A |
549 |
group_catalog_item |
82074 |
0 |
1122 |
PV-809D1FD8A |
549 |
group_catalog_item |
82095 |
0 |
1123 |
PV-717853A52 |
549 |
group_catalog_item |
82096 |
0 |
1123 |
PV-717853A52 |
549 |
group_catalog_item |
82101 |
0 |
1124 |
PV-1455F4699 |
549 |
group_catalog_item |
82103 |
0 |
1124 |
PV-1455F4699 |
549 |
group_catalog_item |
82114 |
0 |
1127 |
PV-9130AFA78 |
549 |
group_catalog_item |
82115 |
0 |
1127 |
PV-9130AFA78 |
549 |
group_catalog_item |
82116 |
0 |
1127 |
PV-9130AFA78 |
548 |
group_variation_catalog_item |
82118 |
0 |
2005 |
PV-FECD8562A |
549 |
group_variation_catalog_item |
82118 |
0 |
2005 |
PV-FECD8562A |
548 |
group_variation_catalog_item |
149042 |
0 |
2006 |
PV-4190F61A8 |
549 |
group_variation_catalog_item |
149042 |
0 |
2006 |
PV-4190F61A8 |