Query time 0.00067
JSON explain
{
"query_block": {
"select_id": 1,
"filesort": {
"sort_key": "cscart_settings_objects.position",
"temporary_table": {
"table": {
"table_name": "cscart_settings_objects",
"access_type": "ref",
"possible_keys": ["section_id"],
"key": "section_id",
"key_length": "4",
"used_key_parts": ["section_id"],
"ref": ["const"],
"rows": 12,
"filtered": 100,
"attached_condition": "(find_in_set('STOREFRONT',cscart_settings_objects.edition_type) or find_in_set('VENDOR',cscart_settings_objects.edition_type) or find_in_set('ROOT',cscart_settings_objects.edition_type) or find_in_set('ULT:STOREFRONT',cscart_settings_objects.edition_type) or find_in_set('ULT:VENDOR',cscart_settings_objects.edition_type) or find_in_set('ULT:ROOT',cscart_settings_objects.edition_type)) and cscart_settings_objects.`type` <> 'H'"
},
"table": {
"table_name": "company_values",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY", "storefront_id", "company_id"],
"key": "PRIMARY",
"key_length": "11",
"used_key_parts": ["object_id", "company_id", "storefront_id"],
"ref": [
"noframes_angrybeaver.cscart_settings_objects.object_id",
"const",
"const"
],
"rows": 1,
"filtered": 100
},
"block-nl-join": {
"table": {
"table_name": "storefront_values",
"access_type": "range",
"possible_keys": ["PRIMARY", "storefront_id", "company_id"],
"key": "company_id",
"key_length": "4",
"used_key_parts": ["company_id"],
"rowid_filter": {
"range": {
"key": "storefront_id",
"used_key_parts": ["storefront_id"]
},
"rows": 32,
"selectivity_pct": 19.51219512
},
"rows": 1,
"filtered": 19.51219559,
"attached_condition": "storefront_values.storefront_id = 1 and storefront_values.company_id = 0"
},
"buffer_type": "flat",
"buffer_size": "7Kb",
"join_type": "BNL",
"attached_condition": "trigcond(1) and trigcond(storefront_values.object_id = cscart_settings_objects.object_id and storefront_values.storefront_id = 1 and storefront_values.company_id = 0)"
}
}
}
}
}
Result
| object_id |
name |
section_id |
section_tab_id |
type |
position |
is_global |
description |
value |
| 6296 |
loyalty_program_page |
193 |
194 |
O |
10 |
N |
loyalty_program_page |
|
| 6298 |
order_status |
193 |
194 |
S |
30 |
N |
order_status |
C |
| 6299 |
new_user_loyalty |
193 |
194 |
S |
40 |
N |
new_user_loyalty |
4 |
| 6300 |
notify_customer_about_card |
193 |
194 |
C |
50 |
N |
notify_customer_about_card |
Y |
| 6301 |
no_use_usergroup |
193 |
194 |
N |
60 |
N |
no_use_usergroup |
#M#3=Y&4=Y&5=Y&6=Y |
| 6302 |
failed_order_statuses |
193 |
194 |
N |
70 |
N |
failed_order_statuses |
#M#F=Y&D=Y&B=Y&I=Y |
| 6303 |
use_dynamic_cards |
193 |
194 |
C |
80 |
N |
use_dynamic_cards |
N |
| 6304 |
cards_period |
193 |
194 |
I |
90 |
N |
cards_period |
|
| 6305 |
days_to_notify |
193 |
194 |
I |
100 |
N |
days_to_notify |
|
| 6306 |
cron_script_info |
193 |
194 |
O |
110 |
N |
cron_script_info |
|