Query time 0.00081
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "2.85"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"cost_info": {
"sort_cost": "1.00"
},
"nested_loop": [
{
"table": {
"table_name": "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": "1.05",
"eval_cost": "0.10",
"prefix_cost": "1.15",
"data_read_per_join": "784"
},
"used_columns": [
"tab_id",
"lang_code",
"name"
],
"attached_condition": "((`goimagine`.`product_tabs_descriptions`.`lang_code` = 'en') and (`goimagine`.`product_tabs_descriptions`.`tab_id` is not null))"
}
},
{
"table": {
"table_name": "product_tabs",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"tab_id"
],
"key_length": "3",
"ref": [
"goimagine.product_tabs_descriptions.tab_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.25",
"eval_cost": "0.10",
"prefix_cost": "1.50",
"data_read_per_join": "904"
},
"used_columns": [
"tab_id",
"tab_type",
"block_id",
"template",
"addon",
"position",
"status",
"is_primary",
"product_ids",
"company_id",
"show_in_popup"
]
}
},
{
"table": {
"table_name": "bm_blocks",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"block_id"
],
"key_length": "4",
"ref": [
"goimagine.product_tabs.block_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.25",
"eval_cost": "0.10",
"prefix_cost": "1.85",
"data_read_per_join": "224"
},
"used_columns": [
"block_id",
"type",
"properties",
"company_id",
"storefront_id"
],
"attached_condition": "<if>(is_not_null_compl(bm_blocks), (`goimagine`.`bm_blocks`.`block_id` = `goimagine`.`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 |
|
0 |
A |
Y |
|
0 |
N |
en |
Description |
|
|
|
17 |
T |
0 |
addons/sd_design_changes/blocks/product_tabs/how_its_made.tpl |
sd_design_changes |
1 |
A |
Y |
|
0 |
N |
en |
How it’s Made |
|
|
|
22 |
T |
0 |
addons/ath_custom__goimagine_com/blocks/product_tabs/meet_the_maker.tpl |
ath_custom__goimagine_com |
3 |
A |
Y |
|
0 |
N |
en |
Meet the Maker |
|
|
|
18 |
T |
0 |
addons/sd_design_changes/blocks/product_tabs/terms_and_conditions.tpl |
sd_design_changes |
4 |
A |
Y |
|
0 |
N |
en |
Maker's Policies |
|
|
|
14 |
T |
0 |
addons/sd_vendor_ratings/blocks/product_tabs/vendor_ratings.tpl |
sd_vendor_ratings |
5 |
D |
Y |
|
0 |
N |
en |
Maker Reviews |
|
|
|
2 |
T |
0 |
blocks/product_tabs/features.tpl |
|
6 |
D |
Y |
|
0 |
N |
en |
Features |
|
|
|
3 |
T |
0 |
blocks/product_tabs/files.tpl |
|
7 |
D |
Y |
|
0 |
N |
en |
Files |
|
|
|
13 |
T |
0 |
addons/discussion/blocks/product_tabs/discussion.tpl |
discussion |
8 |
D |
Y |
|
0 |
N |
en |
Reviews |
|
|
|
23 |
T |
0 |
addons/attachments/blocks/product_tabs/attachments.tpl |
attachments |
14 |
A |
Y |
|
0 |
N |
en |
Attachments |
|
|
|