Query time 0.00059
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "59.28"
},
"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": 26,
"rows_produced_per_join": 23,
"filtered": "90.00",
"index_condition": "(`webmarco`.`cscart_settings_objects`.`section_id` <=> 549)",
"cost_info": {
"read_cost": "26.00",
"eval_cost": "4.68",
"prefix_cost": "31.20",
"data_read_per_join": "18K"
},
"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": 23,
"filtered": "100.00",
"cost_info": {
"read_cost": "23.40",
"eval_cost": "4.68",
"prefix_cost": "59.28",
"data_read_per_join": "561"
},
"used_columns": [
"object_id",
"company_id",
"value",
"storefront_id"
]
}
}
]
}
}
}
Result
object_id |
name |
section_id |
section_tab_id |
type |
position |
is_global |
description |
value |
7649 |
clear_url |
549 |
550 |
O |
10 |
N |
clear_url |
|
8266 |
cron_command |
549 |
550 |
E |
20 |
N |
cron_command |
cron_command.tpl |
7651 |
site_change |
549 |
550 |
S |
30 |
N |
site_change |
daily |
7652 |
site_priority |
549 |
550 |
S |
40 |
N |
site_priority |
1 |
7654 |
include_products |
549 |
550 |
C |
60 |
N |
include_products |
Y |
7655 |
products_change |
549 |
550 |
S |
70 |
N |
products_change |
daily |
7656 |
products_priority |
549 |
550 |
S |
80 |
N |
products_priority |
0.5 |
7658 |
include_categories |
549 |
550 |
C |
100 |
N |
include_categories |
Y |
7659 |
categories_change |
549 |
550 |
S |
110 |
N |
categories_change |
daily |
7660 |
categories_priority |
549 |
550 |
S |
120 |
N |
categories_priority |
0.5 |
7662 |
include_pages |
549 |
550 |
C |
140 |
N |
include_pages |
Y |
7663 |
pages_change |
549 |
550 |
S |
150 |
N |
pages_change |
daily |
7664 |
pages_priority |
549 |
550 |
S |
160 |
N |
pages_priority |
0.5 |
7666 |
include_extended |
549 |
550 |
C |
180 |
N |
include_extended |
Y |
7667 |
extended_change |
549 |
550 |
S |
190 |
N |
extended_change |
daily |
7668 |
extended_priority |
549 |
550 |
S |
200 |
N |
extended_priority |
0.5 |
7670 |
include_companies |
549 |
550 |
C |
220 |
N |
include_companies |
Y |
7671 |
companies_change |
549 |
550 |
S |
230 |
N |
companies_change |
daily |
7672 |
companies_priority |
549 |
550 |
S |
240 |
N |
companies_priority |
0.5 |