{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "10.67"
},
"nested_loop": [
{
"table": {
"table_name": "cscart_companies",
"access_type": "ALL",
"rows_examined_per_scan": 6,
"rows_produced_per_join": 6,
"filtered": "100.00",
"cost_info": {
"read_cost": "2.27",
"eval_cost": "1.20",
"prefix_cost": "3.47",
"data_read_per_join": "42K"
},
"used_columns": [
"company_id",
"plan_id"
]
}
},
{
"table": {
"table_name": "cscart_vendor_plans",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"plan_id"
],
"key_length": "4",
"ref": [
"atulecarter_atul_demo1.cscart_companies.plan_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 6,
"filtered": "100.00",
"using_index": true,
"cost_info": {
"read_cost": "6.00",
"eval_cost": "1.20",
"prefix_cost": "10.67",
"data_read_per_join": "624"
},
"used_columns": [
"plan_id"
]
}
}
]
}
}
company_id | plan_id |
---|---|
1 | 3 |
2 | 2 |
3 | 3 |
4 | 3 |
5 | 3 |
6 | 3 |