Including Functions.php

Time Before: 0.00279 seconds
Time After: 0.00477 seconds
Time Taken: 0.00198 seconds

Memory Before: 511.828 KB
Memory After: 534.602 KB
Memory Used: 22.773 KB

Connect to Database on Server: localhost

Time Before: 0.00494 seconds
Time After: 0.00606 seconds
Time Taken: 0.00111 seconds

Memory Before: 534.539 KB
Memory After: 535.453 KB
Memory Used: 0.914 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00643 seconds
Time After: 0.00660 seconds
Time Taken: 0.00016 seconds

Memory Before: 536.008 KB
Memory After: 536.531 KB
Memory Used: 0.523 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','activitystream')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEdatastorerangePRIMARYPRIMARY50 18Using index condition

Time Before: 0.00775 seconds
Time After: 0.00867 seconds
Time Taken: 0.00091 seconds

Memory Before: 539.523 KB
Memory After: 540.398 KB
Memory Used: 0.875 KB

Time Before: 0.00667 seconds
Time After: 0.01137 seconds
Time Taken: 0.00470 seconds

Memory Before: 535.781 KB
Memory After: 1,150.688 KB
Memory Used: 614.906 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '18.224.95.38'
	AND idhash = 'b52e0f72e4c289e042ff197d79a5dc77'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionrefguest_lookup,user_activityguest_lookup51const,const,const2Using where

Time Before: 0.01527 seconds
Time After: 0.01559 seconds
Time Taken: 0.00032 seconds

Memory Before: 1,647.977 KB
Memory After: 1,648.430 KB
Memory Used: 0.453 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 = 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLElanguagesystemPRIMARY   1 

Time Before: 0.01691 seconds
Time After: 0.01756 seconds
Time Taken: 0.00065 seconds

Memory Before: 1,661.664 KB
Memory After: 1,661.594 KB
Memory Used: -0.070 KB

Time Before: 0.01433 seconds
Time After: 0.01781 seconds
Time Taken: 0.00348 seconds

Memory Before: 1,640.016 KB
Memory After: 1,731.414 KB
Memory Used: 91.398 KB

SQL Query
SELECT *
FROM datastore
WHERE title IN ('routes')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEdatastoreconstPRIMARYPRIMARY50const1 

Time Before: 0.01851 seconds
Time After: 0.01881 seconds
Time Taken: 0.00030 seconds

Memory Before: 1,732.734 KB
Memory After: 1,733.313 KB
Memory Used: 0.578 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 = 1604
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostconstPRIMARYPRIMARY4const1 
1SIMPLEeditlogconstPRIMARYPRIMARY4const0Unique row not found

Time Before: 0.02403 seconds
Time After: 0.02441 seconds
Time Taken: 0.00038 seconds

Memory Before: 2,107.031 KB
Memory After: 2,107.500 KB
Memory Used: 0.469 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 = 1578
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadconstPRIMARYPRIMARY4const1 
1SIMPLEpostconstPRIMARYPRIMARY4const1 

Time Before: 0.02516 seconds
Time After: 0.02555 seconds
Time Taken: 0.00038 seconds

Memory Before: 2,116.344 KB
Memory After: 2,116.938 KB
Memory Used: 0.594 KB

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

Time Before: 0.02694 seconds
Time After: 0.02743 seconds
Time Taken: 0.00049 seconds

Memory Before: 2,149.227 KB
Memory After: 2,149.820 KB
Memory Used: 0.594 KB

End call of global.php: 0.029749155044556
SQL Query
SELECT title, template
FROM template
WHERE templateid IN (72,71,656,657,1245,790,791,793,799,798,978,997,983,984,986,985,988,990,991,992,995,691,693,695,697,699,1047,1051,1052,1053,1050,1120,971,970,972,977,975,1144,752,753,919,746,745,748,749,762,760,1254,1264,1205,1275,67,66,68,63,62,651,652,650,649,961,1257,907,911,908,909,910,1273,0,0,1236,1238,931,932,934,935,1158,1200,1199,1249,1201,758,757,761)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEtemplaterangePRIMARYPRIMARY4 83Using index condition

Time Before: 0.03453 seconds
Time After: 0.03609 seconds
Time Taken: 0.00156 seconds

Memory Before: 2,951.664 KB
Memory After: 2,953.773 KB
Memory Used: 2.109 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 = 1578
	
ORDER BY postid
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostrefthreadid,threadid_visible_datelinethreadid4const1Using where; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4business_business.post.userid1 
1SIMPLEuserfieldeq_refPRIMARYPRIMARY4business_business.user.userid1Using where

Time Before: 0.05324 seconds
Time After: 0.05392 seconds
Time Taken: 0.00067 seconds

Memory Before: 3,136.484 KB
Memory After: 3,137.523 KB
Memory Used: 1.039 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 = 2 AND postparsed.languageid = 1)
LEFT JOIN sigparsed AS sigparsed ON(sigparsed.userid = user.userid AND sigparsed.styleid = 2 AND sigparsed.languageid = 1)
LEFT JOIN sigpic AS sigpic ON(sigpic.userid = post.userid)

	
WHERE post.postid IN (1604)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEavatarsystemPRIMARY   0Const row not found
1SIMPLEcustomavatarsystemPRIMARY   0Const row not found
1SIMPLEpostparsedsystemPRIMARY   0Const row not found
1SIMPLEsigparsedsystemPRIMARY   0Const row not found
1SIMPLEsigpicsystemPRIMARY   0Const row not found
1SIMPLEpostconstPRIMARYPRIMARY4const1 
1SIMPLEuserconstPRIMARYPRIMARY4const1 
1SIMPLEuserfieldconstPRIMARYPRIMARY4const1 
1SIMPLEusertextfieldconstPRIMARYPRIMARY4const1 
1SIMPLEiconconstPRIMARYPRIMARY2const0Unique row not found
1SIMPLEeditlogconstPRIMARYPRIMARY4const0Unique row not found

Time Before: 0.05594 seconds
Time After: 0.05682 seconds
Time Taken: 0.00088 seconds

Memory Before: 3,164.383 KB
Memory After: 3,164.344 KB
Memory Used: -0.039 KB

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

Time Before: 0.06241 seconds
Time After: 0.06264 seconds
Time Taken: 0.00023 seconds

Memory Before: 3,358.133 KB
Memory After: 3,358.672 KB
Memory Used: 0.539 KB

Time after parsing all posts: 0.065895080566406 Memory After: 3,436KB
SQL Query
SELECT thread.threadid, thread.forumid, thread.title, thread.prefixid, thread.taglist, postusername, postuserid,
	thread.lastpost, thread.replycount,
	forum.title AS forumtitle
	,post.pagetext AS preview
	
	
FROM thread AS thread
INNER JOIN forum AS forum ON (forum.forumid = thread.forumid)
LEFT JOIN post AS post ON (post.postid = thread.firstpostid)



WHERE thread.threadid IN (849, 1192, 1544, 1007, 1572) AND thread.visible = 1
	AND forum.password = ''
	
	
ORDER BY lastpost DESC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadrangePRIMARY,forumid,forumid_lastpostPRIMARY4 5Using index condition; Using where; Using filesort
1SIMPLEforumeq_refPRIMARYPRIMARY2business_business.thread.forumid1Using where
1SIMPLEposteq_refPRIMARYPRIMARY4business_business.thread.firstpostid1 

Time Before: 0.06688 seconds
Time After: 0.06853 seconds
Time Taken: 0.00164 seconds

Memory Before: 3,440.844 KB
Memory After: 3,441.398 KB
Memory Used: 0.555 KB

SQL Query
SELECT *
FROM navigation
WHERE state & 4 = 0
ORDER BY navtype, displayorder
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEnavigationALL    27Using where; Using filesort

Time Before: 0.07496 seconds
Time After: 0.07531 seconds
Time Taken: 0.00035 seconds

Memory Before: 3,470.438 KB
Memory After: 3,473.898 KB
Memory Used: 3.461 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)
VALUES
	('8601ad8a4caacc8ccfdfef6d8bb97b9e', 0, '18.224.95.38', 'b52e0f72e4c289e042ff197d79a5dc77', 1714591187, 'showthread.php?t=1578', 0, 0, 0, 34, 1578, 0, 0, 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', 0, 0, 0, '')

Time Before: 0.08334 seconds
Time After: 0.08361 seconds
Time Taken: 0.00027 seconds

Memory Before: 3,931.430 KB
Memory After: 3,931.320 KB
Memory Used: -0.109 KB

SQL Query
UPDATE thread
SET views = views + 1
WHERE threadid = 1578

Time Before: 0.08368 seconds
Time After: 0.08403 seconds
Time Taken: 0.00036 seconds

Memory Before: 3,924.766 KB
Memory After: 3,925.109 KB
Memory Used: 0.344 KB

Page generated in 0.080248117446899 seconds with 16 queries, spending 0.010696172714233 doing MySQL queries and 0.069551944732666 doing PHP things.
Shutdown Queries:
DISABLED