Including Functions.php

Time Before: 0.08290 seconds
Time After: 0.21746 seconds
Time Taken: 0.13456 seconds

Memory Before: 3,416.859 KB
Memory After: 5,775.977 KB
Memory Used: 2,359.117 KB

Connect to Database on Server: sql.local

Time Before: 0.21813 seconds
Time After: 0.22158 seconds
Time Taken: 0.00345 seconds

Memory Before: 5,777.422 KB
Memory After: 5,779.977 KB
Memory Used: 2.555 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.22289 seconds
Time After: 0.22348 seconds
Time Taken: 0.00059 seconds

Memory Before: 5,778.117 KB
Memory After: 5,779.297 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.22718 seconds
Time After: 0.23806 seconds
Time Taken: 0.01088 seconds

Memory Before: 5,781.797 KB
Memory After: 5,782.602 KB
Memory Used: 0.805 KB

Time Before: 0.22385 seconds
Time After: 0.25693 seconds
Time Taken: 0.03308 seconds

Memory Before: 5,777.242 KB
Memory After: 6,393.938 KB
Memory Used: 616.695 KB

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

Time Before: 0.29294 seconds
Time After: 0.29403 seconds
Time Taken: 0.00109 seconds

Memory Before: 7,197.773 KB
Memory After: 7,198.727 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.29783 seconds
Time After: 0.30578 seconds
Time Taken: 0.00795 seconds

Memory Before: 7,208.977 KB
Memory After: 7,209.219 KB
Memory Used: 0.242 KB

Time Before: 0.28992 seconds
Time After: 0.30708 seconds
Time Taken: 0.01716 seconds

Memory Before: 7,189.602 KB
Memory After: 7,282.305 KB
Memory Used: 92.703 KB

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

Time Before: 0.31183 seconds
Time After: 0.31296 seconds
Time Taken: 0.00113 seconds

Memory Before: 7,296.797 KB
Memory After: 7,297.836 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 = 13861
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostconstPRIMARYPRIMARY4const1 
1SIMPLEeditlogconstPRIMARYPRIMARY4const0unique row not found

Time Before: 0.36005 seconds
Time After: 0.36141 seconds
Time Taken: 0.00136 seconds

Memory Before: 7,584.945 KB
Memory After: 7,585.734 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 = 10591
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadconstPRIMARYPRIMARY4const1 
1SIMPLEpostconstPRIMARYPRIMARY4const1 

Time Before: 0.36480 seconds
Time After: 0.36638 seconds
Time Taken: 0.00157 seconds

Memory Before: 7,594.750 KB
Memory After: 7,595.586 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.38573 seconds
Time After: 0.39931 seconds
Time Taken: 0.01358 seconds

Memory Before: 7,856.297 KB
Memory After: 7,857.273 KB
Memory Used: 0.977 KB

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

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

Time Before: 0.51323 seconds
Time After: 0.51403 seconds
Time Taken: 0.00080 seconds

Memory Before: 10,100.680 KB
Memory After: 10,101.656 KB
Memory Used: 0.977 KB

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

WHERE post.threadid = 10591
	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.51894 seconds
Time After: 0.51965 seconds
Time Taken: 0.00071 seconds

Memory Before: 10,108.766 KB
Memory After: 10,109.703 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 (013861)
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.52765 seconds
Time After: 0.53146 seconds
Time Taken: 0.00381 seconds

Memory Before: 10,116.328 KB
Memory After: 10,115.656 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.54801 seconds
Time After: 0.56410 seconds
Time Taken: 0.01609 seconds

Memory Before: 10,407.141 KB
Memory After: 10,407.773 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.68302 seconds
Time After: 0.68446 seconds
Time Taken: 0.00144 seconds

Memory Before: 11,530.055 KB
Memory After: 11,531.063 KB
Memory Used: 1.008 KB

Time after parsing all posts: 0.71492695808411 Memory After: 11,546KB
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.73167 seconds
Time After: 0.73337 seconds
Time Taken: 0.00169 seconds

Memory Before: 11,579.500 KB
Memory After: 11,580.547 KB
Memory Used: 1.047 KB

SQL Query
UPDATE session
SET lastactivity = 1680424679, location = 'showthread.php?t=10591', inforum = 12, inthread = 10591, badlocation = 0
WHERE sessionhash = 'fd198fbad22d6d5e20ed6e678e264e2b'

Time Before: 0.80517 seconds
Time After: 0.80621 seconds
Time Taken: 0.00104 seconds

Memory Before: 11,906.508 KB
Memory After: 11,907.273 KB
Memory Used: 0.766 KB

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

Time Before: 0.80679 seconds
Time After: 0.80771 seconds
Time Taken: 0.00092 seconds

Memory Before: 11,900.844 KB
Memory After: 11,901.773 KB
Memory Used: 0.930 KB

Page generated in 0.79836702346802 seconds with 16 queries, spending 0.068109273910522 doing MySQL queries and 0.7302577495575 doing PHP things.
Shutdown Queries:
DISABLED