Query time 0.00130
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "2.28"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"cost_info": {
"sort_cost": "0.10"
},
"nested_loop": [
{
"table": {
"table_name": "cscart_product_tabs_descriptions",
"access_type": "ALL",
"possible_keys": [
"PRIMARY"
],
"rows_examined_per_scan": 12,
"rows_produced_per_join": 1,
"filtered": "10.00",
"cost_info": {
"read_cost": "1.61",
"eval_cost": "0.12",
"prefix_cost": "1.73",
"data_read_per_join": "2K"
},
"used_columns": [
"tab_id",
"lang_code",
"name",
"ab__smc_show_more",
"ab__smc_show_less",
"ab__spt_tab_header"
],
"attached_condition": "((`testdobroded`.`cscart_product_tabs_descriptions`.`lang_code` = 'ru') and (`testdobroded`.`cscart_product_tabs_descriptions`.`tab_id` is not null))"
}
},
{
"table": {
"table_name": "cscart_product_tabs",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"tab_id"
],
"key_length": "3",
"ref": [
"testdobroded.cscart_product_tabs_descriptions.tab_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "8.33",
"cost_info": {
"read_cost": "0.30",
"eval_cost": "0.01",
"prefix_cost": "2.15",
"data_read_per_join": "95"
},
"used_columns": [
"tab_id",
"tab_type",
"block_id",
"template",
"addon",
"position",
"status",
"is_primary",
"product_ids",
"company_id",
"show_in_popup",
"abt__yt__hide_content",
"ab__smc_hide_content",
"ab__smc_override",
"ab__smc_height",
"ab__spt_activate_settings",
"ab__spt_tab_header_tag",
"ab__spt_add_tab_to_floating_panel"
],
"attached_condition": "((`testdobroded`.`cscart_product_tabs`.`company_id` = 1) and (`testdobroded`.`cscart_product_tabs`.`status` = 'A') and (`testdobroded`.`cscart_product_tabs`.`ab__spt_add_tab_to_floating_panel` = 'Y'))"
}
},
{
"table": {
"table_name": "cscart_bm_blocks",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"block_id"
],
"key_length": "4",
"ref": [
"testdobroded.cscart_product_tabs.block_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.03",
"eval_cost": "0.01",
"prefix_cost": "2.18",
"data_read_per_join": "23"
},
"used_columns": [
"block_id",
"type",
"properties",
"company_id",
"abt__yt_banners_use",
"abt__yt_banner_max_position",
"storefront_id",
"ab__ab_hide_block"
],
"attached_condition": "<if>(is_not_null_compl(cscart_bm_blocks), (`testdobroded`.`cscart_bm_blocks`.`block_id` = `testdobroded`.`cscart_product_tabs`.`block_id`), true)"
}
}
]
}
}
}