Our stores

Enter a location (e.g. zip/postal code, address, city or country) in order to find the nearest stores.

# Store Address Distance
Load time1240 ms - OK... for a shared hosting
Querying time38 ms
Queries74
Memory peak usage17.1 Mb
Included files234 files - 4.16 Mb
thirty bees cache0.33 Mb
Global vars1.09 Mb
thirty bees version1.0.8
PrestaShop (emulated) version1.6.1.999
PHP version7.1.22 (OK)
MySQL version10.2.12-MariaDB-log (OK)
Memory limit512M
Max execution time30s
Smarty cachedisabled
Smarty Compilationauto
 TimeCumulated TimeMemory UsageMemory Peak Usage
config 547 ms 547 ms 7.37 Mb 7.76 Mb
__construct 0 ms 547 ms - Mb 7.76 Mb
init 191 ms 738 ms 2.62 Mb 10.62 Mb
checkAccess 0 ms 738 ms - Mb 10.62 Mb
setMedia 28 ms 766 ms 0.18 Mb 10.62 Mb
postProcess 0 ms 766 ms - Mb 10.62 Mb
initHeader 0 ms 766 ms - Mb 10.62 Mb
initContent 379 ms 1145 ms 5.40 Mb 15.61 Mb
initFooter 46 ms 1191 ms 0.75 Mb 16.39 Mb
display 49 ms 1240 ms 0.68 Mb 17.10 Mb
Hook Time Memory Usage
__construct 255 ms 6.00 Mb
hooktop 59 ms - Mb
hookfooter 33 ms - Mb
hookdisplayTop 23 ms - Mb
hookdisplayBanner 4 ms - Mb
hookdisplayNav 3 ms - Mb
hookdisplayFooter 3 ms - Mb
hookHeader 1 ms - Mb
hookdisplayHeader 1 ms - Mb
hookdisplayTopColumn - ms - Mb
10 hooks 382 ms 6.00 Mb
Module Time Memory Usage
blockcart 51 ms - Mb
blocklayered 46 ms 2.00 Mb
blocktopmenu 40 ms - Mb
blockcms 37 ms - Mb
blockbanner 36 ms - Mb
statsmodule 29 ms 2.00 Mb
statsdata 18 ms - Mb
themeconfigurator 13 ms - Mb
blocknewsletter 12 ms - Mb
homeslider 11 ms - Mb
blockcategories 8 ms - Mb
blocksocial 8 ms - Mb
blocknewproducts 7 ms - Mb
blockbestsellers 7 ms - Mb
homefeatured 6 ms - Mb
blockspecials 5 ms 2.00 Mb
blockcontactinfos 5 ms - Mb
blockcontact 4 ms - Mb
socialsharing 4 ms - Mb
blocksearch 4 ms - Mb
blocksupplier 3 ms 2.00 Mb
blockviewed 3 ms - Mb
blockmanufacturer 3 ms - Mb
blocktags 3 ms - Mb
ctconfiguration 3 ms - Mb
blockmyaccountfooter 3 ms - Mb
blockuserinfo 3 ms - Mb
blockfacebook 2 ms - Mb
blocklanguages 2 ms - Mb
blockstore 1 ms - Mb
blockpaymentlogo 1 ms - Mb
blockcurrencies 1 ms - Mb
productpaymentlogos 1 ms - Mb
blockmyaccount 1 ms - Mb
34 modules 382 ms 6.00 Mb

Stopwatch SQL - 74 queries

Query Time (ms) Rows Filesort Group By Location
INSERT INTO `tbd_guest` (`id_operating_system`, `id_web_browser`, `id_customer`, `javascript`, `screen_resolution_x`, `screen_resolution_y`, `screen_color`, `sun_java`, `adobe_flash`, `adobe_director`, `apple_quicktime`, `real_player`, `windows_media`, `accept_language`, `mobile_theme`) VALUES ('0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'en', '0')
4.4 1 /classes/ObjectModel.php:581
SELECT SQL_NO_CACHE cl.*, c.*, cl.`name` AS `country`, z.`name` AS `zone`
FROM `tbd_country` c
INNER JOIN tbd_country_shop country_shop
ON (country_shop.id_country = c.id_country AND country_shop.id_shop = 1)
LEFT JOIN `tbd_country_lang` `cl` ON c.`id_country` = cl.`id_country` AND cl.`id_lang` = 1
LEFT JOIN `tbd_zone` `z` ON z.`id_zone` = c.`id_zone`
ORDER BY cl.`name` ASC
2.1 244 Yes /classes/Country.php:582
SELECT SQL_NO_CACHE s.*, sl.`description`
FROM `tbd_supplier` s
LEFT JOIN `tbd_supplier_lang` `sl` ON s.`id_supplier` = sl.`id_supplier` AND sl.`id_lang` = 1
INNER JOIN tbd_supplier_shop supplier_shop
ON (supplier_shop.id_supplier = s.id_supplier AND supplier_shop.id_shop = 1)
WHERE (s.`active` = 1)
GROUP BY s.id_supplier
ORDER BY  s.`name` ASC
1.8 1 Yes Yes /classes/Supplier.php:163
SELECT SQL_NO_CACHE h.`name` as hook, m.`id_module`, h.`id_hook`, m.`name` as module, h.`live_edit`
FROM `tbd_module` m
INNER JOIN tbd_module_shop module_shop
ON (module_shop.id_module = m.id_module AND module_shop.id_shop = 1 AND module_shop.enable_device & 1)
INNER JOIN `tbd_module_shop` ms ON ms.`id_module` = m.`id_module`
INNER JOIN `tbd_hook_module` hm ON hm.`id_module` = m.`id_module`
INNER JOIN `tbd_hook` h ON hm.`id_hook` = h.`id_hook`
LEFT JOIN `tbd_module_group` `mg` ON mg.`id_module` = m.`id_module`
WHERE (h.`name` != "displayPayment" AND h.`name` != "displayPaymentEU") AND (hm.`id_shop` = 1) AND (mg.`id_shop` = 1 AND  mg.`id_group` IN (1))
GROUP BY hm.id_hook, hm.id_module
ORDER BY hm.`position`
1.7 82 Yes Yes /classes/Hook.php:598
SELECT SQL_NO_CACHE m.*, ml.`description`, ml.`short_description`
FROM `tbd_manufacturer` m
INNER JOIN tbd_manufacturer_shop manufacturer_shop
ON (manufacturer_shop.id_manufacturer = m.id_manufacturer AND manufacturer_shop.id_shop = 1)
INNER JOIN `tbd_manufacturer_lang` ml ON m.`id_manufacturer` = ml.`id_manufacturer`
WHERE (ml.`id_lang` = 1) AND (m.`active` = 1)
GROUP BY m.`id_manufacturer`
ORDER BY m.`name` ASC
1.6 1 Yes Yes /classes/Manufacturer.php:180
SELECT SQL_NO_CACHE s.*, cl.name country, st.iso_code state,
(6371
* acos(
cos(radians(0))
* cos(radians(latitude))
* cos(radians(longitude) - radians(0))
+ sin(radians(0))
* sin(radians(latitude))
)
) distance,
cl.id_country id_country
FROM tbd_store s
INNER JOIN tbd_store_shop store_shop
ON (store_shop.id_store = s.id_store AND store_shop.id_shop = 1)
LEFT JOIN tbd_country_lang cl ON (cl.id_country = s.id_country)
LEFT JOIN tbd_state st ON (st.id_state = s.id_state)
WHERE s.active = 1 AND cl.id_lang = 1
HAVING distance < 100
ORDER BY distance ASC
LIMIT 0,20
1.5 1 Yes /controllers/front/StoresController.php:268
SELECT SQL_NO_CACHE c.`name`, cl.`id_lang`, IFNULL(cl.`value`, c.`value`) AS `value`, c.`id_shop_group`, c.`id_shop`
FROM `tbd_configuration` c
LEFT JOIN `tbd_configuration_lang` `cl` ON c.`id_configuration` = cl.`id_configuration`
1.5 377 /classes/Configuration.php:423
SELECT SQL_NO_CACHE `id_guest`
FROM `tbd_connections`
WHERE `id_guest` = 150
AND `date_add` > '2019-04-21 03:55:00'
AND id_shop IN (1) 
ORDER BY `date_add` DESC LIMIT 1
1.2 1 Yes /classes/Connection.php:159
UPDATE `tbd_configuration` SET `value` = '1555835107',`date_upd` = '2019-04-21 04:25:07' WHERE `name` = 'HOME_FEATURED_TIMESTAMP' AND (id_shop_group IS NULL OR id_shop_group = 0) AND (id_shop IS NULL OR id_shop = 0) LIMIT 1
1 1 /classes/Configuration.php:652
SELECT SQL_NO_CACHE *
FROM `tbd_themeconfigurator`
WHERE (`id_shop` = 1) AND (`id_lang` = 1) AND (`hook` = 'footer') AND (`active` = 1)
ORDER BY `item_order` ASC
1 0 /modules/themeconfigurator/themeconfigurator.php:1067
SELECT SQL_NO_CACHE s.`id_shop`, CONCAT(su.`physical_uri`, su.`virtual_uri`) AS `uri`, su.`domain`, su.`main`
FROM `tbd_shop_url` su
LEFT JOIN `tbd_shop` `s` ON s.`id_shop` = su.`id_shop`
WHERE (su.domain = 'compuvantage.com' OR su.domain_ssl = 'compuvantage.com') AND (s.`active` = 1) AND (s.`deleted` = 0)
1 1 /classes/shop/Shop.php:345
SELECT SQL_NO_CACHE *
FROM `tbd_state`
ORDER BY `name` ASC
1 312 Yes /classes/Country.php:593
UPDATE `tbd_configuration` SET `value` = '1555835107',`date_upd` = '2019-04-21 04:25:07' WHERE `name` = 'PS_BLOCK_BESTSELLERS_TIMESTAMP' AND (id_shop_group IS NULL OR id_shop_group = 0) AND (id_shop IS NULL OR id_shop = 0) LIMIT 1
1 1 /classes/Configuration.php:652
SELECT SQL_NO_CACHE `id_hook`, `name`
FROM `tbd_hook`
UNION
SELECT `id_hook`, ha.`alias` AS name
FROM `tbd_hook_alias` ha
INNER JOIN `tbd_hook` h ON ha.name = h.name
0.9 0 /classes/Hook.php:738
UPDATE `tbd_configuration` SET `value` = '1555835107',`date_upd` = '2019-04-21 04:25:07' WHERE `name` = 'NEW_PRODUCTS_TIMESTAMP' AND (id_shop_group IS NULL OR id_shop_group = 0) AND (id_shop IS NULL OR id_shop = 0) LIMIT 1
0.7 1 /classes/Configuration.php:652
SELECT SQL_NO_CACHE c.*, cl.*
FROM `tbd_category` c
INNER JOIN tbd_category_shop category_shop
ON (category_shop.id_category = c.id_category AND category_shop.id_shop = 1)
LEFT JOIN `tbd_category_lang` cl ON c.`id_category` = cl.`id_category` AND cl.id_shop = 1 
LEFT JOIN `tbd_category_group` cg ON c.`id_category` = cg.`id_category`
RIGHT JOIN `tbd_category` c2 ON c2.`id_category` = 3 AND c.`nleft` >= c2.`nleft` AND c.`nright` <= c2.`nright`
WHERE 1  AND `id_lang` = 1
AND cg.`id_group` IN (1)
GROUP BY c.`id_category`
ORDER BY c.`level_depth` ASC
, category_shop.`position` ASC
0.7 0 Yes /classes/Category.php:347
SELECT SQL_NO_CACHE m.`id_module`, m.`name`, ms.`id_module` AS `mshop`
FROM `tbd_module` m
LEFT JOIN `tbd_module_shop` `ms` ON ms.`id_module` = m.`id_module` AND ms.`id_shop` = 1
0.6 41 /classes/module/Module.php:214
SELECT SQL_NO_CACHE *
FROM `tbd_country` a
LEFT JOIN `tbd_country_lang` `b` ON a.`id_country` = b.`id_country` AND b.`id_lang` = 1
LEFT JOIN `tbd_country_shop` `c` ON a.`id_country` = c.`id_country` AND c.`id_shop` = 1
WHERE (a.`id_country` = 21) LIMIT 1
0.5 1 /Adapter/Adapter_EntityMapper.php:80
SELECT SQL_NO_CACHE *
FROM `tbd_currency` c
INNER JOIN tbd_currency_shop currency_shop
ON (currency_shop.id_currency = c.id_currency AND currency_shop.id_shop = 1)
WHERE (`deleted` = 0) AND (c.`active` = 1)
ORDER BY `name` ASC
0.5 1 Yes /classes/Currency.php:349
SELECT SQL_NO_CACHE *
FROM `tbd_currency` a
LEFT JOIN `tbd_currency_shop` `c` ON a.`id_currency` = c.`id_currency` AND c.`id_shop` = 1
WHERE (a.`id_currency` = 1) LIMIT 1
0.5 1 /Adapter/Adapter_EntityMapper.php:80
SELECT SQL_NO_CACHE m.`page`, ml.`url_rewrite`, ml.`id_lang`
FROM `tbd_meta` m
LEFT JOIN `tbd_meta_lang` `ml` ON m.`id_meta` = ml.`id_meta`  AND ml.id_shop = 1 
ORDER BY LENGTH(ml.`url_rewrite`) DESC
0.5 36 Yes /classes/Dispatcher.php:595
SELECT SQL_NO_CACHE IFNULL(`left_column`, `default_left_column`) AS `left_column`, IFNULL(`right_column`, `default_right_column`) AS `right_column`
FROM `tbd_theme` t
LEFT JOIN `tbd_theme_meta` `tm` ON t.`id_theme` = tm.`id_theme`
LEFT JOIN `tbd_meta` `m` ON m.`id_meta` = tm.`id_meta`
WHERE (t.`id_theme` = 1) AND (m.`page` = 'stores') LIMIT 1
0.4 1 /classes/Theme.php:372
SELECT SQL_NO_CACHE gs.*, s.*, gs.`name` AS `group_name`, s.`name` AS `shop_name`, s.`active`,
su.`domain`, su.`domain_ssl`, su.`physical_uri`, su.`virtual_uri`
FROM `tbd_shop_group` gs
LEFT JOIN `tbd_shop` `s` ON s.`id_shop_group` = gs.`id_shop_group`
LEFT JOIN `tbd_shop_url` `su` ON s.`id_shop` = su.`id_shop` AND su.`main` = 1
WHERE (s.`deleted` = 0) AND (gs.`deleted` = 0)
ORDER BY gs.`name`, s.`name`
0.4 1 Yes /classes/shop/Shop.php:745
SELECT SQL_NO_CACHE su.physical_uri, su.virtual_uri, su.domain, su.domain_ssl, t.id_theme, t.name, t.directory
FROM `tbd_shop` s
LEFT JOIN `tbd_shop_url` `su` ON s.`id_shop` = su.`id_shop`
LEFT JOIN `tbd_theme` `t` ON t.`id_theme` = s.`id_theme`
WHERE (s.`id_shop` = 1) AND (s.`active` = 1) AND (s.`deleted` = 0) AND (su.`main` = 1) LIMIT 1
0.4 1 /classes/shop/Shop.php:172
SELECT SQL_NO_CACHE COUNT(DISTINCT l.`id_lang`)
FROM `tbd_lang` l
INNER JOIN `tbd_lang_shop` ls ON ls.`id_lang` = l.`id_lang`
WHERE (ls.`id_shop` = 1) AND (l.`active` = 1) LIMIT 1
0.4 1 /classes/Language.php:382
SELECT SQL_NO_CACHE l.*, ls.`id_shop`
FROM `tbd_lang` l
LEFT JOIN `tbd_lang_shop` `ls` ON l.`id_lang` = ls.`id_lang`
0.4 1 /classes/Language.php:166
SELECT SQL_NO_CACHE COUNT(DISTINCT c.`id_currency`)
FROM `tbd_currency` c
LEFT JOIN `tbd_currency_shop` `cs` ON cs.`id_currency` = c.`id_currency`
WHERE (cs.`id_shop` = 1) AND (c.`active` = 1) LIMIT 1
0.4 1 /classes/Currency.php:477
SELECT SQL_NO_CACHE value FROM `tbd_configuration` WHERE `name` = "PS_MULTISHOP_FEATURE_ACTIVE" LIMIT 1
0.4 377 /classes/shop/Shop.php:1273
SELECT SQL_NO_CACHE *
FROM `tbd_group` a
LEFT JOIN `tbd_group_shop` `c` ON a.`id_group` = c.`id_group` AND c.`id_shop` = 1
WHERE (a.`id_group` = 1) LIMIT 1
0.4 1 /Adapter/Adapter_EntityMapper.php:80
SELECT SQL_NO_CACHE *
FROM `tbd_currency` c
INNER JOIN tbd_currency_shop currency_shop
ON (currency_shop.id_currency = c.id_currency AND currency_shop.id_shop = 1)
WHERE (`deleted` = 0)
ORDER BY `name` ASC
0.4 1 Yes /classes/Currency.php:349
SELECT SQL_NO_CACHE cl.`meta_title`, cl.`link_rewrite`
FROM `tbd_cms_lang` cl
INNER JOIN `tbd_cms` c
ON (cl.`id_cms` = c.`id_cms`)
WHERE cl.`id_cms` = 3
AND (c.`active` = 1 OR c.`id_cms` = 1) AND cl.`id_shop` = 1
AND cl.`id_lang` = 1 LIMIT 1
0.3 1 /modules/blockcms/BlockCMSModel.php:332
SELECT SQL_NO_CACHE * FROM `tbd_image_type`
0.3 11 /classes/ImageType.php:199
SELECT SQL_NO_CACHE *
FROM `tbd_cms` a
LEFT JOIN `tbd_cms_lang` `b` ON a.`id_cms` = b.`id_cms` AND b.`id_lang` = 1
LEFT JOIN `tbd_cms_shop` `c` ON a.`id_cms` = c.`id_cms` AND c.`id_shop` = 1
WHERE (a.`id_cms` = 3) AND (b.`id_shop` = 1) LIMIT 1
0.3 1 /Adapter/Adapter_EntityMapper.php:80
INSERT INTO `tbd_connections` (`id_guest`, `id_page`, `ip_address`, `http_referer`, `id_shop`, `id_shop_group`, `date_add`) VALUES ('150', '12', '55883376', '', '1', '1', '2019-04-21 04:25:08')
0.3 1 /classes/ObjectModel.php:581
SELECT SQL_NO_CACHE l.id_linksmenutop, l.new_window, s.name, ll.link, ll.label
FROM tbd_linksmenutop l
LEFT JOIN tbd_linksmenutop_lang ll ON (l.id_linksmenutop = ll.id_linksmenutop AND ll.id_lang = 1 AND ll.id_shop=1)
LEFT JOIN tbd_shop s ON l.id_shop = s.id_shop
WHERE 1  AND l.id_linksmenutop = "1"
AND l.id_shop IN (0, 1)
0.3 0 /modules/blocktopmenu/menutoplinks.class.php:49
SELECT SQL_NO_CACHE `id_product`
FROM `tbd_product_lang`
WHERE (`link_rewrite` = 'stores') AND (`id_lang` = 1) AND (`id_shop` = 1)
0.3 16 /classes/Dispatcher.php:1387
SELECT SQL_NO_CACHE *
FROM `tbd_hook_module_exceptions`
WHERE (`id_shop` IN (1))
0.3 5 /classes/module/Module.php:2929
SELECT SQL_NO_CACHE c.*, cl.*
FROM `tbd_category` c
INNER JOIN tbd_category_shop category_shop
ON (category_shop.id_category = c.id_category AND category_shop.id_shop = 1)
LEFT JOIN `tbd_category_lang` cl ON c.`id_category` = cl.`id_category` AND cl.id_shop = 1 
LEFT JOIN `tbd_category_group` cg ON c.`id_category` = cg.`id_category`
RIGHT JOIN `tbd_category` c2 ON c2.`id_category` = 8 AND c.`nleft` >= c2.`nleft` AND c.`nright` <= c2.`nright`
WHERE 1  AND `id_lang` = 1
AND cg.`id_group` IN (1)
GROUP BY c.`id_category`
ORDER BY c.`level_depth` ASC
, category_shop.`position` ASC
0.3 0 Yes /classes/Category.php:347
SELECT SQL_NO_CACHE c.*, cl.*
FROM `tbd_category` c
INNER JOIN tbd_category_shop category_shop
ON (category_shop.id_category = c.id_category AND category_shop.id_shop = 1)
LEFT JOIN `tbd_category_lang` cl ON c.`id_category` = cl.`id_category` AND cl.id_shop = 1 
LEFT JOIN `tbd_category_group` cg ON c.`id_category` = cg.`id_category`
RIGHT JOIN `tbd_category` c2 ON c2.`id_category` = 5 AND c.`nleft` >= c2.`nleft` AND c.`nright` <= c2.`nright`
WHERE 1  AND `id_lang` = 1
AND cg.`id_group` IN (1)
GROUP BY c.`id_category`
ORDER BY c.`level_depth` ASC
, category_shop.`position` ASC
0.3 0 Yes /classes/Category.php:347
SELECT SQL_NO_CACHE *
FROM `tbd_meta` m
LEFT JOIN `tbd_meta_lang` `ml` ON m.`id_meta` = ml.`id_meta`
WHERE (m.`page` = 'stores' OR m.`page` = 'stores') AND (ml.`id_lang` = 1  AND ml.id_shop = 1 ) LIMIT 1
0.3 1 /classes/Meta.php:368
SELECT SQL_NO_CACHE id_required_field, object_name, field_name
FROM tbd_required_field
0.2 1 /classes/ObjectModel.php:1524
DELETE FROM `tbd_smarty_lazy_cache`
WHERE template_hash='cb461bfabad8c941121f9efbd878e8b4' AND cache_id LIKE "blockbestsellers-col%"
0.2 1 /classes/SmartyCustom.php:128
SELECT SQL_NO_CACHE `domain`, `domain_ssl`
FROM `tbd_shop_url`
WHERE (`main` = 1) AND (`id_shop` = 1) LIMIT 1
0.2 1 /classes/shop/ShopUrl.php:246
SELECT SQL_NO_CACHE `id_country`
FROM `tbd_country`
WHERE (`iso_code` = 'US') AND (`active` = 1) LIMIT 1
0.2 1 /classes/Country.php:148
SELECT SQL_NO_CACHE * FROM `tbd_hook_alias`
0.2 86 /classes/Hook.php:692
SELECT SQL_NO_CACHE *
FROM `tbd_cms` a
LEFT JOIN `tbd_cms_lang` `b` ON a.`id_cms` = b.`id_cms` AND b.`id_lang` = 1
LEFT JOIN `tbd_cms_shop` `c` ON a.`id_cms` = c.`id_cms` AND c.`id_shop` = 1
WHERE (a.`id_cms` = 4) AND (b.`id_shop` = 1) LIMIT 1
0.2 1 /Adapter/Adapter_EntityMapper.php:80
SELECT SQL_NO_CACHE *
FROM `tbd_shop_group` a
WHERE (a.`id_shop_group` = 1) LIMIT 1
0.2 1 /Adapter/Adapter_EntityMapper.php:80
SELECT SQL_NO_CACHE UNIX_TIMESTAMP(last_flush) AS last_flush FROM `tbd_smarty_last_flush` WHERE type='compile' LIMIT 1
0.2 1 /classes/SmartyCustom.php:192
SELECT SQL_NO_CACHE *
FROM `tbd_lang` a
LEFT JOIN `tbd_lang_shop` `c` ON a.`id_lang` = c.`id_lang` AND c.`id_shop` = 1
WHERE (a.`id_lang` = 1) LIMIT 1
0.2 1 /Adapter/Adapter_EntityMapper.php:80
SELECT SQL_NO_CACHE `id_country`
FROM `tbd_country`
WHERE (`iso_code` = 'US') AND (`active` = 1) LIMIT 1
0.2 1 /classes/Country.php:148
SELECT SQL_NO_CACHE `id_page_type`
FROM `tbd_page_type`
WHERE (`name` = 'stores') LIMIT 1
0.2 15 /classes/Page.php:120
SELECT SQL_NO_CACHE `id_page`
FROM `tbd_page`
WHERE (`id_page_type` = 12) LIMIT 1
0.2 1 /classes/Page.php:93
SELECT SQL_NO_CACHE *
FROM `tbd_shop` a
WHERE (a.`id_shop` = 1) LIMIT 1
0.2 1 /Adapter/Adapter_EntityMapper.php:80
SELECT SQL_NO_CACHE cl.`meta_title`, cl.`link_rewrite`
FROM `tbd_cms_lang` cl
INNER JOIN `tbd_cms` c
ON (cl.`id_cms` = c.`id_cms`)
WHERE cl.`id_cms` = 4
AND (c.`active` = 1 OR c.`id_cms` = 1) AND cl.`id_shop` = 1
AND cl.`id_lang` = 1 LIMIT 1
0.2 1 /modules/blockcms/BlockCMSModel.php:332
DELETE FROM `tbd_smarty_lazy_cache`
WHERE template_hash='10ae08faede597a2d3c4d7b71966c8bd' AND cache_id LIKE "homefeatured-home%"
0.2 1 /classes/SmartyCustom.php:128
SELECT SQL_NO_CACHE `id_lang`, IF(language_code = 'en-us', 0, LENGTH(language_code)) as found
FROM `tbd_lang`
WHERE (LEFT(`language_code`, 2) = 'en')
ORDER BY `found` ASC LIMIT 1
0.2 1 Yes /classes/Language.php:247
SELECT SQL_NO_CACHE `id_category`
FROM `tbd_category_lang`
WHERE (`link_rewrite` = 'stores') AND (`id_lang` = 1) AND (`id_shop` = 1)
0.2 2 /classes/Dispatcher.php:1443
SELECT SQL_NO_CACHE `id_cms_category`
FROM `tbd_cms`
WHERE (`id_cms` = 3) LIMIT 1
0.2 1 /classes/Link.php:644
SELECT SQL_NO_CACHE *
FROM `tbd_group_lang`
WHERE (`id_group` = 1)
0.2 1 /Adapter/Adapter_EntityMapper.php:88
SELECT SQL_NO_CACHE `width`, `height`
FROM `tbd_image_type`
WHERE (`name` = 'medium_default') LIMIT 1
0.2 1 /classes/Image.php:587
SELECT SQL_NO_CACHE *
FROM `tbd_country` a
LEFT JOIN `tbd_country_shop` `c` ON a.`id_country` = c.`id_country` AND c.`id_shop` = 1
WHERE (a.`id_country` = 21) LIMIT 1
0.2 1 /Adapter/Adapter_EntityMapper.php:80
DELETE FROM `tbd_smarty_lazy_cache`
WHERE template_hash='2d5d925ab9a237d4e85793d4808674e3'
0.1 1 /classes/SmartyCustom.php:128
SELECT SQL_NO_CACHE id_shop
FROM `tbd_lang_shop`
WHERE `id_lang` = 1
AND id_shop = 1 LIMIT 1
0.1 1 /classes/ObjectModel.php:1623
SELECT SQL_NO_CACHE *
FROM `tbd_theme` a
WHERE (a.`id_theme` = 1) LIMIT 1
0.1 1 /Adapter/Adapter_EntityMapper.php:80
SELECT SQL_NO_CACHE `id_category`
FROM `tbd_category_lang`
WHERE (`link_rewrite` = 'stores') AND (`id_lang` = 1) AND (`id_shop` = 1)
0.1 2 /classes/Dispatcher.php:1443
SELECT SQL_NO_CACHE *
FROM `tbd_country_lang`
WHERE (`id_country` = 21)
0.1 1 /Adapter/Adapter_EntityMapper.php:88
SELECT SQL_NO_CACHE id_shop
FROM `tbd_currency_shop`
WHERE `id_currency` = 1
AND id_shop = 1 LIMIT 1
0.1 1 /classes/ObjectModel.php:1623
DELETE FROM `tbd_smarty_lazy_cache`
WHERE template_hash='4e7133d3f1762f460bfdf4070bc90065' AND cache_id LIKE "blockbestsellers-home%"
0.1 1 /classes/SmartyCustom.php:128
DELETE FROM `tbd_smarty_lazy_cache`
WHERE template_hash='0d2ea9fdb52ba15c91f58b09ebe6f25c' AND cache_id LIKE "homefeatured-tab%"
0.1 1 /classes/SmartyCustom.php:128
SELECT SQL_NO_CACHE `id_cms_category`
FROM `tbd_cms`
WHERE (`id_cms` = 4) LIMIT 1
0.1 1 /classes/Link.php:644
DELETE FROM `tbd_smarty_lazy_cache`
WHERE template_hash='bbf68894f499147a0ed63da6431e1fe9' AND cache_id LIKE "blockbestsellers-tab%"
0.1 1 /classes/SmartyCustom.php:128
SELECT SQL_NO_CACHE id_shop
FROM `tbd_group_shop`
WHERE `id_group` = 1
AND id_shop = 1 LIMIT 1
0.1 1 /classes/ObjectModel.php:1623
DELETE FROM `tbd_smarty_lazy_cache`
WHERE template_hash='103157c22cf690565c5f30d4c9169397' AND cache_id LIKE "blocknewproducts-home%"
0.1 1 /classes/SmartyCustom.php:128
DELETE FROM `tbd_smarty_lazy_cache`
WHERE template_hash='26230d66116eabb9fe0a1cfca55ffb8a' AND cache_id LIKE "blocknewproducts-tab%"
0.1 1 /classes/SmartyCustom.php:128

Doubles

3
				SELECT c.*, cl.*
				FROM `tbd_category` c
				 INNER JOIN tbd_category_shop category_shop
		ON (category_shop.id_category = c.id_category AND category_shop.id_shop = XX)
				LEFT JOIN `tbd_category_lang` cl ON c.`id_category` = cl.`id_category` AND cl.id_shop = XX 
				LEFT JOIN `tbd_category_group` cg ON c.`id_category` = cg.`id_category`
				RIGHT JOIN `tbd_category` cXX ON cXX.`id_category` = XX AND c.`nleft` >= cXX.`nleft` AND c.`nright` <= cXX.`nright`
				WHERE XX  AND `id_lang` = XX
				
				 AND cg.`id_group` IN (XX)
				 GROUP BY c.`id_category`
				 ORDER BY c.`level_depth` ASC
				, category_shop.`position` ASC
				
2
SELECT *
FROM `tbd_cms` a
LEFT JOIN `tbd_cms_lang` `b` ON a.`id_cms` = b.`id_cms` AND b.`id_lang` = XX
LEFT JOIN `tbd_cms_shop` `c` ON a.`id_cms` = c.`id_cms` AND c.`id_shop` = XX
WHERE (a.`id_cms` = XX) AND (b.`id_shop` = XX) LIMIT XX
2
SELECT cl.`meta_title`, cl.`link_rewrite`
			FROM `tbd_cms_lang` cl
			INNER JOIN `tbd_cms` c
			ON (cl.`id_cms` = c.`id_cms`)
			WHERE cl.`id_cms` = XX
			AND (c.`active` = XX OR c.`id_cms` = XX) AND cl.`id_shop` = XX
			AND cl.`id_lang` = XX LIMIT XX
2
SELECT `id_category`
FROM `tbd_category_lang`
WHERE (`link_rewrite` = 'stores') AND (`id_lang` = XX) AND (`id_shop` = XX)
2
SELECT `id_country`
FROM `tbd_country`
WHERE (`iso_code` = 'US') AND (`active` = XX) LIMIT XX
2
SELECT `id_cms_category`
FROM `tbd_cms`
WHERE (`id_cms` = XX) LIMIT XX

Tables stress

8 smarty_lazy_cache
6 category
6 cms
5 country
5 shop
5 category_lang
5 currency_shop
4 currency
4 cms_lang
4 country_lang
4 lang_shop
4 lang
4 shop_url
3 country_shop
3 module_shop
3 category_group
3 hook
3 meta
3 theme
3 category_shop
2 group_shop
2 image_type
2 configuration
2 meta_lang
2 cms_shop
2 hook_alias
2 module
2 shop_group
2 state
1 required_field
1 store_shop
1 store
1 connections
1 linksmenutop_lang
1 page_type
1 linksmenutop
1 page
1 theme_meta
1 smarty_last_flush
1 zone
1 hook_module_exceptions
1 group_lang
1 group
1 configuration_lang
1 product_lang
1 manufacturer_lang
1 manufacturer_shop
1 manufacturer
1 supplier_shop
1 supplier_lang
1 supplier
1 module_group
1 hook_module
1 themeconfigurator

ObjectModel instances

NameInstancesSource
Country 3 /config/config.inc.php [148]
/classes/controller/FrontController.php [1576]
/controllers/front/StoresController.php [180]
Language 3 /config/config.inc.php [201]
/classes/Tools.php [536]
/classes/Tools.php [554]
CMS 2 /classes/Link.php [611]
/classes/Link.php [611]
Shop 1 /config/config.inc.php [123]
Theme 1 /config/config.inc.php [124]
ShopGroup 1 /classes/shop/Shop.php [549]
Customer 1 /config/config.inc.php [227]
Currency 1 /classes/Tools.php [701]
Cart 1 /classes/controller/FrontController.php [1647]
Group 1 /classes/Cart.php [190]
Guest 1 /modules/statsdata/statsdata.php [104]
Connection 1 /modules/statsdata/statsdata.php [142]

Included Files

#Filename
1/index.php
2/config/config.inc.php
3/config/defines.inc.php
4/config/settings.inc.php
5/config/autoload.php
6/config/alias.php
7/classes/PrestaShopAutoload.php
8/vendor/autoload.php
9/vendor/composer/autoload_real.php
10/vendor/composer/ClassLoader.php
11/vendor/composer/include_paths.php
12/vendor/composer/autoload_static.php
13/vendor/ralouphie/getallheaders/src/getallheaders.php
14/vendor/guzzlehttp/promises/src/functions_include.php
15/vendor/guzzlehttp/promises/src/functions.php
16/vendor/guzzlehttp/psr7/src/functions_include.php
17/vendor/guzzlehttp/psr7/src/functions.php
18/vendor/paragonie/random_compat/lib/random.php
19/vendor/ezyang/htmlpurifier/library/HTMLPurifier.composer.php
20/vendor/guzzlehttp/guzzle/src/functions_include.php
21/vendor/guzzlehttp/guzzle/src/functions.php
22/vendor/jakeasmith/http_build_url/src/http_build_url.php
23/vendor/swiftmailer/swiftmailer/lib/swift_required.php
24/vendor/swiftmailer/swiftmailer/lib/classes/Swift.php
25/vendor/symfony/polyfill-mbstring/bootstrap.php
26/vendor/thirtybees/geoip/src/geoip.inc
27/vendor/thirtybees/geoip/src/geoipcity.inc
28/vendor/thirtybees/geoip/src/geoipregionvars.php
29/vendor/thirtybees/geoip/src/timezone.php
30/cache/class_index.php
31/config/bootstrap.php
32/Core/Business/Core_Business_ContainerBuilder.php
33/Core/Foundation/IoC/Core_Foundation_IoC_Container.php
34/Adapter/Adapter_ServiceLocator.php
35/classes/controller/Controller.php
36/classes/ObjectModel.php
37/Core/Foundation/Database/Core_Foundation_Database_EntityInterface.php
38/classes/db/Db.php
39/classes/Tools.php
40/classes/Context.php
41/classes/shop/Shop.php
42/config/db_slave_server.inc.php
43/classes/db/DbPDO.php
44/classes/Configuration.php
45/classes/db/DbQuery.php
46/classes/Validate.php
47/classes/cache/Cache.php
48/Adapter/Adapter_EntityMapper.php
49/classes/Theme.php
50/config/defines_uri.inc.php
51/classes/Language.php
52/classes/Country.php
53/classes/PrestaShopCollection.php
54/classes/shop/ShopGroup.php
55/classes/Cookie.php
56/config/smarty.config.inc.php
57/classes/SmartyCustom.php
58/vendor/smarty/smarty/libs/Smarty.class.php
59/vendor/smarty/smarty/libs/sysplugins/smarty_internal_data.php
60/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php
61/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php
62/vendor/smarty/smarty/libs/sysplugins/smarty_resource.php
63/vendor/smarty/smarty/libs/sysplugins/smarty_internal_resource_file.php
64/vendor/smarty/smarty/libs/sysplugins/smarty_cacheresource.php
65/vendor/smarty/smarty/libs/sysplugins/smarty_internal_cacheresource_file.php
66/config/smartyfront.config.inc.php
67/classes/Customer.php
68/classes/Group.php
69/classes/Link.php
70/classes/shop/ShopUrl.php
71/classes/Hook.php
72/classes/PageCache.php
73/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php
74/classes/Dispatcher.php
75/classes/Supplier.php
76/classes/Manufacturer.php
77/controllers/front/StoresController.php
78/classes/controller/FrontController.php
79/themes/community-theme-default/lang/en.php
80/classes/Currency.php
81/classes/Cart.php
82/classes/CartRule.php
83/classes/Meta.php
84/classes/Product.php
85/classes/webservice/WebserviceRequest.php
86/classes/Media.php
87/classes/module/Module.php
88/modules/blockbanner/blockbanner.php
89/classes/Translate.php
90/modules/blockbanner/translations/en.php
91/modules/blockbestsellers/blockbestsellers.php
92/modules/blockbestsellers/translations/en.php
93/modules/blockcart/blockcart.php
94/modules/blockcart/translations/en.php
95/modules/blocksocial/blocksocial.php
96/modules/blocksocial/translations/en.php
97/modules/blockcategories/blockcategories.php
98/modules/blockcategories/translations/en.php
99/modules/blockcurrencies/blockcurrencies.php
100/modules/blockcurrencies/translations/en.php
101/modules/blockfacebook/blockfacebook.php
102/modules/blockfacebook/translations/en.php
103/modules/blocklanguages/blocklanguages.php
104/modules/blocklanguages/translations/en.php
105/modules/blocklayered/blocklayered.php
106/modules/blocklayered/translations/en.php
107/modules/blockcms/blockcms.php
108/modules/blockcms/BlockCMSModel.php
109/themes/community-theme-default/modules/blockcms/translations/en.php
110/modules/blockcms/translations/en.php
111/modules/blockcontact/blockcontact.php
112/modules/blockcontact/translations/en.php
113/modules/blockcontactinfos/blockcontactinfos.php
114/modules/blockcontactinfos/translations/en.php
115/modules/blockmanufacturer/blockmanufacturer.php
116/modules/blockmanufacturer/translations/en.php
117/modules/blockmyaccount/blockmyaccount.php
118/modules/blockmyaccount/translations/en.php
119/modules/blockmyaccountfooter/blockmyaccountfooter.php
120/modules/blockmyaccountfooter/translations/en.php
121/modules/blocknewproducts/blocknewproducts.php
122/modules/blocknewproducts/translations/en.php
123/modules/blocknewsletter/blocknewsletter.php
124/modules/blocknewsletter/translations/en.php
125/modules/blockpaymentlogo/blockpaymentlogo.php
126/modules/blockpaymentlogo/translations/en.php
127/modules/blocksearch/blocksearch.php
128/modules/blocksearch/translations/en.php
129/modules/blockspecials/blockspecials.php
130/modules/blockspecials/translations/en.php
131/modules/blockstore/blockstore.php
132/modules/blockstore/translations/en.php
133/modules/blocksupplier/blocksupplier.php
134/modules/blocksupplier/translations/en.php
135/modules/blocktags/blocktags.php
136/modules/blocktags/translations/en.php
137/modules/blocktopmenu/blocktopmenu.php
138/modules/blocktopmenu/menutoplinks.class.php
139/modules/blocktopmenu/translations/en.php
140/modules/blockuserinfo/blockuserinfo.php
141/modules/blockuserinfo/translations/en.php
142/modules/blockviewed/blockviewed.php
143/modules/blockviewed/translations/en.php
144/modules/ctconfiguration/ctconfiguration.php
145/modules/ctconfiguration/translations/en.php
146/modules/homeslider/homeslider.php
147/modules/homeslider/HomeSlide.php
148/modules/homeslider/translations/en.php
149/modules/homefeatured/homefeatured.php
150/modules/homefeatured/translations/en.php
151/modules/productpaymentlogos/productpaymentlogos.php
152/modules/productpaymentlogos/translations/en.php
153/modules/socialsharing/socialsharing.php
154/modules/socialsharing/translations/en.php
155/modules/themeconfigurator/themeconfigurator.php
156/modules/themeconfigurator/translations/en.php
157/cache/smarty/compile/6f/98/64/6f986488286d53180dbc7b76a81d1b101a284666.file.blocksearch-top.tpl.php
158/Adapter/Adapter_AddressFactory.php
159/Adapter/Adapter_ProductPriceCalculator.php
160/Adapter/Adapter_Configuration.php
161/Core/Business/Core_Business_ConfigurationInterface.php
162/vendor/commerceguys/intl/src/Currency/CurrencyRepository.php
163/vendor/commerceguys/intl/src/LocaleResolverTrait.php
164/vendor/commerceguys/intl/src/Currency/CurrencyRepositoryInterface.php
165/vendor/commerceguys/intl/src/NumberFormat/NumberFormatRepository.php
166/vendor/commerceguys/intl/src/NumberFormat/NumberFormatRepositoryInterface.php
167/vendor/commerceguys/intl/src/Currency/Currency.php
168/vendor/commerceguys/intl/src/Currency/CurrencyEntityInterface.php
169/vendor/commerceguys/intl/src/Currency/CurrencyInterface.php
170/vendor/commerceguys/intl/src/NumberFormat/NumberFormat.php
171/vendor/commerceguys/intl/src/NumberFormat/NumberFormatEntityInterface.php
172/vendor/commerceguys/intl/src/NumberFormat/NumberFormatInterface.php
173/vendor/commerceguys/intl/src/Formatter/NumberFormatter.php
174/vendor/commerceguys/intl/src/Formatter/NumberFormatterInterface.php
175/classes/Customization.php
176/cache/smarty/compile/02/fb/d7/02fbd7c87c365feaa003f47c81e898da6633f416.file.blockcart.tpl.php
177/vendor/smarty/smarty/libs/plugins/function.counter.php
178/cache/smarty/compile/c1/84/be/c184be0d908d8a35a3e7057fbf22cbe08d86fb68.file.header.tpl.php
179/cache/smarty/compile/44/51/28/4451285f9a9e524f1f00f74e19198aea0a88d557.file.dropdown.tpl.php
180/vendor/smarty/smarty/libs/plugins/modifier.replace.php
181/cache/smarty/compile/ca/07/ec/ca07ec16f8add650ae86c5f663365dabe5abcb74.file.popup.tpl.php
182/classes/ProductDownload.php
183/classes/Category.php
184/cache/smarty/compile/23/d9/50/23d950eb5bca0098a846205df03cc7ded73f67b2.file.blocktopmenu.tpl.php
185/cache/smarty/compile/94/c3/de/94c3de1aae1a847b06c88423efa1dbcaeef0a508.file.blockuserinfo.tpl.php
186/modules/statsmodule/statsmodule.php
187/classes/module/ModuleStats.php
188/modules/statsmodule/translations/en.php
189/modules/statsmodule/stats/pagesnotfound.php
190/classes/Image.php
191/classes/ImageType.php
192/cache/smarty/compile/0b/da/26/0bda263d43746dc35bfffce5bdec19592f8b61bf.file.blocknewsletter.tpl.php
193/cache/smarty/compile/fd/5f/ba/fd5fbaa617938704ff0be2e4f52b987cc3c98a57.file.blocksocial.tpl.php
194/classes/CMS.php
195/classes/CMSCategory.php
196/cache/smarty/compile/40/04/e5/4004e5718b3df79e8265a16da515122afdb4adf6.file.blockcms.tpl.php
197/cache/smarty/compile/e1/2e/c7/e12ec73c1c44021e320ac57a5ba1c9f6a3467a1c.file.blockmyaccountfooter.tpl.php
198/cache/smarty/compile/51/62/0f/51620faef240da31ac8328fd7b8931e031d39f68.file.blockcontactinfos.tpl.php
199/vendor/smarty/smarty/libs/plugins/function.mailto.php
200/modules/statsdata/statsdata.php
201/modules/statsdata/translations/en.php
202/classes/Guest.php
203/classes/Connection.php
204/classes/Page.php
205/classes/ConnectionsSource.php
206/cache/smarty/compile/91/85/5c/91855ca08af270b49e470c5d06665ac709361fc6.file.hook.tpl.php
207/cache/smarty/compile/84/45/45/844545260645988334a414d584d50878043c5b87.file.stores.tpl.php
208/classes/Encryptor.php
209/classes/PhpEncryption.php
210/vendor/defuse/php-encryption/src/Key.php
211/vendor/defuse/php-encryption/src/Encoding.php
212/vendor/defuse/php-encryption/src/Core.php
213/vendor/defuse/php-encryption/src/Crypto.php
214/vendor/defuse/php-encryption/src/KeyOrPassword.php
215/vendor/defuse/php-encryption/src/RuntimeTests.php
216/vendor/defuse/php-encryption/src/DerivedKeys.php
217/vendor/defuse/php-encryption/src/Exception/WrongKeyOrModifiedCiphertextException.php
218/vendor/defuse/php-encryption/src/Exception/CryptoException.php
219/cache/smarty/compile/b8/20/3a/b8203ac35e6b8c9e037891f312ac465a6856a1b1.file.layout.tpl.php
220/cache/smarty/compile/b5/c9/01/b5c901cd42f3fddce99790eb9224292c765ab86a.file.header.tpl.php
221/cache/smarty/compile/70/ea/64/70ea64b46725fa21ecae184a5cee6e858ae85319.file.blockbanner.tpl.php
222/cache/smarty/compile/b4/8c/18/b48c18f36bd643446e3369e587ef3bc8f230afff.file.nav.tpl.php
223/cache/smarty/compile/ee/38/21/ee3821ac973ffb49e84452de3f49a6360b3c707e.file.blocklanguages.tpl.php
224/vendor/smarty/smarty/libs/plugins/modifier.regex_replace.php
225/cache/smarty/compile/25/f1/b2/25f1b238f8d3cfe6315bcd11072f0a14014fdf0a.file.nav.tpl.php
226/cache/smarty/compile/3a/4a/7c/3a4a7c0bc2419d320909029d3aaef46138c4a8ac.file.breadcrumb.tpl.php
227/cache/smarty/compile/3d/6b/f6/3d6bf63a93aac264363772ae5f74aa1ff4b26410.file.footer.tpl.php
228/cache/smarty/compile/3d/78/31/3d78313fa27c9d2fc52e71856375ec094b905a6c.file.global.tpl.php
229/cache/smarty/compile/8a/39/b1/8a39b100a2b6a002533fad065bda82ff5d8eca41.file.javascript.tpl.php
230/vendor/smarty/smarty/libs/plugins/shared.mb_str_replace.php