Including Functions.php

Time Before: 0.08798 seconds
Time After: 0.22018 seconds
Time Taken: 0.13220 seconds

Memory Before: 3,417.617 KB
Memory After: 5,776.727 KB
Memory Used: 2,359.109 KB

Connect to Database on Server: sql.local

Time Before: 0.22082 seconds
Time After: 0.22354 seconds
Time Taken: 0.00272 seconds

Memory Before: 5,778.172 KB
Memory After: 5,780.727 KB
Memory Used: 2.555 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.22483 seconds
Time After: 0.22546 seconds
Time Taken: 0.00063 seconds

Memory Before: 5,778.867 KB
Memory After: 5,780.047 KB
Memory Used: 1.180 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
1SIMPLEdatastorerangePRIMARYPRIMARY52 18Using index condition

Time Before: 0.22872 seconds
Time After: 0.23153 seconds
Time Taken: 0.00281 seconds

Memory Before: 5,782.547 KB
Memory After: 5,783.352 KB
Memory Used: 0.805 KB

Time Before: 0.22583 seconds
Time After: 0.24858 seconds
Time Taken: 0.02275 seconds

Memory Before: 5,777.992 KB
Memory After: 6,394.688 KB
Memory Used: 616.695 KB

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

Time Before: 0.29164 seconds
Time After: 0.29249 seconds
Time Taken: 0.00085 seconds

Memory Before: 7,198.563 KB
Memory After: 7,199.516 KB
Memory Used: 0.953 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
1SIMPLElanguagesystemPRIMARY   1 

Time Before: 0.29648 seconds
Time After: 0.29895 seconds
Time Taken: 0.00247 seconds

Memory Before: 7,209.813 KB
Memory After: 7,210.055 KB
Memory Used: 0.242 KB

Time Before: 0.28840 seconds
Time After: 0.30025 seconds
Time Taken: 0.01185 seconds

Memory Before: 7,190.406 KB
Memory After: 7,283.141 KB
Memory Used: 92.734 KB

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

Time Before: 0.30477 seconds
Time After: 0.30544 seconds
Time Taken: 0.00068 seconds

Memory Before: 7,297.633 KB
Memory After: 7,298.672 KB
Memory Used: 1.039 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 = 13878
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostconstPRIMARYPRIMARY4const1 
1SIMPLEeditlogconstPRIMARYPRIMARY4const0unique row not found

Time Before: 0.35061 seconds
Time After: 0.35152 seconds
Time Taken: 0.00091 seconds

Memory Before: 7,586.109 KB
Memory After: 7,586.898 KB
Memory Used: 0.789 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 = 10588
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadconstPRIMARYPRIMARY4const1 
1SIMPLEpostconstPRIMARYPRIMARY4const1 

Time Before: 0.35450 seconds
Time After: 0.35560 seconds
Time Taken: 0.00110 seconds

Memory Before: 7,593.891 KB
Memory After: 7,594.727 KB
Memory Used: 0.836 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.37413 seconds
Time After: 0.37802 seconds
Time Taken: 0.00390 seconds

Memory Before: 7,855.063 KB
Memory After: 7,856.039 KB
Memory Used: 0.977 KB

End call of global.php: 0.39398407936096
SQL Query
SELECT COUNT(*) AS posts
FROM post AS post
WHERE threadid = 10588 AND visible = 1

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

Time Before: 0.49045 seconds
Time After: 0.49152 seconds
Time Taken: 0.00106 seconds

Memory Before: 10,099.148 KB
Memory After: 10,100.133 KB
Memory Used: 0.984 KB

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

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

Time Before: 0.49647 seconds
Time After: 0.49741 seconds
Time Taken: 0.00094 seconds

Memory Before: 10,107.180 KB
Memory After: 10,108.117 KB
Memory Used: 0.938 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
	, '' AS field7
	
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 = 2)
LEFT JOIN sigparsed AS sigparsed ON(sigparsed.userid = user.userid AND sigparsed.styleid = 2 AND sigparsed.languageid = 2)
LEFT JOIN sigpic AS sigpic ON(sigpic.userid = post.userid)

	
WHERE post.postid IN (013855,13878,13880,13881,13884)
ORDER BY post.dateline
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEavatarsystemPRIMARY   0const row not found
1SIMPLEsigpicsystemPRIMARY   0const row not found
1SIMPLEpostrangePRIMARYPRIMARY4 5Using index condition; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4db0529771.post.userid1 
1SIMPLEuserfieldeq_refPRIMARYPRIMARY4db0529771.user.userid1 
1SIMPLEusertextfieldeq_refPRIMARYPRIMARY4db0529771.user.userid1 
1SIMPLEiconeq_refPRIMARYPRIMARY2db0529771.post.iconid1 
1SIMPLEcustomavatareq_refPRIMARYPRIMARY4db0529771.user.userid1 
1SIMPLEeditlogeq_refPRIMARYPRIMARY4db0529771.post.postid1 
1SIMPLEpostparsedeq_refPRIMARYPRIMARY8db0529771.post.postid,const,const1 
1SIMPLEsigparsedeq_refPRIMARYPRIMARY8db0529771.user.userid,const,const1 

Time Before: 0.50497 seconds
Time After: 0.50782 seconds
Time Taken: 0.00285 seconds

Memory Before: 10,115.570 KB
Memory After: 10,114.875 KB
Memory Used: -0.695 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (1614,1613,1615,1616,4267,3812,3813,3815,3821,3820,4015,4019,4005,4006,4008,4007,4010,4012,4013,4014,4017,3713,3715,3717,3719,3721,4069,4073,4074,4075,4072,4142,3993,3992,3994,3999,3997,4166,3774,3775,3941,3768,3767,3770,3771,3784,3782,4276,2256,4227,4297,1609,1608,1610,1600,1599,1606,1607,1605,1604,3983,4279,3929,3933,3930,3931,3932,4295,0,0,4258,4260,3953,3954,3956,3957,4180,4222,4221,4271,4223,3780,3779,3783)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEtemplaterangePRIMARYPRIMARY4 83Using index condition

Time Before: 0.52387 seconds
Time After: 0.53572 seconds
Time Taken: 0.01185 seconds

Memory Before: 10,403.266 KB
Memory After: 10,403.898 KB
Memory Used: 0.633 KB

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

Time Before: 0.67080 seconds
Time After: 0.67157 seconds
Time Taken: 0.00078 seconds

Memory Before: 11,539.703 KB
Memory After: 11,540.711 KB
Memory Used: 1.008 KB

Time after parsing all posts: 0.84175705909729 Memory After: 11,571KB
SQL Query
SELECT *
FROM navigation
WHERE state & 4 = 0
ORDER BY navtype, displayorder
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEnavigationALL    37Using where; Using filesort

Time Before: 0.86010 seconds
Time After: 0.86121 seconds
Time Taken: 0.00111 seconds

Memory Before: 11,604.422 KB
Memory After: 11,605.445 KB
Memory Used: 1.023 KB

SQL Query
UPDATE session
SET lastactivity = 1686396779, location = 'showthread.php?t=10588', inforum = 14, inthread = 10588, badlocation = 0
WHERE sessionhash = '5a56715428eaa4d21c675f831c745ee3'

Time Before: 0.94467 seconds
Time After: 0.94546 seconds
Time Taken: 0.00079 seconds

Memory Before: 12,005.281 KB
Memory After: 12,006.086 KB
Memory Used: 0.805 KB

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

Time Before: 0.94606 seconds
Time After: 0.94719 seconds
Time Taken: 0.00112 seconds

Memory Before: 11,999.688 KB
Memory After: 12,000.617 KB
Memory Used: 0.930 KB

Page generated in 0.93620204925537 seconds with 16 queries, spending 0.036579132080078 doing MySQL queries and 0.89962291717529 doing PHP things.
Shutdown Queries:
DISABLED