Query time 0.00027
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "6.65"
},
"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": 10,
"rows_produced_per_join": 8,
"filtered": "90.00",
"cost_info": {
"read_cost": "2.50",
"eval_cost": "0.90",
"prefix_cost": "3.50",
"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',`cscartdevel`.`cscart_settings_objects`.`edition_type`)) or (0 <> find_in_set('ROOT',`cscartdevel`.`cscart_settings_objects`.`edition_type`)) or (0 <> find_in_set('MVE:STOREFRONT',`cscartdevel`.`cscart_settings_objects`.`edition_type`)) or (0 <> find_in_set('MVE:ROOT',`cscartdevel`.`cscart_settings_objects`.`edition_type`))) and (`cscartdevel`.`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": [
"cscartdevel.cscart_settings_objects.object_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 8,
"filtered": "100.00",
"cost_info": {
"read_cost": "2.25",
"eval_cost": "0.90",
"prefix_cost": "6.65",
"data_read_per_join": "215"
},
"used_columns": [
"object_id",
"company_id",
"storefront_id",
"value"
]
}
}
]
}
}
}
Result
object_id |
name |
section_id |
section_tab_id |
type |
position |
is_global |
description |
value |
6007 |
position |
139 |
140 |
S |
0 |
N |
position |
post |
6008 |
show_in_lists |
139 |
140 |
C |
10 |
N |
show_in_lists |
Y |
6009 |
on_thumbnail_click |
139 |
140 |
S |
20 |
N |
on_thumbnail_click |
open_popup |
6010 |
controls |
139 |
140 |
C |
30 |
N |
controls |
N |
6011 |
repeat |
139 |
140 |
C |
40 |
N |
repeat |
N |
6012 |
th_size |
139 |
140 |
I |
50 |
N |
th_size |
65 |
6013 |
cycle |
139 |
140 |
C |
60 |
N |
cycle |
Y |
6014 |
vertical |
139 |
140 |
C |
70 |
N |
vertical |
Y |
6015 |
video_icon |
139 |
140 |
S |
80 |
N |
video_icon |
youtube |
6016 |
enable_microdata |
139 |
140 |
C |
90 |
N |
enable_microdata |
Y |
6017 |
code |
139 |
140 |
D |
100 |
N |
code |
ABA-cLmK5lot7u9AHsyYjtlB2 |
6018 |
build |
139 |
140 |
D |
110 |
N |
build |
1171 |