Including Functions.php

Time Before: 0.00021 seconds
Time After: 0.00025 seconds
Time Taken: 0.00004 seconds

Memory Before: 483.148 KB
Memory After: 485.047 KB
Memory Used: 1.898 KB

Connect to Database on Server: 127.0.0.1

Time Before: 0.00029 seconds
Time After: 0.00308 seconds
Time Taken: 0.00279 seconds

Memory Before: 485.000 KB
Memory After: 485.766 KB
Memory Used: 0.766 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00329 seconds
Time After: 0.00342 seconds
Time Taken: 0.00013 seconds

Memory Before: 485.789 KB
Memory After: 485.867 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.00417 seconds
Time After: 0.00477 seconds
Time Taken: 0.00060 seconds

Memory Before: 487.180 KB
Memory After: 551.422 KB
Memory Used: 64.242 KB

Time Before: 0.00344 seconds
Time After: 0.00789 seconds
Time Taken: 0.00445 seconds

Memory Before: 485.625 KB
Memory After: 670.672 KB
Memory Used: 185.047 KB

Session Handling
SQL Query
SELECT sessionhash, lastactivity
FROM session
WHERE userid = 0
	AND host = '216.73.216.218'
	AND idhash = 'ea5a359a73a8141a16de516480d33c34'
ORDER BY lastactivity DESC
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionrefguest_lookup,userid_lastactivityguest_lookup314const,const,const1Using index condition; Using where; Using filesort

Time Before: 0.00935 seconds
Time After: 0.01020 seconds
Time Taken: 0.00084 seconds

Memory Before: 687.797 KB
Memory After: 704.117 KB
Memory Used: 16.320 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 language
WHERE languageid = 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLElanguageconstPRIMARYPRIMARY2const1 

Time Before: 0.01088 seconds
Time After: 0.01138 seconds
Time Taken: 0.00050 seconds

Memory Before: 693.469 KB
Memory After: 918.133 KB
Memory Used: 224.664 KB

Time Before: 0.00799 seconds
Time After: 0.01153 seconds
Time Taken: 0.00354 seconds

Memory Before: 672.852 KB
Memory After: 803.891 KB
Memory Used: 131.039 KB

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



thread.*


FROM thread AS thread






WHERE thread.threadid = 51
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadconstPRIMARYPRIMARY4const1 

Time Before: 0.01420 seconds
Time After: 0.01450 seconds
Time Taken: 0.00030 seconds

Memory Before: 960.133 KB
Memory After: 976.109 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.01492 seconds
Time After: 0.01525 seconds
Time Taken: 0.00032 seconds

Memory Before: 964.672 KB
Memory After: 1,052.992 KB
Memory Used: 88.320 KB

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

WHERE forumid = 2
	AND visible = 1
	AND open <> 10
	
	
AND lastpost < 1795898696
ORDER BY lastpost DESC
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadrangeforumid,lastpostlastpost4 50Using where

Time Before: 0.01803 seconds
Time After: 0.01849 seconds
Time Taken: 0.00047 seconds

Memory Before: 1,153.227 KB
Memory After: 1,169.547 KB
Memory Used: 16.320 KB

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



thread.*


FROM thread AS thread






WHERE thread.threadid = 50
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadconstPRIMARYPRIMARY4const1 

Time Before: 0.01897 seconds
Time After: 0.01932 seconds
Time Taken: 0.00035 seconds

Memory Before: 1,153.680 KB
Memory After: 1,169.656 KB
Memory Used: 15.977 KB

SQL Query
SELECT
	post.*, post.username AS postusername, post.ipaddress AS ip, IF(post.visible = 2, 1, 0) AS isdeleted,
	user.*, userfield.*
	
	
FROM post AS post
LEFT JOIN user AS user ON(user.userid = post.userid)
LEFT JOIN userfield AS userfield ON(userfield.userid = user.userid)

WHERE threadid = 50
	
ORDER BY postid
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostrefthreadidthreadid4const1Using where; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4vbsupport_vb3.post.userid1 
1SIMPLEuserfieldeq_refPRIMARYPRIMARY4vbsupport_vb3.user.userid1Using where

Time Before: 0.02015 seconds
Time After: 0.02196 seconds
Time Taken: 0.00181 seconds

Memory Before: 1,165.414 KB
Memory After: 1,197.352 KB
Memory Used: 31.938 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(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 (59)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostconstPRIMARY,post_postid_threadidPRIMARY4const1 
1SIMPLEuserconstPRIMARYPRIMARY4const1 
1SIMPLEuserfieldconstPRIMARYPRIMARY4const1 
1SIMPLEusertextfieldconstPRIMARYPRIMARY4const1 
1SIMPLEiconconstPRIMARYPRIMARY2const0Unique row not found
1SIMPLEavatarconstPRIMARYPRIMARY2const0Unique row not found
1SIMPLEcustomavatarconstPRIMARYPRIMARY4const0Unique row not found
1SIMPLEeditlogconstPRIMARYPRIMARY4const0Unique row not found
1SIMPLEpostparsedconstPRIMARYPRIMARY8const,const,const1 
1SIMPLEsigparsedconstPRIMARYPRIMARY8const,const,const1 
1SIMPLEsigpicconstPRIMARYPRIMARY4const0Unique row not found

Time Before: 0.02318 seconds
Time After: 0.02419 seconds
Time Taken: 0.00101 seconds

Memory Before: 1,189.609 KB
Memory After: 1,264.266 KB
Memory Used: 74.656 KB

Time after parsing all posts: 0.025043964385986 Memory After: 1,274KB
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.02580 seconds
Time After: 0.02613 seconds
Time Taken: 0.00033 seconds

Memory Before: 1,294.664 KB
Memory After: 1,310.906 KB
Memory Used: 16.242 KB

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

Time Before: 0.02683 seconds
Time After: 0.02886 seconds
Time Taken: 0.00202 seconds

Memory Before: 1,398.367 KB
Memory After: 1,398.461 KB
Memory Used: 0.094 KB

Page generated in 0.026276111602783 seconds with 22 queries, spending 0.01147723197937 doing MySQL queries and 0.014798879623413 doing PHP things.
Shutdown Queries:
DISABLED