Including Functions.php

Time Before: 0.00628 seconds
Time After: 0.02331 seconds
Time Taken: 0.01703 seconds

Memory Before: 1,241.758 KB
Memory After: 2,699.516 KB
Memory Used: 1,457.758 KB

Connect to Database on Server: localhost

Time Before: 0.02353 seconds
Time After: 0.02409 seconds
Time Taken: 0.00057 seconds

Memory Before: 2,700.945 KB
Memory After: 2,703.484 KB
Memory Used: 2.539 KB

Datastore Setup
SQL Query
SELECT *
FROM forums_datastore
WHERE title IN ('','options','bitfields','attachmentcache','forumcache','usergroupcache','stylecache','languagecache','products','pluginlist','cron','profilefield','loadcache','noticecache','smiliecache','bbcodecache','mailqueue','bookmarksitecache')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEforums_datastorerangePRIMARYPRIMARY52 18Using where

Time Before: 0.02489 seconds
Time After: 0.02513 seconds
Time Taken: 0.00024 seconds

Memory Before: 2,705.164 KB
Memory After: 2,706.031 KB
Memory Used: 0.867 KB

Time Before: 0.02424 seconds
Time After: 0.02617 seconds
Time Taken: 0.00193 seconds

Memory Before: 2,700.453 KB
Memory After: 2,983.008 KB
Memory Used: 282.555 KB

Session Handling
SQL Query
SELECT *
FROM forums_session
WHERE sessionhash = 'd2303b4306723eca0353b61a689bd534'
	AND lastactivity > 1283868838
	AND idhash = 'd0b63444099757fedc3d79aa837e804c'
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEforums_sessionconstPRIMARYPRIMARY32const1 

Time Before: 0.02748 seconds
Time After: 0.02765 seconds
Time Taken: 0.00017 seconds

Memory Before: 3,034.344 KB
Memory After: 3,035.273 KB
Memory Used: 0.930 KB

SQL Query
SELECT languageid,
			phrasegroup_global AS phrasegroup_global,
			phrasegroup_posting AS phrasegroup_posting,
			phrasegroup_postbit AS phrasegroup_postbit,
			phrasegroup_showthread AS phrasegroup_showthread,
			phrasegroup_inlinemod AS phrasegroup_inlinemod,
			options AS lang_options,
			languagecode AS lang_code,
			charset AS lang_charset,
			locale AS lang_locale,
			imagesoverride AS lang_imagesoverride,
			dateoverride AS lang_dateoverride,
			timeoverride AS lang_timeoverride,
			registereddateoverride AS lang_registereddateoverride,
			calformat1override AS lang_calformat1override,
			calformat2override AS lang_calformat2override,
			logdateoverride AS lang_logdateoverride,
			decimalsep AS lang_decimalsep,
			thousandsep AS lang_thousandsep
FROM forums_language
WHERE languageid = 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEforums_languagesystemPRIMARY   1 

Time Before: 0.02861 seconds
Time After: 0.02887 seconds
Time Taken: 0.00025 seconds

Memory Before: 3,043.984 KB
Memory After: 3,044.289 KB
Memory Used: 0.305 KB

Time Before: 0.02703 seconds
Time After: 0.02903 seconds
Time Taken: 0.00200 seconds

Memory Before: 3,029.109 KB
Memory After: 3,094.258 KB
Memory Used: 65.148 KB

SQL Query
SELECT post.*,
IF(post.visible = 2, 1, 0) AS isdeleted,


editlog.userid AS edit_userid, editlog.dateline AS edit_dateline, editlog.reason AS edit_reason, editlog.hashistory

FROM forums_post AS post

LEFT JOIN forums_editlog AS editlog ON (editlog.postid = post.postid)

WHERE post.postid = 2424
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostconstPRIMARYPRIMARY4const1 
1SIMPLEeditlogconstPRIMARYPRIMARY4const0unique row not found

Time Before: 0.03219 seconds
Time After: 0.03247 seconds
Time Taken: 0.00028 seconds

Memory Before: 3,243.148 KB
Memory After: 3,243.938 KB
Memory Used: 0.789 KB

SQL Query
SELECT IF(visible = 2, 1, 0) AS isdeleted,



thread.*


FROM forums_thread AS thread






WHERE thread.threadid = 732
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadconstPRIMARYPRIMARY4const1 

Time Before: 0.03291 seconds
Time After: 0.03307 seconds
Time Taken: 0.00016 seconds

Memory Before: 3,259.023 KB
Memory After: 3,259.969 KB
Memory Used: 0.945 KB

SQL Query
SELECT *
FROM forums_style
WHERE (styleid = 2 AND userselect = 1)
	OR styleid = 2
ORDER BY styleid ASC
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEforums_styleconstPRIMARYPRIMARY2const1 

Time Before: 0.03384 seconds
Time After: 0.03399 seconds
Time Taken: 0.00016 seconds

Memory Before: 3,268.039 KB
Memory After: 3,269.031 KB
Memory Used: 0.992 KB

SQL Query
SELECT title, template
FROM forums_template
WHERE templateid IN (69,70,151,526,182,183,185,192,191,574,356,342,343,345,344,347,349,350,351,353,355,89,91,93,95,383,385,388,389,386,384,436,437,335,334,336,340,338,464,129,128,130,131,577,576,578,67,569,68,568,62,327,572,573,282,283,525,528,537,302,303,304,305,479,580,579,543,546,663,664,681,687,688,689,712)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEforums_templaterangePRIMARYPRIMARY4 75Using where

Time Before: 0.04043 seconds
Time After: 0.04087 seconds
Time Taken: 0.00045 seconds

Memory Before: 3,500.984 KB
Memory After: 3,501.734 KB
Memory Used: 0.750 KB

End call of global.php: 0.0434949398041
SQL Query
SELECT COUNT(*) AS posts
FROM forums_post AS post
WHERE threadid = 732 AND visible = 1
AND dateline <= 1258144861
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostrefthreadidthreadid4const1Using where

Time Before: 0.07240 seconds
Time After: 0.07259 seconds
Time Taken: 0.00019 seconds

Memory Before: 4,765.867 KB
Memory After: 4,766.859 KB
Memory Used: 0.992 KB

SQL Query
SELECT post.postid
FROM forums_post AS post

WHERE post.threadid = 732
	AND post.visible = 1
	
	
ORDER BY post.dateline 
LIMIT 0, 10
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostrefthreadidthreadid4const1Using where; Using filesort

Time Before: 0.07311 seconds
Time After: 0.07403 seconds
Time Taken: 0.00092 seconds

Memory Before: 4,772.336 KB
Memory After: 4,773.281 KB
Memory Used: 0.945 KB

SQL Query
SELECT
	post.*, post.username AS postusername, post.ipaddress AS ip, IF(post.visible = 2, 1, 0) AS isdeleted,
	user.*, userfield.*, usertextfield.*,
	icon.title as icontitle, icon.iconpath,
	avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight,
	
	
	editlog.userid AS edit_userid, editlog.username AS edit_username, editlog.dateline AS edit_dateline,
	editlog.reason AS edit_reason, editlog.hashistory,
	postparsed.pagetext_html, postparsed.hasimages,
	sigparsed.signatureparsed, sigparsed.hasimages AS sighasimages,
	sigpic.userid AS sigpic, sigpic.dateline AS sigpicdateline, sigpic.width AS sigpicwidth, sigpic.height AS sigpicheight,
	IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid, infractiongroupid
	
	
FROM forums_post AS post
LEFT JOIN forums_user AS user ON(user.userid = post.userid)
LEFT JOIN forums_userfield AS userfield ON(userfield.userid = user.userid)
LEFT JOIN forums_usertextfield AS usertextfield ON(usertextfield.userid = user.userid)
LEFT JOIN forums_icon AS icon ON(icon.iconid = post.iconid)
LEFT JOIN forums_avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN forums_customavatar AS customavatar ON(customavatar.userid = user.userid)

	
LEFT JOIN forums_editlog AS editlog ON(editlog.postid = post.postid)
LEFT JOIN forums_postparsed AS postparsed ON(postparsed.postid = post.postid AND postparsed.styleid = 2 AND postparsed.languageid = 1)
LEFT JOIN forums_sigparsed AS sigparsed ON(sigparsed.userid = user.userid AND sigparsed.styleid = 2 AND sigparsed.languageid = 1)
LEFT JOIN forums_sigpic AS sigpic ON(sigpic.userid = post.userid)
	
WHERE post.postid IN (0,2424)
ORDER BY post.dateline
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostrangePRIMARYPRIMARY4 2Using where; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4thriftyd_thriftydiva.post.userid1 
1SIMPLEuserfieldeq_refPRIMARYPRIMARY4thriftyd_thriftydiva.user.userid1 
1SIMPLEusertextfieldeq_refPRIMARYPRIMARY4thriftyd_thriftydiva.user.userid1 
1SIMPLEiconeq_refPRIMARYPRIMARY2thriftyd_thriftydiva.post.iconid1 
1SIMPLEavatareq_refPRIMARYPRIMARY2thriftyd_thriftydiva.user.avatarid1 
1SIMPLEcustomavatareq_refPRIMARYPRIMARY4thriftyd_thriftydiva.user.userid1 
1SIMPLEeditlogeq_refPRIMARYPRIMARY4thriftyd_thriftydiva.post.postid1 
1SIMPLEpostparsedeq_refPRIMARYPRIMARY8thriftyd_thriftydiva.post.postid,const,const1 
1SIMPLEsigparsedeq_refPRIMARYPRIMARY8thriftyd_thriftydiva.user.userid,const,const1 
1SIMPLEsigpiceq_refPRIMARYPRIMARY4thriftyd_thriftydiva.post.userid1 

Time Before: 0.07530 seconds
Time After: 0.07828 seconds
Time Taken: 0.00298 seconds

Memory Before: 4,781.055 KB
Memory After: 4,780.367 KB
Memory Used: -0.688 KB

SQL Query
SELECT 
								d.*, t.title, IFNULL(t.replycount, 0) as comment_count,  
									p.pagetext as description, s.name as store_name,
									dp.name as product_name, dc.name as category_name,
									t.dateline as posted_on, t.taglist as tag_list
							FROM
								deals_submissions d
								INNER JOIN forums_thread t ON(d.thread = t.threadid) 
								INNER JOIN forums_post p ON(t.firstpostid = p.postid) 
								INNER JOIN deals_stores s ON(d.store_id = s.id)
								INNER JOIN deals_products dp ON(d.product_id = dp.id)
								INNER JOIN deals_categories dc ON(d.category_id = dc.id)WHERE thread = 732 LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEtconstPRIMARYPRIMARY4const1 
1SIMPLEpconstPRIMARYPRIMARY4const1 
1SIMPLEdcALLPRIMARY   3 
1SIMPLEdALL    113764Using where
1SIMPLEseq_refPRIMARYPRIMARY4thriftyd_thriftydiva.d.store_id1 
1SIMPLEdpeq_refPRIMARYPRIMARY4thriftyd_thriftydiva.d.product_id1 

Time Before: 0.10222 seconds
Time After: 0.10653 seconds
Time Taken: 0.00430 seconds

Memory Before: 5,043.414 KB
Memory After: 5,043.906 KB
Memory Used: 0.492 KB

SQL Query
SELECT id,name,url,city,state,zipcode FROM deals_stores WHERE id = '611' LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEdeals_storesconstPRIMARYPRIMARY4const1 

Time Before: 0.10718 seconds
Time After: 0.10733 seconds
Time Taken: 0.00015 seconds

Memory Before: 5,057.867 KB
Memory After: 5,058.891 KB
Memory Used: 1.023 KB

Time after parsing all posts: 0.109541893005 Memory After: 4,961KB
SQL Query
UPDATE forums_session
SET lastactivity = 1283869738, location = '/forums/showthread.php?p=2424&explain=1', inforum = 4, inthread = 732, incalendar = 0, badlocation = 0
WHERE sessionhash = 'd2303b4306723eca0353b61a689bd534'

Time Before: 0.11419 seconds
Time After: 0.11440 seconds
Time Taken: 0.00021 seconds

Memory Before: 5,566.438 KB
Memory After: 5,567.195 KB
Memory Used: 0.758 KB

SQL Query
INSERT INTO forums_threadviews (threadid)
VALUES (732)

Time Before: 0.11451 seconds
Time After: 0.11632 seconds
Time Taken: 0.00181 seconds

Memory Before: 5,560.875 KB
Memory After: 5,561.805 KB
Memory Used: 0.930 KB

Page generated in 0.112941026688 seconds with 14 queries, spending 0.0128412246704 doing MySQL queries and 0.100099802017 doing PHP things.
Shutdown Queries:
DISABLED