Including Functions.php

Time Before: 0.00028 seconds
Time After: 0.00033 seconds
Time Taken: 0.00005 seconds

Memory Before: 473.273 KB
Memory After: 475.195 KB
Memory Used: 1.922 KB

Connect to Database on Server: localhost

Time Before: 0.00036 seconds
Time After: 0.00048 seconds
Time Taken: 0.00012 seconds

Memory Before: 475.172 KB
Memory After: 475.750 KB
Memory Used: 0.578 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00058 seconds
Time After: 0.00064 seconds
Time Taken: 0.00006 seconds

Memory Before: 475.773 KB
Memory After: 475.828 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
1SIMPLEdatastorerangePRIMARYPRIMARY50 17Using index condition

Time Before: 0.00089 seconds
Time After: 0.00107 seconds
Time Taken: 0.00018 seconds

Memory Before: 478.063 KB
Memory After: 1,051.242 KB
Memory Used: 573.180 KB

Time Before: 0.00066 seconds
Time After: 0.00239 seconds
Time Taken: 0.00173 seconds

Memory Before: 475.594 KB
Memory After: 1,442.625 KB
Memory Used: 967.031 KB

SQL Query
SELECT *
FROM datastore
WHERE title IN ('dbtech_ajaxthreads_usergroup')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.00274 seconds
Time After: 0.00277 seconds
Time Taken: 0.00003 seconds

Memory Before: 1,600.180 KB
Memory After: 1,616.250 KB
Memory Used: 16.070 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '18.221.53.209'
	AND idhash = 'b13514116696cbd80a0c340f1cdcfa57'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionrefuser_activity,guest_lookupguest_lookup51const,const,const2Using where

Time Before: 0.00301 seconds
Time After: 0.00314 seconds
Time Taken: 0.00013 seconds

Memory Before: 1,608.094 KB
Memory After: 1,624.398 KB
Memory Used: 16.305 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.00356 seconds
Time After: 0.00362 seconds
Time Taken: 0.00006 seconds

Memory Before: 1,614.633 KB
Memory After: 1,871.578 KB
Memory Used: 256.945 KB

Time Before: 0.00282 seconds
Time After: 0.00366 seconds
Time Taken: 0.00084 seconds

Memory Before: 1,602.742 KB
Memory After: 1,743.688 KB
Memory Used: 140.945 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 = 3945
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostconstPRIMARYPRIMARY4const1 
1SIMPLEeditlogconstPRIMARYPRIMARY4const0Unique row not found

Time Before: 0.00479 seconds
Time After: 0.00492 seconds
Time Taken: 0.00013 seconds

Memory Before: 1,884.148 KB
Memory After: 1,900.508 KB
Memory Used: 16.359 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 = 784
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadconstPRIMARYPRIMARY4const1 
1SIMPLEpostconstPRIMARYPRIMARY4const1 

Time Before: 0.00512 seconds
Time After: 0.00528 seconds
Time Taken: 0.00015 seconds

Memory Before: 1,886.789 KB
Memory After: 1,903.508 KB
Memory Used: 16.719 KB

SQL Query
SELECT userip
FROM vsavilxh_guests AS vsavilxh_guests
WHERE userip = '18.221.53.209'
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvsavilxh_guestsALL    1351Using where

Time Before: 0.00571 seconds
Time After: 0.00638 seconds
Time Taken: 0.00066 seconds

Memory Before: 1,976.789 KB
Memory After: 1,993.000 KB
Memory Used: 16.211 KB

SQL Query
UPDATE vsavilxh_guests
SET dateline = '1713495355'
WHERE userip = '18.221.53.209'

Time Before: 0.00642 seconds
Time After: 0.00705 seconds
Time Taken: 0.00063 seconds

Memory Before: 1,993.148 KB
Memory After: 1,993.133 KB
Memory Used: -0.016 KB

SQL Query
DELETE FROM vsavilxh_guests WHERE dateline < '1713408955'

Time Before: 0.00707 seconds
Time After: 0.00754 seconds
Time Taken: 0.00047 seconds

Memory Before: 1,976.445 KB
Memory After: 1,976.430 KB
Memory Used: -0.016 KB

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

Time Before: 0.00774 seconds
Time After: 0.00779 seconds
Time Taken: 0.00005 seconds

Memory Before: 1,966.844 KB
Memory After: 2,175.492 KB
Memory Used: 208.648 KB

End call of global.php: 0.0085339546203613
SQL Query
SELECT *
FROM datastore
WHERE title IN ('routes')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEdatastoreconstPRIMARYPRIMARY50const1 

Time Before: 0.00877 seconds
Time After: 0.00880 seconds
Time Taken: 0.00003 seconds

Memory Before: 2,321.203 KB
Memory After: 2,337.539 KB
Memory Used: 16.336 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (81,80,82,83,1622,1169,1170,1172,1178,1177,2226,1373,1359,1360,1362,1361,1364,1366,1367,1368,1371,1070,1072,1074,2212,1078,2228,1427,1428,1429,1426,1496,1347,1346,1348,1353,1351,1520,1131,1132,1295,1125,1124,1127,1128,1141,1139,2233,2231,2234,2235,0,0,79,73,72,2344,2347,2101,75,1337,1634,2221,2222,1286,1287,1650,0,0,1613,1615,1307,1308,1310,1311,1534,1577,1576,1626,1578,1137,1136,1140,2249,2248,1934,1935,1936,1938,1931,1932,1129,1130,2325,2323,2322,2330)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEtemplaterangePRIMARYPRIMARY4 94Using index condition

Time Before: 0.00976 seconds
Time After: 0.00983 seconds
Time Taken: 0.00007 seconds

Memory Before: 2,612.063 KB
Memory After: 2,824.367 KB
Memory Used: 212.305 KB

SQL Query
SELECT * FROM molding ORDER BY molding.order ASC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEmoldingALL    11Using filesort

Time Before: 0.01032 seconds
Time After: 0.01035 seconds
Time Taken: 0.00003 seconds

Memory Before: 2,829.203 KB
Memory After: 2,846.945 KB
Memory Used: 17.742 KB

SQL Query
SELECT COUNT(*) AS posts
FROM post AS post
WHERE threadid = 784 AND visible = 1

AND dateline <= 1381391686
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostrangethreadid,threadid_visible_dateline,datelinethreadid_visible_dateline10 1Using where; Using index

Time Before: 0.01144 seconds
Time After: 0.01156 seconds
Time Taken: 0.00012 seconds

Memory Before: 2,769.461 KB
Memory After: 2,785.641 KB
Memory Used: 16.180 KB

SQL Query
SELECT *
FROM poll
WHERE pollid = 7
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpollconstPRIMARYPRIMARY4const1 

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

Memory Before: 2,774.734 KB
Memory After: 2,791.305 KB
Memory Used: 16.570 KB

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

WHERE post.threadid = 784
	AND post.visible = 1
	
	
ORDER BY post.dateline 
LIMIT 0, 10
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostrefthreadid,threadid_visible_datelinethreadid_visible_dateline6const,const27Using where

Time Before: 0.01257 seconds
Time After: 0.01268 seconds
Time Taken: 0.00011 seconds

Memory Before: 2,845.625 KB
Memory After: 2,862.180 KB
Memory Used: 16.555 KB

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

Time Before: 0.01293 seconds
Time After: 0.01296 seconds
Time Taken: 0.00003 seconds

Memory Before: 2,931.148 KB
Memory After: 2,947.531 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 (3945)
						AND
					a.contenttypeid = 1

ORDER BY a.contentid, a.displayorder
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEarefcontenttypeid,contentid,filedataidcontentid4const1Using where; Using filesort
1SIMPLEfdeq_refPRIMARYPRIMARY4mihangam_mforum.a.filedataid1 
1SIMPLEateq_refPRIMARYPRIMARY20mihangam_mforum.fd.extension1Using where

Time Before: 0.01321 seconds
Time After: 0.01377 seconds
Time Taken: 0.00056 seconds

Memory Before: 2,956.922 KB
Memory After: 2,972.711 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 = 12 AND postparsed.languageid = 2)
LEFT JOIN sigparsed AS sigparsed ON(sigparsed.userid = user.userid AND sigparsed.styleid = 12 AND sigparsed.languageid = 2)
LEFT JOIN sigpic AS sigpic ON(sigpic.userid = post.userid)

	
WHERE post.postid IN (03945,3945,3946,3955,3958,3961,3964,3971,3974,3979,4015)
ORDER BY post.dateline
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEavatarsystemPRIMARY   0Const row not found
1SIMPLEpostparsedsystemPRIMARY   0Const row not found
1SIMPLEpostrangePRIMARYPRIMARY4 10Using index condition; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4mihangam_mforum.post.userid1 
1SIMPLEcustomavatareq_refPRIMARYPRIMARY4mihangam_mforum.user.userid1Using where
1SIMPLEsigparsedeq_refPRIMARYPRIMARY8mihangam_mforum.user.userid,const,const1Using where
1SIMPLEsigpiceq_refPRIMARYPRIMARY4mihangam_mforum.post.userid1 
1SIMPLEeditlogeq_refPRIMARYPRIMARY4mihangam_mforum.post.postid1 
1SIMPLEuserfieldeq_refPRIMARYPRIMARY4mihangam_mforum.user.userid1Using where
1SIMPLEusertextfieldeq_refPRIMARYPRIMARY4mihangam_mforum.user.userid1Using where
1SIMPLEiconeq_refPRIMARYPRIMARY2mihangam_mforum.post.iconid1 

Time Before: 0.01418 seconds
Time After: 0.01487 seconds
Time Taken: 0.00069 seconds

Memory Before: 2,961.148 KB
Memory After: 3,072.180 KB
Memory Used: 111.031 KB

SQL Query
SELECT * FROM post_thanks AS post_thanks INNER JOIN user AS user USING (userid) WHERE post_thanks.postid IN (3945,3945,3946,3955,3958,3961,3964,3971,3974,3979,4015) ORDER BY post_thanks.username ASC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpost_thanksrangepostidpostid4 14Using index condition; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4mihangam_mforum.post_thanks.userid1Using index condition

Time Before: 0.01608 seconds
Time After: 0.01633 seconds
Time Taken: 0.00025 seconds

Memory Before: 3,164.641 KB
Memory After: 3,209.172 KB
Memory Used: 44.531 KB

Time after parsing all posts: 0.023905992507935 Memory After: 3,082KB
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 > 1713494455
ORDER BY  username ASC, lastactivity DESC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionrangelast_activitylast_activity4 204Using where; Using temporary; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4mihangam_mforum.session.userid1 

Time Before: 0.02418 seconds
Time After: 0.02555 seconds
Time Taken: 0.00137 seconds

Memory Before: 3,083.891 KB
Memory After: 3,211.570 KB
Memory Used: 127.680 KB

SQL Query
SELECT `enabled` FROM `skimlinks` WHERE `userid` = 0
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.02652 seconds
Time After: 0.02655 seconds
Time Taken: 0.00002 seconds

Memory Before: 3,111.641 KB
Memory After: 3,127.867 KB
Memory Used: 16.227 KB

SQL Query
INSERT IGNORE INTO session
	(sessionhash, userid, host, idhash, lastactivity, location, styleid, languageid, loggedin, inforum, inthread, incalendar, badlocation, useragent, bypass, profileupdate, apiclientid, apiaccesstoken, topxtab, topxmenu, topxresult)
VALUES
	('fcf5dfaac59e434dda6735c240167515', 0, '18.221.53.209', 'b13514116696cbd80a0c340f1cdcfa57', 1713495355, 'showthread.php?t=784', 0, 0, 0, 26, 784, 0, 0, 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', 0, 0, 0, '', '0', '0', 0)

Time Before: 0.02768 seconds
Time After: 0.02779 seconds
Time Taken: 0.00011 seconds

Memory Before: 3,495.539 KB
Memory After: 3,495.039 KB
Memory Used: -0.500 KB

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

Time Before: 0.02780 seconds
Time After: 0.02797 seconds
Time Taken: 0.00017 seconds

Memory Before: 3,492.250 KB
Memory After: 3,492.344 KB
Memory Used: 0.094 KB

Page generated in 0.027268171310425 seconds with 25 queries, spending 0.0063245296478271 doing MySQL queries and 0.020943641662598 doing PHP things.
Shutdown Queries:
DISABLED