Including Functions.php

Time Before: 0.00036 seconds
Time After: 0.00041 seconds
Time Taken: 0.00005 seconds

Memory Before: 482.648 KB
Memory After: 484.547 KB
Memory Used: 1.898 KB

Connect to Database on Server: 127.0.0.1

Time Before: 0.00046 seconds
Time After: 0.00212 seconds
Time Taken: 0.00166 seconds

Memory Before: 484.500 KB
Memory After: 485.266 KB
Memory Used: 0.766 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00231 seconds
Time After: 0.00245 seconds
Time Taken: 0.00014 seconds

Memory Before: 485.289 KB
Memory After: 485.367 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
1SIMPLEdatastoreALLPRIMARY   29Using where

Time Before: 0.00304 seconds
Time After: 0.00348 seconds
Time Taken: 0.00044 seconds

Memory Before: 486.680 KB
Memory After: 550.922 KB
Memory Used: 64.242 KB

Time Before: 0.00247 seconds
Time After: 0.00556 seconds
Time Taken: 0.00309 seconds

Memory Before: 485.125 KB
Memory After: 667.906 KB
Memory Used: 182.781 KB

Session Handling
SQL Query
SELECT sessionhash, lastactivity
FROM session
WHERE userid = 0
	AND host = '216.73.216.142'
	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.00674 seconds
Time After: 0.00710 seconds
Time Taken: 0.00036 seconds

Memory Before: 685.031 KB
Memory After: 701.352 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.00784 seconds
Time After: 0.00830 seconds
Time Taken: 0.00047 seconds

Memory Before: 690.703 KB
Memory After: 915.367 KB
Memory Used: 224.664 KB

Time Before: 0.00567 seconds
Time After: 0.00846 seconds
Time Taken: 0.00279 seconds

Memory Before: 670.086 KB
Memory After: 801.125 KB
Memory Used: 131.039 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 = 21
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostconstPRIMARY,post_postid_threadidPRIMARY4const1 
1SIMPLEeditlogconstPRIMARYPRIMARY4const0Unique row not found

Time Before: 0.01141 seconds
Time After: 0.01181 seconds
Time Taken: 0.00040 seconds

Memory Before: 957.773 KB
Memory After: 973.719 KB
Memory Used: 15.945 KB

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



thread.*


FROM thread AS thread






WHERE thread.threadid = 16
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadconstPRIMARYPRIMARY4const1 

Time Before: 0.01236 seconds
Time After: 0.01273 seconds
Time Taken: 0.00037 seconds

Memory Before: 961.227 KB
Memory After: 977.203 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.01327 seconds
Time After: 0.01374 seconds
Time Taken: 0.00047 seconds

Memory Before: 966.148 KB
Memory After: 1,054.469 KB
Memory Used: 88.320 KB

End call of global.php: 0.016182899475098
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 = 16
	
ORDER BY postid
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostrefthreadidthreadid4const3Using where; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4vbsupport_vb3.post.userid1 
1SIMPLEuserfieldeq_refPRIMARYPRIMARY4vbsupport_vb3.user.userid1Using where

Time Before: 0.01725 seconds
Time After: 0.01782 seconds
Time Taken: 0.00057 seconds

Memory Before: 1,163.664 KB
Memory After: 1,195.633 KB
Memory Used: 31.969 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 (19,20,21)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostrangePRIMARY,post_postid_threadidpost_postid_threadid4 3Using index condition
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.01903 seconds
Time After: 0.01994 seconds
Time Taken: 0.00091 seconds

Memory Before: 1,201.031 KB
Memory After: 1,255.719 KB
Memory Used: 54.688 KB

Time after parsing all posts: 0.021464109420776 Memory After: 1,279KB
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.02204 seconds
Time After: 0.02223 seconds
Time Taken: 0.00018 seconds

Memory Before: 1,299.273 KB
Memory After: 1,315.516 KB
Memory Used: 16.242 KB

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

Time Before: 0.02305 seconds
Time After: 0.02431 seconds
Time Taken: 0.00126 seconds

Memory Before: 1,390.539 KB
Memory After: 1,390.633 KB
Memory Used: 0.094 KB

Page generated in 0.022361993789673 seconds with 20 queries, spending 0.0072312355041504 doing MySQL queries and 0.015130758285522 doing PHP things.
Shutdown Queries:
DISABLED