{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "40.80"
},
"nested_loop": [
{
"table": {
"table_name": "gp",
"access_type": "ref",
"possible_keys": [
"idx_group_id"
],
"key": "idx_group_id",
"used_key_parts": [
"group_id"
],
"key_length": "3",
"ref": [
"const"
],
"rows_examined_per_scan": 17,
"rows_produced_per_join": 17,
"filtered": "100.00",
"cost_info": {
"read_cost": "17.00",
"eval_cost": "3.40",
"prefix_cost": "20.40",
"data_read_per_join": "272"
},
"used_columns": [
"product_id",
"parent_product_id",
"group_id"
]
}
},
{
"table": {
"table_name": "p",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"product_id"
],
"key_length": "3",
"ref": [
"webmarco.gp.product_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 17,
"filtered": "100.00",
"cost_info": {
"read_cost": "17.00",
"eval_cost": "3.40",
"prefix_cost": "40.80",
"data_read_per_join": "132K"
},
"used_columns": [
"product_id",
"company_id"
]
}
}
]
}
}
product_id | parent_product_id | group_id | company_id |
---|---|---|---|
277822 | 286602 | 7115 | 539 |
277823 | 286602 | 7115 | 539 |
277824 | 286602 | 7115 | 539 |
277825 | 286602 | 7115 | 539 |
277826 | 286602 | 7115 | 539 |
277827 | 286602 | 7115 | 539 |
277828 | 286602 | 7115 | 539 |
277829 | 286602 | 7115 | 539 |
277830 | 286602 | 7115 | 539 |
277831 | 286602 | 7115 | 539 |
286601 | 286602 | 7115 | 539 |
286602 | 0 | 7115 | 539 |
286603 | 286602 | 7115 | 539 |
286604 | 286602 | 7115 | 539 |
286605 | 286602 | 7115 | 539 |
286606 | 286602 | 7115 | 539 |
286607 | 286602 | 7115 | 539 |