Query time 0.00131
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "28.34"
},
"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": 24,
"rows_produced_per_join": 21,
"filtered": "90.00",
"cost_info": {
"read_cost": "4.50",
"eval_cost": "2.16",
"prefix_cost": "6.90",
"data_read_per_join": "17K"
},
"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": 21,
"filtered": "100.00",
"cost_info": {
"read_cost": "19.29",
"eval_cost": "2.16",
"prefix_cost": "28.35",
"data_read_per_join": "518"
},
"used_columns": [
"object_id",
"company_id",
"value",
"storefront_id"
]
}
}
]
}
}
}
Result
| object_id |
name |
section_id |
section_tab_id |
type |
position |
is_global |
description |
value |
| 6147 |
product_posts_per_page |
172 |
173 |
I |
0 |
N |
product_posts_per_page |
10 |
| 6173 |
company_discussion_type |
172 |
178 |
S |
0 |
N |
company_discussion_type |
B |
| 6154 |
category_posts_per_page |
172 |
174 |
I |
0 |
N |
category_posts_per_page |
10 |
| 6168 |
home_page_posts_per_page |
172 |
177 |
I |
0 |
N |
home_page_posts_per_page |
10 |
| 6162 |
page_posts_per_page |
172 |
176 |
I |
0 |
N |
page_posts_per_page |
10 |
| 6159 |
order_posts_per_page |
172 |
175 |
I |
0 |
N |
order_posts_per_page |
10 |
| 6148 |
product_post_approval |
172 |
173 |
S |
10 |
N |
product_post_approval |
any |
| 6174 |
company_only_buyers |
172 |
178 |
C |
10 |
N |
company_only_buyers |
Y |
| 6169 |
home_page_post_approval |
172 |
177 |
S |
10 |
N |
home_page_post_approval |
any |
| 6163 |
page_post_approval |
172 |
176 |
S |
10 |
N |
page_post_approval |
disabled |
| 6160 |
order_initiate |
172 |
175 |
C |
10 |
N |
order_initiate |
Y |
| 6155 |
category_post_approval |
172 |
174 |
S |
10 |
N |
category_post_approval |
any |
| 6156 |
category_post_ip_check |
172 |
174 |
C |
20 |
N |
category_post_ip_check |
Y |
| 6164 |
page_post_ip_check |
172 |
176 |
C |
20 |
N |
page_post_ip_check |
Y |
| 6170 |
home_page_post_ip_check |
172 |
177 |
C |
20 |
N |
home_page_post_ip_check |
Y |
| 6149 |
product_post_ip_check |
172 |
173 |
C |
20 |
N |
product_post_ip_check |
Y |
| 6175 |
company_posts_per_page |
172 |
178 |
I |
20 |
N |
company_posts_per_page |
10 |
| 6176 |
company_post_approval |
172 |
178 |
S |
30 |
N |
company_post_approval |
disabled |
| 6158 |
category_discussion_type |
172 |
174 |
S |
40 |
N |
category_discussion_type |
D |
| 6166 |
page_discussion_type |
172 |
176 |
S |
40 |
N |
page_discussion_type |
B |
| 6172 |
home_page_testimonials |
172 |
177 |
S |
40 |
N |
home_page_testimonials |
D |
| 6177 |
company_post_ip_check |
172 |
178 |
C |
40 |
N |
company_post_ip_check |
N |
| 6152 |
product_discussion_type |
172 |
173 |
S |
50 |
N |
product_discussion_type |
D |
| 6153 |
product_review_after_purchase |
172 |
173 |
C |
70 |
N |
product_review_after_purchase |
Y |