Query time 0.00062
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "22.80"
},
"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",
"index_condition": "(`webmarco`.`cscart_settings_objects`.`section_id` <=> 35)",
"cost_info": {
"read_cost": "10.00",
"eval_cost": "1.80",
"prefix_cost": "12.00",
"data_read_per_join": "7K"
},
"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": 8,
"filtered": "100.00",
"cost_info": {
"read_cost": "9.00",
"eval_cost": "1.80",
"prefix_cost": "22.80",
"data_read_per_join": "215"
},
"used_columns": [
"object_id",
"company_id",
"value",
"storefront_id"
]
}
}
]
}
}
}
Result
object_id |
name |
section_id |
section_tab_id |
type |
position |
is_global |
description |
value |
5744 |
newsletters_per_pass |
35 |
36 |
I |
0 |
N |
newsletters_per_pass |
10 |
5753 |
coupon |
35 |
37 |
S |
0 |
N |
coupon |
|
5746 |
mailer_send_method |
35 |
36 |
S |
20 |
N |
mailer_send_method |
default |
5748 |
mailer_smtp_host |
35 |
36 |
I |
40 |
N |
mailer_smtp_host |
|
5749 |
mailer_smtp_username |
35 |
36 |
I |
50 |
N |
mailer_smtp_username |
|
5750 |
mailer_smtp_password |
35 |
36 |
I |
60 |
N |
mailer_smtp_password |
|
5751 |
mailer_smtp_ecrypted_connection |
35 |
36 |
S |
70 |
N |
mailer_smtp_ecrypted_connection |
none |
5752 |
mailer_smtp_auth |
35 |
36 |
C |
80 |
N |
mailer_smtp_auth |
N |