Connecting to database
Time before: 0.00022506713867188
Memory Before: 259KB 
Time after: 0.00058603286743164
Time taken: 0.00036096572875977
Memory After: 268KB 

Query: SELECT title, data FROM datastore WHERE title IN ('options', 'cron', 'forumcache', 'usergroupcache', 'stylecache', 'arcadesettings', 'rankphp', 'smiliecache', 'bbcodecache', 'mailqueue', 'hidprofilecache') Time before: 0.00063896179199219 Memory Before: 269KB Time after: 0.0015029907226562 Time taken: 0.00086402893066406 Memory After: 308KB
table type possible_keys key key_len ref rows Extra
datastore  range  PRIMARY  PRIMARY  17    11  Using index condition 

Parsing functions.php
Time before: 0.0034029483795166
Memory Before: 985KB 
Time after:  0.0035419464111328
Time taken: 0.00013899803161621
Memory After: 990KB 

Query: SELECT * FROM session WHERE userid = 0 AND host = '' AND idhash = 'f8b36a7088f11fd097b1f1ab14e9b8d1' LIMIT 1 Time before: 0.0036249160766602 Memory Before: 1,000KB Time after: 0.023142099380493 Time taken: 0.019517183303833 Memory After: 1,004KB
table type possible_keys key key_len ref rows Extra
session  ALL          32004  Using where 


		SELECT languageid,
			phrasegroup_posting AS phrasegroup_posting,
			phrasegroup_postbit AS phrasegroup_postbit,
			phrasegroup_showthread AS phrasegroup_showthread,
			phrasegroup_global AS phrasegroup_global,
			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
Time before: 0.023601055145264
Memory Before: 1,007KB 
Time after: 0.024101972579956
Time taken: 0.00050091743469238
Memory After: 1,013KB 
table type possible_keys key key_len ref rows Extra
language  system  PRIMARY         

Processing sessions.php
Time before: 0.0035920143127441
Memory Before: 997KB 

End sessions.php processing
Time after:  0.024473905563354
Time taken: 0.02088189125061
Memory After: 1,049KB 

Query: SELECT NOT ISNULL(deletionlog.primaryid) AS isdeleted, deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason, thread.* FROM thread AS thread LEFT JOIN deletionlog AS deletionlog ON (deletionlog.primaryid = thread.threadid AND deletionlog.type = 'thread') WHERE thread.threadid = 23414 Time before: 0.02543306350708 Memory Before: 1,180KB Time after: 0.0257248878479 Time taken: 0.00029182434082031 Memory After: 1,186KB
table type possible_keys key key_len ref rows Extra
thread  const  PRIMARY  PRIMARY  const   
deletionlog  const  PRIMARY  PRIMARY  const,const  unique row not found 


	SELECT * FROM style
	WHERE (styleid = 10 AND userselect = 1)
		OR styleid = 10
	ORDER BY styleid ASC

Time before: 0.025954961776733
Memory Before: 1,190KB 
Time after: 0.026144027709961
Time taken: 0.00018906593322754
Memory After: 1,194KB 
table type possible_keys key key_len ref rows Extra
style  const  PRIMARY  PRIMARY  const   


			SELECT title, template
			FROM template
			WHERE templateid IN (4589,4804,4615,4616,4618,4623,1517,4711,4712,4714,4713,4715,0,4716,4717,4718,4720,4721,4528,4529,4530,1494,1521,4742,4745,4746,2996,2995,4704,4703,4705,4709,4707,3093,2998,4041,3085,4685,4696,1515,4664,4803,4806,4813,4682,4683,4684,4774,4818,4817,4824,4823,4822,4819,4821,2177,2176)
Time before: 0.026628017425537
Memory Before: 1,308KB 
Time after: 0.032922983169556
Time taken: 0.0062949657440186
Memory After: 1,311KB 
table type possible_keys key key_len ref rows Extra
template  range  PRIMARY  PRIMARY    57  Using index condition 

End call of global.php:  0.033927917480469

Query: SELECT forum.forumid, lastpost, lastposter, lastthread, lastthreadid, lasticonid, threadcount, replycount FROM forum AS forum Time before: 0.034233093261719 Memory Before: 1,448KB Time after: 0.036293029785156 Time taken: 0.0020599365234375 Memory After: 1,456KB
table type possible_keys key key_len ref rows Extra
forum  ALL          67   


			SELECT postid FROM post AS post
			LEFT JOIN deletionlog AS deletionlog ON(post.postid = deletionlog.primaryid AND type = 'post')
			WHERE threadid = 23414 AND visible = 1 AND deletionlog.primaryid IS NULL
			ORDER BY dateline 
			LIMIT 0, 30
Time before: 0.037974119186401
Memory Before: 1,584KB 
Time after: 0.038798093795776
Time taken: 0.000823974609375
Memory After: 1,586KB 
table type possible_keys key key_len ref rows Extra
post  ref  threadid  threadid  const  Using where; Using filesort 
deletionlog  eq_ref  PRIMARY  PRIMARY,const  Using where; Not exists; Using index 


			post.*, post.username AS postusername, post.ipaddress AS ip,
			user.*, userfield.*, usertextfield.*,
			icon.title as icontitle, icon.iconpath,
			avatar.avatarpath, NOT ISNULL(customavatar.avatardata) AS hascustomavatar, customavatar.dateline AS avatardateline,
			editlog.userid AS edit_userid, editlog.username AS edit_username, editlog.dateline AS edit_dateline,
			editlog.reason AS edit_reason,
			post_parsed.pagetext_html, post_parsed.hasimages,
			IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid
			, '' AS field15, '' AS field18, '' AS field19, '' AS field20, '' AS field21
		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 post_parsed AS post_parsed ON(post_parsed.postid = post.postid)
		WHERE post.postid IN (0,788721)
		ORDER BY dateline 
Time before: 0.039246082305908
Memory Before: 1,586KB 
Time after: 0.058584928512573
Time taken: 0.019338846206665
Memory After: 1,612KB 
table type possible_keys key key_len ref rows Extra
icon  system  PRIMARY        const row not found 
avatar  system  PRIMARY        const row not found 
post_parsed  system  PRIMARY        const row not found 
post  range  PRIMARY  PRIMARY    Using index condition; Using filesort 
user  eq_ref  PRIMARY  PRIMARY   
userfield  eq_ref  PRIMARY  PRIMARY  cos_oldposts.user.userid   
usertextfield  eq_ref  PRIMARY  PRIMARY  cos_oldposts.user.userid   
customavatar  eq_ref  PRIMARY  PRIMARY  cos_oldposts.user.userid   
editlog  eq_ref  PRIMARY  PRIMARY   

Time after parsing all posts:  0.069458961486816
Memory After: 1,697KB 

Query: SELECT user.username, user.usergroupid, user.membergroupids, session.userid, session.inthread, session.lastactivity, IF(user.displaygroupid = 0, user.usergroupid, user.displaygroupid) AS displaygroupid, 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 > 1615262138 ORDER BY lastactivity DESC Time before: 0.069495916366577 Memory Before: 1,699KB Time after: 0.087938070297241 Time taken: 0.018442153930664 Memory After: 1,708KB
table type possible_keys key key_len ref rows Extra
session  ALL          32004  Using where; Using filesort 
user  eq_ref  PRIMARY  PRIMARY  cos_oldposts.session.userid   

Page generated in 0.09045005 seconds with 10 queries,
spending 0.068683862686157 doing MySQL queries and 0.021766187313843 doing PHP things.

Shutdown Queries:

Query: INSERT INTO session (sessionhash, userid, host, useragent, idhash, lastactivity, location, bypass, styleid ,inforum, inthread, incalendar, badlocation ) VALUES ('6884c65bcba941202f7e68aaad781f68', 0, '', 'CCBot/2.0 (', 'f8b36a7088f11fd097b1f1ab14e9b8d1', 1615263938, '/cosarchive/showthread.php?t=23414&tempusage=1&explain=1', 0, 0 ,98, 23414, 0,0 ) Time before: 0.090912103652954 Memory Before: 1,966KB Time after: 0.091162919998169 Time taken: 0.00025081634521484 Memory After: 1,966KB
Query: INSERT INTO threadviews (threadid) VALUES (23414) Time before: 0.091202020645142 Memory Before: 1,966KB Time after: 0.10765409469604 Time taken: 0.016452074050903 Memory After: 1,966KB