Including Functions.php

Time Before: 0.00033 seconds
Time After: 0.00037 seconds
Time Taken: 0.00004 seconds

Memory Before: 442.250 KB
Memory After: 444.891 KB
Memory Used: 2.641 KB

Connect to Database on Server: localhost

Time Before: 0.00042 seconds
Time After: 0.00088 seconds
Time Taken: 0.00046 seconds

Memory Before: 444.844 KB
Memory After: 445.734 KB
Memory Used: 0.891 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00108 seconds
Time After: 0.00127 seconds
Time Taken: 0.00019 seconds

Memory Before: 445.758 KB
Memory After: 445.813 KB
Memory Used: 0.055 KB

Datastore Setup
SQL Query
SELECT *
FROM 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
1SIMPLEdatastoreALLPRIMARY   40Using where

Time Before: 0.00189 seconds
Time After: 0.00307 seconds
Time Taken: 0.00119 seconds

Memory Before: 447.148 KB
Memory After: 560.609 KB
Memory Used: 113.461 KB

Time Before: 0.00131 seconds
Time After: 0.00769 seconds
Time Taken: 0.00638 seconds

Memory Before: 445.602 KB
Memory After: 697.828 KB
Memory Used: 252.227 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '216.73.216.166'
	AND idhash = 'ea5a359a73a8141a16de516480d33c34'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    34Using where

Time Before: 0.00823 seconds
Time After: 0.00855 seconds
Time Taken: 0.00031 seconds

Memory Before: 702.453 KB
Memory After: 718.953 KB
Memory Used: 16.500 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,
			phrasegroup_reputationlevel AS phrasegroup_reputationlevel,
			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 language
WHERE languageid = 2
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLElanguageconstPRIMARYPRIMARY2const1 

Time Before: 0.00908 seconds
Time After: 0.01047 seconds
Time Taken: 0.00139 seconds

Memory Before: 708.898 KB
Memory After: 785.711 KB
Memory Used: 76.813 KB

Time Before: 0.00779 seconds
Time After: 0.01059 seconds
Time Taken: 0.00279 seconds

Memory Before: 700.227 KB
Memory After: 774.328 KB
Memory Used: 74.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 post AS post

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

WHERE post.postid = 14
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostconstPRIMARYPRIMARY4const1 
1SIMPLEeditlogconstPRIMARYPRIMARY4const1Unique row not found

Time Before: 0.01376 seconds
Time After: 0.01416 seconds
Time Taken: 0.00040 seconds

Memory Before: 917.438 KB
Memory After: 933.813 KB
Memory Used: 16.375 KB

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



thread.*


FROM thread AS thread






WHERE thread.threadid = 2
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadconstPRIMARYPRIMARY4const1 

Time Before: 0.01465 seconds
Time After: 0.01501 seconds
Time Taken: 0.00036 seconds

Memory Before: 922.992 KB
Memory After: 939.617 KB
Memory Used: 16.625 KB

SQL Query
SELECT *
FROM style
WHERE (styleid = 7 AND userselect = 1)
	OR styleid = 7
ORDER BY styleid ASC
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstyleconstPRIMARYPRIMARY2const1 

Time Before: 0.01551 seconds
Time After: 0.01585 seconds
Time Taken: 0.00033 seconds

Memory Before: 930.836 KB
Memory After: 995.398 KB
Memory Used: 64.563 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (1985,1986,1988,1987,2070,2476,2102,2103,2105,2112,2111,907,2285,908,2272,2274,909,2276,2278,2279,2280,911,2284,2008,2010,2012,2014,922,2314,2317,2318,2315,2313,2386,2387,2264,2263,2265,2269,2267,2414,2048,2047,2049,2050,921,920,2480,1983,1982,1984,1979,1978,2255,903,904,2208,2209,2475,2478,2487,2228,2229,2230,2231,2429,2492,2491,2493,2496)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEtemplaterangePRIMARYPRIMARY4 70Using index condition

Time Before: 0.02067 seconds
Time After: 0.02202 seconds
Time Taken: 0.00135 seconds

Memory Before: 1,082.586 KB
Memory After: 1,230.289 KB
Memory Used: 147.703 KB

End call of global.php: 0.025053977966309
SQL Query
SELECT COUNT(*) AS posts
FROM post AS post
WHERE threadid = 2 AND visible = 1

AND dateline <= 1133883914
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostrefthreadidthreadid4const24Using where

Time Before: 0.02630 seconds
Time After: 0.02679 seconds
Time Taken: 0.00050 seconds

Memory Before: 1,292.258 KB
Memory After: 1,308.492 KB
Memory Used: 16.234 KB

SQL Query
SELECT  post.postid, post.attach
FROM post AS post

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

Time Before: 0.02728 seconds
Time After: 0.02789 seconds
Time Taken: 0.00060 seconds

Memory Before: 1,294.117 KB
Memory After: 1,310.867 KB
Memory Used: 16.750 KB

SQL Query
SELECT dateline, thumbnail_dateline, filename, filesize, visible, attachmentid, counter,
	postid, IF(thumbnail_filesize > 0, 1, 0) AS hasthumbnail, thumbnail_filesize,
	attachmenttype.thumbnail AS build_thumbnail, attachmenttype.newwindow
FROM attachment
LEFT JOIN attachmenttype AS attachmenttype USING (extension)
WHERE postid IN (0,2,5,7,10,11,12,13,14,15,16)
ORDER BY attachmentid
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEattachmentrangepostidpostid4 11Using index condition; Using filesort
1SIMPLEattachmenttypeeq_refPRIMARYPRIMARY22vbfp_forum.attachment.extension1 

Time Before: 0.02867 seconds
Time After: 0.02907 seconds
Time Taken: 0.00039 seconds

Memory Before: 1,295.938 KB
Memory After: 1,311.977 KB
Memory Used: 16.039 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(user.displaygroupid=0, user.usergroupid, user.displaygroupid) AS displaygroupid, infractiongroupid
	
	
FROM post AS post
LEFT JOIN user AS user ON(user.userid = post.userid)
LEFT JOIN userfield AS userfield ON(userfield.userid = user.userid)
LEFT JOIN usertextfield AS usertextfield ON(usertextfield.userid = user.userid)
LEFT JOIN icon AS icon ON(icon.iconid = post.iconid)
LEFT JOIN avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN customavatar AS customavatar ON(customavatar.userid = user.userid)

	
LEFT JOIN editlog AS editlog ON(editlog.postid = post.postid)
LEFT JOIN postparsed AS postparsed ON(postparsed.postid = post.postid AND postparsed.styleid = 7 AND postparsed.languageid = 2)
LEFT JOIN sigparsed AS sigparsed ON(sigparsed.userid = user.userid AND sigparsed.styleid = 7 AND sigparsed.languageid = 2)
LEFT JOIN sigpic AS sigpic ON(sigpic.userid = post.userid)
	
WHERE post.postid IN (0,2,5,7,10,11,12,13,14,15,16)
ORDER BY post.dateline
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEavatarsystemPRIMARY   0Const row not found
1SIMPLEpostparsedsystemPRIMARY   0Const row not found
1SIMPLEsigpicsystemPRIMARY   0Const row not found
1SIMPLEpostrangePRIMARYPRIMARY4 11Using index condition; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4vbfp_forum.post.userid1 
1SIMPLEcustomavatareq_refPRIMARYPRIMARY4vbfp_forum.user.userid1Using where
1SIMPLEeditlogeq_refPRIMARYPRIMARY4vbfp_forum.post.postid1 
1SIMPLEsigparsedeq_refPRIMARYPRIMARY8vbfp_forum.user.userid,const,const1Using where
1SIMPLEuserfieldeq_refPRIMARYPRIMARY4vbfp_forum.user.userid1Using where
1SIMPLEusertextfieldeq_refPRIMARYPRIMARY4vbfp_forum.user.userid1Using where
1SIMPLEiconeq_refPRIMARYPRIMARY2vbfp_forum.post.iconid1 

Time Before: 0.03042 seconds
Time After: 0.03194 seconds
Time Taken: 0.00152 seconds

Memory Before: 1,316.727 KB
Memory After: 1,351.258 KB
Memory Used: 34.531 KB

Time after parsing all posts: 0.042855978012085 Memory After: 1,434KB
SQL Query
UPDATE session
SET lastactivity = 1765015562, location = '/showthread.php?explain=1&nojs=1&p=14', inforum = 10, inthread = 2, badlocation = 0
WHERE sessionhash = 'e50b84b3539cdcb1ce960fdb479478a0'

Time Before: 0.04427 seconds
Time After: 0.04445 seconds
Time Taken: 0.00019 seconds

Memory Before: 1,750.547 KB
Memory After: 1,750.422 KB
Memory Used: -0.125 KB

SQL Query
INSERT INTO threadviews (threadid)
VALUES (2)

Time Before: 0.04448 seconds
Time After: 0.04460 seconds
Time Taken: 0.00012 seconds

Memory Before: 1,748.055 KB
Memory After: 1,748.148 KB
Memory Used: 0.094 KB

Page generated in 0.044003009796143 seconds with 14 queries, spending 0.0093116760253906 doing MySQL queries and 0.034691333770752 doing PHP things.
Shutdown Queries:
DISABLED