Including Functions.php

Time Before: 0.00583 seconds
Time After: 0.01443 seconds
Time Taken: 0.00860 seconds

Memory Before: 2,156.398 KB
Memory After: 3,351.219 KB
Memory Used: 1,194.820 KB

Connect to Database on Server: localhost

Time Before: 0.01453 seconds
Time After: 0.01536 seconds
Time Taken: 0.00083 seconds

Memory Before: 3,351.180 KB
Memory After: 3,352.125 KB
Memory Used: 0.945 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.01553 seconds
Time After: 0.01560 seconds
Time Taken: 0.00007 seconds

Memory Before: 3,352.813 KB
Memory After: 3,353.367 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.01603 seconds
Time After: 0.01666 seconds
Time Taken: 0.00063 seconds

Memory Before: 3,356.602 KB
Memory After: 3,356.875 KB
Memory Used: 0.273 KB

Time Before: 0.01563 seconds
Time After: 0.01984 seconds
Time Taken: 0.00421 seconds

Memory Before: 3,352.617 KB
Memory After: 5,085.906 KB
Memory Used: 1,733.289 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.02306 seconds
Time After: 0.02320 seconds
Time Taken: 0.00014 seconds

Memory Before: 5,723.008 KB
Memory After: 5,723.422 KB
Memory Used: 0.414 KB

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

Time Before: 0.02383 seconds
Time After: 0.02394 seconds
Time Taken: 0.00011 seconds

Memory Before: 5,782.500 KB
Memory After: 5,782.914 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.02451 seconds
Time After: 0.02484 seconds
Time Taken: 0.00033 seconds

Memory Before: 5,794.859 KB
Memory After: 5,794.523 KB
Memory Used: -0.336 KB

Time Before: 0.02352 seconds
Time After: 0.02503 seconds
Time Taken: 0.00151 seconds

Memory Before: 5,775.188 KB
Memory After: 5,909.969 KB
Memory Used: 134.781 KB

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

Time Before: 0.02545 seconds
Time After: 0.02553 seconds
Time Taken: 0.00009 seconds

Memory Before: 5,918.281 KB
Memory After: 5,918.789 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 = 134229
1SIMPLEeditlogconstPRIMARYPRIMARY4const0unique row not found

Time Before: 0.05392 seconds
Time After: 0.05406 seconds
Time Taken: 0.00015 seconds

Memory Before: 7,740.508 KB
Memory After: 7,868.680 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 = 7972

Time Before: 0.05435 seconds
Time After: 0.05454 seconds
Time Taken: 0.00019 seconds

Memory Before: 7,876.695 KB
Memory After: 7,877.000 KB
Memory Used: 0.305 KB

SQL Query
FROM style
WHERE (styleid = 13)
	OR styleid = 12
1SIMPLEstylerangePRIMARYPRIMARY2 2Using where

Time Before: 0.05621 seconds
Time After: 0.05644 seconds
Time Taken: 0.00023 seconds

Memory Before: 7,922.227 KB
Memory After: 7,922.680 KB
Memory Used: 0.453 KB

End call of global.php: 0.058441877365112
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.06586 seconds
Time After: 0.06663 seconds
Time Taken: 0.00077 seconds

Memory Before: 9,825.227 KB
Memory After: 9,825.203 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 = 7972
	sd.founded DESC LIMIT 50
1SIMPLEsdALL    207014Using where; Using filesort 

Time Before: 0.08814 seconds
Time After: 0.11530 seconds
Time Taken: 0.02716 seconds

Memory Before: 10,371.398 KB
Memory After: 10,371.648 KB
Memory Used: 0.250 KB

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

AND dateline <= 1477586994
1SIMPLEpostrangethreadid,threadid_visible_dateline,datelinethreadid_visible_dateline10 16Using where; Using index

Time Before: 0.11720 seconds
Time After: 0.11732 seconds
Time Taken: 0.00012 seconds

Memory Before: 10,135.836 KB
Memory After: 10,136.297 KB
Memory Used: 0.461 KB

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

WHERE post.threadid = 7972
	AND post.visible = 1
ORDER BY post.dateline 
LIMIT 0, 10
1SIMPLEpostrefthreadid,threadid_visible_datelinethreadid_visible_dateline6const,const19Using where

Time Before: 0.11796 seconds
Time After: 0.11810 seconds
Time Taken: 0.00014 seconds

Memory Before: 10,145.602 KB
Memory After: 10,145.992 KB
Memory Used: 0.391 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 = 13 AND postparsed.languageid = 1)
LEFT JOIN sigparsed AS sigparsed ON(sigparsed.userid = user.userid AND sigparsed.styleid = 13 AND sigparsed.languageid = 1)
LEFT JOIN sigpic AS sigpic ON(sigpic.userid = post.userid)

WHERE post.postid IN (0134222,134223,134225,134226,134228,134229,136088)
ORDER BY post.dateline
1SIMPLEpostrangePRIMARYPRIMARY4 7Using where; Using filesort 

Time Before: 0.11889 seconds
Time After: 0.11986 seconds
Time Taken: 0.00098 seconds

Memory Before: 10,154.469 KB
Memory After: 10,153.250 KB
Memory Used: -1.219 KB

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

Time Before: 0.12902 seconds
Time After: 0.12911 seconds
Time Taken: 0.00009 seconds

Memory Before: 11,078.461 KB
Memory After: 11,078.922 KB
Memory Used: 0.461 KB

SQL Query
SELECT * FROM post_thanks AS post_thanks INNER JOIN user AS user USING (userid) WHERE post_thanks.postid IN (134222,134223,134225,134226,134228,134229,136088) ORDER BY post_thanks.username ASC
1SIMPLEpost_thanksrangepostidpostid4 15Using where; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4douglasr_bleachforuns.post_thanks.userid1Using where

Time Before: 0.13075 seconds
Time After: 0.13114 seconds
Time Taken: 0.00039 seconds

Memory Before: 11,270.914 KB
Memory After: 11,271.289 KB
Memory Used: 0.375 KB

Time after parsing all posts: 0.15631079673767 Memory After: 11,163KB
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 > 1513532635
ORDER BY  username ASC, lastactivity DESC
1SIMPLEsessionrangelast_activitylast_activity4 1430Using where; Using temporary; Using filesort

Time Before: 0.15693 seconds
Time After: 0.16199 seconds
Time Taken: 0.00506 seconds

Memory Before: 11,168.648 KB
Memory After: 11,168.750 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.16743 seconds
Time After: 0.16765 seconds
Time Taken: 0.00022 seconds

Memory Before: 11,205.750 KB
Memory After: 11,206.234 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.17024 seconds
Time After: 0.17029 seconds
Time Taken: 0.00006 seconds

Memory Before: 11,348.258 KB
Memory After: 11,348.789 KB
Memory Used: 0.531 KB

SQL Query
UPDATE session
SET lastactivity = 1516332635, location = 'showthread.php?t=7972', badlocation = 0
WHERE sessionhash = 'c6c98d447336a1aef50641adbcc54f07'

Time Before: 0.17339 seconds
Time After: 0.17352 seconds
Time Taken: 0.00013 seconds

Memory Before: 11,909.914 KB
Memory After: 11,910.156 KB
Memory Used: 0.242 KB

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

Time Before: 0.17356 seconds
Time After: 0.17367 seconds
Time Taken: 0.00011 seconds

Memory Before: 11,904.883 KB
Memory After: 11,905.227 KB
Memory Used: 0.344 KB

Page generated in 0.17230486869812 seconds with 21 queries, spending 0.037988662719727 doing MySQL queries and 0.13431620597839 doing PHP things.
Shutdown Queries: