Including Functions.php

Time Before: 0.00103 seconds
Time After: 0.00129 seconds
Time Taken: 0.00026 seconds

Memory Before: 690.297 KB
Memory After: 698.258 KB
Memory Used: 7.961 KB

Connect to Database on Server:

Time Before: 0.00134 seconds
Time After: 0.00384 seconds
Time Taken: 0.00250 seconds

Memory Before: 698.195 KB
Memory After: 699.109 KB
Memory Used: 0.914 KB

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

Time Before: 0.00508 seconds
Time After: 0.00713 seconds
Time Taken: 0.00205 seconds

Memory Before: 702.109 KB
Memory After: 703.086 KB
Memory Used: 0.977 KB

Time Before: 0.00424 seconds
Time After: 0.00877 seconds
Time Taken: 0.00453 seconds

Memory Before: 698.813 KB
Memory After: 1,730.914 KB
Memory Used: 1,032.102 KB

SQL Query
FROM datastore
WHERE title IN ('banemail','dbtech_vbsecurity_actions','dbtech_vbsecurity_watchers','vs_dfp_cache')
1SIMPLEdatastore rangePRIMARYPRIMARY52 4100.00Using where

Time Before: 0.01269 seconds
Time After: 0.01314 seconds
Time Taken: 0.00045 seconds

Memory Before: 1,862.195 KB
Memory After: 1,862.719 KB
Memory Used: 0.523 KB

Session Handling
SQL Query
FROM session
WHERE userid = 0
	AND host = ''
	AND idhash = '3845663ecfe919f5efc39ab4f16260b1'
1SIMPLEsession refuserid,idhash,hostidhash34const15.00Using where

Time Before: 0.01448 seconds
Time After: 0.01492 seconds
Time Taken: 0.00045 seconds

Memory Before: 1,879.352 KB
Memory After: 1,879.953 KB
Memory Used: 0.602 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,
			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
1SIMPLElanguage constPRIMARYPRIMARY2const1100.00 

Time Before: 0.01628 seconds
Time After: 0.01735 seconds
Time Taken: 0.00108 seconds

Memory Before: 1,890.688 KB
Memory After: 1,890.586 KB
Memory Used: -0.102 KB

Time Before: 0.01326 seconds
Time After: 0.01749 seconds
Time Taken: 0.00423 seconds

Memory Before: 1,874.180 KB
Memory After: 1,956.758 KB
Memory Used: 82.578 KB

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


FROM thread AS thread

WHERE thread.threadid = 147946
1SIMPLEthread constPRIMARYPRIMARY4const1100.00 

Time Before: 0.02035 seconds
Time After: 0.02076 seconds
Time Taken: 0.00041 seconds

Memory Before: 2,143.000 KB
Memory After: 2,143.672 KB
Memory Used: 0.672 KB

SQL Query
FROM style
WHERE (styleid = 15 AND userselect = 1)
	OR styleid = 15
ORDER BY styleid ASC
1SIMPLEstyle constPRIMARY,userselectPRIMARY2const1100.00 

Time Before: 0.02601 seconds
Time After: 0.02669 seconds
Time Taken: 0.00068 seconds

Memory Before: 2,285.273 KB
Memory After: 2,285.859 KB
Memory Used: 0.586 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (31626,33201,33217,33209,33873,37121,34129,34137,34153,34209,34201,35561,35593,35481,35489,35505,35497,35521,35537,35545,35553,35569,35585,33377,33393,33409,33425,31547,31548,35849,18241,35833,35817,36401,36409,35425,35417,35433,35465,35449,36625,33697,33689,33705,33713,30960,31553,30955,33177,33169,33185,31634,33137,35353,30961,34969,34977,34985,37113,37137,37209,35137,35145,35153,35161,36745,31543,31544,37257,37281,30372,31557,31558,32601,32617,32625,32609,32633,32593,29195,29192,29193,29194)
1SIMPLEtemplate rangePRIMARYPRIMARY4 83100.00Using where

Time Before: 0.04593 seconds
Time After: 0.04749 seconds
Time Taken: 0.00156 seconds

Memory Before: 2,460.719 KB
Memory After: 2,462.695 KB
Memory Used: 1.977 KB

SQL Query
SELECT threadid, title, dateline, lastpost, visible, open, postusername, postuserid	  
FROM thread AS thread
WHERE NOT ISNULL(threadid) AND forumid IN (12,31,39,6,44,20,32,40,2,1,3,47,48,10,28,41,9,17,33,51) AND visible = '1' AND open!='10'

ORDER BY lastpost DESC
LIMIT 0, 5
1SIMPLEthread indexPRIMARY,forumidlastpost6 581.00Using where

Time Before: 0.09519 seconds
Time After: 0.09588 seconds
Time Taken: 0.00069 seconds

Memory Before: 3,789.719 KB
Memory After: 3,790.359 KB
Memory Used: 0.641 KB

SQL Query
SELECT title FROM style WHERE styleid = '15'
1SIMPLEstyle constPRIMARYPRIMARY2const1100.00 

Time Before: 0.09737 seconds
Time After: 0.09775 seconds
Time Taken: 0.00038 seconds

Memory Before: 3,798.641 KB
Memory After: 3,799.227 KB
Memory Used: 0.586 KB

SQL Query
SELECT template
FROM template
WHERE templateid = 32569
1SIMPLEtemplate constPRIMARYPRIMARY4const1100.00 

Time Before: 0.10203 seconds
Time After: 0.10236 seconds
Time Taken: 0.00032 seconds

Memory Before: 3,843.133 KB
Memory After: 3,843.695 KB
Memory Used: 0.563 KB

SQL Query
SELECT tkey,tval FROM vstargets WHERE userid = 0
1SIMPLEvstargets refPRIMARYPRIMARY4const1100.00 

Time Before: 0.10360 seconds
Time After: 0.10393 seconds
Time Taken: 0.00033 seconds

Memory Before: 3,849.047 KB
Memory After: 3,849.594 KB
Memory Used: 0.547 KB

End call of global.php: 0.10418200492859
SQL Query
FROM poll
WHERE pollid = 942
1SIMPLEpoll constPRIMARYPRIMARY4const1100.00 

Time Before: 0.10736 seconds
Time After: 0.10767 seconds
Time Taken: 0.00032 seconds

Memory Before: 3,893.664 KB
Memory After: 3,894.328 KB
Memory Used: 0.664 KB

SQL Query
SELECT post.postid
FROM post AS post

WHERE post.threadid = 147946
	AND post.visible = 1
ORDER BY post.dateline 
LIMIT 0, 15
1SIMPLEpost refthreadidthreadid4const1310.00Using index condition; Using where; Using filesort

Time Before: 0.11344 seconds
Time After: 0.11416 seconds
Time Taken: 0.00072 seconds

Memory Before: 4,228.938 KB
Memory After: 4,229.586 KB
Memory Used: 0.648 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
	, '' AS field2, '' AS field3, '' AS field4, '' AS field5, '' AS field6, '' AS field7, '' AS field8, '' AS field9, '' AS field11, '' AS field13, '' AS field14
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 = 15 AND postparsed.languageid = 1)
LEFT JOIN sigparsed AS sigparsed ON(sigparsed.userid = user.userid AND sigparsed.styleid = 15 AND sigparsed.languageid = 1)
LEFT JOIN sigpic AS sigpic ON(sigpic.userid = post.userid)
WHERE post.postid IN (0,1124366,1124368,1124370,1124374,1124396,1124410,1124414,1124666,1124674,1124698,1124706,1124708,1124712)
ORDER BY post.dateline
1SIMPLEpost rangePRIMARYPRIMARY4 14100.00Using where; Using temporary; Using filesort
1SIMPLEuserfield eq_refPRIMARYPRIMARY4wings900_com.user.userid1100.00 
1SIMPLEusertextfield eq_refPRIMARYPRIMARY4wings900_com.user.userid1100.00 
1SIMPLEavatar eq_refPRIMARYPRIMARY2wings900_com.user.avatarid1100.00Using where
1SIMPLEcustomavatar eq_refPRIMARYPRIMARY4wings900_com.user.userid1100.00 
1SIMPLEpostparsed ALLPRIMARY   1100.00Using where; Using join buffer (Block Nested Loop)
1SIMPLEsigparsed eq_refPRIMARYPRIMARY8wings900_com.user.userid,const,const1100.00 

Time Before: 0.11649 seconds
Time After: 0.12061 seconds
Time Taken: 0.00413 seconds

Memory Before: 4,237.695 KB
Memory After: 4,250.938 KB
Memory Used: 13.242 KB

Time after parsing all posts: 0.15591096878052 Memory After: 4,965KB
SQL Query
SELECT * FROM viglink_link_insertion ORDER BY id DESC;
1SIMPLEviglink_link_insertion index PRIMARY4 1100.00 

Time Before: 0.15790 seconds
Time After: 0.15825 seconds
Time Taken: 0.00034 seconds

Memory Before: 5,041.984 KB
Memory After: 5,042.563 KB
Memory Used: 0.578 KB

SQL Query
SELECT title FROM style WHERE styleid = '15'
1SIMPLEstyle constPRIMARYPRIMARY2const1100.00 

Time Before: 0.16015 seconds
Time After: 0.16053 seconds
Time Taken: 0.00038 seconds

Memory Before: 5,049.492 KB
Memory After: 5,050.078 KB
Memory Used: 0.586 KB

SQL Query
SELECT title FROM style WHERE styleid = '15'
1SIMPLEstyle constPRIMARYPRIMARY2const1100.00 

Time Before: 0.17321 seconds
Time After: 0.17363 seconds
Time Taken: 0.00042 seconds

Memory Before: 5,682.719 KB
Memory After: 5,683.305 KB
Memory Used: 0.586 KB

SQL Query
UPDATE session
SET lastactivity = 1558431759, location = '/vb/showthread.php?t=147946', inforum = 1, inthread = 147946, incalendar = 0, badlocation = 0
WHERE sessionhash = 'b5478e4511ce9388ed383ce5d3fd1308'

Time Before: 0.21858 seconds
Time After: 0.22322 seconds
Time Taken: 0.00465 seconds

Memory Before: 5,982.500 KB
Memory After: 5,982.680 KB
Memory Used: 0.180 KB

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

Time Before: 0.22328 seconds
Time After: 0.22627 seconds
Time Taken: 0.00299 seconds

Memory Before: 5,976.734 KB
Memory After: 5,977.078 KB
Memory Used: 0.344 KB

Page generated in 0.16324210166931 seconds with 27 queries, spending 0.028325080871582 doing MySQL queries and 0.13491702079773 doing PHP things.
Shutdown Queries: