Including Functions.php

Time Before: 0.00127 seconds
Time After: 0.00159 seconds
Time Taken: 0.00032 seconds

Memory Before: 509.648 KB
Memory After: 532.422 KB
Memory Used: 22.773 KB

Connect to Database on Server: localhost

Time Before: 0.00169 seconds
Time After: 0.00204 seconds
Time Taken: 0.00036 seconds

Memory Before: 532.359 KB
Memory After: 533.273 KB
Memory Used: 0.914 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00221 seconds
Time After: 0.00231 seconds
Time Taken: 0.00009 seconds

Memory Before: 533.828 KB
Memory After: 534.367 KB
Memory Used: 0.539 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.00296 seconds
Time After: 0.00354 seconds
Time Taken: 0.00058 seconds

Memory Before: 537.359 KB
Memory After: 538.234 KB
Memory Used: 0.875 KB

Time Before: 0.00236 seconds
Time After: 0.00614 seconds
Time Taken: 0.00378 seconds

Memory Before: 533.617 KB
Memory After: 1,148.523 KB
Memory Used: 614.906 KB

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

Time Before: 0.00909 seconds
Time After: 0.00939 seconds
Time Taken: 0.00030 seconds

Memory Before: 1,645.539 KB
Memory After: 1,645.984 KB
Memory Used: 0.445 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.01049 seconds
Time After: 0.01105 seconds
Time Taken: 0.00057 seconds

Memory Before: 1,659.148 KB
Memory After: 1,659.078 KB
Memory Used: -0.070 KB

Time Before: 0.00824 seconds
Time After: 0.01128 seconds
Time Taken: 0.00304 seconds

Memory Before: 1,637.625 KB
Memory After: 1,728.898 KB
Memory Used: 91.273 KB

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

Time Before: 0.01201 seconds
Time After: 0.01221 seconds
Time Taken: 0.00019 seconds

Memory Before: 1,730.234 KB
Memory After: 1,730.813 KB
Memory Used: 0.578 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 = 3099
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadconstPRIMARYPRIMARY4const1 
1SIMPLEpostconstPRIMARYPRIMARY4const1 

Time Before: 0.01626 seconds
Time After: 0.01660 seconds
Time Taken: 0.00034 seconds

Memory Before: 2,105.102 KB
Memory After: 2,105.695 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.01764 seconds
Time After: 0.01818 seconds
Time Taken: 0.00054 seconds

Memory Before: 2,137.500 KB
Memory After: 2,138.094 KB
Memory Used: 0.594 KB

End call of global.php: 0.020175933837891
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.02346 seconds
Time After: 0.02489 seconds
Time Taken: 0.00142 seconds

Memory Before: 2,939.813 KB
Memory After: 2,941.922 KB
Memory Used: 2.109 KB

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

WHERE post.threadid = 3099
	AND post.visible = 1
	
	
ORDER BY post.dateline 
LIMIT 0, 10
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostrangethreadid,threadid_visible_datelinethreadid_visible_dateline6 1Using where

Time Before: 0.03327 seconds
Time After: 0.03355 seconds
Time Taken: 0.00028 seconds

Memory Before: 3,121.195 KB
Memory After: 3,121.656 KB
Memory Used: 0.461 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 = 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 (03382)
ORDER BY post.dateline
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.03491 seconds
Time After: 0.03585 seconds
Time Taken: 0.00094 seconds

Memory Before: 3,128.711 KB
Memory After: 3,128.586 KB
Memory Used: -0.125 KB

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

Time Before: 0.04175 seconds
Time After: 0.04194 seconds
Time Taken: 0.00019 seconds

Memory Before: 3,331.648 KB
Memory After: 3,332.188 KB
Memory Used: 0.539 KB

Time after parsing all posts: 0.045346021652222 Memory After: 3,357KB
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 (1933, 1828, 2921, 2924, 2922) 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.04619 seconds
Time After: 0.04680 seconds
Time Taken: 0.00060 seconds

Memory Before: 3,361.453 KB
Memory After: 3,362.008 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.05323 seconds
Time After: 0.05355 seconds
Time Taken: 0.00032 seconds

Memory Before: 3,399.734 KB
Memory After: 3,403.195 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
	('60fec1f3e548b0af5e275ead00708168', 0, '18.222.104.196', '4cdbc1482a92d0437486609edf01106e', 1715833592, 'showthread.php?t=3099', 0, 0, 0, 34, 3099, 0, 0, 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', 0, 0, 0, '')

Time Before: 0.06040 seconds
Time After: 0.06065 seconds
Time Taken: 0.00025 seconds

Memory Before: 3,824.859 KB
Memory After: 3,824.742 KB
Memory Used: -0.117 KB

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

Time Before: 0.06072 seconds
Time After: 0.06101 seconds
Time Taken: 0.00029 seconds

Memory Before: 3,818.180 KB
Memory After: 3,818.523 KB
Memory Used: 0.344 KB

Page generated in 0.058443069458008 seconds with 15 queries, spending 0.0072736740112305 doing MySQL queries and 0.051169395446777 doing PHP things.
Shutdown Queries:
DISABLED