Query time 0.00058
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "27.36"
},
"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": 12,
"rows_produced_per_join": 10,
"filtered": "90.00",
"index_condition": "(`webmarco`.`cscart_settings_objects`.`section_id` <=> 193)",
"cost_info": {
"read_cost": "12.00",
"eval_cost": "2.16",
"prefix_cost": "14.40",
"data_read_per_join": "8K"
},
"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": 10,
"filtered": "100.00",
"cost_info": {
"read_cost": "10.80",
"eval_cost": "2.16",
"prefix_cost": "27.36",
"data_read_per_join": "259"
},
"used_columns": [
"object_id",
"company_id",
"value",
"storefront_id"
]
}
}
]
}
}
}
Result
object_id |
name |
section_id |
section_tab_id |
type |
position |
is_global |
description |
value |
6184 |
count_to |
193 |
194 |
S |
0 |
N |
count_to |
day_end |
6185 |
max_height |
193 |
194 |
I |
10 |
N |
max_height |
250 |
6186 |
promotions_per_page |
193 |
194 |
I |
20 |
N |
promotions_per_page |
12 |
6187 |
chains_per_page |
193 |
194 |
I |
30 |
N |
chains_per_page |
3 |
6188 |
highlight_when_left |
193 |
194 |
S |
40 |
N |
highlight_when_left |
1 |
6396 |
amount_of_promos_in_prods_lists |
193 |
194 |
S |
50 |
N |
amount_of_promos_in_prods_lists |
0 |
6190 |
ab__show_expired_promos |
193 |
194 |
C |
60 |
N |
ab__show_expired_promos |
Y |
6191 |
ab__show_awaited_promos |
193 |
194 |
C |
70 |
N |
ab__show_awaited_promos |
Y |
6193 |
ab__as_add_to_sitemap |
193 |
194 |
C |
90 |
N |
ab__as_add_to_sitemap |
Y |
6194 |
code |
193 |
194 |
D |
100 |
N |
code |
ABA-XZbAuag6Cj0CHaYC8ZAvY |
6195 |
build |
193 |
194 |
D |
110 |
N |
build |
749 |