Query time 0.00158
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "146.31"
},
"nested_loop": [
{
"table": {
"table_name": "gpf",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"idx_group_id"
],
"key": "idx_group_id",
"used_key_parts": [
"group_id"
],
"key_length": "3",
"ref": [
"const"
],
"rows_examined_per_scan": 2,
"rows_produced_per_join": 2,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "1.00",
"eval_cost": "0.40",
"prefix_cost": "1.40",
"data_read_per_join": "208"
},
"used_columns": [
"feature_id",
"group_id"
]
}
},
{
"table": {
"table_name": "gp",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"idx_group_id"
],
"key": "idx_group_id",
"used_key_parts": [
"group_id"
],
"key_length": "3",
"ref": [
"const"
],
"rows_examined_per_scan": 51,
"rows_produced_per_join": 102,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "2.11",
"eval_cost": "20.40",
"prefix_cost": "23.91",
"data_read_per_join": "1K"
},
"used_columns": [
"product_id",
"group_id"
]
}
},
{
"table": {
"table_name": "pfv",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"fl",
"lang_code",
"product_id",
"fpl",
"idx_product_feature_variant_id"
],
"key": "fpl",
"used_key_parts": [
"feature_id",
"product_id",
"lang_code"
],
"key_length": "12",
"ref": [
"webmarco.gpf.feature_id",
"webmarco.gp.product_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 102,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "102.00",
"eval_cost": "20.40",
"prefix_cost": "146.31",
"data_read_per_join": "78K"
},
"used_columns": [
"feature_id",
"product_id",
"variant_id",
"lang_code"
]
}
}
]
}
}
Result
feature_id |
product_id |
variant_id |
group_id |
548 |
149042 |
1193 |
2006 |
548 |
149050 |
1195 |
2006 |
548 |
149051 |
1194 |
2006 |
548 |
149052 |
1193 |
2006 |
548 |
149053 |
1195 |
2006 |
548 |
149054 |
1194 |
2006 |
548 |
149055 |
1193 |
2006 |
548 |
149056 |
1195 |
2006 |
548 |
149057 |
1194 |
2006 |
548 |
149058 |
1193 |
2006 |
548 |
149059 |
1195 |
2006 |
548 |
149060 |
1194 |
2006 |
548 |
149061 |
1193 |
2006 |
548 |
149062 |
1195 |
2006 |
548 |
149063 |
1194 |
2006 |
548 |
149064 |
1193 |
2006 |
548 |
149065 |
1195 |
2006 |
548 |
149066 |
1194 |
2006 |
548 |
149067 |
1193 |
2006 |
548 |
149068 |
1195 |
2006 |
548 |
149069 |
1194 |
2006 |
548 |
149070 |
1193 |
2006 |
548 |
149071 |
1195 |
2006 |
548 |
149072 |
1194 |
2006 |
548 |
149073 |
1193 |
2006 |
548 |
149074 |
1195 |
2006 |
548 |
149075 |
1194 |
2006 |
548 |
149076 |
1193 |
2006 |
548 |
149077 |
1195 |
2006 |
548 |
149078 |
1194 |
2006 |
548 |
149079 |
1193 |
2006 |
548 |
149080 |
1195 |
2006 |
548 |
149081 |
1194 |
2006 |
548 |
149082 |
1193 |
2006 |
548 |
149083 |
1195 |
2006 |
548 |
149084 |
1194 |
2006 |
548 |
149085 |
1193 |
2006 |
548 |
149086 |
1195 |
2006 |
548 |
149087 |
1194 |
2006 |
548 |
149088 |
1193 |
2006 |
548 |
149089 |
1195 |
2006 |
548 |
149090 |
1194 |
2006 |
548 |
149091 |
1193 |
2006 |
548 |
149092 |
1195 |
2006 |
548 |
149093 |
1194 |
2006 |
548 |
149094 |
1193 |
2006 |
548 |
149095 |
1195 |
2006 |
548 |
149096 |
1194 |
2006 |
548 |
149097 |
1193 |
2006 |
548 |
149098 |
1195 |
2006 |
548 |
149099 |
1194 |
2006 |
549 |
149042 |
1201 |
2006 |
549 |
149050 |
1201 |
2006 |
549 |
149051 |
1201 |
2006 |
549 |
149052 |
1516 |
2006 |
549 |
149053 |
1516 |
2006 |
549 |
149054 |
1516 |
2006 |
549 |
149055 |
1523 |
2006 |
549 |
149056 |
1523 |
2006 |
549 |
149057 |
1523 |
2006 |
549 |
149058 |
1524 |
2006 |
549 |
149059 |
1524 |
2006 |
549 |
149060 |
1524 |
2006 |
549 |
149061 |
1515 |
2006 |
549 |
149062 |
1515 |
2006 |
549 |
149063 |
1515 |
2006 |
549 |
149064 |
59761 |
2006 |
549 |
149065 |
59761 |
2006 |
549 |
149066 |
59761 |
2006 |
549 |
149067 |
7431 |
2006 |
549 |
149068 |
7431 |
2006 |
549 |
149069 |
7431 |
2006 |
549 |
149070 |
1518 |
2006 |
549 |
149071 |
1518 |
2006 |
549 |
149072 |
1518 |
2006 |
549 |
149073 |
1495 |
2006 |
549 |
149074 |
1495 |
2006 |
549 |
149075 |
1495 |
2006 |
549 |
149076 |
1517 |
2006 |
549 |
149077 |
1517 |
2006 |
549 |
149078 |
1517 |
2006 |
549 |
149079 |
37925 |
2006 |
549 |
149080 |
37925 |
2006 |
549 |
149081 |
37925 |
2006 |
549 |
149082 |
8210 |
2006 |
549 |
149083 |
8210 |
2006 |
549 |
149084 |
8210 |
2006 |
549 |
149085 |
1200 |
2006 |
549 |
149086 |
1200 |
2006 |
549 |
149087 |
1200 |
2006 |
549 |
149088 |
7721 |
2006 |
549 |
149089 |
7721 |
2006 |
549 |
149090 |
7721 |
2006 |
549 |
149091 |
1199 |
2006 |
549 |
149092 |
1199 |
2006 |
549 |
149093 |
1199 |
2006 |
549 |
149094 |
38109 |
2006 |
549 |
149095 |
38109 |
2006 |
549 |
149096 |
38109 |
2006 |
549 |
149097 |
1498 |
2006 |
549 |
149098 |
1498 |
2006 |
549 |
149099 |
1498 |
2006 |