Including Functions.php

Time Before: 0.08564 seconds
Time After: 0.22446 seconds
Time Taken: 0.13881 seconds

Memory Before: 3,418.313 KB
Memory After: 5,777.336 KB
Memory Used: 2,359.023 KB

Connect to Database on Server: sql.local

Time Before: 0.22520 seconds
Time After: 0.22833 seconds
Time Taken: 0.00313 seconds

Memory Before: 5,778.781 KB
Memory After: 5,781.336 KB
Memory Used: 2.555 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.22953 seconds
Time After: 0.23004 seconds
Time Taken: 0.00051 seconds

Memory Before: 5,779.477 KB
Memory After: 5,780.656 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.23439 seconds
Time After: 0.24028 seconds
Time Taken: 0.00589 seconds

Memory Before: 5,783.156 KB
Memory After: 5,783.961 KB
Memory Used: 0.805 KB

Time Before: 0.23049 seconds
Time After: 0.26035 seconds
Time Taken: 0.02986 seconds

Memory Before: 5,778.602 KB
Memory After: 6,395.320 KB
Memory Used: 616.719 KB

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

Time Before: 0.30052 seconds
Time After: 0.30183 seconds
Time Taken: 0.00131 seconds

Memory Before: 7,199.203 KB
Memory After: 7,200.156 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.30794 seconds
Time After: 0.36722 seconds
Time Taken: 0.05928 seconds

Memory Before: 7,210.539 KB
Memory After: 7,210.781 KB
Memory Used: 0.242 KB

Time Before: 0.29645 seconds
Time After: 0.36906 seconds
Time Taken: 0.07261 seconds

Memory Before: 7,191.047 KB
Memory After: 7,283.867 KB
Memory Used: 92.820 KB

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

Time Before: 0.37527 seconds
Time After: 0.37629 seconds
Time Taken: 0.00103 seconds

Memory Before: 7,298.344 KB
Memory After: 7,299.383 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 = 13493
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostconstPRIMARYPRIMARY4const1 
1SIMPLEeditlogconstPRIMARYPRIMARY4const0unique row not found

Time Before: 0.42543 seconds
Time After: 0.42725 seconds
Time Taken: 0.00182 seconds

Memory Before: 7,586.258 KB
Memory After: 7,587.047 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 = 10386
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadconstPRIMARYPRIMARY4const1 
1SIMPLEpostconstPRIMARYPRIMARY4const1 

Time Before: 0.44605 seconds
Time After: 0.44815 seconds
Time Taken: 0.00209 seconds

Memory Before: 7,603.844 KB
Memory After: 7,604.680 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.46959 seconds
Time After: 0.47486 seconds
Time Taken: 0.00527 seconds

Memory Before: 7,873.242 KB
Memory After: 7,874.219 KB
Memory Used: 0.977 KB

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

AND dateline <= 1659555153
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostrefthreadid,threadid_visible_dateline,datelinethreadid4const1Using where

Time Before: 0.60050 seconds
Time After: 0.60198 seconds
Time Taken: 0.00148 seconds

Memory Before: 10,117.211 KB
Memory After: 10,118.188 KB
Memory Used: 0.977 KB

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

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

Time Before: 0.60733 seconds
Time After: 0.60855 seconds
Time Taken: 0.00122 seconds

Memory Before: 10,125.195 KB
Memory After: 10,126.133 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 (013493)
ORDER BY post.dateline
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEavatarsystemPRIMARY   0const row not found
1SIMPLEsigpicsystemPRIMARY   0const row not found
1SIMPLEpostconstPRIMARYPRIMARY4const1 
1SIMPLEuserconstPRIMARYPRIMARY4const1 
1SIMPLEuserfieldconstPRIMARYPRIMARY4const1 
1SIMPLEusertextfieldconstPRIMARYPRIMARY4const1 
1SIMPLEiconconstPRIMARYPRIMARY2const0unique row not found
1SIMPLEcustomavatarconstPRIMARYPRIMARY4const0unique row not found
1SIMPLEeditlogconstPRIMARYPRIMARY4const0unique row not found
1SIMPLEpostparsedconstPRIMARYPRIMARY8const,const,const1 
1SIMPLEsigparsedconstPRIMARYPRIMARY8const,const,const0unique row not found

Time Before: 0.61937 seconds
Time After: 0.62558 seconds
Time Taken: 0.00621 seconds

Memory Before: 10,132.758 KB
Memory After: 10,132.086 KB
Memory Used: -0.672 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.64267 seconds
Time After: 0.65815 seconds
Time Taken: 0.01548 seconds

Memory Before: 10,439.633 KB
Memory After: 10,440.266 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.75515 seconds
Time After: 0.75612 seconds
Time Taken: 0.00097 seconds

Memory Before: 11,587.797 KB
Memory After: 11,588.805 KB
Memory Used: 1.008 KB

Time after parsing all posts: 0.78439998626709 Memory After: 11,575KB
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.80085 seconds
Time After: 0.80336 seconds
Time Taken: 0.00252 seconds

Memory Before: 11,608.039 KB
Memory After: 11,609.063 KB
Memory Used: 1.023 KB

SQL Query
UPDATE session
SET lastactivity = 1675116882, location = 'showthread.php?t=10386', inforum = 6, inthread = 10386, badlocation = 0
WHERE sessionhash = '8956e00de9224be7e68b7b1e89dc97a9'

Time Before: 0.87126 seconds
Time After: 0.87270 seconds
Time Taken: 0.00144 seconds

Memory Before: 11,976.875 KB
Memory After: 11,977.680 KB
Memory Used: 0.805 KB

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

Time Before: 0.87323 seconds
Time After: 0.87458 seconds
Time Taken: 0.00135 seconds

Memory Before: 11,971.281 KB
Memory After: 11,972.211 KB
Memory Used: 0.930 KB

Page generated in 0.86448383331299 seconds with 16 queries, spending 0.1109983921051 doing MySQL queries and 0.75348544120789 doing PHP things.
Shutdown Queries:
DISABLED