A Kids Guide to American wars - Volume 3: Vietnam War to the War In Afganistan

Price: $9.99
Product prices and availability are accurate as of 2022-01-22 06:29:45 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.44429993629456 239 0.0930 0


No Amazon API Requests Made.


App Debug - Total Time 0.44429993629456 seconds

Number Time From Start Name Description
1 0.33442997932434 Initialise Initialise FSB Function
2 0.33519101142883 App Controller Start Start of the App controller (called before the controller of every page)
3 0.34025597572327 Start of getCategoryListByGroup Function Before first category groups query
4 0.34036898612976 After initial query Before first category groups query
5 0.34036993980408 Get Category List for Group Before the call to getCategoryList function
6 0.34037208557129 Start of GetCategoryList function Start of the function
7 0.34037399291992 Before getting categories Query to get specific category list
8 0.34052896499634 After getting categories Query to get specific category list
9 0.34052991867065 Before getting category custom Before call to function getCategoryCustom
10 0.34177088737488 After getting category custom After call to function getCategoryCustom
11 0.34177303314209 Before getting category custom Before call to function getCategoryCustom
12 0.34297490119934 After getting category custom After call to function getCategoryCustom
13 0.34297609329224 Before getting category custom Before call to function getCategoryCustom
14 0.34426307678223 After getting category custom After call to function getCategoryCustom
15 0.34426403045654 Before getting category custom Before call to function getCategoryCustom
16 0.34536790847778 After getting category custom After call to function getCategoryCustom
17 0.34536910057068 End of GetCategoryList function End of the function
18 0.34537291526794 Get Category List for Group Before the call to getCategoryList function
19 0.34537386894226 Start of GetCategoryList function Start of the function
20 0.34537601470947 Before getting categories Query to get specific category list
21 0.34549593925476 End of getCategoryListByGroup Function Before return()
22 0.39734697341919 App Controller End End of the App controller (called before the controller of every page)
23 0.39787602424622 Product Start Start of the product info controller
24 0.39867496490479 Cache file not found Starting get product details
25 0.40685200691223 Related products Start getting related products if enabled
26 0.40685296058655 Related Products Start Before the related products are found
27 0.40685296058655 Related Products Keywords Before the related product keywords are found
28 0.40685796737671 Create Keyword List Function Start of function
29 0.40694808959961 Create Keyword List Function After looping provided content - 40 keywords found
30 0.40790390968323 Create Keyword List Function After looping initial keyword list - 33 keywords remaining
31 0.40791606903076 Create Keyword List Function After reducing keyword list
32 0.40803003311157 Create Keyword List Function After selecting by scoring keywords
33 0.40803289413452 Create Keyword List Function After final loop of keywords
34 0.40803503990173 Related Products Keywords After the related product keywords are found
35 0.41333699226379 Related Products End After the related products are found
36 0.41775298118591 Product End End of the product info controller (Product Info)
37 0.41828894615173 App_after Controller Start Start of the App_after controller (called after the controller of every page)
38 0.41851091384888 Before Get Options Before the call to getOptions in the tpl class
39 0.43362808227539 After Get Options After the call to getOptions in the tpl class
40 0.43374300003052 App_after Controller End End of the App_after controller (called after the controller of every page)
41 0.43376302719116 Product Info: Before Smarty Fetch Before the product.tpl template is fetched
42 0.43704605102539 Product Info: After Smarty Fetch After the product.tpl template is fetched
43 0.43704795837402 Product Info: Before Template Display Before the template is displayed
44 0.44428706169128 Product Info: After Template Display After the template is displayed
45 0.44429206848145 Finalizing debug Before the debug is output to the page.
46 0.44429993629456 End of App This is the end of the app logging, final timestamp


Query Debug - 239 Database Queries. Total time 0.0930 seconds

Number Time (Seconds) Time (Milliseconds) Query
1 0.0003 0.00031590461730957
SELECT parameter, value FROM parameters
2 0.0003 0.0003058910369873
SELECT * FROM `bad_bots`
3 0.0002 0.00016999244689941
SET time_zone = 'Europe/London'
4 0.0001 0.00013184547424316
SELECT version FROM version ORDER BY `installed` DESC LIMIT 1
5 0.0002 0.00017595291137695
INSERT INTO ga_users (`isbot`, `ips`) SELECT '1', 'a:1:{i:0;s:14:\"54.173.214.227\";}'
6 0.0001 0.00012087821960449
INSERT INTO ga_sessions (`sessionlastseen`) SELECT '1642882113'
7 0.0003 0.00029802322387695
SELECT * FROM autorun ORDER BY lastrun ASC
8 0.0001 0.0001370906829834
SELECT * FROM version ORDER BY installed DESC LIMIT 1
9 0.0002 0.00015902519226074
SELECT id FROM pages WHERE pagename = 'a-kids-guide-to-american-wars-volume-3-vietnam-war-to-the-war-in' LIMIT 1
10 0.0002 0.00015902519226074
SELECT id FROM products WHERE pagename = 'a-kids-guide-to-american-wars-volume-3-vietnam-war-to-the-war-in' AND hidden = 0 LIMIT 1
11 0.0003 0.00031399726867676
SELECT * FROM template_options WHERE deleted = 0 AND templateuid = 'fsb-fluid'
12 0.0042 0.0041568279266357
SELECT * FROM template_text WHERE deleted = 0 AND templateuid = 'fsb-fluid' AND language = 'en'
13 0.0002 0.00016403198242188
SELECT * FROM pages WHERE pagename = 'a-kids-guide-to-american-wars-volume-3-vietnam-war-to-the-war-in'
14 0.0001 0.00010204315185547
SELECT * FROM categorygroups ORDER BY sortorder ASC
15 0.0001 0.00014019012451172
SELECT * FROM categories WHERE parent_id = '0' AND categorygroup_id = '1'  AND hidden = 0 ORDER BY sortorder ASC
16 0.0003 0.00025200843811035
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
17 0.0001 0.00011897087097168
SELECT COUNT(*) FROM ebay_products p, products_categories pc WHERE p.id = pc.product_id AND prod_type = 'ebay' AND pc.category_id = 27
18 0.0001 7.7962875366211E-5
SELECT COUNT(DISTINCT(bundle_id)) FROM bundle_categories WHERE category_id = 27
19 0.0001 9.7036361694336E-5
SELECT id FROM categories WHERE parent_id = '27'
20 0.0002 0.00021600723266602
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 
21 0.0001 9.2029571533203E-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 
22 0.0001 0.0001068115234375
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
23 0.0001 8.6069107055664E-5
SELECT COUNT(DISTINCT(id)) FROM categories_autopopulate WHERE category_id = '27'
24 0.0001 8.8930130004883E-5
SELECT * FROM categorygroups WHERE id = '1'
25 0.0002 0.00023603439331055
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
26 0.0001 0.00011396408081055
SELECT COUNT(*) FROM ebay_products p, products_categories pc WHERE p.id = pc.product_id AND prod_type = 'ebay' AND pc.category_id = 29
27 0.0001 7.2002410888672E-5
SELECT COUNT(DISTINCT(bundle_id)) FROM bundle_categories WHERE category_id = 29
28 0.0001 8.2969665527344E-5
SELECT id FROM categories WHERE parent_id = '29'
29 0.0002 0.00024890899658203
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 
30 0.0001 9.7036361694336E-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 
31 0.0001 9.9897384643555E-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
32 0.0001 7.4148178100586E-5
SELECT COUNT(DISTINCT(id)) FROM categories_autopopulate WHERE category_id = '29'
33 0.0001 8.392333984375E-5
SELECT * FROM categorygroups WHERE id = '1'
34 0.0003 0.00028896331787109
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
35 0.0001 9.8943710327148E-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
36 0.0001 7.2002410888672E-5
SELECT COUNT(DISTINCT(bundle_id)) FROM bundle_categories WHERE category_id = 30
37 0.0001 8.392333984375E-5
SELECT id FROM categories WHERE parent_id = '30'
38 0.0003 0.00030088424682617
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 
39 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 
40 0.0001 9.918212890625E-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
41 0.0001 8.5115432739258E-5
SELECT COUNT(DISTINCT(id)) FROM categories_autopopulate WHERE category_id = '30'
42 0.0001 8.5115432739258E-5
SELECT * FROM categorygroups WHERE id = '1'
43 0.0002 0.00017809867858887
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
44 0.0001 9.7990036010742E-5
SELECT COUNT(*) FROM ebay_products p, products_categories pc WHERE p.id = pc.product_id AND prod_type = 'ebay' AND pc.category_id = 38
45 0.0001 7.2002410888672E-5
SELECT COUNT(DISTINCT(bundle_id)) FROM bundle_categories WHERE category_id = 38
46 0.0001 9.0122222900391E-5
SELECT id FROM categories WHERE parent_id = '38'
47 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 (38)
				  AND p.parent_id = 0
				  AND p.hidden = 0
				  AND p.enabled = 1 
48 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 (38)
				  AND p.disabled = 0 
49 0.0001 0.00011897087097168
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
50 0.0001 7.2956085205078E-5
SELECT COUNT(DISTINCT(id)) FROM categories_autopopulate WHERE category_id = '38'
51 0.0001 8.392333984375E-5
SELECT * FROM categorygroups WHERE id = '1'
52 0.0001 0.00011110305786133
SELECT * FROM categories WHERE parent_id = '0' AND categorygroup_id = '2'  AND hidden = 0 ORDER BY sortorder ASC
53 0.0005 0.00046300888061523
SELECT * FROM manufacturers m WHERE m.display_sidebar = 1 AND m.merge_manufacturer_id = 0 ORDER BY linktitle ASC
54 0.0002 0.00017404556274414
SELECT * FROM sideboxes WHERE (templateuid = 'fsb-fluid' OR templateuid = '') AND enabled = 1 ORDER BY sortorder ASC
55 0.0006 0.00062298774719238
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
56 0.0002 0.00020909309387207
SELECT value FROM template_options WHERE templateuid = 'fsb-fluid' AND optionuid = 'DISPLAY_CREDIT_ICON'
57 0.0003 0.00033998489379883
SELECT * FROM pages WHERE core = 1 ORDER BY pagekey
58 0.0487 0.048743963241577
SELECT * FROM ipgeocountries WHERE INET_ATON('54.173.214.227') >= INET_ATON(ip_start) AND INET_ATON('54.173.214.227') <= INET_ATON(ip_end)
59 0.0003 0.00027108192443848
SELECT * FROM ipgeolocations WHERE geoname_id = '6252001'
60 0.0001 0.00010919570922852
SELECT * FROM countryredirects WHERE countrycode = 'US'
61 0.0002 0.000244140625
SELECT * FROM products WHERE pagename = 'a-kids-guide-to-american-wars-volume-3-vietnam-war-to-the-war-in'
62 0.0002 0.00017595291137695
UPDATE products SET viewcount = viewcount + 1 WHERE id = 782
63 0.0001 0.00013995170593262
SELECT * FROM manufacturers WHERE id = '173'
64 0.0004 0.00036191940307617
SELECT COUNT(DISTINCT(p.id)) FROM products p WHERE p.parent_id = 0 AND p.manufacturer_id = '173'
65 0.0001 8.7976455688477E-5
SELECT filename FROM manufacturerimages WHERE manufacturer_id = '173' LIMIT 1
66 0.0003 0.0003201961517334
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
67 0.0001 0.00013303756713867
SELECT * FROM productimages WHERE product_id = '7839' ORDER BY sortorder ASC
68 0.0003 0.00029087066650391
SELECT COUNT(DISTINCT(p.id)) FROM products p WHERE p.parent_id = 0 AND p.manufacturer_id = '173'
69 0.0003 0.00028204917907715
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 
70 0.0001 7.8916549682617E-5
SELECT * FROM manufacturerimages WHERE manufacturer_id = '173'
71 0.0001 8.9883804321289E-5
SELECT category_id FROM products_categories WHERE product_id = '782'
72 0.0001 0.00011110305786133
SELECT * FROM categories WHERE id = '30'
73 0.0003 0.00028705596923828
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
74 0.0001 8.9883804321289E-5
SELECT COUNT(DISTINCT(bundle_id)) FROM bundle_categories WHERE category_id = 30
75 0.0001 8.2015991210938E-5
SELECT id FROM categories WHERE parent_id = '30'
76 0.0003 0.00030088424682617
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 
77 0.0001 9.2029571533203E-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 
78 0.0001 0.00011110305786133
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
79 0.0001 7.2002410888672E-5
SELECT COUNT(DISTINCT(id)) FROM categories_autopopulate WHERE category_id = '30'
80 0.0001 0.00013399124145508
SELECT * FROM productimages WHERE product_id = '782' ORDER BY sortorder ASC
81 0.0002 0.00015401840209961
SELECT * FROM product_image_select WHERE product_id = '782'
82 0.0001 0.00010514259338379
SELECT * FROM productcustomimages WHERE product_id = '782'
83 0.0001 0.00010299682617188
SELECT * FROM productfeeds WHERE product_id = '782' ORDER BY item_date DESC
84 0.0002 0.00016880035400391
SELECT a.name, n.displayname, a.value, n.units, n.valuetype FROM productattributes a, productattributenames n WHERE product_id = '782' AND a.name = n.originalname AND n.display = 1 AND n.hidden = 0
85 0.0002 0.0001518726348877
SELECT DISTINCT(pt.tag_id) FROM product_tags pt, tags t WHERE pt.tag_id = t.id AND pt.product_id = '782' AND t.hidden = 0 AND display_product = 1
86 0.0016 0.0016269683837891
SELECT * FROM productamazoncontent WHERE product_id = '782'
87 0.0014 0.001406192779541
SELECT a.name, n.displayname,a.value FROM productattributes a, productattributenames n WHERE product_id = '782' AND a.name = n.originalname
88 0.0001 0.00014615058898926
SELECT * FROM productoffers WHERE product_id = '782' AND merchantid = 'ATVPDKIKX0DER'
89 0.0002 0.00015091896057129
SELECT * FROM productoffers
                WHERE product_id = '782' AND price > 0
                ORDER BY price ASC LIMIT 1
90 0.0002 0.00015711784362793
SELECT value FROM productattributes WHERE product_id = '782' AND (name = 'ListPriceAmount' OR name = 'ListPriceFormattedPrice') ORDER BY name LIMIT 1
91 0.0002 0.00018119812011719
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
92 0.0009 0.00087118148803711
SELECT *, MATCH (description, title) AGAINST ('volume 3 vietnam' IN BOOLEAN MODE) AS `searchrelevance` FROM products WHERE MATCH (description, title) AGAINST ('volume 3 vietnam' IN BOOLEAN MODE) AND 782 <> 0 AND enabled = 1 AND hidden = 0 AND offers > 0 AND parent_id = 0 ORDER BY `searchrelevance` LIMIT 3
93 0.0002 0.00017595291137695
SELECT *, MATCH (description, title) AGAINST ('volume 3 vietnam' IN BOOLEAN MODE) AS `searchrelevance` FROM ebay_products WHERE MATCH (description, title) AGAINST ('volume 3 vietnam' IN BOOLEAN MODE) AND 782 <> 0 AND hide = 0  ORDER BY `searchrelevance` LIMIT 3
94 0.0001 0.00014209747314453
SELECT *, MATCH (description, title) AGAINST ('volume 3 vietnam' IN BOOLEAN MODE) AS `searchrelevance` FROM custom_products WHERE MATCH (description, title) AGAINST ('volume 3 vietnam' IN BOOLEAN MODE) AND 782 <> 0 AND hide = 0  ORDER BY `searchrelevance` LIMIT 3
95 0.0001 0.00011897087097168
SELECT * FROM productimages WHERE product_id = '7861' ORDER BY sortorder ASC
96 0.0001 0.00013899803161621
SELECT * FROM product_image_select WHERE product_id = '7861'
97 0.0001 0.00011396408081055
SELECT * FROM productcustomimages WHERE product_id = '7861'
98 0.0005 0.00047016143798828
SELECT a.name, n.displayname,a.value FROM productattributes a, productattributenames n WHERE product_id = '7861' AND a.name = n.originalname
99 0.0001 0.00010991096496582
SELECT * FROM productoffers WHERE product_id = '7861' AND merchantid = 'ATVPDKIKX0DER'
100 0.0001 0.00012493133544922
SELECT * FROM productoffers
                WHERE product_id = '7861' AND price > 0
                ORDER BY price ASC LIMIT 1
101 0.0001 0.00013589859008789
SELECT value FROM productattributes WHERE product_id = '7861' AND (name = 'ListPriceAmount' OR name = 'ListPriceFormattedPrice') ORDER BY name LIMIT 1
102 0.0001 0.00011301040649414
SELECT * FROM productimages WHERE product_id = '7857' ORDER BY sortorder ASC
103 0.0001 0.00013399124145508
SELECT * FROM product_image_select WHERE product_id = '7857'
104 0.0001 0.00010204315185547
SELECT * FROM productcustomimages WHERE product_id = '7857'
105 0.0005 0.00048613548278809
SELECT a.name, n.displayname,a.value FROM productattributes a, productattributenames n WHERE product_id = '7857' AND a.name = n.originalname
106 0.0001 0.00011801719665527
SELECT * FROM productoffers WHERE product_id = '7857' AND merchantid = 'ATVPDKIKX0DER'
107 0.0001 0.00012302398681641
SELECT * FROM productoffers
                WHERE product_id = '7857' AND price > 0
                ORDER BY price ASC LIMIT 1
108 0.0001 0.00013995170593262
SELECT value FROM productattributes WHERE product_id = '7857' AND (name = 'ListPriceAmount' OR name = 'ListPriceFormattedPrice') ORDER BY name LIMIT 1
109 0.0001 0.00014114379882812
SELECT * FROM productimages WHERE product_id = '812' ORDER BY sortorder ASC
110 0.0001 0.00013279914855957
SELECT * FROM product_image_select WHERE product_id = '812'
111 0.0001 9.9897384643555E-5
SELECT * FROM productcustomimages WHERE product_id = '812'
112 0.0004 0.00039792060852051
SELECT a.name, n.displayname,a.value FROM productattributes a, productattributenames n WHERE product_id = '812' AND a.name = n.originalname
113 0.0001 0.0001060962677002
SELECT * FROM productoffers WHERE product_id = '812' AND merchantid = 'ATVPDKIKX0DER'
114 0.0001 0.0001380443572998
SELECT * FROM productoffers
                WHERE product_id = '812' AND price > 0
                ORDER BY price ASC LIMIT 1
115 0.0001 0.00013613700866699
SELECT value FROM productattributes WHERE product_id = '812' AND (name = 'ListPriceAmount' OR name = 'ListPriceFormattedPrice') ORDER BY name LIMIT 1
116 0.0001 8.6784362792969E-5
SELECT id,asin FROM products WHERE parent_id = 782
117 0.0001 8.702278137207E-5
SELECT category_id FROM products_categories WHERE product_id = '782'
118 0.0001 0.00011301040649414
SELECT * FROM categories WHERE id = '30'
119 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
120 0.0001 7.2956085205078E-5
SELECT COUNT(DISTINCT(bundle_id)) FROM bundle_categories WHERE category_id = 30
121 0.0001 9.2029571533203E-5
SELECT id FROM categories WHERE parent_id = '30'
122 0.0003 0.00029301643371582
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 
123 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 
124 0.0001 0.00010800361633301
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
125 0.0001 7.2002410888672E-5
SELECT COUNT(DISTINCT(id)) FROM categories_autopopulate WHERE category_id = '30'
126 0.0004 0.00037908554077148
SELECT a.name, n.displayname,a.value FROM productattributes a, productattributenames n WHERE product_id = '782' AND a.name = n.originalname
127 0.0001 0.00010490417480469
SELECT * FROM productoffers WHERE product_id = '782' AND merchantid = 'ATVPDKIKX0DER'
128 0.0001 0.00012087821960449
SELECT * FROM productoffers
                WHERE product_id = '782' AND price > 0
                ORDER BY price ASC LIMIT 1
129 0.0001 0.0001220703125
SELECT * FROM products WHERE id = '782'
130 0.0001 0.00014495849609375
SELECT value FROM productattributes WHERE product_id = '782' AND (name = 'ListPriceAmount' OR name = 'ListPriceFormattedPrice') ORDER BY name LIMIT 1
131 0.0004 0.00037813186645508
SELECT a.name, n.displayname,a.value FROM productattributes a, productattributenames n WHERE product_id = '782' AND a.name = n.originalname
132 0.0001 0.00010395050048828
SELECT * FROM productoffers WHERE product_id = '782' AND merchantid = 'ATVPDKIKX0DER'
133 0.0001 0.00012016296386719
SELECT * FROM productoffers
                WHERE product_id = '782' AND price > 0
                ORDER BY price ASC LIMIT 1
134 0.0001 9.2029571533203E-5
SELECT category_id FROM products_categories WHERE product_id = '782' AND prod_type = 'amz'
135 0.0001 8.1062316894531E-5
SELECT parent_id FROM categories WHERE id = '30'
136 0.0001 9.7990036010742E-5
SELECT * FROM categories WHERE id = '30'
137 0.0003 0.00027012825012207
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
138 0.0001 6.8902969360352E-5
SELECT COUNT(DISTINCT(bundle_id)) FROM bundle_categories WHERE category_id = 30
139 0.0001 9.0122222900391E-5
SELECT id FROM categories WHERE parent_id = '30'
140 0.0003 0.0003049373626709
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 
141 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 
142 0.0001 0.00010418891906738
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
143 0.0001 6.9856643676758E-5
SELECT COUNT(DISTINCT(id)) FROM categories_autopopulate WHERE category_id = '30'
144 0.0001 0.00011491775512695
SELECT * FROM template_info WHERE templateuid = 'fsb-fluid'
145 0.0001 8.702278137207E-5
SELECT ga_value FROM google_analytics_options WHERE `ga_key` = 'ga_user_data'
146 0.0001 8.0108642578125E-5
SELECT ga_value FROM google_analytics_options WHERE `ga_key` = 'ga_tracking_status'
147 0.0001 0.00011706352233887
SELECT * FROM pages WHERE id = 38
148 0.0001 9.8943710327148E-5
SELECT * FROM categories WHERE id = '27'
149 0.0002 0.00018215179443359
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
150 0.0001 8.1062316894531E-5
SELECT COUNT(DISTINCT(bundle_id)) FROM bundle_categories WHERE category_id = 27
151 0.0001 7.8201293945312E-5
SELECT id FROM categories WHERE parent_id = '27'
152 0.0002 0.00019407272338867
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 
153 0.0001 8.6784362792969E-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 
154 0.0001 9.7990036010742E-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
155 0.0001 7.7962875366211E-5
SELECT COUNT(DISTINCT(id)) FROM categories_autopopulate WHERE category_id = '27'
156 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
157 0.0001 9.4175338745117E-5
SELECT COUNT(DISTINCT(bundle_id)) FROM bundle_categories WHERE category_id = 27
158 0.0002 0.00020194053649902
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 
159 0.0001 8.2015991210938E-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 
160 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 (27)
				  AND c.prod_type = 'custom'
				  AND cp.hide = 0
161 0.0001 6.8902969360352E-5
SELECT COUNT(DISTINCT(id)) FROM categories_autopopulate WHERE category_id = '27'
162 0.0001 7.7962875366211E-5
SELECT id FROM categories WHERE parent_id = '27'
163 0.0002 0.00022196769714355
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
164 0.0001 0.00012016296386719
SELECT * FROM productimages WHERE product_id = '819' ORDER BY sortorder ASC
165 0.0001 8.5115432739258E-5
SELECT * FROM categoryimages WHERE category_id = 27
166 0.0001 9.7036361694336E-5
SELECT * FROM categorygroups WHERE id = '1'
167 0.0002 0.00020003318786621
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
168 0.0001 9.2029571533203E-5
SELECT * FROM categories WHERE id = '30'
169 0.0003 0.00027704238891602
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
170 0.0001 6.8902969360352E-5
SELECT COUNT(DISTINCT(bundle_id)) FROM bundle_categories WHERE category_id = 30
171 0.0001 7.7962875366211E-5
SELECT id FROM categories WHERE parent_id = '30'
172 0.0003 0.00029587745666504
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 
173 0.0001 8.0108642578125E-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 
174 0.0001 9.5129013061523E-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
175 0.0001 6.9141387939453E-5
SELECT COUNT(DISTINCT(id)) FROM categories_autopopulate WHERE category_id = '30'
176 0.0003 0.00026988983154297
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
177 0.0001 6.7949295043945E-5
SELECT COUNT(DISTINCT(bundle_id)) FROM bundle_categories WHERE category_id = 30
178 0.0003 0.00029206275939941
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 
179 0.0001 8.0108642578125E-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 
180 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
181 0.0001 6.7949295043945E-5
SELECT COUNT(DISTINCT(id)) FROM categories_autopopulate WHERE category_id = '30'
182 0.0001 7.7962875366211E-5
SELECT id FROM categories WHERE parent_id = '30'
183 0.0003 0.00031018257141113
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
184 0.0001 0.00012493133544922
SELECT * FROM productimages WHERE product_id = '812' ORDER BY sortorder ASC
185 0.0001 8.7976455688477E-5
SELECT * FROM categoryimages WHERE category_id = 30
186 0.0001 0.00010490417480469
SELECT * FROM categorygroups WHERE id = '1'
187 0.0003 0.00029110908508301
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
188 0.0001 9.7990036010742E-5
SELECT * FROM pages WHERE id = 59
189 0.0001 0.00010895729064941
SELECT * FROM pages WHERE id = 55
190 0.0002 0.00015115737915039
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
191 0.0001 0.00012922286987305
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:1642882114;s:8:\"products\";a:0:{}}' WHERE id = '8'
192 0.0002 0.00022697448730469
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
193 0.0001 0.00010299682617188
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:1642882114;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'
194 0.0001 0.00012421607971191
SELECT * FROM products WHERE id = 7004
195 0.0001 0.0001220703125
SELECT * FROM products WHERE id = 7011
196 0.0001 0.00011086463928223
SELECT * FROM products WHERE id = 7045
197 0.0001 0.00011205673217773
SELECT * FROM products WHERE id = '7004'
198 0.0001 0.00014400482177734
SELECT * FROM productimages WHERE product_id = '7004' ORDER BY sortorder ASC
199 0.0001 0.00013613700866699
SELECT * FROM product_image_select WHERE product_id = '7004'
200 0.0001 9.9897384643555E-5
SELECT * FROM productcustomimages WHERE product_id = '7004'
201 0.0005 0.00049805641174316
SELECT a.name, n.displayname,a.value FROM productattributes a, productattributenames n WHERE product_id = '7004' AND a.name = n.originalname
202 0.0001 0.0001060962677002
SELECT * FROM productoffers WHERE product_id = '7004' AND merchantid = 'ATVPDKIKX0DER'
203 0.0001 0.00013399124145508
SELECT * FROM productoffers
                WHERE product_id = '7004' AND price > 0
                ORDER BY price ASC LIMIT 1
204 0.0001 0.00014400482177734
SELECT value FROM productattributes WHERE product_id = '7004' AND (name = 'ListPriceAmount' OR name = 'ListPriceFormattedPrice') ORDER BY name LIMIT 1
205 0.0001 0.00011491775512695
SELECT * FROM products WHERE id = '7011'
206 0.0001 0.00011014938354492
SELECT * FROM productimages WHERE product_id = '7011' ORDER BY sortorder ASC
207 0.0001 0.00013494491577148
SELECT * FROM product_image_select WHERE product_id = '7011'
208 0.0001 9.918212890625E-5
SELECT * FROM productcustomimages WHERE product_id = '7011'
209 0.0006 0.00055098533630371
SELECT a.name, n.displayname,a.value FROM productattributes a, productattributenames n WHERE product_id = '7011' AND a.name = n.originalname
210 0.0001 9.8943710327148E-5
SELECT * FROM productoffers WHERE product_id = '7011' AND merchantid = 'ATVPDKIKX0DER'
211 0.0001 0.00010919570922852
SELECT * FROM productoffers
                WHERE product_id = '7011' AND price > 0
                ORDER BY price ASC LIMIT 1
212 0.0001 0.00010204315185547
SELECT * FROM productoffers
                WHERE product_id = 7011
                ORDER BY price ASC LIMIT 1
213 0.0001 0.00011992454528809
SELECT value FROM productattributes
                WHERE product_id = '7011'
                AND name = 'ListPriceAmount'
214 0.0001 0.00012707710266113
SELECT * FROM products WHERE id = '7045'
215 0.0001 0.00010108947753906
SELECT * FROM productimages WHERE product_id = '7045' ORDER BY sortorder ASC
216 0.0001 0.00014114379882812
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
217 0.0001 0.00013399124145508
SELECT * FROM product_image_select WHERE product_id = '7045'
218 0.0001 0.00010991096496582
SELECT * FROM productcustomimages WHERE product_id = '7045'
219 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
220 0.0002 0.00018787384033203
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
221 0.0001 0.00011682510375977
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
222 0.0005 0.00053501129150391
SELECT a.name, n.displayname,a.value FROM productattributes a, productattributenames n WHERE product_id = '7045' AND a.name = n.originalname
223 0.0001 9.8943710327148E-5
SELECT * FROM productoffers WHERE product_id = '7045' AND merchantid = 'ATVPDKIKX0DER'
224 0.0001 0.0001070499420166
SELECT * FROM productoffers
                WHERE product_id = '7045' AND price > 0
                ORDER BY price ASC LIMIT 1
225 0.0001 0.00010800361633301
SELECT * FROM productoffers
                WHERE product_id = 7045
                ORDER BY price ASC LIMIT 1
226 0.0001 0.00011515617370605
SELECT value FROM productattributes
                WHERE product_id = '7045'
                AND name = 'ListPriceAmount'
227 0.0001 0.00013518333435059
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
228 0.0002 0.00018095970153809
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
229 0.0001 0.00012493133544922
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
230 0.0001 0.00014305114746094
SELECT value FROM productattributes WHERE product_id = '7045' AND (name = 'ListPriceAmount' OR name = 'ListPriceFormattedPrice') ORDER BY name LIMIT 1
231 0.0002 0.00015592575073242
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
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          = 'Color'
                GROUP BY o.value
                ORDER BY o.value ASC
233 0.0002 0.00020599365234375
SELECT * FROM template_includes WHERE deleted = 0 AND templateuid = 'fsb-fluid' AND area = 'header' ORDER BY sortorder ASC
234 0.0002 0.00019001960754395
SELECT * FROM template_includes WHERE deleted = 0 AND templateuid = 'fsb-fluid' AND area = 'footer' ORDER BY sortorder ASC
235 0.0003 0.00034499168395996
SELECT * FROM template_css WHERE deleted = 0 AND templateuid = 'fsb-fluid' AND skinuid = ''
236 0.0002 0.00015997886657715
SELECT * FROM template_images WHERE deleted = 0 AND templateuid = 'fsb-fluid'
237 0.0001 0.00014805793762207
SELECT * FROM template_images WHERE deleted = 0 AND templateuid = 'fsb-fluid'
238 0.0002 0.00016593933105469
SELECT * FROM template_images WHERE templateuid = 'fsb-fluid' AND imageuid = 'HEAD_LOGO'
239 0.0001 0.00014805793762207
SELECT * FROM template_images WHERE templateuid = 'fsb-fluid' AND imageuid = 'HEAD_LOGO'