Connecting to database
Time before: 0.0004429817199707
Memory Before: 259KB 
Time after: 0.00091290473937988
Time taken: 0.00046992301940918
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.00098609924316406 Memory Before: 269KB Time after: 0.0020051002502441 Time taken: 0.0010190010070801 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.0042989253997803
Memory Before: 984KB 
Time after:  0.0046288967132568
Time taken: 0.00032997131347656
Memory After: 989KB 


Query: SELECT * FROM session WHERE userid = 0 AND host = '162.158.63.129' AND idhash = '8353da068bf91378729cc13b8d1fa2ff' LIMIT 1 Time before: 0.0047578811645508 Memory Before: 999KB Time after: 0.025285959243774 Time taken: 0.020528078079224 Memory After: 1,004KB
table type possible_keys key key_len ref rows Extra
session  ALL          32004  Using where 


Query:

		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.025930881500244
Memory Before: 1,006KB 
Time after: 0.026501893997192
Time taken: 0.00057101249694824
Memory After: 1,012KB 
table type possible_keys key key_len ref rows Extra
language  system  PRIMARY         


Processing sessions.php
Time before: 0.0047099590301514
Memory Before: 996KB 

End sessions.php processing
Time after:  0.027008056640625
Time taken: 0.022298097610474
Memory After: 1,049KB 


Query: SELECT post.*, NOT ISNULL(deletionlog.primaryid) AS isdeleted, deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason, editlog.userid AS edit_userid, editlog.dateline AS edit_dateline, editlog.reason AS edit_reason FROM post AS post LEFT JOIN deletionlog AS deletionlog ON (deletionlog.primaryid = post.postid AND deletionlog.type = 'post') LEFT JOIN editlog AS editlog ON (editlog.postid = post.postid) WHERE post.postid = 817739 Time before: 0.028255939483643 Memory Before: 1,179KB Time after: 0.028840065002441 Time taken: 0.00058412551879883 Memory After: 1,185KB
table type possible_keys key key_len ref rows Extra
post  const  PRIMARY  PRIMARY  const   
deletionlog  const  PRIMARY  PRIMARY  const,const  unique row not found 
editlog  const  PRIMARY  PRIMARY  const   


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 = 23951
		
Time before: 0.029259920120239
Memory Before: 1,194KB 
Time after: 0.029474973678589
Time taken: 0.00021505355834961
Memory After: 1,200KB 
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 


Query:

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

Time before: 0.02979302406311
Memory Before: 1,204KB 
Time after: 0.030014991760254
Time taken: 0.00022196769714355
Memory After: 1,208KB 
table type possible_keys key key_len ref rows Extra
style  const  PRIMARY  PRIMARY  const   


Query:

			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.030576944351196
Memory Before: 1,322KB 
Time after: 0.031743049621582
Time taken: 0.0011661052703857
Memory After: 1,325KB 
table type possible_keys key key_len ref rows Extra
template  range  PRIMARY  PRIMARY    57  Using index condition 


End call of global.php:  0.033622980117798


Query: SELECT forum.forumid, lastpost, lastposter, lastthread, lastthreadid, lasticonid, threadcount, replycount FROM forum AS forum Time before: 0.034164905548096 Memory Before: 1,462KB Time after: 0.03444504737854 Time taken: 0.00028014183044434 Memory After: 1,470KB
table type possible_keys key key_len ref rows Extra
forum  ALL          67   


Query:

		SELECT COUNT(*) AS posts
		FROM post AS post
		LEFT JOIN deletionlog AS deletionlog ON(deletionlog.primaryid = post.postid AND type = 'post')
		WHERE threadid = 23951 AND visible = 1 AND deletionlog.primaryid IS NULL
		AND dateline <= 1078540340
	
Time before: 0.035265922546387
Memory Before: 1,594KB 
Time after: 0.035587072372437
Time taken: 0.0003211498260498
Memory After: 1,596KB 
table type possible_keys key key_len ref rows Extra
post  ref  threadid  threadid  const  Using where 
deletionlog  eq_ref  PRIMARY  PRIMARY  cos_oldposts.post.postid,const  Using where; Not exists; Using index 


Query:

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


Query:

		SELECT
			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,817739)
		ORDER BY dateline 
	
Time before: 0.036446094512939
Memory Before: 1,601KB 
Time after: 0.037144899368286
Time taken: 0.00069880485534668
Memory After: 1,627KB 
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  cos_oldposts.post.userid   
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  cos_oldposts.post.postid   


Time after parsing all posts:  0.048567056655884
Memory After: 1,694KB 


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 > 1618493939 ORDER BY lastactivity DESC Time before: 0.048599004745483 Memory Before: 1,697KB Time after: 0.069000959396362 Time taken: 0.020401954650879 Memory After: 1,700KB
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.07121110 seconds with 12 queries,
spending 0.046715259552002 doing MySQL queries and 0.024495840447998 doing PHP things.


Shutdown Queries:

Query: INSERT INTO session (sessionhash, userid, host, useragent, idhash, lastactivity, location, bypass, styleid ,inforum, inthread, incalendar, badlocation ) VALUES ('43d41739fe2c03de7b5d67cb689edf91', 0, '162.158.63.129', 'CCBot/2.0 (https://commoncrawl.org/faq/)', '8353da068bf91378729cc13b8d1fa2ff', 1618495739, '/cosarchive/showthread.php?p=817739&explain=1', 0, 0 ,98, 23951, 0,0 ) Time before: 0.071724891662598 Memory Before: 1,968KB Time after: 0.072088003158569 Time taken: 0.00036311149597168 Memory After: 1,968KB
Query: INSERT INTO threadviews (threadid) VALUES (23951) Time before: 0.072160005569458 Memory Before: 1,968KB Time after: 0.12473607063293 Time taken: 0.052576065063477 Memory After: 1,968KB