Including Functions.php

Time Before: 0.00678 seconds
Time After: 0.01685 seconds
Time Taken: 0.01006 seconds

Memory Before: 2,156.555 KB
Memory After: 3,351.336 KB
Memory Used: 1,194.781 KB

Connect to Database on Server: localhost

Time Before: 0.01696 seconds
Time After: 0.01775 seconds
Time Taken: 0.00079 seconds

Memory Before: 3,351.320 KB
Memory After: 3,352.266 KB
Memory Used: 0.945 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.01795 seconds
Time After: 0.01801 seconds
Time Taken: 0.00006 seconds

Memory Before: 3,352.953 KB
Memory After: 3,353.508 KB
Memory Used: 0.555 KB

Datastore Setup
SQL Query
FROM datastore
WHERE title IN ('smiliecache','bbcodecache','mailqueue','bookmarksitecache','options','bitfields','attachmentcache','forumcache','usergroupcache','stylecache','languagecache','products','pluginlist','cron','profilefield','loadcache','noticecache','activitystream')
1SIMPLEdatastorerangePRIMARYPRIMARY52 18Using where

Time Before: 0.01850 seconds
Time After: 0.01917 seconds
Time Taken: 0.00067 seconds

Memory Before: 3,356.742 KB
Memory After: 3,357.016 KB
Memory Used: 0.273 KB

Time Before: 0.01806 seconds
Time After: 0.02262 seconds
Time Taken: 0.00457 seconds

Memory Before: 3,352.758 KB
Memory After: 5,086.063 KB
Memory Used: 1,733.305 KB

SQL Query
FROM datastore
WHERE title IN ('dbtech_vbshout_button','dbtech_vbshout_chatroom','dbtech_vbshout_instance','dbtech_livewall_contenttype')
1SIMPLEdatastorerangePRIMARYPRIMARY52 4Using where

Time Before: 0.02643 seconds
Time After: 0.02660 seconds
Time Taken: 0.00017 seconds

Memory Before: 5,723.125 KB
Memory After: 5,723.539 KB
Memory Used: 0.414 KB

Session Handling
SQL Query
FROM session
WHERE userid = 0
	AND host = ''
	AND idhash = '417d768700ea06b81d81fa170f998fd7'
1SIMPLEsessionrefguest_lookup,user_activityguest_lookup51const,const,const2Using where

Time Before: 0.02750 seconds
Time After: 0.02762 seconds
Time Taken: 0.00011 seconds

Memory Before: 5,782.680 KB
Memory After: 5,783.094 KB
Memory Used: 0.414 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,
			phrasegroupinfo AS lang_phrasegroupinfo,
			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

Time Before: 0.02820 seconds
Time After: 0.02859 seconds
Time Taken: 0.00039 seconds

Memory Before: 5,795.047 KB
Memory After: 5,794.711 KB
Memory Used: -0.336 KB

Time Before: 0.02715 seconds
Time After: 0.02881 seconds
Time Taken: 0.00166 seconds

Memory Before: 5,775.367 KB
Memory After: 5,910.156 KB
Memory Used: 134.789 KB

SQL Query
FROM datastore
WHERE title IN ('routes')

Time Before: 0.02932 seconds
Time After: 0.02941 seconds
Time Taken: 0.00009 seconds

Memory Before: 5,918.469 KB
Memory After: 5,918.977 KB
Memory Used: 0.508 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 = 135814
1SIMPLEeditlogconstPRIMARYPRIMARY4const0unique row not found

Time Before: 0.08280 seconds
Time After: 0.08296 seconds
Time Taken: 0.00016 seconds

Memory Before: 7,740.484 KB
Memory After: 7,868.656 KB
Memory Used: 128.172 KB

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

post.pagetext AS description,

FROM thread AS thread

LEFT JOIN post AS post ON(post.postid = thread.firstpostid)

WHERE thread.threadid = 8078

Time Before: 0.08339 seconds
Time After: 0.08355 seconds
Time Taken: 0.00016 seconds

Memory Before: 7,877.313 KB
Memory After: 7,877.617 KB
Memory Used: 0.305 KB

SQL Query
FROM style
WHERE (styleid = 12 AND userselect = 1)
	OR styleid = 12
ORDER BY styleid ASC

Time Before: 0.08643 seconds
Time After: 0.08668 seconds
Time Taken: 0.00026 seconds

Memory Before: 7,924.242 KB
Memory After: 7,924.672 KB
Memory Used: 0.430 KB

End call of global.php: 0.090603113174438
SQL Query
SELECT title, template
FROM template
WHERE templateid IN (2034,2033,5068,2036,5757,5302,5303,5305,5311,5310,5505,5509,5495,5496,5498,5497,5500,5502,5503,5504,5507,5203,5205,5207,5209,5211,6297,5563,5564,5565,5562,5632,5483,5482,5484,5489,5487,5656,5264,5265,5431,5258,5257,5260,5261,5274,5272,6324,5776,5717,5787,2029,2028,2030,2020,2019,2026,5081,5088,2024,5473,5769,6286,6287,5420,5421,5422,5785,0,0,5748,5750,5443,5444,5446,5447,5670,5712,5711,5761,5713,5270,5269,5273,3059,3053,3054,3055,3056,3058,3639,3642,3701,3702,3703,6103,6098,6112,6111,6113,6105,6107,6106,6050,6049,6051,0,0,6328)
1SIMPLEtemplaterangePRIMARYPRIMARY4 106Using where

Time Before: 0.10450 seconds
Time After: 0.10533 seconds
Time Taken: 0.00084 seconds

Memory Before: 9,827.805 KB
Memory After: 9,827.781 KB
Memory Used: -0.023 KB

SQL Query
	st.*, sd.founded
	seoqueries_data sd
	seoqueries_terms st
	sd.stid = st.stid
	sd.page_type = 'showthread'
	sd.page_id = 8078
	sd.founded DESC LIMIT 50
1SIMPLEsdALL    207060Using where; Using filesort 

Time Before: 0.13354 seconds
Time After: 0.16227 seconds
Time Taken: 0.02873 seconds

Memory Before: 10,374.875 KB
Memory After: 10,375.125 KB
Memory Used: 0.250 KB

SQL Query
FROM post AS post
WHERE threadid = 8078 AND visible = 1

AND dateline <= 1508977514
1SIMPLEpostrangethreadid,threadid_visible_dateline,datelinethreadid_visible_dateline10 114Using where; Using index

Time Before: 0.16493 seconds
Time After: 0.16508 seconds
Time Taken: 0.00014 seconds

Memory Before: 10,139.023 KB
Memory After: 10,139.469 KB
Memory Used: 0.445 KB

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

WHERE post.threadid = 8078
	AND post.visible = 1
ORDER BY post.dateline 
LIMIT 30, 10
1SIMPLEpostrefthreadid,threadid_visible_datelinethreadid_visible_dateline6const,const114Using where

Time Before: 0.16586 seconds
Time After: 0.16608 seconds
Time Taken: 0.00022 seconds

Memory Before: 10,148.781 KB
Memory After: 10,149.188 KB
Memory Used: 0.406 KB

SQL Query
SELECT data, expires, locktime, serialized
FROM cache
WHERE cacheid = 'vb_types.types'
1SIMPLEcachesystemPRIMARY   1 

Time Before: 0.17239 seconds
Time After: 0.17251 seconds
Time Taken: 0.00012 seconds

Memory Before: 10,687.320 KB
Memory After: 10,687.789 KB
Memory Used: 0.469 KB

SQL Query
	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 = 12 AND postparsed.languageid = 1)
LEFT JOIN sigparsed AS sigparsed ON(sigparsed.userid = user.userid AND sigparsed.styleid = 12 AND sigparsed.languageid = 1)
LEFT JOIN sigpic AS sigpic ON(sigpic.userid = post.userid)

WHERE post.postid IN (0135289,135293,135530,135531,135533,135765,135766,135770,135771,135814)
ORDER BY post.dateline
1SIMPLEpostrangePRIMARYPRIMARY4 10Using where; Using filesort 

Time Before: 0.17373 seconds
Time After: 0.17489 seconds
Time Taken: 0.00116 seconds

Memory Before: 10,740.977 KB
Memory After: 10,739.742 KB
Memory Used: -1.234 KB

SQL Query
SELECT * FROM post_thanks AS post_thanks INNER JOIN user AS user USING (userid) WHERE post_thanks.postid IN (135289,135293,135530,135531,135533,135765,135766,135770,135771,135814) ORDER BY post_thanks.username ASC
1SIMPLEpost_thanksrangepostidpostid4 35Using where; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4douglasr_bleachforuns.post_thanks.userid1Using where

Time Before: 0.18642 seconds
Time After: 0.18697 seconds
Time Taken: 0.00056 seconds

Memory Before: 11,279.586 KB
Memory After: 11,279.914 KB
Memory Used: 0.328 KB

Time after parsing all posts: 0.29211211204529 Memory After: 11,245KB
SQL Query
SELECT user.username, user.usergroupid, user.membergroupids,
	session.userid, session.inthread, session.lastactivity, session.badlocation,
	IF(user.displaygroupid = 0, user.usergroupid, user.displaygroupid) AS displaygroupid, infractiongroupid,
	IF(user.options & 512, 1, 0) AS invisible
FROM session AS session
LEFT JOIN user AS user ON(user.userid = session.userid)
WHERE session.lastactivity > 1516793919
ORDER BY  username ASC, lastactivity DESC
1SIMPLEsessionrangelast_activitylast_activity4 17930Using where; Using temporary; Using filesort

Time Before: 0.29273 seconds
Time After: 0.35875 seconds
Time Taken: 0.06601 seconds

Memory Before: 11,248.711 KB
Memory After: 11,248.813 KB
Memory Used: 0.102 KB

SQL Query
FROM navigation
WHERE state & 4 = 0
ORDER BY navtype, displayorder
1SIMPLEnavigationALL    35Using where; Using filesort

Time Before: 0.40855 seconds
Time After: 0.40882 seconds
Time Taken: 0.00027 seconds

Memory Before: 11,318.523 KB
Memory After: 11,319.008 KB
Memory Used: 0.484 KB

SQL Query
SELECT `enabled` FROM `skimlinks` WHERE `userid` = 0
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.41189 seconds
Time After: 0.41197 seconds
Time Taken: 0.00008 seconds

Memory Before: 11,460.438 KB
Memory After: 11,460.977 KB
Memory Used: 0.539 KB

SQL Query
UPDATE session
SET lastactivity = 1519593919, location = 'showthread.php?t=8078&page=4', inforum = 7, inthread = 8078, badlocation = 0
WHERE sessionhash = '4197ba9a352cd017ea1ff6c1c398956f'

Time Before: 0.41557 seconds
Time After: 0.41578 seconds
Time Taken: 0.00021 seconds

Memory Before: 12,167.672 KB
Memory After: 12,167.867 KB
Memory Used: 0.195 KB

SQL Query
UPDATE thread
SET views = views + 1
WHERE threadid = 8078

Time Before: 0.41583 seconds
Time After: 0.41597 seconds
Time Taken: 0.00014 seconds

Memory Before: 12,161.898 KB
Memory After: 12,162.242 KB
Memory Used: 0.344 KB

Page generated in 0.41416716575623 seconds with 21 queries, spending 0.10133361816406 doing MySQL queries and 0.31283354759216 doing PHP things.
Shutdown Queries: