Query time 0.00023
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "5.32"
},
"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",
"cost_info": {
"read_cost": "2.00",
"eval_cost": "0.72",
"prefix_cost": "2.80",
"data_read_per_join": "5K"
},
"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": 7,
"filtered": "100.00",
"cost_info": {
"read_cost": "1.80",
"eval_cost": "0.72",
"prefix_cost": "5.32",
"data_read_per_join": "172"
},
"used_columns": [
"object_id",
"company_id",
"storefront_id",
"value"
]
}
}
]
}
}
}
Result
object_id |
name |
section_id |
section_tab_id |
type |
position |
is_global |
description |
value |
6283 |
serv_omnibus_directive_page |
205 |
206 |
S |
0 |
N |
serv_omnibus_directive_page |
3 |
6288 |
ss_easy_reg_vendor_stats |
205 |
207 |
O |
0 |
N |
ss_easy_reg_vendor_stats |
|
6289 |
ss_easy_reg_vendor_enable_logs |
205 |
208 |
C |
0 |
N |
ss_easy_reg_vendor_enable_logs |
Y |
6284 |
serv_admin_to_create |
205 |
206 |
S |
10 |
N |
serv_admin_to_create |
1 |
6285 |
serv_admin_api_key |
205 |
206 |
I |
20 |
N |
serv_admin_api_key |
4F7F9Zb0756nVU0U4Ho02R22ug157p69 |
6286 |
serv_email_contact |
205 |
206 |
I |
30 |
N |
serv_email_contact |
test@test.pl |
6287 |
serv_service_name |
205 |
206 |
E |
40 |
N |
serv_service_name |
service_name.tpl |