{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "64.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": 27,
"rows_produced_per_join": 27,
"filtered": "100.00",
"cost_info": {
"read_cost": "27.00",
"eval_cost": "5.40",
"prefix_cost": "32.40",
"data_read_per_join": "432"
},
"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": 27,
"filtered": "100.00",
"cost_info": {
"read_cost": "27.00",
"eval_cost": "5.40",
"prefix_cost": "64.80",
"data_read_per_join": "211K"
},
"used_columns": [
"product_id",
"company_id"
]
}
}
]
}
}
product_id | parent_product_id | group_id | company_id |
---|---|---|---|
431561 | 431590 | 10690 | 676 |
431562 | 431590 | 10690 | 676 |
431563 | 431590 | 10690 | 676 |
431564 | 431590 | 10690 | 676 |
431565 | 431590 | 10690 | 676 |
431566 | 431590 | 10690 | 676 |
431567 | 431590 | 10690 | 676 |
431568 | 431590 | 10690 | 676 |
431569 | 431590 | 10690 | 676 |
431587 | 431590 | 10690 | 676 |
431588 | 431590 | 10690 | 676 |
431589 | 431590 | 10690 | 676 |
431590 | 0 | 10690 | 676 |
431591 | 431590 | 10690 | 676 |
431592 | 431590 | 10690 | 676 |
431593 | 431590 | 10690 | 676 |
431594 | 431590 | 10690 | 676 |
431595 | 431590 | 10690 | 676 |
431596 | 431590 | 10690 | 676 |
431597 | 431590 | 10690 | 676 |
431598 | 431590 | 10690 | 676 |
431599 | 431590 | 10690 | 676 |
431600 | 431590 | 10690 | 676 |
431601 | 431590 | 10690 | 676 |
431602 | 431590 | 10690 | 676 |
431603 | 431590 | 10690 | 676 |
431604 | 431590 | 10690 | 676 |