Query time 0.00033
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "5.98"
},
"ordering_operation": {
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "cscart_settings_objects",
"access_type": "ref",
"possible_keys": [
"section_id"
],
"key": "section_id",
"used_key_parts": [
"section_id"
],
"key_length": "4",
"ref": [
"const"
],
"rows_examined_per_scan": 9,
"rows_produced_per_join": 8,
"filtered": "90.00",
"cost_info": {
"read_cost": "2.25",
"eval_cost": "0.81",
"prefix_cost": "3.15",
"data_read_per_join": "6K"
},
"used_columns": [
"object_id",
"edition_type",
"name",
"section_id",
"section_tab_id",
"type",
"value",
"position",
"is_global"
],
"attached_condition": "(((0 <> find_in_set('STOREFRONT',`cscartdevel`.`cscart_settings_objects`.`edition_type`)) or (0 <> find_in_set('ROOT',`cscartdevel`.`cscart_settings_objects`.`edition_type`)) or (0 <> find_in_set('MVE:STOREFRONT',`cscartdevel`.`cscart_settings_objects`.`edition_type`)) or (0 <> find_in_set('MVE:ROOT',`cscartdevel`.`cscart_settings_objects`.`edition_type`))) and (`cscartdevel`.`cscart_settings_objects`.`type` <> 'H'))"
}
},
{
"table": {
"table_name": "storefront_values",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY",
"storefront_id",
"company_id"
],
"key": "PRIMARY",
"used_key_parts": [
"object_id",
"company_id",
"storefront_id"
],
"key_length": "11",
"ref": [
"cscartdevel.cscart_settings_objects.object_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 8,
"filtered": "100.00",
"cost_info": {
"read_cost": "2.02",
"eval_cost": "0.81",
"prefix_cost": "5.98",
"data_read_per_join": "194"
},
"used_columns": [
"object_id",
"company_id",
"storefront_id",
"value"
]
}
}
]
}
}
}
Result
object_id |
name |
section_id |
section_tab_id |
type |
position |
is_global |
description |
value |
6482 |
ss_redirect_after_frontend_user |
269 |
270 |
S |
0 |
N |
ss_redirect_after_frontend_user |
normal |
6487 |
ss_redirect_after_stats |
269 |
271 |
O |
0 |
N |
ss_redirect_after_stats |
|
6488 |
ss_redirect_after_enable_logs |
269 |
272 |
C |
0 |
N |
ss_redirect_after_enable_logs |
Y |
6483 |
ss_redirect_after_frontend_admin |
269 |
270 |
S |
10 |
N |
ss_redirect_after_frontend_admin |
normal |
6484 |
ss_redirect_after_frontend_vendor |
269 |
270 |
S |
20 |
N |
ss_redirect_after_frontend_vendor |
backend_vendor.index.index |
6485 |
ss_redirect_after_backend_admin |
269 |
270 |
S |
30 |
N |
ss_redirect_after_backend_admin |
normal |
6486 |
ss_redirect_after_backend_vendor |
269 |
270 |
S |
40 |
N |
ss_redirect_after_backend_vendor |
normal |