Query time 0.00204
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "5.33"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"cost_info": {
"sort_cost": "0.11"
},
"nested_loop": [
{
"table": {
"table_name": "cscart_product_tabs_descriptions",
"access_type": "ALL",
"possible_keys": [
"PRIMARY"
],
"rows_examined_per_scan": 9,
"rows_produced_per_join": 1,
"filtered": "11.11",
"cost_info": {
"read_cost": "3.68",
"eval_cost": "0.20",
"prefix_cost": "3.88",
"data_read_per_join": "784"
},
"used_columns": [
"tab_id",
"lang_code",
"name"
],
"attached_condition": "((`db_emaika1`.`cscart_product_tabs_descriptions`.`lang_code` = 'ru') and (`db_emaika1`.`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": [
"db_emaika1.cscart_product_tabs_descriptions.tab_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "11.11",
"cost_info": {
"read_cost": "1.00",
"eval_cost": "0.02",
"prefix_cost": "5.08",
"data_read_per_join": "100"
},
"used_columns": [
"tab_id",
"tab_type",
"block_id",
"template",
"addon",
"position",
"status",
"is_primary",
"product_ids",
"company_id",
"show_in_popup"
],
"attached_condition": "(`db_emaika1`.`cscart_product_tabs`.`company_id` = 1)"
}
},
{
"table": {
"table_name": "cscart_bm_blocks",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"block_id"
],
"key_length": "4",
"ref": [
"db_emaika1.cscart_product_tabs.block_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.11",
"eval_cost": "0.02",
"prefix_cost": "5.22",
"data_read_per_join": "24"
},
"used_columns": [
"block_id",
"type",
"properties",
"company_id",
"storefront_id"
],
"attached_condition": "<if>(is_not_null_compl(cscart_bm_blocks), (`db_emaika1`.`cscart_bm_blocks`.`block_id` = `db_emaika1`.`cscart_product_tabs`.`block_id`), true)"
}
}
]
}
}
}
Result
tab_id |
tab_type |
block_id |
template |
addon |
position |
status |
is_primary |
product_ids |
company_id |
show_in_popup |
lang_code |
name |
type |
properties |
storefront_id |
1 |
T |
0 |
blocks/product_tabs/description.tpl |
|
1 |
A |
Y |
|
1 |
N |
ru |
Описание |
|
|
|
2 |
T |
0 |
blocks/product_tabs/features.tpl |
|
2 |
D |
Y |
|
1 |
N |
ru |
Особенности |
|
|
|
3 |
T |
0 |
blocks/product_tabs/files.tpl |
|
3 |
A |
Y |
|
1 |
N |
ru |
Файлы |
|
|
|
4 |
T |
0 |
addons/buy_together/blocks/product_tabs/buy_together.tpl |
buy_together |
4 |
D |
Y |
|
1 |
N |
ru |
Комбинации товаров |
|
|
|
5 |
T |
0 |
addons/tags/blocks/product_tabs/tags.tpl |
tags |
5 |
A |
Y |
|
1 |
N |
ru |
Теги |
|
|
|
6 |
T |
0 |
addons/attachments/blocks/product_tabs/attachments.tpl |
attachments |
6 |
A |
Y |
|
1 |
N |
ru |
Прикрепленные файлы |
|
|
|
7 |
B |
47 |
|
product_variations |
7 |
A |
N |
|
1 |
Y |
ru |
Просмотреть список опций |
products |
a:5:{s:8:"template";s:61:"addons/product_variations/blocks/products/variations_list.tpl";s:46:"product_variations.hide_add_to_wishlist_button";s:1:"N";s:23:"hide_add_to_cart_button";s:1:"N";s:36:"product_variations.show_product_code";s:1:"Y";s:44:"product_variations.show_variation_thumbnails";s:1:"Y";} |
1 |
8 |
T |
0 |
addons/discussion/blocks/product_tabs/discussion.tpl |
discussion |
8 |
A |
Y |
|
1 |
N |
ru |
Отзывы |
|
|
|
9 |
T |
0 |
addons/required_products/blocks/product_tabs/required_products.tpl |
required_products |
9 |
A |
Y |
|
1 |
N |
ru |
Обязательные товары |
|
|
|