Including Functions.php

Time Before: 0.00926 seconds
Time After: 0.02218 seconds
Time Taken: 0.01291 seconds

Memory Before: 2,147.906 KB
Memory After: 3,342.664 KB
Memory Used: 1,194.758 KB

Connect to Database on Server: localhost

Time Before: 0.02229 seconds
Time After: 0.02294 seconds
Time Taken: 0.00065 seconds

Memory Before: 3,342.648 KB
Memory After: 3,350.148 KB
Memory Used: 7.500 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.02314 seconds
Time After: 0.02340 seconds
Time Taken: 0.00026 seconds

Memory Before: 3,350.836 KB
Memory After: 3,351.398 KB
Memory Used: 0.563 KB

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

Time Before: 0.02403 seconds
Time After: 0.02447 seconds
Time Taken: 0.00044 seconds

Memory Before: 3,354.820 KB
Memory After: 3,420.828 KB
Memory Used: 66.008 KB

Time Before: 0.02344 seconds
Time After: 0.02602 seconds
Time Taken: 0.00257 seconds

Memory Before: 3,350.641 KB
Memory After: 3,896.219 KB
Memory Used: 545.578 KB

SQL Query
FROM vbulletin_datastore
WHERE title IN ('profilefield')
1SIMPLE         no matching row in const table

Time Before: 0.02963 seconds
Time After: 0.02975 seconds
Time Taken: 0.00012 seconds

Memory Before: 4,469.453 KB
Memory After: 4,471.969 KB
Memory Used: 2.516 KB

Session Handling
SQL Query
FROM vbulletin_session
WHERE userid = 0
	AND host = ''
	AND idhash = 'a1b1eafc2b9398e75bff7feca4911599'
1SIMPLEvbulletin_session refuser_activity,guest_lookupguest_lookup55const,const,const2100.00 

Time Before: 0.03066 seconds
Time After: 0.03088 seconds
Time Taken: 0.00022 seconds

Memory Before: 4,488.289 KB
Memory After: 4,494.922 KB
Memory Used: 6.633 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,
			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 vbulletin_language
WHERE languageid = 1
1SIMPLEvbulletin_language systemPRIMARY   1100.00 

Time Before: 0.03146 seconds
Time After: 0.03174 seconds
Time Taken: 0.00028 seconds

Memory Before: 4,500.820 KB
Memory After: 4,507.320 KB
Memory Used: 6.500 KB

Time Before: 0.03006 seconds
Time After: 0.03183 seconds
Time Taken: 0.00177 seconds

Memory Before: 4,481.000 KB
Memory After: 4,567.930 KB
Memory Used: 86.930 KB

SQL Query
FROM vbulletin_datastore
WHERE title IN ('routes','profilefield')
1SIMPLEvbulletin_datastore rangePRIMARYPRIMARY52 2100.00Using index condition

Time Before: 0.03217 seconds
Time After: 0.03230 seconds
Time Taken: 0.00013 seconds

Memory Before: 4,576.141 KB
Memory After: 4,578.711 KB
Memory Used: 2.570 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 vbulletin_post AS post

LEFT JOIN vbulletin_editlog AS editlog ON (editlog.postid = post.postid)

WHERE post.postid = 40763
1SIMPLEpost constPRIMARYPRIMARY4const1100.00 
1SIMPLEeditlog constPRIMARYPRIMARY4const00.00unique row not found

Time Before: 0.03455 seconds
Time After: 0.03467 seconds
Time Taken: 0.00012 seconds

Memory Before: 4,741.797 KB
Memory After: 4,877.102 KB
Memory Used: 135.305 KB

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

post.pagetext AS description,

FROM vbulletin_thread AS thread

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

WHERE thread.threadid = 10682
1SIMPLEthread constPRIMARYPRIMARY4const1100.00 
1SIMPLEpost constPRIMARYPRIMARY4const1100.00 

Time Before: 0.03493 seconds
Time After: 0.03508 seconds
Time Taken: 0.00015 seconds

Memory Before: 4,878.492 KB
Memory After: 4,888.188 KB
Memory Used: 9.695 KB

SQL Query
FROM vbulletin_style
WHERE (styleid = 3 AND userselect = 1)
	OR styleid = 3
ORDER BY styleid ASC
1SIMPLEvbulletin_style constPRIMARYPRIMARY2const1100.00 

Time Before: 0.03632 seconds
Time After: 0.03656 seconds
Time Taken: 0.00024 seconds

Memory Before: 4,910.500 KB
Memory After: 4,916.344 KB
Memory Used: 5.844 KB

End call of global.php: 0.03734302520752
SQL Query
FROM vbulletin_post AS post
WHERE threadid = 10682 AND visible = 1

AND dateline <= 1476821673
1SIMPLEpost rangethreadid,threadid_visible_dateline,datelinethreadid_visible_dateline10 7100.00Using where; Using index

Time Before: 0.04210 seconds
Time After: 0.04223 seconds
Time Taken: 0.00013 seconds

Memory Before: 6,229.211 KB
Memory After: 6,231.141 KB
Memory Used: 1.930 KB

SQL Query
SELECT post.postid, post.visible, post.userid, post.attach
FROM vbulletin_post AS post

WHERE post.threadid = 10682
	AND post.visible IN (1
ORDER BY post.dateline
1SIMPLEpost rangethreadid,threadid_visible_datelinethreadid_visible_dateline6 8100.00Using index condition; Using filesort

Time Before: 0.04263 seconds
Time After: 0.04280 seconds
Time Taken: 0.00017 seconds

Memory Before: 6,238.117 KB
Memory After: 6,240.781 KB
Memory Used: 2.664 KB

SQL Query
SELECT data, expires, locktime, serialized
FROM vbulletin_cache
WHERE cacheid = 'vb_types.types'
1SIMPLEvbulletin_cache constPRIMARYPRIMARY66const1100.00 

Time Before: 0.04562 seconds
Time After: 0.04571 seconds
Time Taken: 0.00009 seconds

Memory Before: 6,725.414 KB
Memory After: 6,728.195 KB
Memory Used: 2.781 KB

SQL Query
				fd.thumbnail_dateline, fd.filesize, IF(fd.thumbnail_filesize > 0, 1, 0) AS hasthumbnail, fd.thumbnail_filesize,
				a.dateline, a.state, a.attachmentid, a.counter, a.contentid, a.filename, a.userid, a.settings, a.displayorder,
			FROM vbulletin_attachment AS a
			INNER JOIN vbulletin_filedata AS fd ON (fd.filedataid = a.filedataid)
			LEFT JOIN vbulletin_attachmenttype AS at ON (at.extension = fd.extension)
					a.contentid IN (40761)
					a.contenttypeid = 1

ORDER BY a.contentid, a.displayorder
1SIMPLEa refcontenttypeid,contentid,filedataidcontenttypeid8const,const5100.00Using index condition; Using filesort
1SIMPLEfd eq_refPRIMARYPRIMARY4arborday_vbulletin.a.filedataid1100.00 
1SIMPLEat eq_refPRIMARYPRIMARY22arborday_vbulletin.fd.extension1100.00 

Time Before: 0.04611 seconds
Time After: 0.04638 seconds
Time Taken: 0.00027 seconds

Memory Before: 6,774.813 KB
Memory After: 6,779.898 KB
Memory Used: 5.086 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,
	deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason,
	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 vbulletin_post AS post
LEFT JOIN vbulletin_user AS user ON(user.userid = post.userid)
LEFT JOIN vbulletin_userfield AS userfield ON(userfield.userid = user.userid)
LEFT JOIN vbulletin_usertextfield AS usertextfield ON(usertextfield.userid = user.userid)
LEFT JOIN vbulletin_icon AS icon ON(icon.iconid = post.iconid)
LEFT JOIN vbulletin_avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN vbulletin_customavatar AS customavatar ON(customavatar.userid = user.userid)

	LEFT JOIN vbulletin_deletionlog AS deletionlog ON(post.postid = deletionlog.primaryid AND deletionlog.type = 'post')
LEFT JOIN vbulletin_editlog AS editlog ON(editlog.postid = post.postid)
LEFT JOIN vbulletin_postparsed AS postparsed ON(postparsed.postid = post.postid AND postparsed.styleid = 3 AND postparsed.languageid = 1)
LEFT JOIN vbulletin_sigparsed AS sigparsed ON(sigparsed.userid = user.userid AND sigparsed.styleid = 3 AND sigparsed.languageid = 1)
LEFT JOIN vbulletin_sigpic AS sigpic ON(sigpic.userid = post.userid)

WHERE post.postid IN (040761,40763)
ORDER BY post.dateline
1SIMPLEavatar systemPRIMARY   00.00const row not found
1SIMPLEpostparsed systemPRIMARY   00.00const row not found
1SIMPLEsigpic systemPRIMARY   00.00const row not found
1SIMPLEpost rangePRIMARYPRIMARY4 2100.00Using index condition; Using filesort
1SIMPLEuserfield eq_refPRIMARYPRIMARY4arborday_vbulletin.user.userid1100.00 
1SIMPLEusertextfield eq_refPRIMARYPRIMARY4arborday_vbulletin.user.userid1100.00 
1SIMPLEcustomavatar eq_refPRIMARYPRIMARY4arborday_vbulletin.user.userid1100.00 
1SIMPLEdeletionlog eq_refPRIMARY,,const1100.00 
1SIMPLEsigparsed eq_refPRIMARYPRIMARY8arborday_vbulletin.user.userid,const,const1100.00 

Time Before: 0.04730 seconds
Time After: 0.04776 seconds
Time Taken: 0.00046 seconds

Memory Before: 6,792.969 KB
Memory After: 6,827.078 KB
Memory Used: 34.109 KB

SQL Query
SELECT title, template
FROM vbulletin_template
WHERE templateid IN (81,80,82,83,1642,1187,1188,1190,1196,1195,1390,1394,1380,1381,1383,1382,1385,1387,1388,1389,1392,1088,1090,1092,1094,1096,978,1448,1449,1450,1447,1517,1368,1367,1369,1374,1372,1541,1149,1150,1316,1143,1142,1145,1146,1159,1157,958,1930,1602,1672,0,0,79,73,72,77,78,973,976,1358,1654,1304,1308,1305,1306,1307,1670,0,0,1633,1635,1328,1329,1331,1332,1555,1597,1596,1646,1598,1155,1154,1158)
1SIMPLEvbulletin_template rangePRIMARYPRIMARY4 81100.00Using index condition

Time Before: 0.04872 seconds
Time After: 0.04925 seconds
Time Taken: 0.00053 seconds

Memory Before: 7,195.320 KB
Memory After: 7,199.102 KB
Memory Used: 3.781 KB

Time after parsing all posts: 0.05455493927002 Memory After: 7,227KB
SQL Query
FROM vbulletin_navigation
WHERE state & 4 = 0
ORDER BY navtype, displayorder
1SIMPLEvbulletin_navigation ALL    27100.00Using where; Using filesort

Time Before: 0.05533 seconds
Time After: 0.05547 seconds
Time Taken: 0.00014 seconds

Memory Before: 7,250.289 KB
Memory After: 7,258.313 KB
Memory Used: 8.023 KB

SQL Query
UPDATE vbulletin_session
SET lastactivity = 1597379723, location = 'showthread.php?t=10682', inforum = 50, inthread = 10682, badlocation = 0
WHERE sessionhash = 'f0c01cb63ce166452f824cc8e624b68f'

Time Before: 0.05803 seconds
Time After: 0.05815 seconds
Time Taken: 0.00012 seconds

Memory Before: 7,700.289 KB
Memory After: 7,700.547 KB
Memory Used: 0.258 KB

SQL Query
INSERT INTO vbulletin_threadviews (threadid)
VALUES (10682)

Time Before: 0.05819 seconds
Time After: 0.05834 seconds
Time Taken: 0.00015 seconds

Memory Before: 7,694.555 KB
Memory After: 7,694.836 KB
Memory Used: 0.281 KB

Page generated in 0.057667016983032 seconds with 18 queries, spending 0.0046536922454834 doing MySQL queries and 0.053013324737549 doing PHP things.
Shutdown Queries: