Query time 0.00093
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "18.24"
},
"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": 8,
"rows_produced_per_join": 7,
"filtered": "90.00",
"index_condition": "(`webmarco`.`cscart_settings_objects`.`section_id` <=> 73)",
"cost_info": {
"read_cost": "8.00",
"eval_cost": "1.44",
"prefix_cost": "9.60",
"data_read_per_join": "5K"
},
"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": 7,
"filtered": "100.00",
"cost_info": {
"read_cost": "7.20",
"eval_cost": "1.44",
"prefix_cost": "18.24",
"data_read_per_join": "172"
},
"used_columns": [
"object_id",
"company_id",
"value",
"storefront_id"
]
}
}
]
}
}
}
Result
object_id |
name |
section_id |
section_tab_id |
type |
position |
is_global |
description |
value |
5822 |
info |
73 |
74 |
O |
10 |
N |
info |
|
5823 |
phone |
73 |
74 |
I |
20 |
N |
phone |
|
5824 |
phone_prefix_length |
73 |
74 |
I |
30 |
N |
phone_prefix_length |
7 |
5825 |
phone_mask |
73 |
74 |
I |
40 |
N |
phone_mask |
|
5826 |
buy_now_with_one_click |
73 |
74 |
C |
50 |
N |
buy_now_with_one_click |
N |
6941 |
enable_call_requests_for_vendors |
73 |
74 |
C |
55 |
N |
enable_call_requests_for_vendors |
Y |
5827 |
order_status |
73 |
74 |
S |
60 |
N |
order_status |
Y |