Query time 0.00078
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "29.64"
},
"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": 13,
"rows_produced_per_join": 11,
"filtered": "90.00",
"index_condition": "(`webmarco`.`cscart_settings_objects`.`section_id` <=> 374)",
"cost_info": {
"read_cost": "13.00",
"eval_cost": "2.34",
"prefix_cost": "15.60",
"data_read_per_join": "9K"
},
"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": 11,
"filtered": "100.00",
"cost_info": {
"read_cost": "11.70",
"eval_cost": "2.34",
"prefix_cost": "29.64",
"data_read_per_join": "280"
},
"used_columns": [
"object_id",
"company_id",
"value",
"storefront_id"
]
}
}
]
}
}
}
Result
object_id |
name |
section_id |
section_tab_id |
type |
position |
is_global |
description |
value |
6895 |
lkey |
374 |
375 |
I |
0 |
N |
lkey |
MAXMIND-PF4P-FIQS-32N2-IJQX |
6902 |
file_mmdb |
374 |
376 |
D |
0 |
N |
file_mmdb |
GeoLite2-City.mmdb |
6896 |
city_in_user_profile |
374 |
375 |
C |
10 |
N |
city_in_user_profile |
Y |
6903 |
timestamp_mmdb |
374 |
376 |
D |
10 |
N |
timestamp_mmdb |
1631122869 |
6897 |
limit |
374 |
375 |
I |
20 |
N |
limit |
10 |
6904 |
file_csv |
374 |
376 |
D |
20 |
N |
file_csv |
|
6898 |
choose_language |
374 |
375 |
C |
30 |
N |
choose_language |
Y |
6905 |
timestamp_csv |
374 |
376 |
D |
30 |
N |
timestamp_csv |
1631122769 |
6899 |
choose_currency |
374 |
375 |
C |
40 |
N |
choose_currency |
Y |
6906 |
sd_geoip_maxmind_delimiter |
374 |
376 |
D |
40 |
N |
sd_geoip_maxmind_delimiter |
C |
6900 |
choose_other_language |
374 |
375 |
C |
50 |
N |
choose_other_language |
Y |
6907 |
template_for_test |
374 |
376 |
E |
50 |
N |
template_for_test |
settings.tpl |
6901 |
customize_dialog |
374 |
375 |
C |
60 |
N |
customize_dialog |
Y |