Including Functions.php

Time Before: 0.00298 seconds
Time After: 0.00517 seconds
Time Taken: 0.00219 seconds

Memory Before: 511.242 KB
Memory After: 534.016 KB
Memory Used: 22.773 KB

Connect to Database on Server: localhost

Time Before: 0.00538 seconds
Time After: 0.00646 seconds
Time Taken: 0.00108 seconds

Memory Before: 533.953 KB
Memory After: 534.898 KB
Memory Used: 0.945 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00678 seconds
Time After: 0.00691 seconds
Time Taken: 0.00013 seconds

Memory Before: 535.453 KB
Memory After: 535.977 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.00798 seconds
Time After: 0.00888 seconds
Time Taken: 0.00090 seconds

Memory Before: 538.969 KB
Memory After: 539.844 KB
Memory Used: 0.875 KB

Time Before: 0.00699 seconds
Time After: 0.01172 seconds
Time Taken: 0.00474 seconds

Memory Before: 535.227 KB
Memory After: 1,150.180 KB
Memory Used: 614.953 KB

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

Time Before: 0.01584 seconds
Time After: 0.01616 seconds
Time Taken: 0.00032 seconds

Memory Before: 1,648.266 KB
Memory After: 1,648.883 KB
Memory Used: 0.617 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.01723 seconds
Time After: 0.01788 seconds
Time Taken: 0.00065 seconds

Memory Before: 1,660.828 KB
Memory After: 1,660.758 KB
Memory Used: -0.070 KB

Time Before: 0.01497 seconds
Time After: 0.01815 seconds
Time Taken: 0.00318 seconds

Memory Before: 1,640.305 KB
Memory After: 1,730.914 KB
Memory Used: 90.609 KB

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

Time Before: 0.01897 seconds
Time After: 0.01919 seconds
Time Taken: 0.00022 seconds

Memory Before: 1,732.234 KB
Memory After: 1,732.813 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 = 2903
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostconstPRIMARYPRIMARY4const1 
1SIMPLEeditlogconstPRIMARYPRIMARY4const0Unique row not found

Time Before: 0.02447 seconds
Time After: 0.02492 seconds
Time Taken: 0.00045 seconds

Memory Before: 2,106.375 KB
Memory After: 2,106.844 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 = 2701
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadconstPRIMARYPRIMARY4const1 
1SIMPLEpostconstPRIMARYPRIMARY4const1 

Time Before: 0.02581 seconds
Time After: 0.02627 seconds
Time Taken: 0.00046 seconds

Memory Before: 2,121.070 KB
Memory After: 2,121.664 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.02781 seconds
Time After: 0.02829 seconds
Time Taken: 0.00048 seconds

Memory Before: 2,161.172 KB
Memory After: 2,161.766 KB
Memory Used: 0.594 KB

End call of global.php: 0.030566930770874
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.03611 seconds
Time After: 0.03776 seconds
Time Taken: 0.00166 seconds

Memory Before: 2,963.359 KB
Memory After: 2,965.469 KB
Memory Used: 2.109 KB

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

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

Time Before: 0.04755 seconds
Time After: 0.04786 seconds
Time Taken: 0.00031 seconds

Memory Before: 3,132.875 KB
Memory After: 3,133.383 KB
Memory Used: 0.508 KB

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

WHERE post.threadid = 2701
	AND post.visible = 1
	
	
ORDER BY post.dateline 
LIMIT 0, 10
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostrangethreadid,threadid_visible_datelinethreadid_visible_dateline6 1Using where

Time Before: 0.04893 seconds
Time After: 0.04926 seconds
Time Taken: 0.00032 seconds

Memory Before: 3,141.266 KB
Memory After: 3,141.727 KB
Memory Used: 0.461 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 (02903)
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
1SIMPLEpostconstPRIMARYPRIMARY4const1 
1SIMPLEuserconstPRIMARYPRIMARY4const1 
1SIMPLEuserfieldconstPRIMARYPRIMARY4const1 
1SIMPLEusertextfieldconstPRIMARYPRIMARY4const1 
1SIMPLEiconconstPRIMARYPRIMARY2const0Unique row not found
1SIMPLEeditlogconstPRIMARYPRIMARY4const0Unique row not found

Time Before: 0.05083 seconds
Time After: 0.05185 seconds
Time Taken: 0.00102 seconds

Memory Before: 3,148.781 KB
Memory After: 3,148.656 KB
Memory Used: -0.125 KB

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

Time Before: 0.06575 seconds
Time After: 0.06597 seconds
Time Taken: 0.00023 seconds

Memory Before: 3,346.453 KB
Memory After: 3,346.992 KB
Memory Used: 0.539 KB

Time after parsing all posts: 0.069617986679077 Memory After: 3,374KB
SQL Query
SELECT thread.threadid, thread.forumid, thread.title, thread.prefixid, thread.taglist, postusername, postuserid,
	thread.lastpost, thread.replycount,
	forum.title AS forumtitle
	,post.pagetext AS preview
	
	
FROM thread AS thread
INNER JOIN forum AS forum ON (forum.forumid = thread.forumid)
LEFT JOIN post AS post ON (post.postid = thread.firstpostid)



WHERE thread.threadid IN (970) AND thread.visible = 1
	AND forum.password = ''
	
	
ORDER BY lastpost DESC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadconstPRIMARY,forumid,forumid_lastpostPRIMARY4const1 
1SIMPLEforumconstPRIMARYPRIMARY2const1 
1SIMPLEpostconstPRIMARYPRIMARY4const1 

Time Before: 0.07062 seconds
Time After: 0.07105 seconds
Time Taken: 0.00043 seconds

Memory Before: 3,378.656 KB
Memory After: 3,378.867 KB
Memory Used: 0.211 KB

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.07598 seconds
Time After: 0.07643 seconds
Time Taken: 0.00046 seconds

Memory Before: 3,410.555 KB
Memory After: 3,414.016 KB
Memory Used: 3.461 KB

SQL Query
UPDATE session
SET lastactivity = 1750166422, location = 'showthread.php?t=2701', inforum = 19, inthread = 2701, incalendar = 0, badlocation = 0
WHERE sessionhash = '556edd7d45f16f0090a47c63b261b30d'

Time Before: 0.08342 seconds
Time After: 0.08382 seconds
Time Taken: 0.00040 seconds

Memory Before: 3,799.758 KB
Memory After: 3,799.945 KB
Memory Used: 0.188 KB

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

Time Before: 0.08391 seconds
Time After: 0.08439 seconds
Time Taken: 0.00047 seconds

Memory Before: 3,793.664 KB
Memory After: 3,794.008 KB
Memory Used: 0.344 KB

Page generated in 0.082306146621704 seconds with 17 queries, spending 0.0099873542785645 doing MySQL queries and 0.07231879234314 doing PHP things.
Shutdown Queries:
DISABLED