Query time 0.00129
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "135.06"
},
"ordering_operation": {
"using_filesort": true,
"cost_info": {
"sort_cost": "66.00"
},
"nested_loop": [
{
"table": {
"table_name": "cscart_bm_snapping",
"access_type": "range",
"possible_keys": [
"grid_id"
],
"key": "grid_id",
"used_key_parts": [
"grid_id"
],
"key_length": "4",
"rows_examined_per_scan": 22,
"rows_produced_per_join": 22,
"filtered": "100.00",
"index_condition": "(`betaatif_store`.`cscart_bm_snapping`.`grid_id` in (96,97,98,99,100,101,102,103,106,109,114,107,108,110,111,112,113,115,116,127,128))",
"cost_info": {
"read_cost": "12.96",
"eval_cost": "2.20",
"prefix_cost": "15.16",
"data_read_per_join": "17K"
},
"used_columns": [
"snapping_id",
"block_id",
"grid_id",
"wrapper",
"user_class",
"order",
"status"
]
}
},
{
"table": {
"table_name": "cscart_bm_block_statuses",
"access_type": "ref",
"possible_keys": [
"snapping_id"
],
"key": "snapping_id",
"used_key_parts": [
"snapping_id"
],
"key_length": "4",
"ref": [
"betaatif_store.cscart_bm_snapping.snapping_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 22,
"filtered": "100.00",
"index_condition": "<if>(is_not_null_compl(cscart_bm_block_statuses), ((`betaatif_store`.`cscart_bm_snapping`.`snapping_id` = `betaatif_store`.`cscart_bm_block_statuses`.`snapping_id`) and (`betaatif_store`.`cscart_bm_block_statuses`.`object_type` like 'products')), true)",
"cost_info": {
"read_cost": "5.50",
"eval_cost": "2.20",
"prefix_cost": "22.86",
"data_read_per_join": "2K"
},
"used_columns": [
"snapping_id",
"object_ids",
"object_type"
]
}
},
{
"table": {
"table_name": "cscart_bm_blocks",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"block_id"
],
"key_length": "4",
"ref": [
"betaatif_store.cscart_bm_snapping.block_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 22,
"filtered": "100.00",
"cost_info": {
"read_cost": "5.50",
"eval_cost": "2.20",
"prefix_cost": "30.56",
"data_read_per_join": "4K"
},
"used_columns": [
"block_id",
"type",
"properties",
"company_id",
"storefront_id"
]
}
},
{
"table": {
"table_name": "cscart_bm_blocks_descriptions",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"block_id",
"lang_code"
],
"key_length": "10",
"ref": [
"betaatif_store.cscart_bm_snapping.block_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 22,
"filtered": "100.00",
"cost_info": {
"read_cost": "5.50",
"eval_cost": "2.20",
"prefix_cost": "38.26",
"data_read_per_join": "4K"
},
"used_columns": [
"block_id",
"lang_code",
"name"
]
}
},
{
"table": {
"table_name": "default_content",
"access_type": "ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"block_id",
"snapping_id",
"lang_code",
"object_id"
],
"key_length": "18",
"ref": [
"betaatif_store.cscart_bm_snapping.block_id",
"const",
"betaatif_store.cscart_bm_blocks_descriptions.lang_code",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 22,
"filtered": "100.00",
"index_condition": "<if>(is_not_null_compl(default_content), (`betaatif_store`.`default_content`.`object_type` like ''), true)",
"cost_info": {
"read_cost": "5.50",
"eval_cost": "2.20",
"prefix_cost": "45.96",
"data_read_per_join": "4K"
},
"used_columns": [
"snapping_id",
"object_id",
"object_type",
"block_id",
"lang_code",
"content"
]
}
},
{
"table": {
"table_name": "dynamic_object_content",
"access_type": "ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"block_id"
],
"key_length": "4",
"ref": [
"betaatif_store.cscart_bm_snapping.block_id"
],
"rows_examined_per_scan": 3,
"rows_produced_per_join": 66,
"filtered": "100.00",
"index_condition": "<if>(is_not_null_compl(dynamic_object_content), ((`betaatif_store`.`dynamic_object_content`.`object_id` = 696) and (`betaatif_store`.`dynamic_object_content`.`lang_code` = `betaatif_store`.`cscart_bm_blocks_descriptions`.`lang_code`) and (`betaatif_store`.`dynamic_object_content`.`object_type` like 'products')), true)",
"cost_info": {
"read_cost": "16.50",
"eval_cost": "6.60",
"prefix_cost": "69.06",
"data_read_per_join": "14K"
},
"used_columns": [
"object_id",
"object_type",
"block_id",
"lang_code",
"content"
]
}
}
]
}
}
}
Result
grid_id |
block_id |
content |
object_id |
object_type |
object_ids |
snapping_id |
wrapper |
user_class |
order |
status |
type |
properties |
company_id |
storefront_id |
lang_code |
name |
98 |
4 |
|
0 |
|
|
104 |
blocks/wrappers/onclick_dropdown.tpl |
top-my-account |
0 |
A |
my_account |
a:1:{s:8:"template";s:21:"blocks/my_account.tpl";} |
0 |
1 |
ar |
My Account |
99 |
5 |
|
0 |
|
|
105 |
|
top-logo |
0 |
A |
template |
a:2:{s:8:"template";s:32:"blocks/static_templates/logo.tpl";s:11:"enable_link";s:1:"Y";} |
0 |
1 |
ar |
Logo |
101 |
6 |
|
0 |
|
|
107 |
|
|
0 |
A |
call_request |
a:1:{s:8:"template";s:44:"addons/call_requests/blocks/call_request.tpl";} |
0 |
1 |
ar |
Call Request |
127 |
10 |
|
0 |
|
|
132 |
|
|
0 |
A |
breadcrumbs |
a:1:{s:8:"template";s:22:"common/breadcrumbs.tpl";} |
0 |
1 |
ar |
Breadcrumbs |
128 |
11 |
|
0 |
|
|
133 |
|
|
0 |
A |
main |
|
0 |
1 |
ar |
Main Content |
103 |
64 |
a:1:{s:5:"items";a:3:{s:7:"filling";s:13:"full_tree_cat";s:18:"parent_category_id";s:0:"";s:7:"sort_by";s:8:"position";}} |
0 |
|
|
109 |
|
|
0 |
A |
categories |
a:3:{s:8:"template";s:52:"blocks/categories/categories_dropdown_horizontal.tpl";s:30:"dropdown_second_level_elements";s:2:"12";s:29:"dropdown_third_level_elements";s:1:"6";} |
0 |
1 |
ar |
Main menu |
110 |
66 |
|
0 |
|
|
114 |
blocks/wrappers/footer_general.tpl |
|
0 |
A |
template |
a:1:{s:8:"template";s:44:"blocks/static_templates/my_account_links.tpl";} |
0 |
1 |
ar |
حسابي |
110 |
67 |
a:1:{s:7:"content";s:261:"
<ul id="demo_store_links">
<li class="ty-footer-menu__item"><a href="{"companies.apply_for_vendor"|fn_url}">Apply for a seller account</a></li>
<li class="ty-footer-menu__item"><a href="{"pages.view?page_id=15"|fn_url}">Vendor terms & conditions</a></li>
</ul>";} |
0 |
|
|
115 |
blocks/wrappers/footer_general.tpl |
footer-no-wysiwyg |
1 |
A |
smarty_block |
a:1:{s:8:"template";s:23:"blocks/smarty_block.tpl";} |
0 |
1 |
ar |
Become a seller |
111 |
68 |
a:1:{s:7:"content";s:338:"<ul id="demo_store_links">
<li class="ty-footer-menu__item"><a href="{"pages.view?page_id=25"|fn_url}">نبذة عنا</a></li>
<li class="ty-footer-menu__item"><a href="{"pages.view?page_id=26"|fn_url}">اتصل بنا</a></li>
<li class="ty-footer-menu__item"><a href="{"sitemap.view"|fn_url}">خريطة الموقع</a></li>
</ul>";} |
0 |
|
|
116 |
blocks/wrappers/footer_general.tpl |
footer-no-wysiwyg |
1 |
A |
smarty_block |
a:2:{s:8:"template";s:23:"blocks/smarty_block.tpl";s:22:"abt__ut2_demo_block_id";s:0:"";} |
0 |
1 |
ar |
نبذة عنا |
100 |
7 |
|
0 |
|
|
106 |
|
top-search |
2 |
A |
template |
a:1:{s:8:"template";s:34:"blocks/static_templates/search.tpl";} |
0 |
1 |
ar |
Search |
102 |
8 |
|
0 |
|
|
108 |
|
top-cart-content |
2 |
A |
cart_content |
a:5:{s:8:"template";s:23:"blocks/cart_content.tpl";s:22:"display_bottom_buttons";s:1:"Y";s:20:"display_delete_icons";s:1:"Y";s:19:"products_links_type";s:5:"thumb";s:20:"generate_block_title";s:1:"Y";} |
0 |
1 |
ar |
Cart content |
108 |
13 |
a:1:{s:7:"content";s:627:"<div class="ty-social-link-block"><h3 class="ty-social-link__title">{__("get_social")}</h3>
<div class="ty-social-link facebook">
<a href="http://www.facebook.com"><i class="ty-icon-facebook"></i>Facebook</a>
</div>
<div class="ty-social-link instagram">
<a href="https://www.instagram.com"><i class="ty-icon-instagram"></i>Instagram</a>
</div>
<div class="ty-social-link twitter">
<a href="https://twitter.com"><i class="ty-icon-twitter"></i>Twitter</a>
</div>
<div class="ty-social-link youtube">
<a href="https://www.youtube.com/user/cscartvideos"><i class="ty-icon-youtube"></i>Youtube</a>
</div></div>
";} |
0 |
|
|
113 |
|
|
2 |
A |
smarty_block |
a:1:{s:8:"template";s:23:"blocks/smarty_block.tpl";} |
0 |
1 |
ar |
Social links |
115 |
18 |
|
0 |
|
|
119 |
|
|
2 |
A |
template |
a:1:{s:8:"template";s:37:"blocks/static_templates/copyright.tpl";} |
0 |
1 |
ar |
Copyright |
116 |
19 |
|
0 |
|
|
120 |
|
|
2 |
A |
template |
a:1:{s:8:"template";s:41:"blocks/static_templates/payment_icons.tpl";} |
0 |
1 |
ar |
Payment icons |
96 |
63 |
|
0 |
|
|
101 |
|
top-languages |
2 |
A |
languages |
a:3:{s:8:"template";s:20:"blocks/languages.tpl";s:6:"format";s:4:"name";s:14:"dropdown_limit";s:1:"0";} |
0 |
1 |
ar |
Languages |
107 |
65 |
|
0 |
|
|
112 |
|
|
2 |
A |
template |
a:1:{s:8:"template";s:56:"addons/newsletters/blocks/static_templates/subscribe.tpl";} |
0 |
1 |
ar |
Subscribe |
112 |
69 |
a:1:{s:7:"content";s:526:"<ul id="customer_service_links">
<li class="ty-footer-menu__item"><a href="{"orders.search"|fn_url}" rel="nofollow">قائكة الطلبات</a></li>
{if $addons.wishlist && $addons.wishlist.status == 'A'}
<li class="ty-footer-menu__item"><a href="{"wishlist.view"|fn_url}" rel="nofollow">المفضلة</a></li>
{/if}
{if $settings.General.enable_compare_products == 'Y'}
<li class="ty-footer-menu__item"><a href="{"product_features.compare"|fn_url}" rel="nofollow">مقارنة المنتجات</a></li>
{/if}
</ul>";} |
0 |
|
|
117 |
blocks/wrappers/footer_general.tpl |
footer-no-wysiwyg |
2 |
A |
smarty_block |
a:2:{s:8:"template";s:23:"blocks/smarty_block.tpl";s:22:"abt__ut2_demo_block_id";s:0:"";} |
0 |
1 |
ar |
خدمة العملاء |
96 |
2 |
|
0 |
|
|
102 |
|
top-currencies |
3 |
A |
currencies |
a:3:{s:8:"template";s:21:"blocks/currencies.tpl";s:6:"format";s:6:"symbol";s:14:"dropdown_limit";s:1:"3";} |
0 |
1 |
ar |
Currencies |
97 |
3 |
a:1:{s:4:"menu";s:1:"1";} |
0 |
|
|
103 |
|
top-quick-links |
3 |
A |
menu |
a:2:{s:8:"template";s:26:"blocks/menu/text_links.tpl";s:18:"show_items_in_line";s:1:"Y";} |
0 |
1 |
ar |
Quick links |