Query time 0.00024
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "4.03"
},
"nested_loop": [
{
"table": {
"table_name": "cscart_statuses",
"access_type": "index",
"possible_keys": [
"PRIMARY"
],
"key": "status",
"used_key_parts": [
"status",
"type"
],
"key_length": "6",
"rows_examined_per_scan": 28,
"rows_produced_per_join": 2,
"filtered": "10.00",
"using_index": true,
"cost_info": {
"read_cost": "2.77",
"eval_cost": "0.28",
"prefix_cost": "3.05",
"data_read_per_join": "44"
},
"used_columns": [
"status_id",
"status",
"type"
],
"attached_condition": "(`shoptheindependents_com`.`cscart_statuses`.`type` = 'O')"
}
},
{
"table": {
"table_name": "cscart_status_data",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY",
"inventory"
],
"key": "PRIMARY",
"used_key_parts": [
"status_id",
"param"
],
"key_length": "768",
"ref": [
"shoptheindependents_com.cscart_statuses.status_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "34.25",
"cost_info": {
"read_cost": "0.70",
"eval_cost": "0.10",
"prefix_cost": "4.03",
"data_read_per_join": "1K"
},
"used_columns": [
"status_id",
"param",
"value"
],
"attached_condition": "(`shoptheindependents_com`.`cscart_status_data`.`value` = 'Y')"
}
}
]
}
}
Result
| status |
| C |
| E |
| G |
| H |
| J |
| K |
| L |
| M |
| P |
| Q |