Including Functions.php

Time Before: 0.00431 seconds
Time After: 0.00478 seconds
Time Taken: 0.00047 seconds

Memory Before: 513.859 KB
Memory After: 536.680 KB
Memory Used: 22.820 KB

Connect to Database on Server: localhost

Time Before: 0.00487 seconds
Time After: 0.00525 seconds
Time Taken: 0.00039 seconds

Memory Before: 536.617 KB
Memory After: 537.531 KB
Memory Used: 0.914 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00547 seconds
Time After: 0.00558 seconds
Time Taken: 0.00010 seconds

Memory Before: 538.086 KB
Memory After: 538.609 KB
Memory Used: 0.523 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
1SIMPLEdatastorerangePRIMARYPRIMARY50 18Using index condition

Time Before: 0.00639 seconds
Time After: 0.00728 seconds
Time Taken: 0.00089 seconds

Memory Before: 541.602 KB
Memory After: 542.477 KB
Memory Used: 0.875 KB

Time Before: 0.00563 seconds
Time After: 0.00985 seconds
Time Taken: 0.00422 seconds

Memory Before: 537.859 KB
Memory After: 1,152.773 KB
Memory Used: 614.914 KB

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

Time Before: 0.01332 seconds
Time After: 0.01367 seconds
Time Taken: 0.00035 seconds

Memory Before: 1,649.203 KB
Memory After: 1,649.813 KB
Memory Used: 0.609 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 = 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLElanguagesystemPRIMARY   1 

Time Before: 0.01477 seconds
Time After: 0.01547 seconds
Time Taken: 0.00071 seconds

Memory Before: 1,661.734 KB
Memory After: 1,661.664 KB
Memory Used: -0.070 KB

Time Before: 0.01257 seconds
Time After: 0.01568 seconds
Time Taken: 0.00311 seconds

Memory Before: 1,641.227 KB
Memory After: 1,731.781 KB
Memory Used: 90.555 KB

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

Time Before: 0.01647 seconds
Time After: 0.01669 seconds
Time Taken: 0.00022 seconds

Memory Before: 1,733.102 KB
Memory After: 1,733.680 KB
Memory Used: 0.578 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 = 2669
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostconstPRIMARYPRIMARY4const1 
1SIMPLEeditlogconstPRIMARYPRIMARY4const0Unique row not found

Time Before: 0.02116 seconds
Time After: 0.02162 seconds
Time Taken: 0.00046 seconds

Memory Before: 2,107.242 KB
Memory After: 2,107.711 KB
Memory Used: 0.469 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 = 63
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadconstPRIMARYPRIMARY4const1 
1SIMPLEpostconstPRIMARYPRIMARY4const1 

Time Before: 0.02238 seconds
Time After: 0.02275 seconds
Time Taken: 0.00037 seconds

Memory Before: 2,115.547 KB
Memory After: 2,116.141 KB
Memory Used: 0.594 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.02402 seconds
Time After: 0.02465 seconds
Time Taken: 0.00063 seconds

Memory Before: 2,149.227 KB
Memory After: 2,149.820 KB
Memory Used: 0.594 KB

End call of global.php: 0.026582956314087
SQL Query
SELECT title, template
FROM template
WHERE templateid IN (72,71,656,657,1245,790,791,793,799,798,978,997,983,984,986,985,988,990,991,992,995,691,693,695,697,699,1047,1051,1052,1053,1050,1120,971,970,972,977,975,1144,752,753,919,746,745,748,749,762,760,1254,1264,1205,1275,67,66,68,63,62,651,652,650,649,961,1257,907,911,908,909,910,1273,0,0,1236,1238,931,932,934,935,1158,1200,1199,1249,1201,758,757,761)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEtemplaterangePRIMARYPRIMARY4 83Using index condition

Time Before: 0.03107 seconds
Time After: 0.03300 seconds
Time Taken: 0.00193 seconds

Memory Before: 2,951.094 KB
Memory After: 2,953.203 KB
Memory Used: 2.109 KB

SQL Query
SELECT COUNT(*) AS posts
FROM post AS post
WHERE threadid = 63 AND visible = 1

AND dateline <= 1279256730
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostrangethreadid,threadid_visible_dateline,datelinethreadid_visible_dateline10 2Using where; Using index

Time Before: 0.04239 seconds
Time After: 0.04272 seconds
Time Taken: 0.00033 seconds

Memory Before: 3,119.516 KB
Memory After: 3,120.031 KB
Memory Used: 0.516 KB

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

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

Time Before: 0.04376 seconds
Time After: 0.04417 seconds
Time Taken: 0.00040 seconds

Memory Before: 3,128.336 KB
Memory After: 3,128.828 KB
Memory Used: 0.492 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 = 2 AND postparsed.languageid = 1)
LEFT JOIN sigparsed AS sigparsed ON(sigparsed.userid = user.userid AND sigparsed.styleid = 2 AND sigparsed.languageid = 1)
LEFT JOIN sigpic AS sigpic ON(sigpic.userid = post.userid)

	
WHERE post.postid IN (076,2395,2669)
ORDER BY post.dateline
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEavatarsystemPRIMARY   0Const row not found
1SIMPLEcustomavatarsystemPRIMARY   0Const row not found
1SIMPLEpostparsedsystemPRIMARY   0Const row not found
1SIMPLEsigparsedsystemPRIMARY   0Const row not found
1SIMPLEsigpicsystemPRIMARY   0Const row not found
1SIMPLEpostrangePRIMARYPRIMARY4 3Using index condition; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4business_business.post.userid1 
1SIMPLEeditlogeq_refPRIMARYPRIMARY4business_business.post.postid1 
1SIMPLEuserfieldeq_refPRIMARYPRIMARY4business_business.user.userid1Using where
1SIMPLEusertextfieldeq_refPRIMARYPRIMARY4business_business.user.userid1Using where
1SIMPLEiconeq_refPRIMARYPRIMARY2business_business.post.iconid1 

Time Before: 0.04599 seconds
Time After: 0.04755 seconds
Time Taken: 0.00156 seconds

Memory Before: 3,136.336 KB
Memory After: 3,138.211 KB
Memory Used: 1.875 KB

SQL Query
SELECT data, expires, locktime, serialized
FROM cache
WHERE cacheid = 'vb_types.types'
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEcacheconstPRIMARYPRIMARY66const1 

Time Before: 0.05236 seconds
Time After: 0.05260 seconds
Time Taken: 0.00024 seconds

Memory Before: 3,322.797 KB
Memory After: 3,323.336 KB
Memory Used: 0.539 KB

Time after parsing all posts: 0.064051866531372 Memory After: 3,358KB
SQL Query
SELECT *
FROM navigation
WHERE state & 4 = 0
ORDER BY navtype, displayorder
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEnavigationALL    27Using where; Using filesort

Time Before: 0.06701 seconds
Time After: 0.06748 seconds
Time Taken: 0.00047 seconds

Memory Before: 3,390.453 KB
Memory After: 3,393.914 KB
Memory Used: 3.461 KB

SQL Query
UPDATE session
SET lastactivity = 1679933347, location = 'showthread.php?t=63', inforum = 9, inthread = 63, badlocation = 0
WHERE sessionhash = '1396d267a8832525b1851bf2393d5cb5'

Time Before: 0.07368 seconds
Time After: 0.07400 seconds
Time Taken: 0.00032 seconds

Memory Before: 3,781.547 KB
Memory After: 3,781.766 KB
Memory Used: 0.219 KB

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

Time Before: 0.07408 seconds
Time After: 0.07468 seconds
Time Taken: 0.00059 seconds

Memory Before: 3,775.820 KB
Memory After: 3,776.164 KB
Memory Used: 0.344 KB

Page generated in 0.072683811187744 seconds with 16 queries, spending 0.009967565536499 doing MySQL queries and 0.062716245651245 doing PHP things.
Shutdown Queries:
DISABLED