Including Functions.php

Time Before: 0.00431 seconds
Time After: 0.00981 seconds
Time Taken: 0.00550 seconds

Memory Before: 1,768.664 KB
Memory After: 2,507.625 KB
Memory Used: 738.961 KB

Connect to Database on Server: localhost

Time Before: 0.00983 seconds
Time After: 0.01043 seconds
Time Taken: 0.00060 seconds

Memory Before: 2,507.609 KB
Memory After: 2,508.266 KB
Memory Used: 0.656 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.01051 seconds
Time After: 0.01056 seconds
Time Taken: 0.00005 seconds

Memory Before: 2,508.234 KB
Memory After: 2,508.289 KB
Memory Used: 0.055 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')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEdatastorerangePRIMARYPRIMARY152 17Using index condition

Time Before: 0.01089 seconds
Time After: 0.01457 seconds
Time Taken: 0.00368 seconds

Memory Before: 2,510.703 KB
Memory After: 3,199.695 KB
Memory Used: 688.992 KB

Time Before: 0.01057 seconds
Time After: 0.01649 seconds
Time Taken: 0.00591 seconds

Memory Before: 2,508.047 KB
Memory After: 4,008.281 KB
Memory Used: 1,500.234 KB

SQL Query
SELECT *
FROM datastore
WHERE title IN ('attachmentcache','stylecache','profilefield','noticecache')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEdatastorerangePRIMARYPRIMARY152 4Using index condition

Time Before: 0.01862 seconds
Time After: 0.01876 seconds
Time Taken: 0.00014 seconds

Memory Before: 4,294.719 KB
Memory After: 4,310.867 KB
Memory Used: 16.148 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '216.73.216.30'
	AND idhash = '2f26302f7ec04deeac6e23b15eeeb02d'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionrefguest_lookup,user_activityguest_lookup145const,const,const2Using where

Time Before: 0.01913 seconds
Time After: 0.01930 seconds
Time Taken: 0.00017 seconds

Memory Before: 4,301.078 KB
Memory After: 4,317.883 KB
Memory Used: 16.805 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 language
WHERE languageid = 2
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLElanguageconstPRIMARYPRIMARY2const1 

Time Before: 0.01979 seconds
Time After: 0.02071 seconds
Time Taken: 0.00093 seconds

Memory Before: 4,307.195 KB
Memory After: 4,492.188 KB
Memory Used: 184.992 KB

Time Before: 0.01885 seconds
Time After: 0.02079 seconds
Time Taken: 0.00194 seconds

Memory Before: 4,298.180 KB
Memory After: 4,399.578 KB
Memory Used: 101.398 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 = 46257
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadconstPRIMARYPRIMARY4const1 
1SIMPLEpostconstPRIMARYPRIMARY4const1 

Time Before: 0.02193 seconds
Time After: 0.02212 seconds
Time Taken: 0.00019 seconds

Memory Before: 4,449.070 KB
Memory After: 4,465.961 KB
Memory Used: 16.891 KB

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

Time Before: 0.02329 seconds
Time After: 0.02355 seconds
Time Taken: 0.00027 seconds

Memory Before: 4,545.391 KB
Memory After: 4,786.078 KB
Memory Used: 240.688 KB

End call of global.php: 0.023919105529785
SQL Query
SELECT *
FROM datastore
WHERE title IN ('routes','attachmentcache','stylecache','profilefield','noticecache')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEdatastorerangePRIMARYPRIMARY152 5Using index condition

Time Before: 0.02936 seconds
Time After: 0.02952 seconds
Time Taken: 0.00016 seconds

Memory Before: 5,564.875 KB
Memory After: 5,581.102 KB
Memory Used: 16.227 KB

SQL Query
SELECT  post.postid
FROM post AS post

WHERE post.threadid = 46257
	AND post.visible = 1
	
	
ORDER BY post.dateline DESC
LIMIT 0, 40
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostrefthreadid,visible,threadid_visible_datelinethreadid_visible_dateline6const,const7Using where; Using index

Time Before: 0.03093 seconds
Time After: 0.03109 seconds
Time Taken: 0.00016 seconds

Memory Before: 5,625.281 KB
Memory After: 5,641.648 KB
Memory Used: 16.367 KB

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

Time Before: 0.03485 seconds
Time After: 0.03498 seconds
Time Taken: 0.00013 seconds

Memory Before: 5,921.680 KB
Memory After: 5,938.063 KB
Memory Used: 16.383 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 attachment AS a
INNER JOIN filedata AS fd ON (fd.filedataid = a.filedataid)
LEFT JOIN attachmenttype AS at ON (at.extension = fd.extension)
WHERE
	a.contentid IN (161241,161228,161221,161219,161216,161209,161207,161204)
		AND
	a.contenttypeid = 1
			
ORDER BY a.contentid, a.displayorder
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEarangecontentid,filedataid,contenttypeidcontentid4 8Using index condition; Using where; Using filesort
1SIMPLEfdeq_refPRIMARYPRIMARY4st78591_forum2026.a.filedataid1 
1SIMPLEateq_refPRIMARYPRIMARY62st78591_forum2026.fd.extension1 

Time Before: 0.03544 seconds
Time After: 0.03576 seconds
Time Taken: 0.00032 seconds

Memory Before: 5,947.164 KB
Memory After: 5,962.953 KB
Memory Used: 15.789 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 = 11 AND postparsed.languageid = 2)
LEFT JOIN sigparsed AS sigparsed ON(sigparsed.userid = user.userid AND sigparsed.styleid = 11 AND sigparsed.languageid = 2)
LEFT JOIN sigpic AS sigpic ON(sigpic.userid = post.userid)

	
WHERE post.postid IN (0,161241,161228,161221,161219,161216,161209,161207,161204)
ORDER BY post.dateline DESC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEavatarsystemPRIMARY   0Const row not found
1SIMPLEpostrangePRIMARYPRIMARY4 9Using index condition; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4st78591_forum2026.post.userid1 
1SIMPLEcustomavatareq_refPRIMARYPRIMARY4st78591_forum2026.user.userid1Using where
1SIMPLEeditlogeq_refPRIMARYPRIMARY4st78591_forum2026.post.postid1 
1SIMPLEpostparsedeq_refPRIMARYPRIMARY8st78591_forum2026.post.postid,const,const1 
1SIMPLEsigparsedeq_refPRIMARYPRIMARY8st78591_forum2026.user.userid,const,const1Using where
1SIMPLEsigpiceq_refPRIMARYPRIMARY4st78591_forum2026.post.userid1 
1SIMPLEuserfieldeq_refPRIMARYPRIMARY4st78591_forum2026.user.userid1Using where
1SIMPLEusertextfieldeq_refPRIMARYPRIMARY4st78591_forum2026.user.userid1Using where
1SIMPLEiconeq_refPRIMARYPRIMARY2st78591_forum2026.post.iconid1 

Time Before: 0.03651 seconds
Time After: 0.03747 seconds
Time Taken: 0.00096 seconds

Memory Before: 5,951.313 KB
Memory After: 6,058.883 KB
Memory Used: 107.570 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (746,745,747,748,895,916,934,935,937,943,942,1537,1176,1161,1162,1164,1163,1166,1168,1169,1170,1173,1175,787,789,791,793,795,1540,1249,1251,1252,1248,1329,1330,1145,1144,1146,1151,1149,1357,862,863,1083,856,855,858,859,884,882,1530,1525,921,922,741,740,742,732,731,738,739,737,736,1134,959,1534,1073,1074,1075,915,0,0,919,1096,1102,1103,1105,1106,1372,1304,1303,1541,1308,880,879,883)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEtemplaterangePRIMARYPRIMARY4 85Using where

Time Before: 0.03825 seconds
Time After: 0.03882 seconds
Time Taken: 0.00057 seconds

Memory Before: 6,583.758 KB
Memory After: 6,832.063 KB
Memory Used: 248.305 KB

SQL Query
UPDATE session
SET lastactivity = 1787124504, location = 'showthread.php?t=46257', inforum = 115, inthread = 46257, badlocation = 0, useragent = 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)'
WHERE sessionhash = '92a171b6b5b910de365e60c468c41a00'

Time Before: 0.05451 seconds
Time After: 0.05471 seconds
Time Taken: 0.00020 seconds

Memory Before: 7,046.500 KB
Memory After: 7,046.234 KB
Memory Used: -0.266 KB

SQL Query
INSERT INTO threadviews (threadid)
VALUES (46257)

Time Before: 0.05473 seconds
Time After: 0.05485 seconds
Time Taken: 0.00012 seconds

Memory Before: 7,043.047 KB
Memory After: 7,043.094 KB
Memory Used: 0.047 KB

Page generated in 0.054198980331421 seconds with 15 queries, spending 0.0086491107940674 doing MySQL queries and 0.045549869537354 doing PHP things.
Shutdown Queries:
DISABLED