Including Functions.php

Time Before: 0.00021 seconds
Time After: 0.00024 seconds
Time Taken: 0.00003 seconds

Memory Before: 473.336 KB
Memory After: 475.258 KB
Memory Used: 1.922 KB

Connect to Database on Server: localhost

Time Before: 0.00027 seconds
Time After: 0.00046 seconds
Time Taken: 0.00020 seconds

Memory Before: 475.234 KB
Memory After: 475.813 KB
Memory Used: 0.578 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00055 seconds
Time After: 0.00065 seconds
Time Taken: 0.00010 seconds

Memory Before: 475.836 KB
Memory After: 475.891 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.00095 seconds
Time After: 0.00111 seconds
Time Taken: 0.00016 seconds

Memory Before: 478.125 KB
Memory After: 1,051.305 KB
Memory Used: 573.180 KB

Time Before: 0.00067 seconds
Time After: 0.00218 seconds
Time Taken: 0.00151 seconds

Memory Before: 475.656 KB
Memory After: 1,442.688 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.00251 seconds
Time After: 0.00254 seconds
Time Taken: 0.00003 seconds

Memory Before: 1,600.242 KB
Memory After: 1,616.313 KB
Memory Used: 16.070 KB

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

Time Before: 0.00275 seconds
Time After: 0.00289 seconds
Time Taken: 0.00014 seconds

Memory Before: 1,608.156 KB
Memory After: 1,624.852 KB
Memory Used: 16.695 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.00323 seconds
Time After: 0.00328 seconds
Time Taken: 0.00005 seconds

Memory Before: 1,614.148 KB
Memory After: 1,871.094 KB
Memory Used: 256.945 KB

Time Before: 0.00258 seconds
Time After: 0.00331 seconds
Time Taken: 0.00074 seconds

Memory Before: 1,602.805 KB
Memory After: 1,743.203 KB
Memory Used: 140.398 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 = 24278
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostconstPRIMARYPRIMARY4const1 
1SIMPLEeditlogconstPRIMARYPRIMARY4const0Unique row not found

Time Before: 0.00405 seconds
Time After: 0.00423 seconds
Time Taken: 0.00018 seconds

Memory Before: 1,883.664 KB
Memory After: 1,900.023 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 = 2542
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadconstPRIMARYPRIMARY4const1 
1SIMPLEpostconstPRIMARYPRIMARY4const1 

Time Before: 0.00438 seconds
Time After: 0.00456 seconds
Time Taken: 0.00019 seconds

Memory Before: 1,888.063 KB
Memory After: 1,904.781 KB
Memory Used: 16.719 KB

SQL Query
SELECT userip
FROM vsavilxh_guests AS vsavilxh_guests
WHERE userip = '18.118.184.237'
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvsavilxh_guestsALL    1381Using where

Time Before: 0.00485 seconds
Time After: 0.00516 seconds
Time Taken: 0.00031 seconds

Memory Before: 1,981.086 KB
Memory After: 1,997.297 KB
Memory Used: 16.211 KB

SQL Query
UPDATE vsavilxh_guests
SET dateline = '1713498095'
WHERE userip = '18.118.184.237'

Time Before: 0.00517 seconds
Time After: 0.00571 seconds
Time Taken: 0.00053 seconds

Memory Before: 1,997.445 KB
Memory After: 1,997.430 KB
Memory Used: -0.016 KB

SQL Query
DELETE FROM vsavilxh_guests WHERE dateline < '1713411695'

Time Before: 0.00572 seconds
Time After: 0.00613 seconds
Time Taken: 0.00041 seconds

Memory Before: 1,980.742 KB
Memory After: 1,980.727 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.00626 seconds
Time After: 0.00630 seconds
Time Taken: 0.00004 seconds

Memory Before: 1,971.141 KB
Memory After: 2,179.789 KB
Memory Used: 208.648 KB

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

Time Before: 0.00693 seconds
Time After: 0.00696 seconds
Time Taken: 0.00002 seconds

Memory Before: 2,325.500 KB
Memory After: 2,341.836 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.00765 seconds
Time After: 0.00772 seconds
Time Taken: 0.00007 seconds

Memory Before: 2,616.609 KB
Memory After: 2,828.914 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.00814 seconds
Time After: 0.00817 seconds
Time Taken: 0.00003 seconds

Memory Before: 2,833.727 KB
Memory After: 2,851.469 KB
Memory Used: 17.742 KB

SQL Query
SELECT
	post.*, post.username AS postusername, post.ipaddress AS ip, IF(post.visible = 2, 1, 0) AS isdeleted,
	user.*, userfield.*
	
	
FROM post AS post
LEFT JOIN user AS user ON(user.userid = post.userid)
LEFT JOIN userfield AS userfield ON(userfield.userid = user.userid)

WHERE threadid = 2542
	
ORDER BY postid
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostrefthreadid,threadid_visible_datelinethreadid4const1Using where; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4mihangam_mforum.post.userid1 
1SIMPLEuserfieldeq_refPRIMARYPRIMARY4mihangam_mforum.user.userid1Using where

Time Before: 0.00931 seconds
Time After: 0.00956 seconds
Time Taken: 0.00025 seconds

Memory Before: 2,785.305 KB
Memory After: 2,843.414 KB
Memory Used: 58.109 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,
	
	
	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(displaygroupid=0, user.usergroupid, 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 (24278)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEavatarsystemPRIMARY   0Const row not found
1SIMPLEpostparsedsystemPRIMARY   0Const row not found
1SIMPLEpostconstPRIMARYPRIMARY4const1 
1SIMPLEuserconstPRIMARYPRIMARY4const1 
1SIMPLEuserfieldconstPRIMARYPRIMARY4const1 
1SIMPLEusertextfieldconstPRIMARYPRIMARY4const1 
1SIMPLEiconconstPRIMARYPRIMARY2const0Unique row not found
1SIMPLEcustomavatarconstPRIMARYPRIMARY4const1 
1SIMPLEeditlogconstPRIMARYPRIMARY4const0Unique row not found
1SIMPLEsigparsedconstPRIMARYPRIMARY8const,const,const1 
1SIMPLEsigpicconstPRIMARYPRIMARY4const0Unique row not found

Time Before: 0.01005 seconds
Time After: 0.01033 seconds
Time Taken: 0.00028 seconds

Memory Before: 2,804.102 KB
Memory After: 2,869.742 KB
Memory Used: 65.641 KB

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

Time Before: 0.01123 seconds
Time After: 0.01126 seconds
Time Taken: 0.00003 seconds

Memory Before: 3,036.813 KB
Memory After: 3,053.195 KB
Memory Used: 16.383 KB

SQL Query
SELECT * FROM post_thanks AS post_thanks INNER JOIN user AS user USING (userid) WHERE post_thanks.postid IN (24278) ORDER BY post_thanks.username ASC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpost_thanksrefpostidpostid4const2Using where; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4mihangam_mforum.post_thanks.userid1Using index condition

Time Before: 0.01161 seconds
Time After: 0.01178 seconds
Time Taken: 0.00017 seconds

Memory Before: 3,080.875 KB
Memory After: 3,114.828 KB
Memory Used: 33.953 KB

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

Time Before: 0.01265 seconds
Time After: 0.01343 seconds
Time Taken: 0.00077 seconds

Memory Before: 3,029.781 KB
Memory After: 3,133.461 KB
Memory Used: 103.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.01398 seconds
Time After: 0.01401 seconds
Time Taken: 0.00002 seconds

Memory Before: 3,059.695 KB
Memory After: 3,075.922 KB
Memory Used: 16.227 KB

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

Time Before: 0.01511 seconds
Time After: 0.01523 seconds
Time Taken: 0.00013 seconds

Memory Before: 3,333.133 KB
Memory After: 3,332.867 KB
Memory Used: -0.266 KB

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

Time Before: 0.01524 seconds
Time After: 0.01533 seconds
Time Taken: 0.00009 seconds

Memory Before: 3,329.625 KB
Memory After: 3,329.672 KB
Memory Used: 0.047 KB

Page generated in 0.014847040176392 seconds with 22 queries, spending 0.0041830539703369 doing MySQL queries and 0.010663986206055 doing PHP things.
Shutdown Queries:
DISABLED