Query time 0.00025
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "6.65"
},
"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": 10,
"rows_produced_per_join": 8,
"filtered": "90.00",
"cost_info": {
"read_cost": "2.50",
"eval_cost": "0.90",
"prefix_cost": "3.50",
"data_read_per_join": "7K"
},
"used_columns": [
"object_id",
"edition_type",
"name",
"section_id",
"section_tab_id",
"type",
"value",
"position",
"is_global"
],
"attached_condition": "(((0 <> find_in_set('STOREFRONT',`cscartdevel`.`cscart_settings_objects`.`edition_type`)) or (0 <> find_in_set('ROOT',`cscartdevel`.`cscart_settings_objects`.`edition_type`)) or (0 <> find_in_set('MVE:STOREFRONT',`cscartdevel`.`cscart_settings_objects`.`edition_type`)) or (0 <> find_in_set('MVE:ROOT',`cscartdevel`.`cscart_settings_objects`.`edition_type`))) and (`cscartdevel`.`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": [
"cscartdevel.cscart_settings_objects.object_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 8,
"filtered": "100.00",
"cost_info": {
"read_cost": "2.25",
"eval_cost": "0.90",
"prefix_cost": "6.65",
"data_read_per_join": "215"
},
"used_columns": [
"object_id",
"company_id",
"storefront_id",
"value"
]
}
}
]
}
}
}
Result
object_id |
name |
section_id |
section_tab_id |
type |
position |
is_global |
description |
value |
5716 |
em_show_on_checkout |
29 |
30 |
C |
0 |
N |
em_show_on_checkout |
N |
5723 |
em_mailchimp_api_key |
29 |
31 |
I |
0 |
N |
em_mailchimp_api_key |
|
5725 |
em_madmimi_username |
29 |
32 |
I |
0 |
N |
em_madmimi_username |
|
5717 |
em_checkout_enabled |
29 |
30 |
C |
10 |
N |
em_checkout_enabled |
N |
5724 |
em_mailchimp_list |
29 |
31 |
S |
10 |
N |
em_mailchimp_list |
|
5726 |
em_madmimi_api_key |
29 |
32 |
I |
10 |
N |
em_madmimi_api_key |
|
5718 |
em_double_opt_in |
29 |
30 |
C |
20 |
N |
em_double_opt_in |
N |
5727 |
em_madmimi_list |
29 |
32 |
S |
20 |
N |
em_madmimi_list |
|
5719 |
em_welcome_letter |
29 |
30 |
C |
30 |
N |
em_welcome_letter |
N |
5720 |
em_service |
29 |
30 |
S |
40 |
N |
em_service |
dummy |
5721 |
em_token |
29 |
30 |
D |
50 |
N |
em_token |
58041ee25829c18d467b812c2c2b498d |
5722 |
em_lastsync |
29 |
30 |
D |
60 |
N |
em_lastsync |
1721390382 |