Query time 0.00087
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` <=> 31)",
"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 |
5732 |
em_show_on_checkout |
31 |
32 |
C |
0 |
N |
em_show_on_checkout |
N |
5739 |
em_mailchimp_api_key |
31 |
33 |
I |
0 |
N |
em_mailchimp_api_key |
|
5741 |
em_madmimi_username |
31 |
34 |
I |
0 |
N |
em_madmimi_username |
|
5733 |
em_checkout_enabled |
31 |
32 |
C |
10 |
N |
em_checkout_enabled |
N |
5740 |
em_mailchimp_list |
31 |
33 |
S |
10 |
N |
em_mailchimp_list |
|
5742 |
em_madmimi_api_key |
31 |
34 |
I |
10 |
N |
em_madmimi_api_key |
|
5734 |
em_double_opt_in |
31 |
32 |
C |
20 |
N |
em_double_opt_in |
N |
5743 |
em_madmimi_list |
31 |
34 |
S |
20 |
N |
em_madmimi_list |
|
5735 |
em_welcome_letter |
31 |
32 |
C |
30 |
N |
em_welcome_letter |
N |
5736 |
em_service |
31 |
32 |
S |
40 |
N |
em_service |
dummy |
5737 |
em_token |
31 |
32 |
D |
50 |
N |
em_token |
ad3522ac1bea90ca2458082e63e341de |
5738 |
em_lastsync |
31 |
32 |
D |
60 |
N |
em_lastsync |
1591713449 |