Including Functions.php

Time Before: 0.00235 seconds
Time After: 0.00536 seconds
Time Taken: 0.00301 seconds

Memory Before: 453.680 KB
Memory After: 462.875 KB
Memory Used: 9.195 KB

Connect to Database on Server: localhost

Time Before: 0.00541 seconds
Time After: 0.00680 seconds
Time Taken: 0.00138 seconds

Memory Before: 462.883 KB
Memory After: 463.781 KB
Memory Used: 0.898 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
1SIMPLEdatastorerangePRIMARYPRIMARY50 17Using index condition

Time Before: 0.00726 seconds
Time After: 0.00774 seconds
Time Taken: 0.00049 seconds

Memory Before: 467.547 KB
Memory After: 468.016 KB
Memory Used: 0.469 KB

Time Before: 0.00690 seconds
Time After: 0.00992 seconds
Time Taken: 0.00303 seconds

Memory Before: 463.578 KB
Memory After: 1,630.773 KB
Memory Used: 1,167.195 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '184.72.143.94'
	AND idhash = '14fe316310dde26ebbd0ce87faa72b01'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    180Using where

Time Before: 0.01077 seconds
Time After: 0.01087 seconds
Time Taken: 0.00010 seconds

Memory Before: 1,650.445 KB
Memory After: 1,650.852 KB
Memory Used: 0.406 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 = 2
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLElanguageconstPRIMARYPRIMARY2const1 

Time Before: 0.01123 seconds
Time After: 0.01138 seconds
Time Taken: 0.00015 seconds

Memory Before: 1,662.031 KB
Memory After: 1,661.836 KB
Memory Used: -0.195 KB

Time Before: 0.01050 seconds
Time After: 0.01151 seconds
Time Taken: 0.00101 seconds

Memory Before: 1,645.578 KB
Memory After: 1,729.000 KB
Memory Used: 83.422 KB

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

Time Before: 0.01361 seconds
Time After: 0.01370 seconds
Time Taken: 0.00009 seconds

Memory Before: 1,904.859 KB
Memory After: 1,905.289 KB
Memory Used: 0.430 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (64,153,509,511,510,164,161,163,740,162,168,170,154,167,155,156,169,171,166,560,570,499,745,744,564,67,66,68,63,62,339,741,291,292,293,559,562,571,312,313,314,315,513,576,575,577,580,677,678,679,680,681,682,683,684,685,686,687,689,688,690,691)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEtemplaterangePRIMARYPRIMARY4 62Using index condition

Time Before: 0.01424 seconds
Time After: 0.01461 seconds
Time Taken: 0.00037 seconds

Memory Before: 2,092.023 KB
Memory After: 2,092.266 KB
Memory Used: 0.242 KB

SQL Query
SELECT userip
FROM cybvilxh_guests AS cybvilxh_guests
WHERE userip = '184.72.143.94'
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEcybvilxh_guestsALL    568Using where

Time Before: 0.01770 seconds
Time After: 0.01783 seconds
Time Taken: 0.00013 seconds

Memory Before: 2,710.531 KB
Memory After: 2,710.977 KB
Memory Used: 0.445 KB

SQL Query
UPDATE cybvilxh_guests
SET dateline = '1518930401'
WHERE userip = '184.72.143.94'

Time Before: 0.01788 seconds
Time After: 0.01874 seconds
Time Taken: 0.00086 seconds

Memory Before: 2,711.203 KB
Memory After: 2,711.539 KB
Memory Used: 0.336 KB

SQL Query
DELETE FROM cybvilxh_guests WHERE dateline < '1518844001'

Time Before: 0.01877 seconds
Time After: 0.01887 seconds
Time Taken: 0.00011 seconds

Memory Before: 2,710.398 KB
Memory After: 2,710.781 KB
Memory Used: 0.383 KB

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

Time Before: 0.02055 seconds
Time After: 0.02070 seconds
Time Taken: 0.00015 seconds

Memory Before: 2,375.195 KB
Memory After: 2,375.578 KB
Memory Used: 0.383 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   2 
1SIMPLEusereq_refPRIMARYPRIMARY4help_lol2.moderator.userid1 

Time Before: 0.02152 seconds
Time After: 0.02165 seconds
Time Taken: 0.00013 seconds

Memory Before: 2,542.109 KB
Memory After: 2,542.453 KB
Memory Used: 0.344 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 > 1518929901
ORDER BY username ASC, lastactivity DESC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    180Using where; Using temporary; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4help_lol2.session.userid1 

Time Before: 0.02257 seconds
Time After: 0.02276 seconds
Time Taken: 0.00019 seconds

Memory Before: 2,560.125 KB
Memory After: 2,560.258 KB
Memory Used: 0.133 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 <= 1518930401
	AND enddate >= 1518930401
	AND forumid IN (92,85,83,-1)
	
ORDER BY startdate DESC, announcement.announcementid DESC
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.02471 seconds
Time After: 0.02483 seconds
Time Taken: 0.00012 seconds

Memory Before: 2,648.305 KB
Memory After: 2,648.328 KB
Memory Used: 0.023 KB

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

FROM thread AS thread


WHERE forumid = 92
	AND sticky = 0
	
	 AND visible = 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadrefforumidforumid6const,const,const5 

Time Before: 0.02510 seconds
Time After: 0.02519 seconds
Time Taken: 0.00009 seconds

Memory Before: 2,654.602 KB
Memory After: 2,654.945 KB
Memory Used: 0.344 KB

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

Time Before: 0.02542 seconds
Time After: 0.02548 seconds
Time Taken: 0.00007 seconds

Memory Before: 2,655.250 KB
Memory After: 2,655.664 KB
Memory Used: 0.414 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 = 92
	AND sticky = 0
	
	 AND visible = 1 
	
	
	
	
ORDER BY sticky DESC, lastpost DESC
LIMIT 0, 20
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadrefforumidforumid6const,const,const5Using where

Time Before: 0.02569 seconds
Time After: 0.02582 seconds
Time Taken: 0.00012 seconds

Memory Before: 2,657.422 KB
Memory After: 2,657.633 KB
Memory Used: 0.211 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,12496) 
ORDER BY sticky DESC, lastpost DESC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadrangePRIMARYPRIMARY4 2Using index condition; Using filesort
1SIMPLEposteq_refPRIMARYPRIMARY4help_lol2.thread.firstpostid1 

Time Before: 0.02607 seconds
Time After: 0.02625 seconds
Time Taken: 0.00018 seconds

Memory Before: 2,659.211 KB
Memory After: 2,658.992 KB
Memory Used: -0.219 KB

SQL Query
SELECT template
FROM template
WHERE templateid = 659
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEtemplateconstPRIMARYPRIMARY4const1 

Time Before: 0.02740 seconds
Time After: 0.02746 seconds
Time Taken: 0.00005 seconds

Memory Before: 2,676.914 KB
Memory After: 2,677.398 KB
Memory Used: 0.484 KB

SQL Query
UPDATE session
SET lastactivity = 1518930401, location = '/vb/forumdisplay.php?f=92&explain=1', inforum = 92, inthread = 0, incalendar = 0, badlocation = 0
WHERE sessionhash = '28948dfc10ee591dfd9a42a0ed504040'

Time Before: 0.02941 seconds
Time After: 0.02948 seconds
Time Taken: 0.00008 seconds

Memory Before: 3,058.555 KB
Memory After: 3,058.758 KB
Memory Used: 0.203 KB

Page generated in 0.028390884399414 seconds with 21 queries, spending 0.004981517791748 doing MySQL queries and 0.023409366607666 doing PHP things.
Shutdown Queries:
DISABLED