Query time 0.00093
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "30.33"
},
"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": 26,
"rows_produced_per_join": 23,
"filtered": "90.00",
"cost_info": {
"read_cost": "4.50",
"eval_cost": "2.34",
"prefix_cost": "7.10",
"data_read_per_join": "18K"
},
"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": 23,
"filtered": "100.00",
"cost_info": {
"read_cost": "20.89",
"eval_cost": "2.34",
"prefix_cost": "30.33",
"data_read_per_join": "561"
},
"used_columns": [
"object_id",
"company_id",
"value",
"storefront_id"
]
}
}
]
}
}
}
Result
| object_id |
name |
section_id |
section_tab_id |
type |
position |
is_global |
description |
value |
| 5896 |
clear_url |
92 |
93 |
O |
10 |
N |
clear_url |
|
| 7104 |
cron_command |
92 |
93 |
E |
20 |
N |
cron_command |
cron_command.tpl |
| 5898 |
site_change |
92 |
93 |
S |
30 |
N |
site_change |
daily |
| 5899 |
site_priority |
92 |
93 |
S |
40 |
N |
site_priority |
1 |
| 5901 |
include_products |
92 |
93 |
C |
60 |
N |
include_products |
Y |
| 5902 |
products_change |
92 |
93 |
S |
70 |
N |
products_change |
daily |
| 5903 |
products_priority |
92 |
93 |
S |
80 |
N |
products_priority |
0.5 |
| 5905 |
include_categories |
92 |
93 |
C |
100 |
N |
include_categories |
Y |
| 5906 |
categories_change |
92 |
93 |
S |
110 |
N |
categories_change |
daily |
| 5907 |
categories_priority |
92 |
93 |
S |
120 |
N |
categories_priority |
0.5 |
| 5909 |
include_pages |
92 |
93 |
C |
140 |
N |
include_pages |
Y |
| 5910 |
pages_change |
92 |
93 |
S |
150 |
N |
pages_change |
daily |
| 5911 |
pages_priority |
92 |
93 |
S |
160 |
N |
pages_priority |
0.5 |
| 5913 |
include_extended |
92 |
93 |
C |
180 |
N |
include_extended |
Y |
| 5914 |
extended_change |
92 |
93 |
S |
190 |
N |
extended_change |
daily |
| 5915 |
extended_priority |
92 |
93 |
S |
200 |
N |
extended_priority |
0.5 |
| 5917 |
include_companies |
92 |
93 |
C |
220 |
N |
include_companies |
Y |
| 5918 |
companies_change |
92 |
93 |
S |
230 |
N |
companies_change |
daily |
| 5919 |
companies_priority |
92 |
93 |
S |
240 |
N |
companies_priority |
0.5 |