Including Functions.php

Time Before: 0.00453 seconds
Time After: 0.01116 seconds
Time Taken: 0.00663 seconds

Memory Before: 2,145.883 KB
Memory After: 3,340.625 KB
Memory Used: 1,194.742 KB

Connect to Database on Server: localhost

Time Before: 0.01123 seconds
Time After: 0.01160 seconds
Time Taken: 0.00037 seconds

Memory Before: 3,340.609 KB
Memory After: 3,348.109 KB
Memory Used: 7.500 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.01172 seconds
Time After: 0.01181 seconds
Time Taken: 0.00009 seconds

Memory Before: 3,348.797 KB
Memory After: 3,349.359 KB
Memory Used: 0.563 KB

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

Time Before: 0.01225 seconds
Time After: 0.01247 seconds
Time Taken: 0.00023 seconds

Memory Before: 3,352.781 KB
Memory After: 3,418.766 KB
Memory Used: 65.984 KB

Time Before: 0.01185 seconds
Time After: 0.01332 seconds
Time Taken: 0.00148 seconds

Memory Before: 3,348.602 KB
Memory After: 3,894.203 KB
Memory Used: 545.602 KB

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

Time Before: 0.01542 seconds
Time After: 0.01549 seconds
Time Taken: 0.00007 seconds

Memory Before: 4,467.367 KB
Memory After: 4,469.906 KB
Memory Used: 2.539 KB

Session Handling
SQL Query
SELECT *
FROM vbulletin_session
WHERE userid = 0
	AND host = '3.227.2.246'
	AND idhash = '4b867cedcc949154b961ace3c8de04d4'
LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEvbulletin_session refuser_activity,guest_lookupguest_lookup55const,const,const2100.00 

Time Before: 0.01605 seconds
Time After: 0.01615 seconds
Time Taken: 0.00011 seconds

Memory Before: 4,486.195 KB
Memory After: 4,492.836 KB
Memory Used: 6.641 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
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEvbulletin_language systemPRIMARY   1100.00 

Time Before: 0.01659 seconds
Time After: 0.01687 seconds
Time Taken: 0.00028 seconds

Memory Before: 4,498.711 KB
Memory After: 4,505.242 KB
Memory Used: 6.531 KB

Time Before: 0.01569 seconds
Time After: 0.01700 seconds
Time Taken: 0.00130 seconds

Memory Before: 4,478.914 KB
Memory After: 4,565.828 KB
Memory Used: 86.914 KB

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

Time Before: 0.01743 seconds
Time After: 0.01750 seconds
Time Taken: 0.00008 seconds

Memory Before: 4,574.055 KB
Memory After: 4,576.625 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 = 40770
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEpost constPRIMARYPRIMARY4const1100.00 
1SIMPLEeditlog constPRIMARYPRIMARY4const00.00unique row not found

Time Before: 0.02003 seconds
Time After: 0.02017 seconds
Time Taken: 0.00014 seconds

Memory Before: 4,739.641 KB
Memory After: 4,874.945 KB
Memory Used: 135.305 KB

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



post.pagetext AS description,
thread.*


FROM vbulletin_thread AS thread




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


WHERE thread.threadid = 10687
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEthread constPRIMARYPRIMARY4const1100.00 
1SIMPLEpost constPRIMARYPRIMARY4const1100.00 

Time Before: 0.02047 seconds
Time After: 0.02061 seconds
Time Taken: 0.00014 seconds

Memory Before: 4,876.398 KB
Memory After: 4,886.094 KB
Memory Used: 9.695 KB

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

Time Before: 0.02198 seconds
Time After: 0.02223 seconds
Time Taken: 0.00025 seconds

Memory Before: 4,908.336 KB
Memory After: 4,914.180 KB
Memory Used: 5.844 KB

End call of global.php: 0.023091077804565
SQL Query
SELECT COUNT(*) AS posts
FROM vbulletin_post AS post
WHERE threadid = 10687 AND visible = 1

AND dateline <= 1572982611
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEpost rangethreadid,threadid_visible_dateline,datelinethreadid_visible_dateline10 2100.00Using where; Using index

Time Before: 0.02844 seconds
Time After: 0.02857 seconds
Time Taken: 0.00012 seconds

Memory Before: 6,226.992 KB
Memory After: 6,228.922 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 = 10687
	AND post.visible IN (1
	,2
	
	)
	
ORDER BY post.dateline
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEpost refthreadid,threadid_visible_datelinethreadid4const220.00Using index condition; Using where; Using filesort

Time Before: 0.02901 seconds
Time After: 0.02915 seconds
Time Taken: 0.00014 seconds

Memory Before: 6,235.906 KB
Memory After: 6,238.516 KB
Memory Used: 2.609 KB

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

Time Before: 0.03221 seconds
Time After: 0.03232 seconds
Time Taken: 0.00011 seconds

Memory Before: 6,723.023 KB
Memory After: 6,725.805 KB
Memory Used: 2.781 KB

SQL Query
SELECT
				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,
				at.contenttypes
				 
			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)
			
			
				WHERE
					a.contentid IN (40770)
						AND
					a.contenttypeid = 1

ORDER BY a.contentid, a.displayorder
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEa refcontenttypeid,contentid,filedataidcontentid4const299.79Using index condition; Using where; Using filesort
1SIMPLEfd eq_refPRIMARYPRIMARY4arborday_vbulletin.a.filedataid1100.00 
1SIMPLEat eq_refPRIMARYPRIMARY22arborday_vbulletin.fd.extension1100.00 

Time Before: 0.03288 seconds
Time After: 0.03314 seconds
Time Taken: 0.00026 seconds

Memory Before: 6,772.406 KB
Memory After: 6,777.258 KB
Memory Used: 4.852 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,
	
	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 (040770)
ORDER BY post.dateline
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEavatar systemPRIMARY   00.00const row not found
1SIMPLEpostparsed systemPRIMARY   00.00const row not found
1SIMPLEsigpic systemPRIMARY   00.00const row not found
1SIMPLEpost constPRIMARYPRIMARY4const1100.00 
1SIMPLEuser constPRIMARYPRIMARY4const1100.00 
1SIMPLEuserfield constPRIMARYPRIMARY4const1100.00 
1SIMPLEusertextfield constPRIMARYPRIMARY4const1100.00 
1SIMPLEicon constPRIMARYPRIMARY2const00.00unique row not found
1SIMPLEcustomavatar constPRIMARYPRIMARY4const00.00unique row not found
1SIMPLEdeletionlog constPRIMARY,typePRIMARY5const,const00.00unique row not found
1SIMPLEeditlog constPRIMARYPRIMARY4const00.00unique row not found
1SIMPLEsigparsed constPRIMARYPRIMARY8const,const,const00.00unique row not found

Time Before: 0.03395 seconds
Time After: 0.03440 seconds
Time Taken: 0.00045 seconds

Memory Before: 6,783.813 KB
Memory After: 6,816.867 KB
Memory Used: 33.055 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)
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEvbulletin_template rangePRIMARYPRIMARY4 81100.00Using index condition

Time Before: 0.03553 seconds
Time After: 0.03601 seconds
Time Taken: 0.00048 seconds

Memory Before: 7,185.352 KB
Memory After: 7,189.133 KB
Memory Used: 3.781 KB

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

Time Before: 0.04131 seconds
Time After: 0.04148 seconds
Time Taken: 0.00017 seconds

Memory Before: 7,234.383 KB
Memory After: 7,242.391 KB
Memory Used: 8.008 KB

SQL Query
UPDATE vbulletin_session
SET lastactivity = 1579834713, location = 'showthread.php?t=10687', inthread = 10687, badlocation = 0
WHERE sessionhash = '9611c1193c9aa4c03a4098f783909e6e'

Time Before: 0.04448 seconds
Time After: 0.04463 seconds
Time Taken: 0.00015 seconds

Memory Before: 7,656.922 KB
Memory After: 7,657.188 KB
Memory Used: 0.266 KB

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

Time Before: 0.04467 seconds
Time After: 0.04481 seconds
Time Taken: 0.00014 seconds

Memory Before: 7,651.539 KB
Memory After: 7,651.820 KB
Memory Used: 0.281 KB

Page generated in 0.044044017791748 seconds with 18 queries, spending 0.0037708282470703 doing MySQL queries and 0.040273189544678 doing PHP things.
Shutdown Queries:
DISABLED