Including Functions.php

Time Before: 0.00020 seconds
Time After: 0.00021 seconds
Time Taken: 0.00002 seconds

Memory Before: 424.047 KB
Memory After: 425.883 KB
Memory Used: 1.836 KB

Connect to Database on Server: localhost

Time Before: 0.00024 seconds
Time After: 0.00054 seconds
Time Taken: 0.00030 seconds

Memory Before: 425.867 KB
Memory After: 426.758 KB
Memory Used: 0.891 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00063 seconds
Time After: 0.00069 seconds
Time Taken: 0.00006 seconds

Memory Before: 426.805 KB
Memory After: 426.859 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
1SIMPLEdatastorerangePRIMARYPRIMARY200 17Using where

Time Before: 0.00109 seconds
Time After: 0.00219 seconds
Time Taken: 0.00110 seconds

Memory Before: 428.336 KB
Memory After: 909.203 KB
Memory Used: 480.867 KB

Time Before: 0.00071 seconds
Time After: 0.01337 seconds
Time Taken: 0.01266 seconds

Memory Before: 426.648 KB
Memory After: 2,016.586 KB
Memory Used: 1,589.938 KB

SQL Query
SELECT *
FROM datastore
WHERE title IN ('modstats_coder','modstats_designer','modstats_motm','modtitle_coder','modtitle_designer')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEdatastorerangePRIMARYPRIMARY200 5Using where

Time Before: 0.01360 seconds
Time After: 0.01383 seconds
Time Taken: 0.00023 seconds

Memory Before: 2,018.320 KB
Memory After: 2,402.641 KB
Memory Used: 384.320 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE sessionhash = '04448d0cec599eaa78d4d0b5a86a5485'
	AND lastactivity > 1743833555
	AND idhash = 'e8ed4fe6c1a819ae2c839d3c8c4df17f'
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionconstPRIMARYPRIMARY128const1 

Time Before: 0.01425 seconds
Time After: 0.01439 seconds
Time Taken: 0.00013 seconds

Memory Before: 2,208.828 KB
Memory After: 2,225.398 KB
Memory Used: 16.570 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.01478 seconds
Time After: 0.01518 seconds
Time Taken: 0.00040 seconds

Memory Before: 2,214.742 KB
Memory After: 2,327.398 KB
Memory Used: 112.656 KB

Time Before: 0.01403 seconds
Time After: 0.01524 seconds
Time Taken: 0.00121 seconds

Memory Before: 2,206.352 KB
Memory After: 2,268.008 KB
Memory Used: 61.656 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.01661 seconds
Time After: 0.01672 seconds
Time Taken: 0.00011 seconds

Memory Before: 2,354.258 KB
Memory After: 2,450.766 KB
Memory Used: 96.508 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (64,606,604,511,510,164,622,163,623,162,168,170,154,167,155,156,169,171,166,560,570,499,641,644,624,67,66,68,63,62,339,645,291,292,293,559,562,571,312,313,314,315,513,576,575,577,580,599,600,595,609,596,131,132,133,134,149,584,585,587,588,586,583,581,582,594,589,590,593,592,591,366,394,395,392,598,615,619)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEtemplaterangePRIMARYPRIMARY4 78Using where

Time Before: 0.01795 seconds
Time After: 0.01889 seconds
Time Taken: 0.00094 seconds

Memory Before: 2,506.813 KB
Memory After: 2,782.430 KB
Memory Used: 275.617 KB

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

Time Before: 0.01995 seconds
Time After: 0.02002 seconds
Time Taken: 0.00008 seconds

Memory Before: 2,779.813 KB
Memory After: 2,818.117 KB
Memory Used: 38.305 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   1 
1SIMPLEusereq_refPRIMARYPRIMARY4vbsupport_vborg.moderator.userid1 

Time Before: 0.02053 seconds
Time After: 0.02077 seconds
Time Taken: 0.00024 seconds

Memory Before: 2,811.625 KB
Memory After: 2,827.695 KB
Memory Used: 16.070 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 <= 1743834455
	AND enddate >= 1743834455
	AND forumid IN (174,185,31,223,198,-1)
	
ORDER BY startdate DESC, announcement.announcementid DESC
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEannouncementrangeforumid,startdatestartdate6 1Using index condition; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4vbsupport_vborg.announcement.userid1 

Time Before: 0.02280 seconds
Time After: 0.02311 seconds
Time Taken: 0.00031 seconds

Memory Before: 2,920.484 KB
Memory After: 2,936.039 KB
Memory Used: 15.555 KB

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

FROM thread AS thread


WHERE forumid = 174
	AND sticky = 0
	
	 AND visible = 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadrefforumidforumid6const,const,const3756 

Time Before: 0.02360 seconds
Time After: 0.03554 seconds
Time Taken: 0.01194 seconds

Memory Before: 2,939.680 KB
Memory After: 2,956.031 KB
Memory Used: 16.352 KB

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

Time Before: 0.03573 seconds
Time After: 0.03590 seconds
Time Taken: 0.00017 seconds

Memory Before: 2,940.078 KB
Memory After: 2,956.070 KB
Memory Used: 15.992 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 = 174
	AND sticky = 0
	
	 AND visible = 1 
	
	
	
	
ORDER BY sticky DESC, lastpost DESC
LIMIT 220, 20
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadrefforumidforumid6const,const,const3756Using where

Time Before: 0.03614 seconds
Time After: 0.03708 seconds
Time Taken: 0.00094 seconds

Memory Before: 2,940.641 KB
Memory After: 2,958.883 KB
Memory Used: 18.242 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
	
	
	
	
	,modification.mod_installcount,usermod.mod_tagged,usermod.mod_installed,usermod.mod_downloaded,modification.last_update
FROM thread AS thread
	
	
	
	LEFT JOIN post AS post ON(post.postid = thread.firstpostid)
	
	
	LEFT JOIN modsys_settings AS modification ON(modification.threadid = thread.threadid) LEFT JOIN modsys_user_notification AS usermod ON(usermod.threadid = thread.threadid AND usermod.userid = 0)
WHERE thread.threadid IN (0,236295,258784,263921,263676,260327,262934,260890,257055,258315,260342,262663,262649,262681,261850,262353,259029,262001,261956,261793,260689) 
ORDER BY sticky DESC, lastpost DESC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadrangePRIMARYPRIMARY4 21Using index condition; Using temporary; Using filesort
1SIMPLEposteq_refPRIMARYPRIMARY4vbsupport_vborg.thread.firstpostid1 
1SIMPLEmodificationALL    19206Using where; Using join buffer (flat, BNL join)
1SIMPLEusermodALL    7Using where; Using join buffer (incremental, BNL join)

Time Before: 0.03754 seconds
Time After: 0.18201 seconds
Time Taken: 0.14447 seconds

Memory Before: 2,943.922 KB
Memory After: 2,987.242 KB
Memory Used: 43.320 KB

SQL Query
UPDATE session
SET lastactivity = 1743834455, location = '/forumdisplay.php?explain=1&f=174&page=12', inforum = 174, inthread = 0
WHERE sessionhash = '04448d0cec599eaa78d4d0b5a86a5485'

Time Before: 0.19102 seconds
Time After: 0.19122 seconds
Time Taken: 0.00021 seconds

Memory Before: 3,209.281 KB
Memory After: 3,209.203 KB
Memory Used: -0.078 KB

Page generated in 0.19077396392822 seconds with 15 queries, spending 0.16163229942322 doing MySQL queries and 0.029141664505005 doing PHP things.
Shutdown Queries:
DISABLED