The Gulf War: A History Just For Kids!

Price: $9.99
Product prices and availability are accurate as of 2022-01-22 10:58:39 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.43258690834045 239 0.0764 0


No Amazon API Requests Made.


App Debug - Total Time 0.43258690834045 seconds

Number Time From Start Name Description
1 0.3395369052887 Initialise Initialise FSB Function
2 0.34028291702271 App Controller Start Start of the App controller (called before the controller of every page)
3 0.34487986564636 Start of getCategoryListByGroup Function Before first category groups query
4 0.34499502182007 After initial query Before first category groups query
5 0.34499597549438 Get Category List for Group Before the call to getCategoryList function
6 0.34499788284302 Start of GetCategoryList function Start of the function
7 0.34500098228455 Before getting categories Query to get specific category list
8 0.34515190124512 After getting categories Query to get specific category list
9 0.34515285491943 Before getting category custom Before call to function getCategoryCustom
10 0.3463990688324 After getting category custom After call to function getCategoryCustom
11 0.34640097618103 Before getting category custom Before call to function getCategoryCustom
12 0.34762001037598 After getting category custom After call to function getCategoryCustom
13 0.34762096405029 Before getting category custom Before call to function getCategoryCustom
14 0.34889793395996 After getting category custom After call to function getCategoryCustom
15 0.34890007972717 Before getting category custom Before call to function getCategoryCustom
16 0.34998798370361 After getting category custom After call to function getCategoryCustom
17 0.34998893737793 End of GetCategoryList function End of the function
18 0.34999299049377 Get Category List for Group Before the call to getCategoryList function
19 0.34999394416809 Start of GetCategoryList function Start of the function
20 0.34999585151672 Before getting categories Query to get specific category list
21 0.35011601448059 End of getCategoryListByGroup Function Before return()
22 0.38785600662231 App Controller End End of the App controller (called before the controller of every page)
23 0.38842105865479 Product Start Start of the product info controller
24 0.38919305801392 Cache file not found Starting get product details
25 0.39531493186951 Related products Start getting related products if enabled
26 0.39531493186951 Related Products Start Before the related products are found
27 0.39531588554382 Related Products Keywords Before the related product keywords are found
28 0.39531898498535 Create Keyword List Function Start of function
29 0.39539098739624 Create Keyword List Function After looping provided content - 21 keywords found
30 0.39586186408997 Create Keyword List Function After looping initial keyword list - 16 keywords remaining
31 0.39587306976318 Create Keyword List Function After reducing keyword list
32 0.39590406417847 Create Keyword List Function After selecting by scoring keywords
33 0.39590787887573 Create Keyword List Function After final loop of keywords
34 0.39590907096863 Related Products Keywords After the related product keywords are found
35 0.40109801292419 Related Products End After the related products are found
36 0.40535092353821 Product End End of the product info controller (Product Info)
37 0.40586304664612 App_after Controller Start Start of the App_after controller (called after the controller of every page)
38 0.40613293647766 Before Get Options Before the call to getOptions in the tpl class
39 0.42142701148987 After Get Options After the call to getOptions in the tpl class
40 0.42152905464172 App_after Controller End End of the App_after controller (called after the controller of every page)
41 0.42154908180237 Product Info: Before Smarty Fetch Before the product.tpl template is fetched
42 0.42474603652954 Product Info: After Smarty Fetch After the product.tpl template is fetched
43 0.42474889755249 Product Info: Before Template Display Before the template is displayed
44 0.43257188796997 Product Info: After Template Display After the template is displayed
45 0.43257689476013 Finalizing debug Before the debug is output to the page.
46 0.43258595466614 End of App This is the end of the app logging, final timestamp


Query Debug - 239 Database Queries. Total time 0.0764 seconds

Number Time (Seconds) Time (Milliseconds) Query
1 0.0002 0.00023508071899414
SELECT parameter, value FROM parameters
2 0.0003 0.00027084350585938
SELECT * FROM `bad_bots`
3 0.0002 0.00016403198242188
SET time_zone = 'Europe/London'
4 0.0001 0.00011897087097168
SELECT version FROM version ORDER BY `installed` DESC LIMIT 1
5 0.0002 0.00016498565673828
INSERT INTO ga_users (`isbot`, `ips`) SELECT '1', 'a:1:{i:0;s:14:\"54.173.214.227\";}'
6 0.0001 0.00010895729064941
INSERT INTO ga_sessions (`sessionlastseen`) SELECT '1642884347'
7 0.0003 0.00025010108947754
SELECT * FROM autorun ORDER BY lastrun ASC
8 0.0001 0.00013113021850586
SELECT * FROM version ORDER BY installed DESC LIMIT 1
9 0.0001 0.00014686584472656
SELECT id FROM pages WHERE pagename = 'the-gulf-war-a-history-just-for-kids' LIMIT 1
10 0.0002 0.00016307830810547
SELECT id FROM products WHERE pagename = 'the-gulf-war-a-history-just-for-kids' AND hidden = 0 LIMIT 1
11 0.0003 0.0003199577331543
SELECT * FROM template_options WHERE deleted = 0 AND templateuid = 'fsb-fluid'
12 0.0037 0.0037341117858887
SELECT * FROM template_text WHERE deleted = 0 AND templateuid = 'fsb-fluid' AND language = 'en'
13 0.0001 0.00012707710266113
SELECT * FROM pages WHERE pagename = 'the-gulf-war-a-history-just-for-kids'
14 0.0001 0.00010395050048828
SELECT * FROM categorygroups ORDER BY sortorder ASC
15 0.0001 0.0001370906829834
SELECT * FROM categories WHERE parent_id = '0' AND categorygroup_id = '1'  AND hidden = 0 ORDER BY sortorder ASC
16 0.0003 0.00026392936706543
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.00011301040649414
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.7009201049805E-5
SELECT COUNT(DISTINCT(bundle_id)) FROM bundle_categories WHERE category_id = 27
19 0.0001 8.4877014160156E-5
SELECT id FROM categories WHERE parent_id = '27'
20 0.0002 0.00023412704467773
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.2983245849609E-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.00010585784912109
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.702278137207E-5
SELECT COUNT(DISTINCT(id)) FROM categories_autopopulate WHERE category_id = '27'
24 0.0001 8.5830688476562E-5
SELECT * FROM categorygroups WHERE id = '1'
25 0.0002 0.00024509429931641
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.00010108947753906
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 9.1075897216797E-5
SELECT id FROM categories WHERE parent_id = '29'
29 0.0003 0.00026202201843262
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 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 (29)
				  AND p.disabled = 0 
31 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 (29)
				  AND c.prod_type = 'custom'
				  AND cp.hide = 0
32 0.0001 7.2956085205078E-5
SELECT COUNT(DISTINCT(id)) FROM categories_autopopulate WHERE category_id = '29'
33 0.0001 8.5115432739258E-5
SELECT * FROM categorygroups WHERE id = '1'
34 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
35 0.0001 0.0001060962677002
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.2015991210938E-5
SELECT id FROM categories WHERE parent_id = '30'
38 0.0003 0.00030803680419922
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.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 (30)
				  AND c.prod_type = 'custom'
				  AND cp.hide = 0
41 0.0001 7.2956085205078E-5
SELECT COUNT(DISTINCT(id)) FROM categories_autopopulate WHERE category_id = '30'
42 0.0001 8.392333984375E-5
SELECT * FROM categorygroups WHERE id = '1'
43 0.0002 0.00019192695617676
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.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 = 38
45 0.0001 8.392333984375E-5
SELECT COUNT(DISTINCT(bundle_id)) FROM bundle_categories WHERE category_id = 38
46 0.0001 8.2015991210938E-5
SELECT id FROM categories WHERE parent_id = '38'
47 0.0002 0.00019979476928711
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.4877014160156E-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 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 (38)
				  AND c.prod_type = 'custom'
				  AND cp.hide = 0
50 0.0001 7.2002410888672E-5
SELECT COUNT(DISTINCT(id)) FROM categories_autopopulate WHERE category_id = '38'
51 0.0001 9.2983245849609E-5
SELECT * FROM categorygroups WHERE id = '1'
52 0.0001 0.00011086463928223
SELECT * FROM categories WHERE parent_id = '0' AND categorygroup_id = '2'  AND hidden = 0 ORDER BY sortorder ASC
53 0.0005 0.00046801567077637
SELECT * FROM manufacturers m WHERE m.display_sidebar = 1 AND m.merge_manufacturer_id = 0 ORDER BY linktitle ASC
54 0.0002 0.0001678466796875
SELECT * FROM sideboxes WHERE (templateuid = 'fsb-fluid' OR templateuid = '') AND enabled = 1 ORDER BY sortorder ASC
55 0.0002 0.00017786026000977
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.00020313262939453
SELECT value FROM template_options WHERE templateuid = 'fsb-fluid' AND optionuid = 'DISPLAY_CREDIT_ICON'
57 0.0003 0.00034308433532715
SELECT * FROM pages WHERE core = 1 ORDER BY pagekey
58 0.0351 0.035111904144287
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.0002 0.00024700164794922
SELECT * FROM ipgeolocations WHERE geoname_id = '6252001'
60 0.0001 0.0001070499420166
SELECT * FROM countryredirects WHERE countrycode = 'US'
61 0.0002 0.00022196769714355
SELECT * FROM products WHERE pagename = 'the-gulf-war-a-history-just-for-kids'
62 0.0002 0.00017213821411133
UPDATE products SET viewcount = viewcount + 1 WHERE id = 820
63 0.0001 0.00013899803161621
SELECT * FROM manufacturers WHERE id = '173'
64 0.0003 0.00034999847412109
SELECT COUNT(DISTINCT(p.id)) FROM products p WHERE p.parent_id = 0 AND p.manufacturer_id = '173'
65 0.0001 0.00013208389282227
SELECT filename FROM manufacturerimages WHERE manufacturer_id = '173' LIMIT 1
66 0.0004 0.00037503242492676
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.00013995170593262
SELECT * FROM productimages WHERE product_id = '740' ORDER BY sortorder ASC
68 0.0003 0.0002748966217041
SELECT COUNT(DISTINCT(p.id)) FROM products p WHERE p.parent_id = 0 AND p.manufacturer_id = '173'
69 0.0003 0.0002899169921875
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.5817108154297E-5
SELECT * FROM manufacturerimages WHERE manufacturer_id = '173'
71 0.0001 8.9883804321289E-5
SELECT category_id FROM products_categories WHERE product_id = '820'
72 0.0001 0.00011420249938965
SELECT * FROM categories WHERE id = '30'
73 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
74 0.0001 7.2002410888672E-5
SELECT COUNT(DISTINCT(bundle_id)) FROM bundle_categories WHERE category_id = 30
75 0.0001 8.0108642578125E-5
SELECT id FROM categories WHERE parent_id = '30'
76 0.0003 0.00031113624572754
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.0122222900391E-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.00011205673217773
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.1048736572266E-5
SELECT COUNT(DISTINCT(id)) FROM categories_autopopulate WHERE category_id = '30'
80 0.0001 0.00012302398681641
SELECT * FROM productimages WHERE product_id = '820' ORDER BY sortorder ASC
81 0.0002 0.00017309188842773
SELECT * FROM product_image_select WHERE product_id = '820'
82 0.0001 0.00014090538024902
SELECT * FROM productcustomimages WHERE product_id = '820'
83 0.0001 0.00014805793762207
SELECT * FROM productfeeds WHERE product_id = '820' ORDER BY item_date DESC
84 0.0003 0.00025010108947754
SELECT a.name, n.displayname, a.value, n.units, n.valuetype FROM productattributes a, productattributenames n WHERE product_id = '820' AND a.name = n.originalname AND n.display = 1 AND n.hidden = 0
85 0.0002 0.00020289421081543
SELECT DISTINCT(pt.tag_id) FROM product_tags pt, tags t WHERE pt.tag_id = t.id AND pt.product_id = '820' AND t.hidden = 0 AND display_product = 1
86 0.0005 0.00051712989807129
SELECT * FROM productamazoncontent WHERE product_id = '820'
87 0.0003 0.00031805038452148
SELECT a.name, n.displayname,a.value FROM productattributes a, productattributenames n WHERE product_id = '820' AND a.name = n.originalname
88 0.0002 0.00015401840209961
SELECT * FROM productoffers WHERE product_id = '820' AND merchantid = 'ATVPDKIKX0DER'
89 0.0001 0.00012516975402832
SELECT * FROM productoffers
                WHERE product_id = '820' AND price > 0
                ORDER BY price ASC LIMIT 1
90 0.0001 0.00014996528625488
SELECT value FROM productattributes WHERE product_id = '820' AND (name = 'ListPriceAmount' OR name = 'ListPriceFormattedPrice') ORDER BY name LIMIT 1
91 0.0002 0.00018310546875
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.0008 0.00079107284545898
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 820 <> 0 AND enabled = 1 AND hidden = 0 AND offers > 0 AND parent_id = 0 ORDER BY `searchrelevance` LIMIT 3
93 0.0002 0.00015497207641602
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 820 <> 0 AND hide = 0  ORDER BY `searchrelevance` LIMIT 3
94 0.0001 0.0001380443572998
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 820 <> 0 AND hide = 0  ORDER BY `searchrelevance` LIMIT 3
95 0.0001 0.00012302398681641
SELECT * FROM productimages WHERE product_id = '749' ORDER BY sortorder ASC
96 0.0002 0.00015401840209961
SELECT * FROM product_image_select WHERE product_id = '749'
97 0.0001 0.00010299682617188
SELECT * FROM productcustomimages WHERE product_id = '749'
98 0.0005 0.00045895576477051
SELECT a.name, n.displayname,a.value FROM productattributes a, productattributenames n WHERE product_id = '749' AND a.name = n.originalname
99 0.0001 0.0001070499420166
SELECT * FROM productoffers WHERE product_id = '749' AND merchantid = 'ATVPDKIKX0DER'
100 0.0001 0.00012111663818359
SELECT * FROM productoffers
                WHERE product_id = '749' AND price > 0
                ORDER BY price ASC LIMIT 1
101 0.0001 0.00013995170593262
SELECT value FROM productattributes WHERE product_id = '749' AND (name = 'ListPriceAmount' OR name = 'ListPriceFormattedPrice') ORDER BY name LIMIT 1
102 0.0001 0.00012803077697754
SELECT * FROM productimages WHERE product_id = '785' ORDER BY sortorder ASC
103 0.0001 0.00014305114746094
SELECT * FROM product_image_select WHERE product_id = '785'
104 0.0001 0.00010013580322266
SELECT * FROM productcustomimages WHERE product_id = '785'
105 0.0005 0.00046706199645996
SELECT a.name, n.displayname,a.value FROM productattributes a, productattributenames n WHERE product_id = '785' AND a.name = n.originalname
106 0.0001 0.00010800361633301
SELECT * FROM productoffers WHERE product_id = '785' AND merchantid = 'ATVPDKIKX0DER'
107 0.0001 0.00012302398681641
SELECT * FROM productoffers
                WHERE product_id = '785' AND price > 0
                ORDER BY price ASC LIMIT 1
108 0.0001 0.00014710426330566
SELECT value FROM productattributes WHERE product_id = '785' AND (name = 'ListPriceAmount' OR name = 'ListPriceFormattedPrice') ORDER BY name LIMIT 1
109 0.0001 0.00012803077697754
SELECT * FROM productimages WHERE product_id = '761' ORDER BY sortorder ASC
110 0.0001 0.00014495849609375
SELECT * FROM product_image_select WHERE product_id = '761'
111 0.0001 0.00010204315185547
SELECT * FROM productcustomimages WHERE product_id = '761'
112 0.0004 0.00041317939758301
SELECT a.name, n.displayname,a.value FROM productattributes a, productattributenames n WHERE product_id = '761' AND a.name = n.originalname
113 0.0001 0.0001060962677002
SELECT * FROM productoffers WHERE product_id = '761' AND merchantid = 'ATVPDKIKX0DER'
114 0.0001 0.00012111663818359
SELECT * FROM productoffers
                WHERE product_id = '761' AND price > 0
                ORDER BY price ASC LIMIT 1
115 0.0001 0.0001380443572998
SELECT value FROM productattributes WHERE product_id = '761' AND (name = 'ListPriceAmount' OR name = 'ListPriceFormattedPrice') ORDER BY name LIMIT 1
116 0.0001 8.4877014160156E-5
SELECT id,asin FROM products WHERE parent_id = 820
117 0.0001 9.8943710327148E-5
SELECT category_id FROM products_categories WHERE product_id = '820'
118 0.0001 0.00010013580322266
SELECT * FROM categories WHERE id = '30'
119 0.0003 0.00033211708068848
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.0095062255859E-5
SELECT COUNT(DISTINCT(bundle_id)) FROM bundle_categories WHERE category_id = 30
121 0.0001 7.8916549682617E-5
SELECT id FROM categories WHERE parent_id = '30'
122 0.0003 0.00030279159545898
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.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 
124 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
125 0.0001 7.1048736572266E-5
SELECT COUNT(DISTINCT(id)) FROM categories_autopopulate WHERE category_id = '30'
126 0.0003 0.00028586387634277
SELECT a.name, n.displayname,a.value FROM productattributes a, productattributenames n WHERE product_id = '820' AND a.name = n.originalname
127 0.0001 0.00011205673217773
SELECT * FROM productoffers WHERE product_id = '820' AND merchantid = 'ATVPDKIKX0DER'
128 0.0001 0.00012016296386719
SELECT * FROM productoffers
                WHERE product_id = '820' AND price > 0
                ORDER BY price ASC LIMIT 1
129 0.0001 0.00013303756713867
SELECT * FROM products WHERE id = '820'
130 0.0001 0.00012993812561035
SELECT value FROM productattributes WHERE product_id = '820' AND (name = 'ListPriceAmount' OR name = 'ListPriceFormattedPrice') ORDER BY name LIMIT 1
131 0.0003 0.00028395652770996
SELECT a.name, n.displayname,a.value FROM productattributes a, productattributenames n WHERE product_id = '820' AND a.name = n.originalname
132 0.0001 0.00010299682617188
SELECT * FROM productoffers WHERE product_id = '820' AND merchantid = 'ATVPDKIKX0DER'
133 0.0001 0.00011897087097168
SELECT * FROM productoffers
                WHERE product_id = '820' AND price > 0
                ORDER BY price ASC LIMIT 1
134 0.0001 9.5129013061523E-5
SELECT category_id FROM products_categories WHERE product_id = '820' AND prod_type = 'amz'
135 0.0001 8.9883804321289E-5
SELECT parent_id FROM categories WHERE id = '30'
136 0.0001 0.00012111663818359
SELECT * FROM categories WHERE id = '30'
137 0.0003 0.0002741813659668
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.8187713623047E-5
SELECT COUNT(DISTINCT(bundle_id)) FROM bundle_categories WHERE category_id = 30
139 0.0001 7.8201293945312E-5
SELECT id FROM categories WHERE parent_id = '30'
140 0.0003 0.00029706954956055
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.5830688476562E-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.0001070499420166
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 7.1048736572266E-5
SELECT COUNT(DISTINCT(id)) FROM categories_autopopulate WHERE category_id = '30'
144 0.0002 0.0001521110534668
SELECT * FROM template_info WHERE templateuid = 'fsb-fluid'
145 0.0001 0.00013303756713867
SELECT ga_value FROM google_analytics_options WHERE `ga_key` = 'ga_user_data'
146 0.0001 8.1062316894531E-5
SELECT ga_value FROM google_analytics_options WHERE `ga_key` = 'ga_tracking_status'
147 0.0001 0.00010800361633301
SELECT * FROM pages WHERE id = 38
148 0.0001 9.3936920166016E-5
SELECT * FROM categories WHERE id = '27'
149 0.0002 0.00018405914306641
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 7.0095062255859E-5
SELECT COUNT(DISTINCT(bundle_id)) FROM bundle_categories WHERE category_id = 27
151 0.0001 7.7962875366211E-5
SELECT id FROM categories WHERE parent_id = '27'
152 0.0002 0.00020217895507812
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.702278137207E-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 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 (27)
				  AND c.prod_type = 'custom'
				  AND cp.hide = 0
155 0.0001 7.2002410888672E-5
SELECT COUNT(DISTINCT(id)) FROM categories_autopopulate WHERE category_id = '27'
156 0.0002 0.00017189979553223
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 6.8902969360352E-5
SELECT COUNT(DISTINCT(bundle_id)) FROM bundle_categories WHERE category_id = 27
158 0.0002 0.00018906593322754
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.1062316894531E-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 0.00010299682617188
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.9154968261719E-5
SELECT id FROM categories WHERE parent_id = '27'
163 0.0002 0.00022101402282715
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 0.00011992454528809
SELECT * FROM categoryimages WHERE category_id = 27
166 0.0001 8.2969665527344E-5
SELECT * FROM categorygroups WHERE id = '1'
167 0.0002 0.00021004676818848
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.1075897216797E-5
SELECT * FROM categories WHERE id = '30'
169 0.0003 0.00027990341186523
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.9141387939453E-5
SELECT COUNT(DISTINCT(bundle_id)) FROM bundle_categories WHERE category_id = 30
171 0.0001 7.8201293945312E-5
SELECT id FROM categories WHERE parent_id = '30'
172 0.0003 0.00029516220092773
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.1062316894531E-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.8902969360352E-5
SELECT COUNT(DISTINCT(id)) FROM categories_autopopulate WHERE category_id = '30'
176 0.0003 0.00027608871459961
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.9141387939453E-5
SELECT COUNT(DISTINCT(bundle_id)) FROM bundle_categories WHERE category_id = 30
178 0.0003 0.00027990341186523
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 0.00010085105895996
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.8187713623047E-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.00031089782714844
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.00012397766113281
SELECT * FROM productimages WHERE product_id = '812' ORDER BY sortorder ASC
185 0.0001 8.0108642578125E-5
SELECT * FROM categoryimages WHERE category_id = 30
186 0.0001 8.1062316894531E-5
SELECT * FROM categorygroups WHERE id = '1'
187 0.0003 0.00029802322387695
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.608268737793E-5
SELECT * FROM pages WHERE id = 59
189 0.0001 0.00010919570922852
SELECT * FROM pages WHERE id = 55
190 0.0002 0.0001530647277832
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.0001218318939209
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:1642884347;s:8:\"products\";a:0:{}}' WHERE id = '8'
192 0.0002 0.00021505355834961
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.00011014938354492
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:1642884347;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.00011801719665527
SELECT * FROM products WHERE id = 7004
195 0.0001 0.00012707710266113
SELECT * FROM products WHERE id = 7011
196 0.0001 0.00011205673217773
SELECT * FROM products WHERE id = 7045
197 0.0001 0.00011205673217773
SELECT * FROM products WHERE id = '7004'
198 0.0001 0.00012707710266113
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 0.00010991096496582
SELECT * FROM productcustomimages WHERE product_id = '7004'
201 0.0005 0.00049686431884766
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.00010991096496582
SELECT * FROM productoffers WHERE product_id = '7004' AND merchantid = 'ATVPDKIKX0DER'
203 0.0001 0.00012516975402832
SELECT * FROM productoffers
                WHERE product_id = '7004' AND price > 0
                ORDER BY price ASC LIMIT 1
204 0.0002 0.0001528263092041
SELECT value FROM productattributes WHERE product_id = '7004' AND (name = 'ListPriceAmount' OR name = 'ListPriceFormattedPrice') ORDER BY name LIMIT 1
205 0.0001 0.00011610984802246
SELECT * FROM products WHERE id = '7011'
206 0.0001 0.00011992454528809
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.7990036010742E-5
SELECT * FROM productcustomimages WHERE product_id = '7011'
209 0.0005 0.00054001808166504
SELECT a.name, n.displayname,a.value FROM productattributes a, productattributenames n WHERE product_id = '7011' AND a.name = n.originalname
210 0.0001 0.00012016296386719
SELECT * FROM productoffers WHERE product_id = '7011' AND merchantid = 'ATVPDKIKX0DER'
211 0.0001 0.00010895729064941
SELECT * FROM productoffers
                WHERE product_id = '7011' AND price > 0
                ORDER BY price ASC LIMIT 1
212 0.0001 0.00010299682617188
SELECT * FROM productoffers
                WHERE product_id = 7011
                ORDER BY price ASC LIMIT 1
213 0.0001 0.00012111663818359
SELECT value FROM productattributes
                WHERE product_id = '7011'
                AND name = 'ListPriceAmount'
214 0.0001 0.00011992454528809
SELECT * FROM products WHERE id = '7045'
215 0.0001 0.00010180473327637
SELECT * FROM productimages WHERE product_id = '7045' ORDER BY sortorder ASC
216 0.0001 0.00014996528625488
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.00013494491577148
SELECT * FROM product_image_select WHERE product_id = '7045'
218 0.0001 0.00011086463928223
SELECT * FROM productcustomimages WHERE product_id = '7045'
219 0.0001 0.0001378059387207
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.0003 0.00025200843811035
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.00013089179992676
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.0006 0.0005640983581543
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 9.7990036010742E-5
SELECT * FROM productoffers
                WHERE product_id = 7045
                ORDER BY price ASC LIMIT 1
226 0.0001 0.00011491775512695
SELECT value FROM productattributes
                WHERE product_id = '7045'
                AND name = 'ListPriceAmount'
227 0.0001 0.00014400482177734
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.00019097328186035
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.00011587142944336
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.00014209747314453
SELECT value FROM productattributes WHERE product_id = '7045' AND (name = 'ListPriceAmount' OR name = 'ListPriceFormattedPrice') ORDER BY name LIMIT 1
231 0.0002 0.00015711784362793
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.0001518726348877
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.0003 0.00025510787963867
SELECT * FROM template_includes WHERE deleted = 0 AND templateuid = 'fsb-fluid' AND area = 'header' ORDER BY sortorder ASC
234 0.0002 0.00017499923706055
SELECT * FROM template_includes WHERE deleted = 0 AND templateuid = 'fsb-fluid' AND area = 'footer' ORDER BY sortorder ASC
235 0.0004 0.00036787986755371
SELECT * FROM template_css WHERE deleted = 0 AND templateuid = 'fsb-fluid' AND skinuid = ''
236 0.0002 0.00020813941955566
SELECT * FROM template_images WHERE deleted = 0 AND templateuid = 'fsb-fluid'
237 0.0001 0.00014686584472656
SELECT * FROM template_images WHERE deleted = 0 AND templateuid = 'fsb-fluid'
238 0.0002 0.00023412704467773
SELECT * FROM template_images WHERE templateuid = 'fsb-fluid' AND imageuid = 'HEAD_LOGO'
239 0.0001 0.00014400482177734
SELECT * FROM template_images WHERE templateuid = 'fsb-fluid' AND imageuid = 'HEAD_LOGO'