Query time 0.00062
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "61.56"
},
"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": 27,
"rows_produced_per_join": 24,
"filtered": "90.00",
"index_condition": "(`danishecarter_21_apr`.`cscart_settings_objects`.`section_id` <=> 90)",
"cost_info": {
"read_cost": "27.00",
"eval_cost": "4.86",
"prefix_cost": "32.40",
"data_read_per_join": "19K"
},
"used_columns": [
"object_id",
"edition_type",
"name",
"section_id",
"section_tab_id",
"type",
"value",
"position",
"is_global"
],
"attached_condition": "((find_in_set('STOREFRONT',`danishecarter_21_apr`.`cscart_settings_objects`.`edition_type`) or find_in_set('ROOT',`danishecarter_21_apr`.`cscart_settings_objects`.`edition_type`) or find_in_set('MVE:STOREFRONT',`danishecarter_21_apr`.`cscart_settings_objects`.`edition_type`) or find_in_set('MVE:ROOT',`danishecarter_21_apr`.`cscart_settings_objects`.`edition_type`)) and (`danishecarter_21_apr`.`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": [
"danishecarter_21_apr.cscart_settings_objects.object_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 24,
"filtered": "100.00",
"cost_info": {
"read_cost": "24.30",
"eval_cost": "4.86",
"prefix_cost": "61.56",
"data_read_per_join": "583"
},
"used_columns": [
"object_id",
"company_id",
"storefront_id",
"value"
]
}
}
]
}
}
}
Result
object_id |
name |
section_id |
section_tab_id |
type |
position |
is_global |
description |
value |
5879 |
product_posts_per_page |
90 |
91 |
I |
0 |
N |
product_posts_per_page |
10 |
5884 |
category_posts_per_page |
90 |
92 |
I |
0 |
N |
category_posts_per_page |
10 |
5888 |
order_posts_per_page |
90 |
93 |
I |
0 |
N |
order_posts_per_page |
10 |
5890 |
page_posts_per_page |
90 |
94 |
I |
0 |
N |
page_posts_per_page |
10 |
5894 |
home_page_posts_per_page |
90 |
95 |
I |
0 |
N |
home_page_posts_per_page |
10 |
5898 |
company_discussion_type |
90 |
96 |
S |
0 |
N |
company_discussion_type |
D |
5880 |
product_post_approval |
90 |
91 |
S |
10 |
N |
product_post_approval |
any |
5885 |
category_post_approval |
90 |
92 |
S |
10 |
N |
category_post_approval |
any |
5889 |
order_initiate |
90 |
93 |
C |
10 |
N |
order_initiate |
Y |
5891 |
page_post_approval |
90 |
94 |
S |
10 |
N |
page_post_approval |
disabled |
5895 |
home_page_post_approval |
90 |
95 |
S |
10 |
N |
home_page_post_approval |
any |
5899 |
company_only_buyers |
90 |
96 |
C |
10 |
N |
company_only_buyers |
Y |
5881 |
product_post_ip_check |
90 |
91 |
C |
20 |
N |
product_post_ip_check |
N |
5886 |
category_post_ip_check |
90 |
92 |
C |
20 |
N |
category_post_ip_check |
N |
5892 |
page_post_ip_check |
90 |
94 |
C |
20 |
N |
page_post_ip_check |
N |
5896 |
home_page_post_ip_check |
90 |
95 |
C |
20 |
N |
home_page_post_ip_check |
Y |
5900 |
company_posts_per_page |
90 |
96 |
I |
20 |
N |
company_posts_per_page |
10 |
5882 |
product_discussion_type |
90 |
91 |
S |
30 |
N |
product_discussion_type |
D |
5887 |
category_discussion_type |
90 |
92 |
S |
30 |
N |
category_discussion_type |
D |
5893 |
page_discussion_type |
90 |
94 |
S |
30 |
N |
page_discussion_type |
D |
5897 |
home_page_testimonials |
90 |
95 |
S |
30 |
N |
home_page_testimonials |
B |
5901 |
company_post_approval |
90 |
96 |
S |
30 |
N |
company_post_approval |
any |
5902 |
company_post_ip_check |
90 |
96 |
C |
40 |
N |
company_post_ip_check |
N |
5883 |
product_review_after_purchase |
90 |
91 |
C |
50 |
N |
product_review_after_purchase |
N |