Including Functions.php

Time Before: 0.00220 seconds
Time After: 0.00544 seconds
Time Taken: 0.00324 seconds

Memory Before: 1,560.547 KB
Memory After: 2,315.156 KB
Memory Used: 754.609 KB

Connect to Database on Server: localhost

Time Before: 0.00549 seconds
Time After: 0.00599 seconds
Time Taken: 0.00050 seconds

Memory Before: 2,315.141 KB
Memory After: 2,322.664 KB
Memory Used: 7.523 KB

Datastore Setup
SQL Query
SELECT *
FROM datastore
WHERE title IN ('','options','bitfields','attachmentcache','forumcache','usergroupcache','stylecache','languagecache','products','pluginlist','cron','profilefield','loadcache','noticecache','smiliecache','bbcodecache','mailqueue','bookmarksitecache')
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEdatastore rangePRIMARYPRIMARY152 18100.00Using index condition

Time Before: 0.00634 seconds
Time After: 0.00666 seconds
Time Taken: 0.00032 seconds

Memory Before: 2,326.516 KB
Memory After: 2,390.289 KB
Memory Used: 63.773 KB

Time Before: 0.00604 seconds
Time After: 0.00739 seconds
Time Taken: 0.00135 seconds

Memory Before: 2,322.398 KB
Memory After: 2,951.063 KB
Memory Used: 628.664 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '34.229.64.28'
	AND idhash = 'c047a59f32cb5ea85079ea3780936d1a'
LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEsession ALL    2160.46Using where

Time Before: 0.00784 seconds
Time After: 0.00794 seconds
Time Taken: 0.00010 seconds

Memory Before: 2,985.156 KB
Memory After: 2,990.578 KB
Memory Used: 5.422 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,
			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_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLElanguage systemPRIMARY   1100.00 

Time Before: 0.00820 seconds
Time After: 0.00836 seconds
Time Taken: 0.00016 seconds

Memory Before: 2,996.445 KB
Memory After: 3,002.211 KB
Memory Used: 5.766 KB

Time Before: 0.00762 seconds
Time After: 0.00842 seconds
Time Taken: 0.00080 seconds

Memory Before: 2,980.359 KB
Memory After: 3,047.344 KB
Memory Used: 66.984 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 = 37623
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEpost constPRIMARYPRIMARY4const1100.00 
1SIMPLEeditlog constPRIMARYPRIMARY4const00.00unique row not found

Time Before: 0.00937 seconds
Time After: 0.00946 seconds
Time Taken: 0.00009 seconds

Memory Before: 3,118.383 KB
Memory After: 3,125.148 KB
Memory Used: 6.766 KB

SQL Query
SELECT IF(visible = 2, 1, 0) AS isdeleted,



thread.*


FROM thread AS thread






WHERE thread.threadid = 1297
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEthread constPRIMARYPRIMARY4const1100.00 

Time Before: 0.00966 seconds
Time After: 0.00977 seconds
Time Taken: 0.00011 seconds

Memory Before: 3,126.867 KB
Memory After: 3,135.219 KB
Memory Used: 8.352 KB

SQL Query
SELECT *
FROM style
WHERE (styleid = 1 AND userselect = 1)
	OR styleid = 1
ORDER BY styleid ASC
LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEstyle systemPRIMARY   1100.00 

Time Before: 0.01000 seconds
Time After: 0.01010 seconds
Time Taken: 0.00010 seconds

Memory Before: 3,139.359 KB
Memory After: 3,144.070 KB
Memory Used: 4.711 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (2806,2807,2809,2808,2891,3297,2923,2924,2926,2933,2932,3102,3106,3092,3093,3095,3094,3097,3099,3100,3101,3103,3105,2829,2831,2833,2835,3133,3135,3138,3139,3136,3134,3207,3208,3085,3084,3086,3090,3088,3235,2869,2868,2141,2142,2140,2737,2736,2804,2803,2805,2800,2799,3076,3027,3028,3029,3030,3296,3299,3308,3049,3050,3051,3052,3250,3313,3312,3314,3317,2723)
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEtemplate rangePRIMARYPRIMARY4 71100.00Using index condition

Time Before: 0.01105 seconds
Time After: 0.01155 seconds
Time Taken: 0.00049 seconds

Memory Before: 3,367.719 KB
Memory After: 3,371.242 KB
Memory Used: 3.523 KB

End call of global.php: 0.012706995010376
SQL Query
SELECT COUNT(*) AS posts
FROM post AS post
WHERE threadid = 1297 AND visible = 1
AND dateline <= 1602379624
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEpost refthreadidthreadid4const53.33Using where

Time Before: 0.01560 seconds
Time After: 0.01569 seconds
Time Taken: 0.00009 seconds

Memory Before: 3,883.336 KB
Memory After: 3,885.297 KB
Memory Used: 1.961 KB

SQL Query
SELECT post.postid
FROM post AS post

WHERE post.threadid = 1297
	AND post.visible = 1
	
	
ORDER BY post.dateline 
LIMIT 0, 40
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEpost refthreadidthreadid4const510.00Using index condition; Using where; Using filesort

Time Before: 0.01590 seconds
Time After: 0.01599 seconds
Time Taken: 0.00009 seconds

Memory Before: 3,889.695 KB
Memory After: 3,891.648 KB
Memory Used: 1.953 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 = 1 AND postparsed.languageid = 1)
LEFT JOIN sigparsed AS sigparsed ON(sigparsed.userid = user.userid AND sigparsed.styleid = 1 AND sigparsed.languageid = 1)
LEFT JOIN sigpic AS sigpic ON(sigpic.userid = post.userid)
	
WHERE post.postid IN (0,6802,6803,6807,37622,37623)
ORDER BY post.dateline
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEpost rangePRIMARYPRIMARY4 6100.00Using index condition; Using filesort
1SIMPLEuser eq_refPRIMARYPRIMARY4fatcogs_vb3.post.userid1100.00 
1SIMPLEuserfield eq_refPRIMARYPRIMARY4fatcogs_vb3.user.userid1100.00 
1SIMPLEusertextfield eq_refPRIMARYPRIMARY4fatcogs_vb3.user.userid1100.00 
1SIMPLEicon eq_refPRIMARYPRIMARY2fatcogs_vb3.post.iconid1100.00 
1SIMPLEavatar eq_refPRIMARYPRIMARY2fatcogs_vb3.user.avatarid1100.00Using where
1SIMPLEcustomavatar eq_refPRIMARYPRIMARY4fatcogs_vb3.user.userid1100.00 
1SIMPLEeditlog eq_refPRIMARYPRIMARY4fatcogs_vb3.post.postid1100.00 
1SIMPLEpostparsed eq_refPRIMARYPRIMARY8fatcogs_vb3.post.postid,const,const1100.00 
1SIMPLEsigparsed eq_refPRIMARYPRIMARY8fatcogs_vb3.user.userid,const,const1100.00 
1SIMPLEsigpic eq_refPRIMARYPRIMARY4fatcogs_vb3.post.userid1100.00 

Time Before: 0.01655 seconds
Time After: 0.01700 seconds
Time Taken: 0.00045 seconds

Memory Before: 3,898.438 KB
Memory After: 3,932.273 KB
Memory Used: 33.836 KB

Time after parsing all posts: 0.026470899581909 Memory After: 4,033KB
SQL Query
SELECT user.username, user.usergroupid, user.membergroupids,
	session.userid, session.inthread, session.lastactivity, session.badlocation,
	IF(user.displaygroupid = 0, user.usergroupid, user.displaygroupid) AS displaygroupid, infractiongroupid,
	IF(user.options & 512, 1, 0) AS invisible
FROM session AS session
LEFT JOIN user AS user ON(user.userid = session.userid)
WHERE session.lastactivity > 1620259762
ORDER BY  username ASC, lastactivity DESC
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEsession ALL    21633.33Using where; Using temporary; Using filesort
1SIMPLEuser eq_refPRIMARYPRIMARY4fatcogs_vb3.session.userid1100.00 

Time Before: 0.02669 seconds
Time After: 0.02705 seconds
Time Taken: 0.00036 seconds

Memory Before: 4,037.414 KB
Memory After: 4,049.008 KB
Memory Used: 11.594 KB

SQL Query
UPDATE session
SET lastactivity = 1620262762, location = '/forum/showthread.php?p=37623&explain=1', inforum = 13, inthread = 1297, incalendar = 0, badlocation = 0
WHERE sessionhash = '0a3143d476a8b396b47e031b731921a7'

Time Before: 0.02893 seconds
Time After: 0.02900 seconds
Time Taken: 0.00007 seconds

Memory Before: 4,592.453 KB
Memory After: 4,592.680 KB
Memory Used: 0.227 KB

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

Time Before: 0.02903 seconds
Time After: 0.02910 seconds
Time Taken: 0.00007 seconds

Memory Before: 4,586.836 KB
Memory After: 4,587.180 KB
Memory Used: 0.344 KB

Page generated in 0.028558015823364 seconds with 13 queries, spending 0.0030112266540527 doing MySQL queries and 0.025546789169312 doing PHP things.
Shutdown Queries:
DISABLED