Query time 0.00094
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "70.68"
},
"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": 31,
"rows_produced_per_join": 27,
"filtered": "90.00",
"index_condition": "(`webmarco`.`cscart_settings_objects`.`section_id` <=> 21)",
"cost_info": {
"read_cost": "31.00",
"eval_cost": "5.58",
"prefix_cost": "37.20",
"data_read_per_join": "22K"
},
"used_columns": [
"object_id",
"edition_type",
"name",
"section_id",
"section_tab_id",
"type",
"value",
"position",
"is_global"
],
"attached_condition": "((find_in_set('STOREFRONT',`webmarco`.`cscart_settings_objects`.`edition_type`) or find_in_set('ROOT',`webmarco`.`cscart_settings_objects`.`edition_type`) or find_in_set('MVE:STOREFRONT',`webmarco`.`cscart_settings_objects`.`edition_type`) or find_in_set('MVE:ROOT',`webmarco`.`cscart_settings_objects`.`edition_type`)) and (`webmarco`.`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": [
"webmarco.cscart_settings_objects.object_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 27,
"filtered": "100.00",
"cost_info": {
"read_cost": "27.90",
"eval_cost": "5.58",
"prefix_cost": "70.68",
"data_read_per_join": "669"
},
"used_columns": [
"object_id",
"company_id",
"value",
"storefront_id"
]
}
}
]
}
}
}
Result
object_id |
name |
section_id |
section_tab_id |
type |
position |
is_global |
description |
value |
5691 |
twitter_enable |
21 |
22 |
C |
10 |
N |
twitter_enable |
Y |
5697 |
facebook_enable |
21 |
23 |
C |
10 |
N |
facebook_enable |
Y |
5710 |
vkontakte_enable |
21 |
24 |
C |
10 |
N |
vkontakte_enable |
|
5718 |
yandex_enable |
21 |
25 |
C |
10 |
N |
yandex_enable |
Y |
5722 |
pinterest_enable |
21 |
26 |
C |
10 |
N |
pinterest_enable |
Y |
5692 |
twitter_via |
21 |
22 |
I |
20 |
N |
twitter_via |
|
5698 |
facebook_app_id |
21 |
23 |
I |
20 |
N |
facebook_app_id |
|
5711 |
vkontakte_appid |
21 |
24 |
I |
20 |
N |
vkontakte_appid |
|
5719 |
yandex_share_code |
21 |
25 |
T |
20 |
N |
yandex_share_code |
<div class="ya-share2" data-services="collections,vkontakte,facebook,twitter,odnoklassniki,moimir"></div> |
5723 |
pinterest_size |
21 |
26 |
S |
20 |
N |
pinterest_size |
20 |
5693 |
twitter_size |
21 |
22 |
S |
30 |
N |
twitter_size |
medium |
5699 |
facebook_href |
21 |
23 |
I |
30 |
N |
facebook_href |
|
5712 |
vkontakte_button_style |
21 |
24 |
S |
30 |
N |
vkontakte_button_style |
mini |
5720 |
yandex_display_on |
21 |
25 |
N |
30 |
N |
yandex_display_on |
products,pages |
5724 |
pinterest_shape |
21 |
26 |
S |
30 |
N |
pinterest_shape |
rect |
5694 |
twitter_display_count |
21 |
22 |
S |
40 |
N |
twitter_display_count |
horizontal |
5700 |
facebook_send |
21 |
23 |
C |
40 |
N |
facebook_send |
Y |
5713 |
vkontakte_height |
21 |
24 |
I |
40 |
N |
vkontakte_height |
22 |
5695 |
twitter_display_on |
21 |
22 |
N |
50 |
N |
twitter_display_on |
#M#products=Y |
5701 |
facebook_width |
21 |
23 |
I |
50 |
N |
facebook_width |
450 |
5714 |
vkontakte_width |
21 |
24 |
I |
50 |
N |
vkontakte_width |
350 |
5726 |
pinterest_display_on |
21 |
26 |
N |
50 |
N |
pinterest_display_on |
#M#products=Y |
5702 |
facebook_layout |
21 |
23 |
S |
60 |
N |
facebook_layout |
button_count |
5715 |
vkontakte_buttons_name |
21 |
24 |
S |
60 |
N |
vkontakte_buttons_name |
like |
5703 |
facebook_show_faces |
21 |
23 |
C |
70 |
N |
facebook_show_faces |
N |
5716 |
vkontakte_display_on |
21 |
24 |
N |
70 |
N |
vkontakte_display_on |
|
5704 |
facebook_action |
21 |
23 |
S |
80 |
N |
facebook_action |
like |
5705 |
facebook_lang |
21 |
23 |
S |
90 |
N |
facebook_lang |
en_US |
5706 |
facebook_action_font |
21 |
23 |
S |
100 |
N |
facebook_action_font |
arial |
5707 |
facebook_colorscheme |
21 |
23 |
S |
110 |
N |
facebook_colorscheme |
light |
5708 |
facebook_display_on |
21 |
23 |
N |
120 |
N |
facebook_display_on |
#M#products=Y |