Query time 0.00034
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "4.90"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "1.60"
},
"nested_loop": [
{
"table": {
"table_name": "cscart_product_tabs",
"access_type": "ALL",
"possible_keys": [
"PRIMARY"
],
"rows_examined_per_scan": 16,
"rows_produced_per_join": 1,
"filtered": "10.00",
"cost_info": {
"read_cost": "2.02",
"eval_cost": "0.16",
"prefix_cost": "2.18",
"data_read_per_join": "1K"
},
"used_columns": [
"tab_id",
"tab_type",
"block_id",
"template",
"addon",
"position",
"status",
"is_primary",
"product_ids",
"company_id",
"show_in_popup"
],
"attached_condition": "(`primapearl_r_new`.`cscart_product_tabs`.`company_id` = 1)"
}
},
{
"table": {
"table_name": "cscart_product_tabs_descriptions",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"tab_id",
"lang_code"
],
"key_length": "9",
"ref": [
"primapearl_r_new.cscart_product_tabs.tab_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.40",
"eval_cost": "0.16",
"prefix_cost": "2.74",
"data_read_per_join": "1K"
},
"used_columns": [
"tab_id",
"lang_code",
"name"
]
}
},
{
"table": {
"table_name": "cscart_bm_blocks",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"block_id"
],
"key_length": "4",
"ref": [
"primapearl_r_new.cscart_product_tabs.block_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"index_condition": "<if>(is_not_null_compl(cscart_bm_blocks), (`primapearl_r_new`.`cscart_bm_blocks`.`block_id` = `primapearl_r_new`.`cscart_product_tabs`.`block_id`), true)",
"cost_info": {
"read_cost": "0.40",
"eval_cost": "0.16",
"prefix_cost": "3.30",
"data_read_per_join": "358"
},
"used_columns": [
"block_id",
"type",
"properties",
"company_id",
"storefront_id"
]
}
}
]
}
}
}
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 |
286 |
1 |
N |
ru |
Описание |
|
|
|
| 2 |
T |
0 |
blocks/product_tabs/features.tpl |
|
2 |
A |
Y |
286 |
1 |
N |
ru |
Особенности |
|
|
|
| 3 |
T |
0 |
blocks/product_tabs/files.tpl |
|
3 |
A |
Y |
286 |
1 |
N |
ru |
Файлы |
|
|
|
| 4 |
T |
0 |
addons/buy_together/blocks/product_tabs/buy_together.tpl |
buy_together |
4 |
A |
Y |
286 |
1 |
N |
ru |
Комбинации товаров |
|
|
|
| 5 |
T |
0 |
addons/tags/blocks/product_tabs/tags.tpl |
tags |
5 |
A |
Y |
286 |
1 |
N |
ru |
Теги |
|
|
|
| 6 |
T |
0 |
addons/attachments/blocks/product_tabs/attachments.tpl |
attachments |
6 |
A |
Y |
286 |
1 |
N |
ru |
Прикрепленные файлы |
|
|
|
| 7 |
T |
0 |
addons/discussion/blocks/product_tabs/discussion.tpl |
discussion |
7 |
A |
Y |
286 |
1 |
N |
ru |
Отзывы |
|
|
|
| 8 |
T |
0 |
addons/required_products/blocks/product_tabs/required_products.tpl |
required_products |
8 |
A |
Y |
286 |
1 |
N |
ru |
Обязательные товары |
|
|
|