Query time 0.00071
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "8.70"
},
"ordering_operation": {
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "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": 7,
"rows_produced_per_join": 6,
"filtered": "90.00",
"cost_info": {
"read_cost": "1.75",
"eval_cost": "0.63",
"prefix_cost": "2.45",
"data_read_per_join": "4K"
},
"used_columns": [
"object_id",
"edition_type",
"name",
"section_id",
"section_tab_id",
"type",
"value",
"position",
"is_global"
],
"attached_condition": "(((0 <> find_in_set('STOREFRONT',`goimagine`.`settings_objects`.`edition_type`)) or (0 <> find_in_set('ROOT',`goimagine`.`settings_objects`.`edition_type`)) or (0 <> find_in_set('MVE:STOREFRONT',`goimagine`.`settings_objects`.`edition_type`)) or (0 <> find_in_set('MVE:ROOT',`goimagine`.`settings_objects`.`edition_type`))) and (`goimagine`.`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": [
"goimagine.settings_objects.object_id",
"const",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 6,
"filtered": "100.00",
"cost_info": {
"read_cost": "5.62",
"eval_cost": "0.63",
"prefix_cost": "8.70",
"data_read_per_join": "151"
},
"used_columns": [
"object_id",
"company_id",
"value",
"storefront_id"
]
}
}
]
}
}
}
Result
| object_id |
name |
section_id |
section_tab_id |
type |
position |
is_global |
description |
value |
| 6473 |
ss_prom_vendor_mode |
286 |
287 |
R |
0 |
N |
ss_prom_vendor_mode |
proportionally |
| 6476 |
ss_prom_vendor_conditions_catalog |
286 |
288 |
M |
0 |
N |
ss_prom_vendor_conditions_catalog |
|
| 6478 |
ss_prom_vendor_bonuses |
286 |
289 |
M |
0 |
N |
ss_prom_vendor_bonuses |
#M#product_discount=Y&order_discount=Y&discount_on_products=Y&discount_on_categories=Y&give_usergroup=Y&give_coupon=Y&free_shipping=Y&free_products=Y&gift_certificate=Y&give_points=Y |
| 6479 |
ss_prom_vendor_stats |
286 |
290 |
O |
0 |
N |
ss_prom_vendor_stats |
|
| 6474 |
ss_prom_vendor_auto_add_conditions |
286 |
287 |
C |
10 |
N |
ss_prom_vendor_auto_add_conditions |
Y |
| 6477 |
ss_prom_vendor_conditions_cart |
286 |
288 |
M |
10 |
N |
ss_prom_vendor_conditions_cart |
|
| 6475 |
ss_prom_vendor_block_any_all |
286 |
287 |
C |
20 |
N |
ss_prom_vendor_block_any_all |
Y |