Query time 0.00087
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "11.40"
},
"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": 5,
"rows_produced_per_join": 4,
"filtered": "90.00",
"index_condition": "(`webmarco`.`cscart_settings_objects`.`section_id` <=> 112)",
"cost_info": {
"read_cost": "5.00",
"eval_cost": "0.90",
"prefix_cost": "6.00",
"data_read_per_join": "3K"
},
"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": 4,
"filtered": "100.00",
"cost_info": {
"read_cost": "4.50",
"eval_cost": "0.90",
"prefix_cost": "11.40",
"data_read_per_join": "107"
},
"used_columns": [
"object_id",
"company_id",
"value",
"storefront_id"
]
}
}
]
}
}
}
Result
object_id |
name |
section_id |
section_tab_id |
type |
position |
is_global |
description |
value |
5942 |
gdpr_cookie_consent |
112 |
113 |
S |
0 |
N |
gdpr_cookie_consent |
none |
5943 |
gdpr_settings |
112 |
114 |
E |
0 |
N |
gdpr_settings |
settings.tpl |
5944 |
gdpr_settings_data |
112 |
114 |
D |
10 |
N |
gdpr_settings_data |
{"checkout_place_order":{"enable":"Y"},"checkout_profiles_update":{"enable":"N"},"user_registration":{"enable":"Y"},"profiles_update":{"enable":"Y"},"product_subscription":{"enable":"Y"},"apply_for_vendor":{"enable":"Y"},"newsletters_subscribe":{"enable":"Y"},"call_requests":{"enable":"Y"},"discussions_add_review":{"enable":"Y"}} |
8269 |
privacy_policy_page |
112 |
113 |
S |
20 |
N |
privacy_policy_page |
none |
8274 |
gdpr_cookie_consent_texts |
112 |
113 |
E |
20 |
N |
gdpr_cookie_consent_texts |
cookie_consent_texts.tpl |