Including Functions.php

Time Before: 0.00616 seconds
Time After: 0.01507 seconds
Time Taken: 0.00891 seconds

Memory Before: 2,156.695 KB
Memory After: 3,351.414 KB
Memory Used: 1,194.719 KB

Connect to Database on Server: localhost

Time Before: 0.01513 seconds
Time After: 0.01591 seconds
Time Taken: 0.00078 seconds

Memory Before: 3,351.398 KB
Memory After: 3,352.344 KB
Memory Used: 0.945 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.01607 seconds
Time After: 0.01614 seconds
Time Taken: 0.00007 seconds

Memory Before: 3,353.031 KB
Memory After: 3,353.586 KB
Memory Used: 0.555 KB

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

Time Before: 0.01654 seconds
Time After: 0.01716 seconds
Time Taken: 0.00062 seconds

Memory Before: 3,356.820 KB
Memory After: 3,357.094 KB
Memory Used: 0.273 KB

Time Before: 0.01617 seconds
Time After: 0.02008 seconds
Time Taken: 0.00392 seconds

Memory Before: 3,352.836 KB
Memory After: 5,086.109 KB
Memory Used: 1,733.273 KB

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

Time Before: 0.02293 seconds
Time After: 0.02307 seconds
Time Taken: 0.00014 seconds

Memory Before: 5,723.156 KB
Memory After: 5,723.570 KB
Memory Used: 0.414 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '54.80.93.19'
	AND idhash = 'cfd212f6371fe45cac32ba3669adb453'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionrefguest_lookup,user_activityguest_lookup51const,const,const2Using where

Time Before: 0.02368 seconds
Time After: 0.02378 seconds
Time Taken: 0.00011 seconds

Memory Before: 5,782.648 KB
Memory After: 5,783.070 KB
Memory Used: 0.422 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
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLElanguageconstPRIMARYPRIMARY2const1 

Time Before: 0.02435 seconds
Time After: 0.02464 seconds
Time Taken: 0.00029 seconds

Memory Before: 5,795.031 KB
Memory After: 5,794.695 KB
Memory Used: -0.336 KB

Time Before: 0.02340 seconds
Time After: 0.02482 seconds
Time Taken: 0.00143 seconds

Memory Before: 5,775.352 KB
Memory After: 5,910.141 KB
Memory Used: 134.789 KB

SQL Query
SELECT *
FROM datastore
WHERE title IN ('routes')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEdatastoreconstPRIMARYPRIMARY52const1 

Time Before: 0.02524 seconds
Time After: 0.02532 seconds
Time Taken: 0.00008 seconds

Memory Before: 5,918.453 KB
Memory After: 5,918.961 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 = 136005
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostconstPRIMARYPRIMARY4const1 
1SIMPLEeditlogconstPRIMARYPRIMARY4const0unique row not found

Time Before: 0.05081 seconds
Time After: 0.05093 seconds
Time Taken: 0.00012 seconds

Memory Before: 7,740.727 KB
Memory After: 7,868.898 KB
Memory Used: 128.172 KB

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



post.pagetext AS description,
thread.*


FROM thread AS thread




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


WHERE thread.threadid = 7964
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadconstPRIMARYPRIMARY4const1 
1SIMPLEpostconstPRIMARYPRIMARY4const1 

Time Before: 0.05120 seconds
Time After: 0.05132 seconds
Time Taken: 0.00012 seconds

Memory Before: 7,876.867 KB
Memory After: 7,877.172 KB
Memory Used: 0.305 KB

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

Time Before: 0.05284 seconds
Time After: 0.05302 seconds
Time Taken: 0.00018 seconds

Memory Before: 7,922.438 KB
Memory After: 7,922.867 KB
Memory Used: 0.430 KB

End call of global.php: 0.054880857467651
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)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEtemplaterangePRIMARYPRIMARY4 106Using where

Time Before: 0.06176 seconds
Time After: 0.06245 seconds
Time Taken: 0.00069 seconds

Memory Before: 9,828.063 KB
Memory After: 9,828.039 KB
Memory Used: -0.023 KB

SQL Query
SELECT
	st.*, sd.founded
FROM
	seoqueries_data sd
LEFT JOIN
	seoqueries_terms st
	ON
	sd.stid = st.stid
WHERE
	sd.page_type = 'showthread'
	AND
	sd.page_id = 7964
ORDER BY
	sd.founded DESC LIMIT 50
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsdALL    207195Using where; Using filesort
1SIMPLEsteq_refPRIMARYPRIMARY4douglasr_bleachforuns.sd.stid1 

Time Before: 0.08124 seconds
Time After: 0.10584 seconds
Time Taken: 0.02460 seconds

Memory Before: 10,374.320 KB
Memory After: 10,374.563 KB
Memory Used: 0.242 KB

SQL Query
SELECT COUNT(*) AS posts
FROM post AS post
WHERE threadid = 7964 AND visible = 1

AND dateline <= 1515296431
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostrangethreadid,threadid_visible_dateline,datelinethreadid_visible_dateline10 723Using where; Using index

Time Before: 0.10732 seconds
Time After: 0.10754 seconds
Time Taken: 0.00022 seconds

Memory Before: 10,136.258 KB
Memory After: 10,136.703 KB
Memory Used: 0.445 KB

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

WHERE post.threadid = 7964
	AND post.visible = 1
	
	
ORDER BY post.dateline 
LIMIT 380, 10
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostrefthreadid,threadid_visible_datelinethreadid_visible_dateline6const,const853Using where

Time Before: 0.10806 seconds
Time After: 0.10887 seconds
Time Taken: 0.00081 seconds

Memory Before: 10,146.008 KB
Memory After: 10,146.406 KB
Memory Used: 0.398 KB

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

Time Before: 0.11236 seconds
Time After: 0.11243 seconds
Time Taken: 0.00007 seconds

Memory Before: 10,684.609 KB
Memory After: 10,685.078 KB
Memory Used: 0.469 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 = 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 (0135995,135996,136002,136003,136005,136068,136079,136081,136083,136084)
ORDER BY post.dateline
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostparsedsystemPRIMARY   0const row not found
1SIMPLEpostrangePRIMARYPRIMARY4 10Using where; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4douglasr_bleachforuns.post.userid1 
1SIMPLEsigparsedeq_refPRIMARYPRIMARY8douglasr_bleachforuns.user.userid,const,const1 
1SIMPLEsigpiceq_refPRIMARYPRIMARY4douglasr_bleachforuns.post.userid1 
1SIMPLEuserfieldeq_refPRIMARYPRIMARY4douglasr_bleachforuns.user.userid1 
1SIMPLEusertextfieldeq_refPRIMARYPRIMARY4douglasr_bleachforuns.user.userid1 
1SIMPLEiconeq_refPRIMARYPRIMARY2douglasr_bleachforuns.post.iconid1 
1SIMPLEavatareq_refPRIMARYPRIMARY2douglasr_bleachforuns.user.avatarid1 
1SIMPLEcustomavatareq_refPRIMARYPRIMARY4douglasr_bleachforuns.user.userid1 
1SIMPLEeditlogeq_refPRIMARYPRIMARY4douglasr_bleachforuns.post.postid1 

Time Before: 0.11320 seconds
Time After: 0.11405 seconds
Time Taken: 0.00084 seconds

Memory Before: 10,738.281 KB
Memory After: 10,737.039 KB
Memory Used: -1.242 KB

SQL Query
SELECT * FROM post_thanks AS post_thanks INNER JOIN user AS user USING (userid) WHERE post_thanks.postid IN (135995,135996,136002,136003,136005,136068,136079,136081,136083,136084) ORDER BY post_thanks.username ASC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpost_thanksrangepostidpostid4 31Using where; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4douglasr_bleachforuns.post_thanks.userid1Using where

Time Before: 0.12168 seconds
Time After: 0.12208 seconds
Time Taken: 0.00040 seconds

Memory Before: 11,403.758 KB
Memory After: 11,404.109 KB
Memory Used: 0.352 KB

Time after parsing all posts: 0.19435501098633 Memory After: 11,357KB
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 > 1531443086
ORDER BY  username ASC, lastactivity DESC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionrangelast_activitylast_activity4 9337Using where; Using temporary; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4douglasr_bleachforuns.session.userid1 

Time Before: 0.19487 seconds
Time After: 0.21935 seconds
Time Taken: 0.02448 seconds

Memory Before: 11,363.078 KB
Memory After: 11,363.180 KB
Memory Used: 0.102 KB

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

Time Before: 0.24068 seconds
Time After: 0.24086 seconds
Time Taken: 0.00017 seconds

Memory Before: 11,395.352 KB
Memory After: 11,395.836 KB
Memory Used: 0.484 KB

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

Time Before: 0.24318 seconds
Time After: 0.24323 seconds
Time Taken: 0.00005 seconds

Memory Before: 11,538.445 KB
Memory After: 11,538.961 KB
Memory Used: 0.516 KB

SQL Query
UPDATE session
SET lastactivity = 1534243086, location = 'showthread.php?t=7964&page=39', badlocation = 0
WHERE sessionhash = '27c4168d62402c02a338418c5a5a722d'

Time Before: 0.24617 seconds
Time After: 0.24629 seconds
Time Taken: 0.00012 seconds

Memory Before: 12,254.328 KB
Memory After: 12,254.563 KB
Memory Used: 0.234 KB

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

Time Before: 0.24633 seconds
Time After: 0.24642 seconds
Time Taken: 0.00010 seconds

Memory Before: 12,249.266 KB
Memory After: 12,249.609 KB
Memory Used: 0.344 KB

Page generated in 0.24490904808044 seconds with 21 queries, spending 0.055065393447876 doing MySQL queries and 0.18984365463257 doing PHP things.
Shutdown Queries:
DISABLED