Including Functions.php

Time Before: 0.00251 seconds
Time After: 0.00513 seconds
Time Taken: 0.00262 seconds

Memory Before: 454.828 KB
Memory After: 464.023 KB
Memory Used: 9.195 KB

Connect to Database on Server: localhost

Time Before: 0.00520 seconds
Time After: 0.00632 seconds
Time Taken: 0.00112 seconds

Memory Before: 464.031 KB
Memory After: 464.930 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.00674 seconds
Time After: 0.00722 seconds
Time Taken: 0.00047 seconds

Memory Before: 468.695 KB
Memory After: 469.164 KB
Memory Used: 0.469 KB

Time Before: 0.00641 seconds
Time After: 0.00895 seconds
Time Taken: 0.00254 seconds

Memory Before: 464.727 KB
Memory After: 1,631.953 KB
Memory Used: 1,167.227 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '54.225.26.44'
	AND idhash = '550cc6840cb4c6ecce5978b3608f81c9'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    538Using where

Time Before: 0.00971 seconds
Time After: 0.00982 seconds
Time Taken: 0.00010 seconds

Memory Before: 1,651.586 KB
Memory After: 1,652.000 KB
Memory Used: 0.414 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.01033 seconds
Time After: 0.01061 seconds
Time Taken: 0.00028 seconds

Memory Before: 1,663.195 KB
Memory After: 1,663.000 KB
Memory Used: -0.195 KB

Time Before: 0.00943 seconds
Time After: 0.01070 seconds
Time Taken: 0.00127 seconds

Memory Before: 1,646.734 KB
Memory After: 1,730.164 KB
Memory Used: 83.430 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.01248 seconds
Time After: 0.01260 seconds
Time Taken: 0.00012 seconds

Memory Before: 1,906.047 KB
Memory After: 1,906.477 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.01326 seconds
Time After: 0.01370 seconds
Time Taken: 0.00044 seconds

Memory Before: 2,093.234 KB
Memory After: 2,093.477 KB
Memory Used: 0.242 KB

SQL Query
SELECT userip
FROM cybvilxh_guests AS cybvilxh_guests
WHERE userip = '54.225.26.44'
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEcybvilxh_guestsALL    614Using where

Time Before: 0.01763 seconds
Time After: 0.01778 seconds
Time Taken: 0.00015 seconds

Memory Before: 2,711.781 KB
Memory After: 2,712.227 KB
Memory Used: 0.445 KB

SQL Query
UPDATE cybvilxh_guests
SET dateline = '1539848434'
WHERE userip = '54.225.26.44'

Time Before: 0.01785 seconds
Time After: 0.01914 seconds
Time Taken: 0.00130 seconds

Memory Before: 2,712.453 KB
Memory After: 2,712.789 KB
Memory Used: 0.336 KB

SQL Query
DELETE FROM cybvilxh_guests WHERE dateline < '1539762034'

Time Before: 0.01919 seconds
Time After: 0.01933 seconds
Time Taken: 0.00013 seconds

Memory Before: 2,711.648 KB
Memory After: 2,712.031 KB
Memory Used: 0.383 KB

End call of global.php: 0.020085096359253
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.02136 seconds
Time After: 0.02151 seconds
Time Taken: 0.00015 seconds

Memory Before: 2,376.461 KB
Memory After: 2,376.844 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.02256 seconds
Time After: 0.02269 seconds
Time Taken: 0.00013 seconds

Memory Before: 2,543.352 KB
Memory After: 2,543.695 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 > 1539847934
ORDER BY username ASC, lastactivity DESC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    538Using where; Using temporary; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4help_lol2.session.userid1 

Time Before: 0.02405 seconds
Time After: 0.02428 seconds
Time Taken: 0.00024 seconds

Memory Before: 2,561.367 KB
Memory After: 2,561.500 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 <= 1539848434
	AND enddate >= 1539848434
	AND forumid IN (90,84,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.02766 seconds
Time After: 0.02777 seconds
Time Taken: 0.00011 seconds

Memory Before: 2,649.633 KB
Memory After: 2,649.656 KB
Memory Used: 0.023 KB

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

FROM thread AS thread


WHERE forumid = 90
	AND sticky = 0
	
	 AND visible = 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadrefforumidforumid6const,const,const77 

Time Before: 0.02812 seconds
Time After: 0.02824 seconds
Time Taken: 0.00012 seconds

Memory Before: 2,655.938 KB
Memory After: 2,656.273 KB
Memory Used: 0.336 KB

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

Time Before: 0.02851 seconds
Time After: 0.02858 seconds
Time Taken: 0.00007 seconds

Memory Before: 2,656.578 KB
Memory After: 2,656.992 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 = 90
	AND sticky = 0
	
	 AND visible = 1 
	
	
	
	
ORDER BY sticky DESC, lastpost DESC
LIMIT 0, 20
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadrefforumidforumid6const,const,const77Using where

Time Before: 0.02887 seconds
Time After: 0.02901 seconds
Time Taken: 0.00014 seconds

Memory Before: 2,658.750 KB
Memory After: 2,658.961 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,7634,7506,7503,7505,7638,7504,7635,7514,7510,7637,7633,7632,7509,7512,7507,7513,7508,7511,7502,7594) 
ORDER BY sticky DESC, lastpost DESC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadrangePRIMARYPRIMARY4 21Using index condition; Using filesort
1SIMPLEposteq_refPRIMARYPRIMARY4help_lol2.thread.firstpostid1 

Time Before: 0.02940 seconds
Time After: 0.04210 seconds
Time Taken: 0.01270 seconds

Memory Before: 2,660.906 KB
Memory After: 2,660.586 KB
Memory Used: -0.320 KB

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

Time Before: 0.05563 seconds
Time After: 0.05571 seconds
Time Taken: 0.00008 seconds

Memory Before: 2,715.039 KB
Memory After: 2,715.523 KB
Memory Used: 0.484 KB

SQL Query
UPDATE session
SET lastactivity = 1539848434, location = '/vb/forumdisplay.php?f=90&explain=1', inforum = 90, inthread = 0, incalendar = 0, badlocation = 0
WHERE sessionhash = '58449c536708413c4d5457f6ffe2ad80'

Time Before: 0.05863 seconds
Time After: 0.05875 seconds
Time Taken: 0.00012 seconds

Memory Before: 3,205.492 KB
Memory After: 3,205.695 KB
Memory Used: 0.203 KB

Page generated in 0.056943893432617 seconds with 21 queries, spending 0.018179893493652 doing MySQL queries and 0.038763999938965 doing PHP things.
Shutdown Queries:
DISABLED