Query time 0.00118
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "13.93"
},
"ordering_operation": {
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "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": 10,
"rows_produced_per_join": 8,
"filtered": "90.00",
"cost_info": {
"read_cost": "4.00",
"eval_cost": "0.90",
"prefix_cost": "5.00",
"data_read_per_join": "7K"
},
"used_columns": [
"object_id",
"edition_type",
"name",
"section_id",
"section_tab_id",
"type",
"value",
"position",
"is_global"
],
"attached_condition": "(((0 <> find_in_set('STOREFRONT',`goimagine`.`settings_objects`.`edition_type`)) or (0 <> find_in_set('ROOT',`goimagine`.`settings_objects`.`edition_type`)) or (0 <> find_in_set('MVE:STOREFRONT',`goimagine`.`settings_objects`.`edition_type`)) or (0 <> find_in_set('MVE:ROOT',`goimagine`.`settings_objects`.`edition_type`))) and (`goimagine`.`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": [
"goimagine.settings_objects.object_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 8,
"filtered": "100.00",
"cost_info": {
"read_cost": "8.04",
"eval_cost": "0.90",
"prefix_cost": "13.94",
"data_read_per_join": "215"
},
"used_columns": [
"object_id",
"company_id",
"value",
"storefront_id"
]
}
}
]
}
}
}
Result
| object_id |
name |
section_id |
section_tab_id |
type |
position |
is_global |
description |
value |
| 7071 |
default_lowers_allowed_balance |
106 |
107 |
I |
0 |
N |
default_lowers_allowed_balance |
-0 |
| 7072 |
default_grace_period_to_refill_balance |
106 |
107 |
I |
10 |
N |
default_grace_period_to_refill_balance |
100000 |
| 5937 |
settings_template |
106 |
107 |
E |
20 |
N |
settings_template |
settings.tpl |
| 7073 |
global_lowers_allowed_balance |
106 |
107 |
I |
20 |
N |
global_lowers_allowed_balance |
-0 |
| 7074 |
global_grace_period_to_refill_balance |
106 |
107 |
I |
30 |
N |
global_grace_period_to_refill_balance |
100000 |
| 7075 |
hide_products |
106 |
107 |
D |
40 |
N |
hide_products |
Y |
| 7076 |
block_admin_panel |
106 |
107 |
D |
50 |
N |
block_admin_panel |
N |
| 7077 |
disable_suspended_vendors |
106 |
107 |
D |
60 |
N |
disable_suspended_vendors |
Y |
| 7100 |
vendor_taxes |
106 |
107 |
N |
60 |
N |
vendor_taxes |
|
| 7078 |
days_before_disable |
106 |
107 |
D |
70 |
N |
days_before_disable |
90 |