Including Functions.php

Time Before: 0.00045 seconds
Time After: 0.00052 seconds
Time Taken: 0.00008 seconds

Memory Before: 429.078 KB
Memory After: 431.719 KB
Memory Used: 2.641 KB

Connect to Database on Server: localhost

Time Before: 0.00059 seconds
Time After: 0.00115 seconds
Time Taken: 0.00056 seconds

Memory Before: 431.672 KB
Memory After: 432.563 KB
Memory Used: 0.891 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00129 seconds
Time After: 0.00137 seconds
Time Taken: 0.00008 seconds

Memory Before: 432.586 KB
Memory After: 432.641 KB
Memory Used: 0.055 KB

Datastore Setup
SQL Query
SELECT *
FROM datastore
WHERE title IN ('','options','bitfields','attachmentcache','forumcache','usergroupcache','stylecache','languagecache','products','pluginlist','cron','profilefield','loadcache','noticecache','iconcache','mailqueue','prefixcache')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEdatastorerangePRIMARYPRIMARY152 17Using where

Time Before: 0.00186 seconds
Time After: 0.00338 seconds
Time Taken: 0.00152 seconds

Memory Before: 433.914 KB
Memory After: 520.570 KB
Memory Used: 86.656 KB

Time Before: 0.00139 seconds
Time After: 0.00738 seconds
Time Taken: 0.00599 seconds

Memory Before: 432.430 KB
Memory After: 713.859 KB
Memory Used: 281.430 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE sessionhash = 'ec71e281d784460f86e75b764cad0ebd'
	AND lastactivity > 1743776979
	AND idhash = 'ef225909af7eaef3eee0b57709967f70'
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionconstPRIMARYPRIMARY98const1 

Time Before: 0.00793 seconds
Time After: 0.00813 seconds
Time Taken: 0.00020 seconds

Memory Before: 719.602 KB
Memory After: 736.289 KB
Memory Used: 16.688 KB

SQL Query
SELECT languageid,
			phrasegroup_global AS phrasegroup_global,
			phrasegroup_forumdisplay AS phrasegroup_forumdisplay,
			phrasegroup_inlinemod AS phrasegroup_inlinemod,
			phrasegroup_prefix AS phrasegroup_prefix,
			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.01031 seconds
Time After: 0.01048 seconds
Time Taken: 0.00017 seconds

Memory Before: 727.016 KB
Memory After: 783.578 KB
Memory Used: 56.563 KB

Time Before: 0.00765 seconds
Time After: 0.01059 seconds
Time Taken: 0.00294 seconds

Memory Before: 717.344 KB
Memory After: 771.617 KB
Memory Used: 54.273 KB

SQL Query
SELECT *
FROM style
WHERE (styleid = 6 AND userselect = 1)
	OR styleid = 6
ORDER BY styleid ASC
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstyleconstPRIMARYPRIMARY2const1 

Time Before: 0.01239 seconds
Time After: 0.01250 seconds
Time Taken: 0.00011 seconds

Memory Before: 909.070 KB
Memory After: 957.633 KB
Memory Used: 48.563 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (17412,17501,17857,17859,17858,17512,17509,17511,17508,17510,17516,17518,17502,17515,17503,17504,17517,17519,17514,17908,17918,17847,11515,10694,17912,17415,17414,17416,17411,17410,17687,9293,17639,17640,17641,17907,17910,17919,17660,17661,17662,17663,17861,17924,17923,17925,17928)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEtemplaterangePRIMARYPRIMARY4 47Using where

Time Before: 0.01396 seconds
Time After: 0.01428 seconds
Time Taken: 0.00032 seconds

Memory Before: 1,034.359 KB
Memory After: 1,135.039 KB
Memory Used: 100.680 KB

End call of global.php: 0.015353918075562
SQL Query
SELECT forum.forumid, lastpost, lastposter, lastthread, lastthreadid, lasticonid, threadcount, replycount, lastpostid, lastprefixid
	
FROM forum AS forum
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEforumALL    26 

Time Before: 0.01580 seconds
Time After: 0.01586 seconds
Time Taken: 0.00006 seconds

Memory Before: 1,158.930 KB
Memory After: 1,184.102 KB
Memory Used: 25.172 KB

SQL Query
SELECT moderator.*, user.username,
IF(user.displaygroupid = 0, user.usergroupid, user.displaygroupid) AS displaygroupid, infractiongroupid
FROM moderator AS moderator
INNER JOIN user AS user USING(userid)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEmoderatorALLuserid_forumid   5 
1SIMPLEusereq_refPRIMARYPRIMARY4pmorg.moderator.userid1 

Time Before: 0.01632 seconds
Time After: 0.01638 seconds
Time Taken: 0.00007 seconds

Memory Before: 1,171.078 KB
Memory After: 1,187.828 KB
Memory Used: 16.750 KB

SQL Query
SELECT user.username, (user.options & 512) AS invisible, user.usergroupid,
	session.userid, session.inforum, session.lastactivity, session.badlocation,
	IF(user.displaygroupid=0, user.usergroupid, user.displaygroupid) AS displaygroupid, infractiongroupid
FROM session AS session
LEFT JOIN user AS user ON(user.userid = session.userid)
WHERE session.lastactivity > 1743776979
ORDER BY username ASC, lastactivity DESC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    745Using where; Using temporary; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4pmorg.session.userid1 

Time Before: 0.01721 seconds
Time After: 0.02000 seconds
Time Taken: 0.00279 seconds

Memory Before: 1,189.195 KB
Memory After: 1,310.805 KB
Memory Used: 121.609 KB

SQL Query
SELECT
	announcement.announcementid, startdate, title, announcement.views,
	user.username, user.userid, user.usertitle, user.customtitle, user.usergroupid,
	IF(user.displaygroupid=0, user.usergroupid, user.displaygroupid) AS displaygroupid, infractiongroupid
	
	
FROM announcement AS announcement

LEFT JOIN user AS user ON(user.userid = announcement.userid)

WHERE startdate <= 1743778779
	AND enddate >= 1743778779
	AND forumid IN (14,33,11,-1)
	
ORDER BY startdate DESC, announcement.announcementid DESC
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEannouncementrangeforumid,enddateenddate6 1Using where; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4pmorg.announcement.userid1 

Time Before: 0.02218 seconds
Time After: 0.02257 seconds
Time Taken: 0.00038 seconds

Memory Before: 1,210.680 KB
Memory After: 1,226.281 KB
Memory Used: 15.602 KB

SQL Query
SELECT COUNT(*) AS threads, SUM(IF(thread.lastpost > 1743778769 AND open <> 10, 1, 0)) AS newthread

FROM thread AS thread


WHERE forumid = 14
	AND sticky = 0
	
	 AND visible = 1 
	
	
	AND lastpost >= 1741186779
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadrangeforumid,lastpostforumid10 1Using where

Time Before: 0.02300 seconds
Time After: 0.02334 seconds
Time Taken: 0.00034 seconds

Memory Before: 1,227.898 KB
Memory After: 1,244.305 KB
Memory Used: 16.406 KB

SQL Query
SELECT thread.threadid, lastpost, open
FROM thread AS thread
WHERE forumid = 14
	AND sticky = 1
	
	 AND visible = 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadrefforumidforumid6const,const,const1 

Time Before: 0.02361 seconds
Time After: 0.02402 seconds
Time Taken: 0.00041 seconds

Memory Before: 1,228.219 KB
Memory After: 1,244.258 KB
Memory Used: 16.039 KB

SQL Query
SELECT  thread.threadid,
	thread.lastpost, thread.lastposter, thread.lastpostid, thread.replycount, IF(thread.views<=thread.replycount, thread.replycount+1, thread.views) AS views
	
FROM thread AS thread


WHERE forumid = 14
	AND sticky = 0
	
	 AND visible = 1 
	
	
	AND lastpost >= 1741186779
	
ORDER BY sticky DESC, lastpost DESC
LIMIT 0, 20
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadrangeforumid,lastpostforumid10 1Using where

Time Before: 0.02433 seconds
Time After: 0.02456 seconds
Time Taken: 0.00023 seconds

Memory Before: 1,228.844 KB
Memory After: 1,244.758 KB
Memory Used: 15.914 KB

SQL Query
SELECT 
	IF(votenum >= 1, votenum, 0) AS votenum,
	IF(votenum >= 1 AND votenum > 0, votetotal / votenum, 0) AS voteavg,
 post.pagetext AS preview,
	thread.threadid, thread.title AS threadtitle, thread.forumid, pollid, open, postusername, postuserid, thread.iconid AS threadiconid,
	thread.dateline, notes, thread.visible, sticky, votetotal, thread.attach, thread.lastpost, thread.lastposter, thread.lastpostid, thread.replycount, IF(thread.views<=thread.replycount, thread.replycount+1, thread.views) AS views,
	thread.prefixid, thread.taglist, hiddencount, deletedcount
	
	
	
	
	
FROM thread AS thread
	
	
	
	LEFT JOIN post AS post ON(post.postid = thread.firstpostid)
	
	
	
WHERE thread.threadid IN (0) 
ORDER BY sticky DESC, lastpost DESC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.02920 seconds
Time After: 0.02946 seconds
Time Taken: 0.00027 seconds

Memory Before: 1,229.813 KB
Memory After: 1,245.414 KB
Memory Used: 15.602 KB

SQL Query
UPDATE session
SET lastactivity = 1743778779, location = '/board/forumdisplay.php?daysprune=30&explain=1&f=14', inforum = 14
WHERE sessionhash = 'ec71e281d784460f86e75b764cad0ebd'

Time Before: 0.03090 seconds
Time After: 0.03351 seconds
Time Taken: 0.00261 seconds

Memory Before: 1,408.469 KB
Memory After: 1,408.375 KB
Memory Used: -0.094 KB

Page generated in 0.03071403503418 seconds with 15 queries, spending 0.010109901428223 doing MySQL queries and 0.020604133605957 doing PHP things.
Shutdown Queries:
DISABLED