Query time 0.00085
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "25.08"
},
"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": 11,
"rows_produced_per_join": 9,
"filtered": "90.00",
"index_condition": "(`webmarco`.`cscart_settings_objects`.`section_id` <=> 207)",
"cost_info": {
"read_cost": "11.00",
"eval_cost": "1.98",
"prefix_cost": "13.20",
"data_read_per_join": "7K"
},
"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": 9,
"filtered": "100.00",
"cost_info": {
"read_cost": "9.90",
"eval_cost": "1.98",
"prefix_cost": "25.08",
"data_read_per_join": "237"
},
"used_columns": [
"object_id",
"company_id",
"value",
"storefront_id"
]
}
}
]
}
}
}
Result
object_id |
name |
section_id |
section_tab_id |
type |
position |
is_global |
description |
value |
6218 |
position |
207 |
208 |
S |
0 |
N |
position |
pre |
6219 |
show_in_lists |
207 |
208 |
C |
10 |
N |
show_in_lists |
N |
6220 |
on_thumbnail_click |
207 |
208 |
S |
20 |
N |
on_thumbnail_click |
image_replace |
6221 |
controls |
207 |
208 |
C |
30 |
N |
controls |
N |
6222 |
repeat |
207 |
208 |
C |
40 |
N |
repeat |
N |
6223 |
th_size |
207 |
208 |
I |
50 |
N |
th_size |
50 |
6224 |
cycle |
207 |
208 |
C |
60 |
N |
cycle |
Y |
6225 |
vertical |
207 |
208 |
C |
70 |
N |
vertical |
Y |
6226 |
code |
207 |
208 |
D |
80 |
N |
code |
ABA-aPR1DaLP3CzcvBjLbpimm |
6399 |
enable_microdata |
207 |
208 |
C |
80 |
N |
enable_microdata |
Y |
6227 |
build |
207 |
208 |
D |
90 |
N |
build |
770 |