Including Functions.php

Time Before: 0.00479 seconds
Time After: 0.01872 seconds
Time Taken: 0.01393 seconds

Memory Before: 1,242.313 KB
Memory After: 2,700.148 KB
Memory Used: 1,457.836 KB

Connect to Database on Server: localhost

Time Before: 0.01893 seconds
Time After: 0.01921 seconds
Time Taken: 0.00028 seconds

Memory Before: 2,701.578 KB
Memory After: 2,704.141 KB
Memory Used: 2.563 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.02003 seconds
Time After: 0.02024 seconds
Time Taken: 0.00021 seconds

Memory Before: 2,705.797 KB
Memory After: 2,706.664 KB
Memory Used: 0.867 KB

Time Before: 0.01935 seconds
Time After: 0.02121 seconds
Time Taken: 0.00186 seconds

Memory Before: 2,701.086 KB
Memory After: 2,983.711 KB
Memory Used: 282.625 KB

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

Time Before: 0.02211 seconds
Time After: 0.02228 seconds
Time Taken: 0.00017 seconds

Memory Before: 3,000.055 KB
Memory After: 3,000.984 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.02313 seconds
Time After: 0.02333 seconds
Time Taken: 0.00020 seconds

Memory Before: 3,009.680 KB
Memory After: 3,009.984 KB
Memory Used: 0.305 KB

Time Before: 0.02168 seconds
Time After: 0.02350 seconds
Time Taken: 0.00182 seconds

Memory Before: 2,994.820 KB
Memory After: 3,059.922 KB
Memory Used: 65.102 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 = 2994
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostconstPRIMARYPRIMARY4const1 
1SIMPLEeditlogconstPRIMARYPRIMARY4const0unique row not found

Time Before: 0.02643 seconds
Time After: 0.02666 seconds
Time Taken: 0.00023 seconds

Memory Before: 3,209.102 KB
Memory After: 3,209.891 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 = 1090
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadconstPRIMARYPRIMARY4const1 

Time Before: 0.02707 seconds
Time After: 0.02723 seconds
Time Taken: 0.00016 seconds

Memory Before: 3,218.313 KB
Memory After: 3,219.258 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.02775 seconds
Time After: 0.02787 seconds
Time Taken: 0.00013 seconds

Memory Before: 3,227.320 KB
Memory After: 3,228.313 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.03255 seconds
Time After: 0.03286 seconds
Time Taken: 0.00030 seconds

Memory Before: 3,459.234 KB
Memory After: 3,459.984 KB
Memory Used: 0.750 KB

End call of global.php: 0.0352990627289
SQL Query
SELECT
	post.*, post.username AS postusername, post.ipaddress AS ip, IF(post.visible = 2, 1, 0) AS isdeleted,
	user.*, userfield.*
	
	
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)

WHERE threadid = 1090
	
ORDER BY postid
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostrefthreadidthreadid4const1Using where; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4thriftyd_thriftydiva.post.userid1 
1SIMPLEuserfieldeq_refPRIMARYPRIMARY4thriftyd_thriftydiva.user.userid1 

Time Before: 0.05877 seconds
Time After: 0.06062 seconds
Time Taken: 0.00184 seconds

Memory Before: 4,814.773 KB
Memory After: 4,815.531 KB
Memory Used: 0.758 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,
	
	
	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 (2994)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostconstPRIMARYPRIMARY4const1 
1SIMPLEuserconstPRIMARYPRIMARY4const1 
1SIMPLEuserfieldconstPRIMARYPRIMARY4const1 
1SIMPLEusertextfieldconstPRIMARYPRIMARY4const1 
1SIMPLEiconconstPRIMARYPRIMARY2const0unique row not found
1SIMPLEavatarconstPRIMARYPRIMARY2const0unique row not found
1SIMPLEcustomavatarconstPRIMARYPRIMARY4const0unique row not found
1SIMPLEeditlogconstPRIMARYPRIMARY4const0unique row not found
1SIMPLEpostparsedconstPRIMARYPRIMARY8const,const,const0unique row not found
1SIMPLEsigparsedconstPRIMARYPRIMARY8const,const,const0unique row not found
1SIMPLEsigpicconstPRIMARYPRIMARY4const0unique row not found

Time Before: 0.06258 seconds
Time After: 0.06347 seconds
Time Taken: 0.00089 seconds

Memory Before: 4,840.727 KB
Memory After: 4,840.133 KB
Memory Used: -0.594 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 = 1090 LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEtconstPRIMARYPRIMARY4const1 
1SIMPLEpconstPRIMARYPRIMARY4const1 
1SIMPLEdcALLPRIMARY   3 
1SIMPLEdALL    113780Using where
1SIMPLEseq_refPRIMARYPRIMARY4thriftyd_thriftydiva.d.store_id1 
1SIMPLEdpeq_refPRIMARYPRIMARY4thriftyd_thriftydiva.d.product_id1 

Time Before: 0.08302 seconds
Time After: 0.08736 seconds
Time Taken: 0.00434 seconds

Memory Before: 5,074.875 KB
Memory After: 5,075.367 KB
Memory Used: 0.492 KB

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

Time Before: 0.08798 seconds
Time After: 0.08805 seconds
Time Taken: 0.00007 seconds

Memory Before: 5,082.695 KB
Memory After: 5,083.719 KB
Memory Used: 1.023 KB

Time after parsing all posts: 0.0906739234924 Memory After: 5,068KB
SQL Query
UPDATE forums_session
SET lastactivity = 1283871323, location = '/forums/showthread.php?p=2994&explain=1', incalendar = 0, badlocation = 0
WHERE sessionhash = '8fc808e14ac1da250ce682d9a60a3047'

Time Before: 0.09514 seconds
Time After: 0.09536 seconds
Time Taken: 0.00021 seconds

Memory Before: 5,687.094 KB
Memory After: 5,687.867 KB
Memory Used: 0.773 KB

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

Time Before: 0.09545 seconds
Time After: 0.10000 seconds
Time Taken: 0.00455 seconds

Memory Before: 5,682.180 KB
Memory After: 5,683.109 KB
Memory Used: 0.930 KB

Page generated in 0.0938999652863 seconds with 13 queries, spending 0.0135936737061 doing MySQL queries and 0.0803062915802 doing PHP things.
Shutdown Queries:
DISABLED