Including Functions.php

Time Before: 0.00018 seconds
Time After: 0.00021 seconds
Time Taken: 0.00003 seconds

Memory Before: 483.523 KB
Memory After: 485.422 KB
Memory Used: 1.898 KB

Connect to Database on Server: 127.0.0.1

Time Before: 0.00024 seconds
Time After: 0.00270 seconds
Time Taken: 0.00245 seconds

Memory Before: 485.375 KB
Memory After: 486.141 KB
Memory Used: 0.766 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00318 seconds
Time After: 0.00336 seconds
Time Taken: 0.00018 seconds

Memory Before: 486.164 KB
Memory After: 486.242 KB
Memory Used: 0.078 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
1SIMPLEdatastorerangePRIMARYPRIMARY200 18Using where

Time Before: 0.00409 seconds
Time After: 0.00518 seconds
Time Taken: 0.00109 seconds

Memory Before: 487.555 KB
Memory After: 551.797 KB
Memory Used: 64.242 KB

Time Before: 0.00339 seconds
Time After: 0.00864 seconds
Time Taken: 0.00525 seconds

Memory Before: 486.000 KB
Memory After: 671.047 KB
Memory Used: 185.047 KB

Session Handling
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 language
WHERE languageid = 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLElanguageconstPRIMARYPRIMARY2const1 

Time Before: 0.01083 seconds
Time After: 0.01160 seconds
Time Taken: 0.00077 seconds

Memory Before: 692.883 KB
Memory After: 917.547 KB
Memory Used: 224.664 KB

Time Before: 0.00874 seconds
Time After: 0.01187 seconds
Time Taken: 0.00313 seconds

Memory Before: 673.227 KB
Memory After: 803.305 KB
Memory Used: 130.078 KB

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



thread.*


FROM thread AS thread






WHERE thread.threadid = 37
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadconstPRIMARYPRIMARY4const1 

Time Before: 0.02054 seconds
Time After: 0.02140 seconds
Time Taken: 0.00086 seconds

Memory Before: 960.547 KB
Memory After: 976.523 KB
Memory Used: 15.977 KB

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

Time Before: 0.02238 seconds
Time After: 0.02338 seconds
Time Taken: 0.00099 seconds

Memory Before: 965.211 KB
Memory After: 1,053.531 KB
Memory Used: 88.320 KB

End call of global.php: 0.026812076568604
SQL Query
SELECT thread.threadid
	
FROM thread AS thread

WHERE forumid = 2
	AND visible = 1
	AND open <> 10
	
	
AND lastpost > 1795321011
ORDER BY lastpost
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadrangeforumid,lastpostlastpost4 4Using index condition; Using where

Time Before: 0.02785 seconds
Time After: 0.02859 seconds
Time Taken: 0.00074 seconds

Memory Before: 1,153.766 KB
Memory After: 1,170.086 KB
Memory Used: 16.320 KB

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



thread.*


FROM thread AS thread






WHERE thread.threadid = 38
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadconstPRIMARYPRIMARY4const1 

Time Before: 0.02984 seconds
Time After: 0.03033 seconds
Time Taken: 0.00049 seconds

Memory Before: 1,154.219 KB
Memory After: 1,170.195 KB
Memory Used: 15.977 KB

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

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

Time Before: 0.03111 seconds
Time After: 0.03178 seconds
Time Taken: 0.00067 seconds

Memory Before: 1,165.164 KB
Memory After: 1,181.266 KB
Memory Used: 16.102 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 = 1 AND postparsed.languageid = 1)
LEFT JOIN sigparsed AS sigparsed ON(sigparsed.userid = user.userid AND sigparsed.styleid = 1 AND sigparsed.languageid = 1)
LEFT JOIN sigpic AS sigpic ON(sigpic.userid = post.userid)
	
WHERE post.postid IN (0,47)
ORDER BY post.dateline
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostrangePRIMARY,post_postid_threadidpost_postid_threadid4 2Using index condition; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4vbsupport_vb3.post.userid1 
1SIMPLEuserfieldeq_refPRIMARYPRIMARY4vbsupport_vb3.user.userid1Using where
1SIMPLEusertextfieldeq_refPRIMARYPRIMARY4vbsupport_vb3.user.userid1Using where
1SIMPLEiconeq_refPRIMARYPRIMARY2vbsupport_vb3.post.iconid1 
1SIMPLEavatareq_refPRIMARYPRIMARY2vbsupport_vb3.user.avatarid1Using where
1SIMPLEcustomavatareq_refPRIMARYPRIMARY4vbsupport_vb3.user.userid1Using where
1SIMPLEeditlogeq_refPRIMARYPRIMARY4vbsupport_vb3.post.postid1 
1SIMPLEpostparsedeq_refPRIMARYPRIMARY8vbsupport_vb3.post.postid,const,const1 
1SIMPLEsigparsedeq_refPRIMARYPRIMARY8vbsupport_vb3.user.userid,const,const1Using where
1SIMPLEsigpiceq_refPRIMARYPRIMARY4vbsupport_vb3.post.userid1 

Time Before: 0.03469 seconds
Time After: 0.03587 seconds
Time Taken: 0.00118 seconds

Memory Before: 1,170.781 KB
Memory After: 1,225.188 KB
Memory Used: 54.406 KB

Time after parsing all posts: 0.03807806968689 Memory After: 1,197KB
SQL Query
SELECT active, allow_auto_split, allow_auto_soft_delete, allow_auto_hard_delete
FROM ai_thread_processor_config
WHERE configid = 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEai_thread_processor_configconstPRIMARYPRIMARY1const1 

Time Before: 0.03907 seconds
Time After: 0.03946 seconds
Time Taken: 0.00039 seconds

Memory Before: 1,218.297 KB
Memory After: 1,234.539 KB
Memory Used: 16.242 KB

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

Time Before: 0.04054 seconds
Time After: 0.04245 seconds
Time Taken: 0.00191 seconds

Memory Before: 1,302.398 KB
Memory After: 1,302.492 KB
Memory Used: 0.094 KB

Page generated in 0.039684057235718 seconds with 20 queries, spending 0.011716604232788 doing MySQL queries and 0.02796745300293 doing PHP things.
Shutdown Queries:
DISABLED