The Vietnam War: A History Just for Kids!

Price: $9.99
Product prices and availability are accurate as of 2021-11-06 07:55:58 UTC and are subject to change. Any price and availability information displayed on https://www.amazon.com/ at the time of purchase will apply to the purchase of this product.
Availability: In Stock
In Stock.
CERTAIN CONTENT THAT APPEARS ON THIS SITE COMES FROM AMAZON SERVICES LLC. THIS CONTENT IS PROVIDED 'AS IS' AND IS SUBJECT TO CHANGE OR REMOVAL AT ANY TIME.

Debug Overview

App Total Time DB Queries DB Query Total Time Amazon Requests
0.4996018409729 240 0.1163 0


No Amazon API Requests Made.


App Debug - Total Time 0.4996018409729 seconds

Number Time From Start Name Description
1 0.34714889526367 Initialise Initialise FSB Function
2 0.349280834198 App Controller Start Start of the App controller (called before the controller of every page)
3 0.35612297058105 Start of getCategoryListByGroup Function Before first category groups query
4 0.35647583007812 After initial query Before first category groups query
5 0.35647702217102 Get Category List for Group Before the call to getCategoryList function
6 0.35647892951965 Start of GetCategoryList function Start of the function
7 0.35648202896118 Before getting categories Query to get specific category list
8 0.35687398910522 After getting categories Query to get specific category list
9 0.35687494277954 Before getting category custom Before call to function getCategoryCustom
10 0.35913395881653 After getting category custom After call to function getCategoryCustom
11 0.35913586616516 Before getting category custom Before call to function getCategoryCustom
12 0.36029982566833 After getting category custom After call to function getCategoryCustom
13 0.36030101776123 Before getting category custom Before call to function getCategoryCustom
14 0.36164784431458 After getting category custom After call to function getCategoryCustom
15 0.36164879798889 Before getting category custom Before call to function getCategoryCustom
16 0.36270689964294 After getting category custom After call to function getCategoryCustom
17 0.36270785331726 End of GetCategoryList function End of the function
18 0.36270999908447 Get Category List for Group Before the call to getCategoryList function
19 0.36271095275879 Start of GetCategoryList function Start of the function
20 0.36271286010742 Before getting categories Query to get specific category list
21 0.36283302307129 End of getCategoryListByGroup Function Before return()
22 0.42235898971558 App Controller End End of the App controller (called before the controller of every page)
23 0.42306590080261 Product Start Start of the product info controller
24 0.42451190948486 Cache file not found Starting get product details
25 0.43619680404663 Related products Start getting related products if enabled
26 0.43619680404663 Related Products Start Before the related products are found
27 0.43619799613953 Related Products Keywords Before the related product keywords are found
28 0.43619990348816 Create Keyword List Function Start of function
29 0.43627500534058 Create Keyword List Function After looping provided content - 21 keywords found
30 0.43676280975342 Create Keyword List Function After looping initial keyword list - 16 keywords remaining
31 0.43677401542664 Create Keyword List Function After reducing keyword list
32 0.43680596351624 Create Keyword List Function After selecting by scoring keywords
33 0.43680882453918 Create Keyword List Function After final loop of keywords
34 0.43681001663208 Related Products Keywords After the related product keywords are found
35 0.44438195228577 Related Products End After the related products are found
36 0.44861102104187 Product End End of the product info controller (Product Info)
37 0.44956493377686 App_after Controller Start Start of the App_after controller (called after the controller of every page)
38 0.45009088516235 Before Get Options Before the call to getOptions in the tpl class
39 0.47047996520996 After Get Options After the call to getOptions in the tpl class
40 0.47060990333557 App_after Controller End End of the App_after controller (called after the controller of every page)
41 0.47063302993774 Product Info: Before Smarty Fetch Before the product.tpl template is fetched
42 0.48105001449585 Product Info: After Smarty Fetch After the product.tpl template is fetched
43 0.48105192184448 Product Info: Before Template Display Before the template is displayed
44 0.49958801269531 Product Info: After Template Display After the template is displayed
45 0.49959301948547 Finalizing debug Before the debug is output to the page.
46 0.4996018409729 End of App This is the end of the app logging, final timestamp


Query Debug - 240 Database Queries. Total time 0.1163 seconds

Number Time (Seconds) Time (Milliseconds) Query
1 0.0007 0.0006709098815918
SELECT parameter, value FROM parameters
2 0.0008 0.00083398818969727
SELECT * FROM `bad_bots`
3 0.0007 0.00066995620727539
SET time_zone = 'Europe/London'
4 0.0003 0.0003211498260498
SELECT version FROM version ORDER BY `installed` DESC LIMIT 1
5 0.0015 0.0014669895172119
INSERT INTO ga_users (`isbot`, `ips`) SELECT '1', 'a:1:{i:0;s:13:\"34.228.229.51\";}'
6 0.0015 0.0015158653259277
INSERT INTO ga_sessions (`sessionlastseen`) SELECT '1638248533'
7 0.0008 0.00083708763122559
SELECT * FROM autorun ORDER BY lastrun ASC
8 0.0004 0.00035381317138672
UPDATE autorun SET lastrun = '2021-11-30 05:02:13' WHERE id = '8'
9 0.0001 9.9897384643555E-5
SELECT * FROM version ORDER BY installed DESC LIMIT 1
10 0.0002 0.00016498565673828
SELECT id FROM pages WHERE pagename = 'the-vietnam-war-a-history-just-for-kids' LIMIT 1
11 0.0011 0.0011470317840576
SELECT id FROM products WHERE pagename = 'the-vietnam-war-a-history-just-for-kids' AND hidden = 0 LIMIT 1
12 0.0008 0.00081396102905273
SELECT * FROM template_options WHERE deleted = 0 AND templateuid = 'fsb-fluid'
13 0.0055 0.0054740905761719
SELECT * FROM template_text WHERE deleted = 0 AND templateuid = 'fsb-fluid' AND language = 'en'
14 0.0001 0.00013184547424316
SELECT * FROM pages WHERE pagename = 'the-vietnam-war-a-history-just-for-kids'
15 0.0003 0.00034308433532715
SELECT * FROM categorygroups ORDER BY sortorder ASC
16 0.0004 0.00037693977355957
SELECT * FROM categories WHERE parent_id = '0' AND categorygroup_id = '1'  AND hidden = 0 ORDER BY sortorder ASC
17 0.0011 0.0011048316955566
SELECT COUNT(DISTINCT(c.product_id)) FROM products_categories c, products p WHERE c.product_id = p.id AND p.parent_id = 0 AND c.category_id = 27
18 0.0002 0.00015711784362793
SELECT COUNT(*) FROM ebay_products p, products_categories pc WHERE p.id = pc.product_id AND prod_type = 'ebay' AND pc.category_id = 27
19 0.0001 0.00011205673217773
SELECT COUNT(DISTINCT(bundle_id)) FROM bundle_categories WHERE category_id = 27
20 0.0001 8.2969665527344E-5
SELECT id FROM categories WHERE parent_id = '27'
21 0.0002 0.00021910667419434
SELECT COUNT(DISTINCT(p.id)) FROM products p, products_categories c
				WHERE p.id = c.product_id
				  AND c.category_id IN (27)
				  AND p.parent_id = 0
				  AND p.hidden = 0
				  AND p.enabled = 1 
22 0.0001 0.00012779235839844
SELECT COUNT(DISTINCT(p.id)) FROM bundles p, bundle_categories c
				WHERE p.id = c.bundle_id
				  AND c.category_id IN (27)
				  AND p.disabled = 0 
23 0.0002 0.00015616416931152
SELECT COUNT(DISTINCT(cp.id)) FROM custom_products cp, products_categories c
				WHERE cp.id = c.product_id
				  AND c.category_id IN (27)
				  AND c.prod_type = 'custom'
				  AND cp.hide = 0
24 0.0001 0.00011301040649414
SELECT COUNT(DISTINCT(id)) FROM categories_autopopulate WHERE category_id = '27'
25 0.0001 8.6069107055664E-5
SELECT * FROM categorygroups WHERE id = '1'
26 0.0002 0.00023102760314941
SELECT COUNT(DISTINCT(c.product_id)) FROM products_categories c, products p WHERE c.product_id = p.id AND p.parent_id = 0 AND c.category_id = 29
27 0.0001 9.608268737793E-5
SELECT COUNT(*) FROM ebay_products p, products_categories pc WHERE p.id = pc.product_id AND prod_type = 'ebay' AND pc.category_id = 29
28 0.0001 7.2002410888672E-5
SELECT COUNT(DISTINCT(bundle_id)) FROM bundle_categories WHERE category_id = 29
29 0.0001 9.7036361694336E-5
SELECT id FROM categories WHERE parent_id = '29'
30 0.0002 0.00024795532226562
SELECT COUNT(DISTINCT(p.id)) FROM products p, products_categories c
				WHERE p.id = c.product_id
				  AND c.category_id IN (29)
				  AND p.parent_id = 0
				  AND p.hidden = 0
				  AND p.enabled = 1 
31 0.0001 8.4161758422852E-5
SELECT COUNT(DISTINCT(p.id)) FROM bundles p, bundle_categories c
				WHERE p.id = c.bundle_id
				  AND c.category_id IN (29)
				  AND p.disabled = 0 
32 0.0001 9.7036361694336E-5
SELECT COUNT(DISTINCT(cp.id)) FROM custom_products cp, products_categories c
				WHERE cp.id = c.product_id
				  AND c.category_id IN (29)
				  AND c.prod_type = 'custom'
				  AND cp.hide = 0
33 0.0001 7.2002410888672E-5
SELECT COUNT(DISTINCT(id)) FROM categories_autopopulate WHERE category_id = '29'
34 0.0001 8.2969665527344E-5
SELECT * FROM categorygroups WHERE id = '1'
35 0.0004 0.00035285949707031
SELECT COUNT(DISTINCT(c.product_id)) FROM products_categories c, products p WHERE c.product_id = p.id AND p.parent_id = 0 AND c.category_id = 30
36 0.0001 9.608268737793E-5
SELECT COUNT(*) FROM ebay_products p, products_categories pc WHERE p.id = pc.product_id AND prod_type = 'ebay' AND pc.category_id = 30
37 0.0001 7.2002410888672E-5
SELECT COUNT(DISTINCT(bundle_id)) FROM bundle_categories WHERE category_id = 30
38 0.0001 8.2969665527344E-5
SELECT id FROM categories WHERE parent_id = '30'
39 0.0003 0.00030517578125
SELECT COUNT(DISTINCT(p.id)) FROM products p, products_categories c
				WHERE p.id = c.product_id
				  AND c.category_id IN (30)
				  AND p.parent_id = 0
				  AND p.hidden = 0
				  AND p.enabled = 1 
40 0.0001 8.392333984375E-5
SELECT COUNT(DISTINCT(p.id)) FROM bundles p, bundle_categories c
				WHERE p.id = c.bundle_id
				  AND c.category_id IN (30)
				  AND p.disabled = 0 
41 0.0001 9.7036361694336E-5
SELECT COUNT(DISTINCT(cp.id)) FROM custom_products cp, products_categories c
				WHERE cp.id = c.product_id
				  AND c.category_id IN (30)
				  AND c.prod_type = 'custom'
				  AND cp.hide = 0
42 0.0001 7.2002410888672E-5
SELECT COUNT(DISTINCT(id)) FROM categories_autopopulate WHERE category_id = '30'
43 0.0001 9.4890594482422E-5
SELECT * FROM categorygroups WHERE id = '1'
44 0.0002 0.00017595291137695
SELECT COUNT(DISTINCT(c.product_id)) FROM products_categories c, products p WHERE c.product_id = p.id AND p.parent_id = 0 AND c.category_id = 38
45 0.0001 0.00010299682617188
SELECT COUNT(*) FROM ebay_products p, products_categories pc WHERE p.id = pc.product_id AND prod_type = 'ebay' AND pc.category_id = 38
46 0.0001 7.1048736572266E-5
SELECT COUNT(DISTINCT(bundle_id)) FROM bundle_categories WHERE category_id = 38
47 0.0001 9.0122222900391E-5
SELECT id FROM categories WHERE parent_id = '38'
48 0.0002 0.00018811225891113
SELECT COUNT(DISTINCT(p.id)) FROM products p, products_categories c
				WHERE p.id = c.product_id
				  AND c.category_id IN (38)
				  AND p.parent_id = 0
				  AND p.hidden = 0
				  AND p.enabled = 1 
49 0.0001 8.3208084106445E-5
SELECT COUNT(DISTINCT(p.id)) FROM bundles p, bundle_categories c
				WHERE p.id = c.bundle_id
				  AND c.category_id IN (38)
				  AND p.disabled = 0 
50 0.0001 9.608268737793E-5
SELECT COUNT(DISTINCT(cp.id)) FROM custom_products cp, products_categories c
				WHERE cp.id = c.product_id
				  AND c.category_id IN (38)
				  AND c.prod_type = 'custom'
				  AND cp.hide = 0
51 0.0001 8.2015991210938E-5
SELECT COUNT(DISTINCT(id)) FROM categories_autopopulate WHERE category_id = '38'
52 0.0001 8.2969665527344E-5
SELECT * FROM categorygroups WHERE id = '1'
53 0.0001 0.00011110305786133
SELECT * FROM categories WHERE parent_id = '0' AND categorygroup_id = '2'  AND hidden = 0 ORDER BY sortorder ASC
54 0.0010 0.0010480880737305
SELECT * FROM manufacturers m WHERE m.display_sidebar = 1 AND m.merge_manufacturer_id = 0 ORDER BY linktitle ASC
55 0.0005 0.0005030632019043
SELECT * FROM sideboxes WHERE (templateuid = 'fsb-fluid' OR templateuid = '') AND enabled = 1 ORDER BY sortorder ASC
56 0.0002 0.00018000602722168
SELECT value FROM parameters WHERE parameter IN('EBAY_APP_ID' , 'EBAY_TRACKING_ID','EBAY_NETWORK_ID' , 'GOOGLE_SITE_KEY' , 'GOOGLE_SECRET_KEY' ,'GOOGLE_RECAPTCHA_TYPE','EBAY_AUTH_TOKEN','EBAY_LOCALE')ORDER BY parameter ASC
57 0.0002 0.00020503997802734
SELECT value FROM template_options WHERE templateuid = 'fsb-fluid' AND optionuid = 'DISPLAY_CREDIT_ICON'
58 0.0007 0.00073385238647461
SELECT * FROM pages WHERE core = 1 ORDER BY pagekey
59 0.0513 0.051304817199707
SELECT * FROM ipgeocountries WHERE INET_ATON('34.228.229.51') >= INET_ATON(ip_start) AND INET_ATON('34.228.229.51') <= INET_ATON(ip_end)
60 0.0005 0.00053906440734863
SELECT * FROM ipgeolocations WHERE geoname_id = '6252001'
61 0.0010 0.00096893310546875
SELECT * FROM countryredirects WHERE countrycode = 'US'
62 0.0002 0.00018215179443359
SELECT * FROM products WHERE pagename = 'the-vietnam-war-a-history-just-for-kids'
63 0.0005 0.0005180835723877
UPDATE products SET viewcount = viewcount + 1 WHERE id = 812
64 0.0004 0.00041103363037109
SELECT * FROM manufacturers WHERE id = '173'
65 0.0005 0.00050878524780273
SELECT COUNT(DISTINCT(p.id)) FROM products p WHERE p.parent_id = 0 AND p.manufacturer_id = '173'
66 0.0009 0.00089502334594727
SELECT filename FROM manufacturerimages WHERE manufacturer_id = '173' LIMIT 1
67 0.0006 0.00055384635925293
SELECT p.pagename, p.id FROM products p, productimages i WHERE p.id = i.product_id AND manufacturer_id = '173' ORDER BY RAND() LIMIT 1
68 0.0011 0.0010578632354736
SELECT * FROM productimages WHERE product_id = '812' ORDER BY sortorder ASC
69 0.0003 0.00025200843811035
SELECT COUNT(DISTINCT(p.id)) FROM products p WHERE p.parent_id = 0 AND p.manufacturer_id = '173'
70 0.0003 0.00026488304138184
SELECT COUNT(DISTINCT(p.id)) FROM products p
				WHERE p.manufacturer_id = '173'
				  AND p.hidden = 0
				  AND p.enabled = 1
				  AND p.parent_id = 0 
71 0.0001 8.5115432739258E-5
SELECT * FROM manufacturerimages WHERE manufacturer_id = '173'
72 0.0001 8.9168548583984E-5
SELECT category_id FROM products_categories WHERE product_id = '812'
73 0.0001 0.00010490417480469
SELECT * FROM categories WHERE id = '30'
74 0.0003 0.00027298927307129
SELECT COUNT(DISTINCT(c.product_id)) FROM products_categories c, products p WHERE c.product_id = p.id AND p.parent_id = 0 AND c.category_id = 30
75 0.0001 7.2002410888672E-5
SELECT COUNT(DISTINCT(bundle_id)) FROM bundle_categories WHERE category_id = 30
76 0.0001 7.8916549682617E-5
SELECT id FROM categories WHERE parent_id = '30'
77 0.0003 0.00029397010803223
SELECT COUNT(DISTINCT(p.id)) FROM products p, products_categories c
				WHERE p.id = c.product_id
				  AND c.category_id IN (30)
				  AND p.parent_id = 0
				  AND p.hidden = 0
				  AND p.enabled = 1 
78 0.0001 8.6069107055664E-5
SELECT COUNT(DISTINCT(p.id)) FROM bundles p, bundle_categories c
				WHERE p.id = c.bundle_id
				  AND c.category_id IN (30)
				  AND p.disabled = 0 
79 0.0001 9.5844268798828E-5
SELECT COUNT(DISTINCT(cp.id)) FROM custom_products cp, products_categories c
				WHERE cp.id = c.product_id
				  AND c.category_id IN (30)
				  AND c.prod_type = 'custom'
				  AND cp.hide = 0
80 0.0001 7.8201293945312E-5
SELECT COUNT(DISTINCT(id)) FROM categories_autopopulate WHERE category_id = '30'
81 0.0001 0.00011897087097168
SELECT * FROM productimages WHERE product_id = '812' ORDER BY sortorder ASC
82 0.0005 0.00047206878662109
SELECT * FROM product_image_select WHERE product_id = '812'
83 0.0004 0.00043606758117676
SELECT * FROM productcustomimages WHERE product_id = '812'
84 0.0004 0.00036096572875977
SELECT * FROM productfeeds WHERE product_id = '812' ORDER BY item_date DESC
85 0.0004 0.00042200088500977
SELECT a.name, n.displayname, a.value, n.units, n.valuetype FROM productattributes a, productattributenames n WHERE product_id = '812' AND a.name = n.originalname AND n.display = 1 AND n.hidden = 0
86 0.0009 0.00092291831970215
SELECT DISTINCT(pt.tag_id) FROM product_tags pt, tags t WHERE pt.tag_id = t.id AND pt.product_id = '812' AND t.hidden = 0 AND display_product = 1
87 0.0007 0.0007011890411377
SELECT * FROM productamazoncontent WHERE product_id = '812'
88 0.0016 0.001619815826416
SELECT a.name, n.displayname,a.value FROM productattributes a, productattributenames n WHERE product_id = '812' AND a.name = n.originalname
89 0.0004 0.00037193298339844
SELECT * FROM productoffers WHERE product_id = '812' AND merchantid = 'ATVPDKIKX0DER'
90 0.0001 0.00012588500976562
SELECT * FROM productoffers
                WHERE product_id = '812' AND price > 0
                ORDER BY price ASC LIMIT 1
91 0.0001 0.00014901161193848
SELECT value FROM productattributes WHERE product_id = '812' AND (name = 'ListPriceAmount' OR name = 'ListPriceFormattedPrice') ORDER BY name LIMIT 1
92 0.0002 0.00018095970153809
SELECT value FROM parameters WHERE parameter IN('EBAY_APP_ID' , 'EBAY_TRACKING_ID','EBAY_NETWORK_ID' , 'GOOGLE_SITE_KEY' , 'GOOGLE_SECRET_KEY' ,'GOOGLE_RECAPTCHA_TYPE','EBAY_AUTH_TOKEN','EBAY_LOCALE')ORDER BY parameter ASC
93 0.0008 0.00081706047058105
SELECT *, MATCH (description, title) AGAINST ('war a history' IN BOOLEAN MODE) AS `searchrelevance` FROM products WHERE MATCH (description, title) AGAINST ('war a history' IN BOOLEAN MODE) AND 812 <> 0 AND enabled = 1 AND hidden = 0 AND offers > 0 AND parent_id = 0 ORDER BY `searchrelevance` LIMIT 3
94 0.0002 0.00015091896057129
SELECT *, MATCH (description, title) AGAINST ('war a history' IN BOOLEAN MODE) AS `searchrelevance` FROM ebay_products WHERE MATCH (description, title) AGAINST ('war a history' IN BOOLEAN MODE) AND 812 <> 0 AND hide = 0  ORDER BY `searchrelevance` LIMIT 3
95 0.0001 0.00013303756713867
SELECT *, MATCH (description, title) AGAINST ('war a history' IN BOOLEAN MODE) AS `searchrelevance` FROM custom_products WHERE MATCH (description, title) AGAINST ('war a history' IN BOOLEAN MODE) AND 812 <> 0 AND hide = 0  ORDER BY `searchrelevance` LIMIT 3
96 0.0007 0.00070810317993164
SELECT * FROM productimages WHERE product_id = '761' ORDER BY sortorder ASC
97 0.0001 0.00013995170593262
SELECT * FROM product_image_select WHERE product_id = '761'
98 0.0001 0.00011301040649414
SELECT * FROM productcustomimages WHERE product_id = '761'
99 0.0008 0.0007779598236084
SELECT a.name, n.displayname,a.value FROM productattributes a, productattributenames n WHERE product_id = '761' AND a.name = n.originalname
100 0.0003 0.00029993057250977
SELECT * FROM productoffers WHERE product_id = '761' AND merchantid = 'ATVPDKIKX0DER'
101 0.0001 0.00011992454528809
SELECT * FROM productoffers
                WHERE product_id = '761' AND price > 0
                ORDER BY price ASC LIMIT 1
102 0.0001 0.00013399124145508
SELECT value FROM productattributes WHERE product_id = '761' AND (name = 'ListPriceAmount' OR name = 'ListPriceFormattedPrice') ORDER BY name LIMIT 1
103 0.0003 0.00034499168395996
SELECT * FROM productimages WHERE product_id = '785' ORDER BY sortorder ASC
104 0.0001 0.00014209747314453
SELECT * FROM product_image_select WHERE product_id = '785'
105 0.0001 9.7990036010742E-5
SELECT * FROM productcustomimages WHERE product_id = '785'
106 0.0008 0.00081086158752441
SELECT a.name, n.displayname,a.value FROM productattributes a, productattributenames n WHERE product_id = '785' AND a.name = n.originalname
107 0.0003 0.00031399726867676
SELECT * FROM productoffers WHERE product_id = '785' AND merchantid = 'ATVPDKIKX0DER'
108 0.0001 0.00011897087097168
SELECT * FROM productoffers
                WHERE product_id = '785' AND price > 0
                ORDER BY price ASC LIMIT 1
109 0.0001 0.00013589859008789
SELECT value FROM productattributes WHERE product_id = '785' AND (name = 'ListPriceAmount' OR name = 'ListPriceFormattedPrice') ORDER BY name LIMIT 1
110 0.0003 0.00031518936157227
SELECT * FROM productimages WHERE product_id = '749' ORDER BY sortorder ASC
111 0.0001 0.00014209747314453
SELECT * FROM product_image_select WHERE product_id = '749'
112 0.0001 9.7990036010742E-5
SELECT * FROM productcustomimages WHERE product_id = '749'
113 0.0006 0.00061488151550293
SELECT a.name, n.displayname,a.value FROM productattributes a, productattributenames n WHERE product_id = '749' AND a.name = n.originalname
114 0.0003 0.00031590461730957
SELECT * FROM productoffers WHERE product_id = '749' AND merchantid = 'ATVPDKIKX0DER'
115 0.0001 0.00011992454528809
SELECT * FROM productoffers
                WHERE product_id = '749' AND price > 0
                ORDER BY price ASC LIMIT 1
116 0.0001 0.00013613700866699
SELECT value FROM productattributes WHERE product_id = '749' AND (name = 'ListPriceAmount' OR name = 'ListPriceFormattedPrice') ORDER BY name LIMIT 1
117 0.0001 8.2969665527344E-5
SELECT id,asin FROM products WHERE parent_id = 812
118 0.0001 9.8943710327148E-5
SELECT category_id FROM products_categories WHERE product_id = '812'
119 0.0001 9.6797943115234E-5
SELECT * FROM categories WHERE id = '30'
120 0.0003 0.00028300285339355
SELECT COUNT(DISTINCT(c.product_id)) FROM products_categories c, products p WHERE c.product_id = p.id AND p.parent_id = 0 AND c.category_id = 30
121 0.0001 6.9856643676758E-5
SELECT COUNT(DISTINCT(bundle_id)) FROM bundle_categories WHERE category_id = 30
122 0.0001 7.7009201049805E-5
SELECT id FROM categories WHERE parent_id = '30'
123 0.0003 0.00028204917907715
SELECT COUNT(DISTINCT(p.id)) FROM products p, products_categories c
				WHERE p.id = c.product_id
				  AND c.category_id IN (30)
				  AND p.parent_id = 0
				  AND p.hidden = 0
				  AND p.enabled = 1 
124 0.0001 8.5115432739258E-5
SELECT COUNT(DISTINCT(p.id)) FROM bundles p, bundle_categories c
				WHERE p.id = c.bundle_id
				  AND c.category_id IN (30)
				  AND p.disabled = 0 
125 0.0001 0.00010514259338379
SELECT COUNT(DISTINCT(cp.id)) FROM custom_products cp, products_categories c
				WHERE cp.id = c.product_id
				  AND c.category_id IN (30)
				  AND c.prod_type = 'custom'
				  AND cp.hide = 0
126 0.0001 6.8902969360352E-5
SELECT COUNT(DISTINCT(id)) FROM categories_autopopulate WHERE category_id = '30'
127 0.0004 0.00036120414733887
SELECT a.name, n.displayname,a.value FROM productattributes a, productattributenames n WHERE product_id = '812' AND a.name = n.originalname
128 0.0001 0.00010395050048828
SELECT * FROM productoffers WHERE product_id = '812' AND merchantid = 'ATVPDKIKX0DER'
129 0.0001 0.00011897087097168
SELECT * FROM productoffers
                WHERE product_id = '812' AND price > 0
                ORDER BY price ASC LIMIT 1
130 0.0001 0.00011587142944336
SELECT * FROM products WHERE id = '812'
131 0.0001 0.00014591217041016
SELECT value FROM productattributes WHERE product_id = '812' AND (name = 'ListPriceAmount' OR name = 'ListPriceFormattedPrice') ORDER BY name LIMIT 1
132 0.0004 0.00035905838012695
SELECT a.name, n.displayname,a.value FROM productattributes a, productattributenames n WHERE product_id = '812' AND a.name = n.originalname
133 0.0001 0.00010204315185547
SELECT * FROM productoffers WHERE product_id = '812' AND merchantid = 'ATVPDKIKX0DER'
134 0.0001 0.00011801719665527
SELECT * FROM productoffers
                WHERE product_id = '812' AND price > 0
                ORDER BY price ASC LIMIT 1
135 0.0001 9.0122222900391E-5
SELECT category_id FROM products_categories WHERE product_id = '812' AND prod_type = 'amz'
136 0.0001 8.0108642578125E-5
SELECT parent_id FROM categories WHERE id = '30'
137 0.0001 0.00010514259338379
SELECT * FROM categories WHERE id = '30'
138 0.0003 0.00027298927307129
SELECT COUNT(DISTINCT(c.product_id)) FROM products_categories c, products p WHERE c.product_id = p.id AND p.parent_id = 0 AND c.category_id = 30
139 0.0001 6.7949295043945E-5
SELECT COUNT(DISTINCT(bundle_id)) FROM bundle_categories WHERE category_id = 30
140 0.0001 7.7009201049805E-5
SELECT id FROM categories WHERE parent_id = '30'
141 0.0003 0.00027799606323242
SELECT COUNT(DISTINCT(p.id)) FROM products p, products_categories c
				WHERE p.id = c.product_id
				  AND c.category_id IN (30)
				  AND p.parent_id = 0
				  AND p.hidden = 0
				  AND p.enabled = 1 
142 0.0001 8.2969665527344E-5
SELECT COUNT(DISTINCT(p.id)) FROM bundles p, bundle_categories c
				WHERE p.id = c.bundle_id
				  AND c.category_id IN (30)
				  AND p.disabled = 0 
143 0.0001 9.2983245849609E-5
SELECT COUNT(DISTINCT(cp.id)) FROM custom_products cp, products_categories c
				WHERE cp.id = c.product_id
				  AND c.category_id IN (30)
				  AND c.prod_type = 'custom'
				  AND cp.hide = 0
144 0.0001 7.8916549682617E-5
SELECT COUNT(DISTINCT(id)) FROM categories_autopopulate WHERE category_id = '30'
145 0.0003 0.00034499168395996
SELECT * FROM template_info WHERE templateuid = 'fsb-fluid'
146 0.0004 0.00035285949707031
SELECT ga_value FROM google_analytics_options WHERE `ga_key` = 'ga_user_data'
147 0.0001 8.9883804321289E-5
SELECT ga_value FROM google_analytics_options WHERE `ga_key` = 'ga_tracking_status'
148 0.0001 0.00011801719665527
SELECT * FROM pages WHERE id = 38
149 0.0001 9.5844268798828E-5
SELECT * FROM categories WHERE id = '27'
150 0.0002 0.0002138614654541
SELECT COUNT(DISTINCT(c.product_id)) FROM products_categories c, products p WHERE c.product_id = p.id AND p.parent_id = 0 AND c.category_id = 27
151 0.0001 7.1048736572266E-5
SELECT COUNT(DISTINCT(bundle_id)) FROM bundle_categories WHERE category_id = 27
152 0.0001 7.8916549682617E-5
SELECT id FROM categories WHERE parent_id = '27'
153 0.0002 0.00020599365234375
SELECT COUNT(DISTINCT(p.id)) FROM products p, products_categories c
				WHERE p.id = c.product_id
				  AND c.category_id IN (27)
				  AND p.parent_id = 0
				  AND p.hidden = 0
				  AND p.enabled = 1 
154 0.0001 8.5830688476562E-5
SELECT COUNT(DISTINCT(p.id)) FROM bundles p, bundle_categories c
				WHERE p.id = c.bundle_id
				  AND c.category_id IN (27)
				  AND p.disabled = 0 
155 0.0001 9.7036361694336E-5
SELECT COUNT(DISTINCT(cp.id)) FROM custom_products cp, products_categories c
				WHERE cp.id = c.product_id
				  AND c.category_id IN (27)
				  AND c.prod_type = 'custom'
				  AND cp.hide = 0
156 0.0001 6.8902969360352E-5
SELECT COUNT(DISTINCT(id)) FROM categories_autopopulate WHERE category_id = '27'
157 0.0002 0.00017094612121582
SELECT COUNT(DISTINCT(c.product_id)) FROM products_categories c, products p WHERE c.product_id = p.id AND p.parent_id = 0 AND c.category_id = 27
158 0.0001 6.8902969360352E-5
SELECT COUNT(DISTINCT(bundle_id)) FROM bundle_categories WHERE category_id = 27
159 0.0002 0.00018501281738281
SELECT COUNT(DISTINCT(p.id)) FROM products p, products_categories c
				WHERE p.id = c.product_id
				  AND c.category_id IN (27)
				  AND p.parent_id = 0
				  AND p.hidden = 0
				  AND p.enabled = 1 
160 0.0001 8.7976455688477E-5
SELECT COUNT(DISTINCT(p.id)) FROM bundles p, bundle_categories c
				WHERE p.id = c.bundle_id
				  AND c.category_id IN (27)
				  AND p.disabled = 0 
161 0.0001 9.4890594482422E-5
SELECT COUNT(DISTINCT(cp.id)) FROM custom_products cp, products_categories c
				WHERE cp.id = c.product_id
				  AND c.category_id IN (27)
				  AND c.prod_type = 'custom'
				  AND cp.hide = 0
162 0.0001 6.9141387939453E-5
SELECT COUNT(DISTINCT(id)) FROM categories_autopopulate WHERE category_id = '27'
163 0.0001 7.9154968261719E-5
SELECT id FROM categories WHERE parent_id = '27'
164 0.0002 0.00020885467529297
SELECT p.id FROM products p, products_categories c WHERE p.id = c.product_id AND c.category_id IN (27) AND p.hidden = 0 AND p.salesrank > 0 AND (p.price > 0 OR p.parent = 1) ORDER BY p.salesrank ASC LIMIT 1
165 0.0001 0.00012111663818359
SELECT * FROM productimages WHERE product_id = '819' ORDER BY sortorder ASC
166 0.0003 0.00033187866210938
SELECT * FROM categoryimages WHERE category_id = 27
167 0.0001 9.7036361694336E-5
SELECT * FROM categorygroups WHERE id = '1'
168 0.0002 0.0001990795135498
SELECT MIN(p.price) as minprice, MAX(p.price) as maxprice
		FROM products p, products_categories c
		WHERE p.id = c.product_id
		  AND c.category_id = '27'
		  AND p.offers > 0
		  AND p.hidden = 0
		  AND p.enabled = 1
		  AND p.parent = 0
		  AND p.price > 0
169 0.0001 9.1791152954102E-5
SELECT * FROM categories WHERE id = '30'
170 0.0003 0.00026512145996094
SELECT COUNT(DISTINCT(c.product_id)) FROM products_categories c, products p WHERE c.product_id = p.id AND p.parent_id = 0 AND c.category_id = 30
171 0.0001 8.1062316894531E-5
SELECT COUNT(DISTINCT(bundle_id)) FROM bundle_categories WHERE category_id = 30
172 0.0001 7.7962875366211E-5
SELECT id FROM categories WHERE parent_id = '30'
173 0.0003 0.0002899169921875
SELECT COUNT(DISTINCT(p.id)) FROM products p, products_categories c
				WHERE p.id = c.product_id
				  AND c.category_id IN (30)
				  AND p.parent_id = 0
				  AND p.hidden = 0
				  AND p.enabled = 1 
174 0.0001 7.9870223999023E-5
SELECT COUNT(DISTINCT(p.id)) FROM bundles p, bundle_categories c
				WHERE p.id = c.bundle_id
				  AND c.category_id IN (30)
				  AND p.disabled = 0 
175 0.0001 0.00010204315185547
SELECT COUNT(DISTINCT(cp.id)) FROM custom_products cp, products_categories c
				WHERE cp.id = c.product_id
				  AND c.category_id IN (30)
				  AND c.prod_type = 'custom'
				  AND cp.hide = 0
176 0.0001 6.7949295043945E-5
SELECT COUNT(DISTINCT(id)) FROM categories_autopopulate WHERE category_id = '30'
177 0.0003 0.00029706954956055
SELECT COUNT(DISTINCT(c.product_id)) FROM products_categories c, products p WHERE c.product_id = p.id AND p.parent_id = 0 AND c.category_id = 30
178 0.0001 6.8187713623047E-5
SELECT COUNT(DISTINCT(bundle_id)) FROM bundle_categories WHERE category_id = 30
179 0.0003 0.00028586387634277
SELECT COUNT(DISTINCT(p.id)) FROM products p, products_categories c
				WHERE p.id = c.product_id
				  AND c.category_id IN (30)
				  AND p.parent_id = 0
				  AND p.hidden = 0
				  AND p.enabled = 1 
180 0.0001 8.8930130004883E-5
SELECT COUNT(DISTINCT(p.id)) FROM bundles p, bundle_categories c
				WHERE p.id = c.bundle_id
				  AND c.category_id IN (30)
				  AND p.disabled = 0 
181 0.0001 9.2983245849609E-5
SELECT COUNT(DISTINCT(cp.id)) FROM custom_products cp, products_categories c
				WHERE cp.id = c.product_id
				  AND c.category_id IN (30)
				  AND c.prod_type = 'custom'
				  AND cp.hide = 0
182 0.0001 6.7949295043945E-5
SELECT COUNT(DISTINCT(id)) FROM categories_autopopulate WHERE category_id = '30'
183 0.0001 8.6069107055664E-5
SELECT id FROM categories WHERE parent_id = '30'
184 0.0003 0.00030994415283203
SELECT p.id FROM products p, products_categories c WHERE p.id = c.product_id AND c.category_id IN (30) AND p.hidden = 0 AND p.salesrank > 0 AND (p.price > 0 OR p.parent = 1) ORDER BY p.salesrank ASC LIMIT 1
185 0.0001 0.00012803077697754
SELECT * FROM productimages WHERE product_id = '830' ORDER BY sortorder ASC
186 0.0001 9.0122222900391E-5
SELECT * FROM categoryimages WHERE category_id = 30
187 0.0001 8.082389831543E-5
SELECT * FROM categorygroups WHERE id = '1'
188 0.0003 0.00028610229492188
SELECT MIN(p.price) as minprice, MAX(p.price) as maxprice
		FROM products p, products_categories c
		WHERE p.id = c.product_id
		  AND c.category_id = '30'
		  AND p.offers > 0
		  AND p.hidden = 0
		  AND p.enabled = 1
		  AND p.parent = 0
		  AND p.price > 0
189 0.0001 9.5129013061523E-5
SELECT * FROM pages WHERE id = 59
190 0.0001 9.608268737793E-5
SELECT * FROM pages WHERE id = 55
191 0.0002 0.00016498565673828
SELECT DISTINCT p.id FROM products p, productoffers o
            WHERE p.id IN (SELECT DISTINCT(pc.product_id) FROM products_categories pc WHERE pc.product_id = p.id AND pc.category_id IN (32)) AND p.parent_id = 0
192 0.0003 0.00032711029052734
UPDATE template_options SET value = 'a:11:{s:14:\"populationtype\";s:9:\"automatic\";s:12:\"productcount\";s:0:\"\";s:12:\"maxsalesrank\";s:0:\"\";s:8:\"minprice\";s:1:\"0\";s:8:\"maxprice\";s:1:\"0\";s:9:\"minimages\";s:0:\"\";s:10:\"categories\";a:1:{i:0;s:2:\"32\";}s:10:\"updatetime\";s:1:\"0\";s:13:\"selectiontype\";s:6:\"random\";s:11:\"lastupdated\";i:1638248533;s:8:\"products\";a:0:{}}' WHERE id = '8'
193 0.0002 0.00021219253540039
SELECT DISTINCT p.id FROM products p, productoffers o
            WHERE p.id IN (SELECT DISTINCT(pc.product_id) FROM products_categories pc WHERE pc.product_id = p.id AND pc.category_id IN (38)) AND p.parent_id = 0 LIMIT 3
194 0.0001 0.00010108947753906
UPDATE template_options SET value = 'a:10:{s:14:\"populationtype\";s:9:\"automatic\";s:12:\"productcount\";s:1:\"3\";s:12:\"maxsalesrank\";s:0:\"\";s:8:\"minprice\";s:1:\"0\";s:8:\"maxprice\";s:1:\"0\";s:9:\"minimages\";s:0:\"\";s:10:\"categories\";a:1:{i:0;s:2:\"38\";}s:13:\"selectiontype\";s:6:\"random\";s:11:\"lastupdated\";i:1638248533;s:8:\"products\";a:3:{i:0;s:11:\"7004|amazon\";i:1;s:11:\"7011|amazon\";i:2;s:11:\"7045|amazon\";}}' WHERE id = '16'
195 0.0002 0.0001988410949707
SELECT * FROM products WHERE id = 7004
196 0.0001 0.00011205673217773
SELECT * FROM products WHERE id = 7011
197 0.0001 0.0001220703125
SELECT * FROM products WHERE id = 7045
198 0.0001 0.00011277198791504
SELECT * FROM products WHERE id = '7004'
199 0.0001 0.00012707710266113
SELECT * FROM productimages WHERE product_id = '7004' ORDER BY sortorder ASC
200 0.0001 0.0001370906829834
SELECT * FROM product_image_select WHERE product_id = '7004'
201 0.0001 0.00010085105895996
SELECT * FROM productcustomimages WHERE product_id = '7004'
202 0.0007 0.00071978569030762
SELECT a.name, n.displayname,a.value FROM productattributes a, productattributenames n WHERE product_id = '7004' AND a.name = n.originalname
203 0.0001 0.00011301040649414
SELECT * FROM productoffers WHERE product_id = '7004' AND merchantid = 'ATVPDKIKX0DER'
204 0.0001 0.0001220703125
SELECT * FROM productoffers
                WHERE product_id = '7004' AND price > 0
                ORDER BY price ASC LIMIT 1
205 0.0002 0.00015592575073242
SELECT value FROM productattributes WHERE product_id = '7004' AND (name = 'ListPriceAmount' OR name = 'ListPriceFormattedPrice') ORDER BY name LIMIT 1
206 0.0001 0.00011897087097168
SELECT * FROM products WHERE id = '7011'
207 0.0001 0.00012016296386719
SELECT * FROM productimages WHERE product_id = '7011' ORDER BY sortorder ASC
208 0.0002 0.00016212463378906
SELECT * FROM product_image_select WHERE product_id = '7011'
209 0.0001 0.00010085105895996
SELECT * FROM productcustomimages WHERE product_id = '7011'
210 0.0007 0.00073385238647461
SELECT a.name, n.displayname,a.value FROM productattributes a, productattributenames n WHERE product_id = '7011' AND a.name = n.originalname
211 0.0001 0.00010204315185547
SELECT * FROM productoffers WHERE product_id = '7011' AND merchantid = 'ATVPDKIKX0DER'
212 0.0001 0.00010895729064941
SELECT * FROM productoffers
                WHERE product_id = '7011' AND price > 0
                ORDER BY price ASC LIMIT 1
213 0.0001 0.00010514259338379
SELECT * FROM productoffers
                WHERE product_id = 7011
                ORDER BY price ASC LIMIT 1
214 0.0001 0.00012016296386719
SELECT value FROM productattributes
                WHERE product_id = '7011'
                AND name = 'ListPriceAmount'
215 0.0001 0.00013303756713867
SELECT * FROM products WHERE id = '7045'
216 0.0001 0.00010204315185547
SELECT * FROM productimages WHERE product_id = '7045' ORDER BY sortorder ASC
217 0.0001 0.00014901161193848
SELECT pi.*, p.parent_id FROM productimages pi, products p WHERE p.parent_id = '7045' AND p.id = pi.product_id ORDER BY pi.sortorder
218 0.0001 0.00013494491577148
SELECT * FROM product_image_select WHERE product_id = '7045'
219 0.0001 9.8943710327148E-5
SELECT * FROM productcustomimages WHERE product_id = '7045'
220 0.0001 0.0001380443572998
SELECT  o.product_id, MIN(o.price) as price, p.customprice
                FROM    products        p,
                        productoffers   o
                WHERE   p.id        = o.product_id
                  AND   p.parent_id = '7045'
                GROUP BY o.product_id
221 0.0007 0.00065207481384277
SELECT  n.displayname, o.name
                FROM    productoptionnames  n,
                        productoptions      o,
                        products            p
                WHERE   n.originalname  = o.name
                  AND   o.product_id    = p.id
                  AND   p.parent_id     = '7045'
                GROUP BY n.displayname
                ORDER BY n.displayname DESC
222 0.0001 0.00011801719665527
SELECT MAX(amountsaved) AS maxsaving, MIN(amountsaved) AS minsaving FROM productoffers o, products p WHERE o.product_id = p.id AND p.parent_id = 7045
223 0.0005 0.00051093101501465
SELECT a.name, n.displayname,a.value FROM productattributes a, productattributenames n WHERE product_id = '7045' AND a.name = n.originalname
224 0.0001 9.8943710327148E-5
SELECT * FROM productoffers WHERE product_id = '7045' AND merchantid = 'ATVPDKIKX0DER'
225 0.0001 0.00011992454528809
SELECT * FROM productoffers
                WHERE product_id = '7045' AND price > 0
                ORDER BY price ASC LIMIT 1
226 0.0001 9.7990036010742E-5
SELECT * FROM productoffers
                WHERE product_id = 7045
                ORDER BY price ASC LIMIT 1
227 0.0001 0.00011301040649414
SELECT value FROM productattributes
                WHERE product_id = '7045'
                AND name = 'ListPriceAmount'
228 0.0001 0.00013399124145508
SELECT  o.product_id, MIN(o.price) as price, p.customprice
                FROM    products        p,
                        productoffers   o
                WHERE   p.id        = o.product_id
                  AND   p.parent_id = '7045'
                GROUP BY o.product_id
229 0.0002 0.00017285346984863
SELECT  n.displayname, o.name
                FROM    productoptionnames  n,
                        productoptions      o,
                        products            p
                WHERE   n.originalname  = o.name
                  AND   o.product_id    = p.id
                  AND   p.parent_id     = '7045'
                GROUP BY n.displayname
                ORDER BY n.displayname DESC
230 0.0001 0.00012993812561035
SELECT MAX(amountsaved) AS maxsaving, MIN(amountsaved) AS minsaving FROM productoffers o, products p WHERE o.product_id = p.id AND p.parent_id = 7045
231 0.0001 0.00014090538024902
SELECT value FROM productattributes WHERE product_id = '7045' AND (name = 'ListPriceAmount' OR name = 'ListPriceFormattedPrice') ORDER BY name LIMIT 1
232 0.0002 0.00016498565673828
SELECT  o.value
                FROM    products            p,
                        productoptions      o
                WHERE   p.parent_id     = '7045'
                  AND   p.id            = o.product_id
                  AND   o.name          = 'Size'
                GROUP BY o.value
                ORDER BY o.value ASC
233 0.0002 0.00016903877258301
SELECT  o.value
                FROM    products            p,
                        productoptions      o
                WHERE   p.parent_id     = '7045'
                  AND   p.id            = o.product_id
                  AND   o.name          = 'Color'
                GROUP BY o.value
                ORDER BY o.value ASC
234 0.0005 0.00053000450134277
SELECT * FROM template_includes WHERE deleted = 0 AND templateuid = 'fsb-fluid' AND area = 'header' ORDER BY sortorder ASC
235 0.0002 0.00020098686218262
SELECT * FROM template_includes WHERE deleted = 0 AND templateuid = 'fsb-fluid' AND area = 'footer' ORDER BY sortorder ASC
236 0.0010 0.0010428428649902
SELECT * FROM template_css WHERE deleted = 0 AND templateuid = 'fsb-fluid' AND skinuid = ''
237 0.0004 0.00043988227844238
SELECT * FROM template_images WHERE deleted = 0 AND templateuid = 'fsb-fluid'
238 0.0001 0.00014996528625488
SELECT * FROM template_images WHERE deleted = 0 AND templateuid = 'fsb-fluid'
239 0.0002 0.00020098686218262
SELECT * FROM template_images WHERE templateuid = 'fsb-fluid' AND imageuid = 'HEAD_LOGO'
240 0.0002 0.00015497207641602
SELECT * FROM template_images WHERE templateuid = 'fsb-fluid' AND imageuid = 'HEAD_LOGO'