Query time 0.00203
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "10.10"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "1.90"
},
"nested_loop": [
{
"table": {
"table_name": "cscart_statuses",
"access_type": "ALL",
"rows_examined_per_scan": 19,
"rows_produced_per_join": 1,
"filtered": "10.00",
"cost_info": {
"read_cost": "5.54",
"eval_cost": "0.38",
"prefix_cost": "5.92",
"data_read_per_join": "76"
},
"used_columns": [
"status_id",
"status",
"type",
"is_default",
"position",
"view_only_usergroups",
"status_transitions"
],
"attached_condition": "(`pankajecarter_hunters`.`cscart_statuses`.`type` = 'O')"
}
},
{
"table": {
"table_name": "cscart_status_descriptions",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"status_id",
"lang_code"
],
"key_length": "9",
"ref": [
"pankajecarter_hunters.cscart_statuses.status_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "1.90",
"eval_cost": "0.38",
"prefix_cost": "8.20",
"data_read_per_join": "2K"
},
"used_columns": [
"status_id",
"description",
"email_subj",
"email_header",
"lang_code"
]
}
}
]
}
}
}
Result
| status_id |
status |
type |
is_default |
position |
view_only_usergroups |
status_transitions |
description |
email_subj |
email_header |
lang_code |
| 1 |
P |
O |
Y |
0 |
4 |
|
Paid |
has been paid |
Your order has been paid successfully. |
en |
| 2 |
C |
O |
Y |
0 |
|
|
Complete |
has been completed |
Your order has been completed. Thank you for choosing us. |
en |
| 3 |
O |
O |
Y |
0 |
|
|
Open |
has been placed successfully. |
Thank you for the order. You are welcome to come back! |
en |
| 4 |
F |
O |
Y |
0 |
0 |
a:1:{i:5;a:2:{s:9:"usergroup";s:1:"5";s:6:"status";a:2:{i:0;s:1:"C";i:1;s:1:"O";}}} |
Failed |
failed |
Your order has been unsuccessful. Please contact shop administration. |
en |
| 5 |
D |
O |
Y |
0 |
|
|
Declined |
has been declined |
Your order has been declined. Please contact shop administration. |
en |
| 6 |
B |
O |
Y |
0 |
|
|
Backordered |
has been backordered |
Your order has been backordered. |
en |
| 7 |
I |
O |
Y |
0 |
|
|
Canceled |
has been canceled |
Your order has been canceled. Please contact shop administration. |
en |
| 19 |
Y |
O |
Y |
0 |
|
|
Awaiting call |
Awaiting call |
Awaiting call |
en |