Including Functions.php

Time Before: 0.00232 seconds
Time After: 0.00484 seconds
Time Taken: 0.00252 seconds

Memory Before: 450.391 KB
Memory After: 459.586 KB
Memory Used: 9.195 KB

Connect to Database on Server: localhost

Time Before: 0.00489 seconds
Time After: 0.00591 seconds
Time Taken: 0.00102 seconds

Memory Before: 459.594 KB
Memory After: 460.492 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','userstats','birthdaycache','maxloggedin','iconcache','eventcache','mailqueue')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEdatastorerangePRIMARYPRIMARY50 20Using index condition

Time Before: 0.00637 seconds
Time After: 0.00683 seconds
Time Taken: 0.00046 seconds

Memory Before: 464.414 KB
Memory After: 464.844 KB
Memory Used: 0.430 KB

Time Before: 0.00598 seconds
Time After: 0.00835 seconds
Time Taken: 0.00237 seconds

Memory Before: 460.289 KB
Memory After: 1,630.234 KB
Memory Used: 1,169.945 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '54.158.208.189'
	AND idhash = '5c4a00303a937b80da6012cdcd519f1e'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    186Using where

Time Before: 0.00893 seconds
Time After: 0.00908 seconds
Time Taken: 0.00015 seconds

Memory Before: 1,649.305 KB
Memory After: 1,649.703 KB
Memory Used: 0.398 KB

SQL Query
SELECT languageid,
			phrasegroup_global AS phrasegroup_global,
			phrasegroup_holiday AS phrasegroup_holiday,
			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.00942 seconds
Time After: 0.00959 seconds
Time Taken: 0.00017 seconds

Memory Before: 1,660.555 KB
Memory After: 1,660.453 KB
Memory Used: -0.102 KB

Time Before: 0.00869 seconds
Time After: 0.00968 seconds
Time Taken: 0.00099 seconds

Memory Before: 1,644.430 KB
Memory After: 1,719.531 KB
Memory Used: 75.102 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.01092 seconds
Time After: 0.01104 seconds
Time Taken: 0.00012 seconds

Memory Before: 1,870.438 KB
Memory After: 1,870.867 KB
Memory Used: 0.430 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (65,739,159,740,161,162,163,164,165,167,168,169,170,171,166,158,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,660,677,678,679,680,681,682,683,684,685,686,687,689,688,690,691)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEtemplaterangePRIMARYPRIMARY4 57Using index condition

Time Before: 0.01162 seconds
Time After: 0.01209 seconds
Time Taken: 0.00047 seconds

Memory Before: 2,054.945 KB
Memory After: 2,055.219 KB
Memory Used: 0.273 KB

SQL Query
SELECT userip
FROM cybvilxh_guests AS cybvilxh_guests
WHERE userip = '54.158.208.189'
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEcybvilxh_guestsALL    572Using where

Time Before: 0.01608 seconds
Time After: 0.01623 seconds
Time Taken: 0.00015 seconds

Memory Before: 2,646.172 KB
Memory After: 2,646.625 KB
Memory Used: 0.453 KB

SQL Query
UPDATE cybvilxh_guests
SET dateline = '1539963054'
WHERE userip = '54.158.208.189'

Time Before: 0.01627 seconds
Time After: 0.01726 seconds
Time Taken: 0.00099 seconds

Memory Before: 2,646.781 KB
Memory After: 2,647.117 KB
Memory Used: 0.336 KB

SQL Query
DELETE FROM cybvilxh_guests WHERE dateline < '1539876654'

Time Before: 0.01729 seconds
Time After: 0.01741 seconds
Time Taken: 0.00012 seconds

Memory Before: 2,645.977 KB
Memory After: 2,646.359 KB
Memory Used: 0.383 KB

SQL Query
SELECT userid, usergroupid, IF(displaygroupid=0, usergroupid, displaygroupid) AS displaygroupid, username, posts
FROM user AS user
WHERE posts > '0' 
ORDER BY posts DESC LIMIT 0, 5
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEuserALL    5661Using where; Using filesort

Time Before: 0.01795 seconds
Time After: 0.02223 seconds
Time Taken: 0.00428 seconds

Memory Before: 2,680.031 KB
Memory After: 2,680.375 KB
Memory Used: 0.344 KB

SQL Query
SELECT COUNT(*) AS refnumber, user.username, user.userid, user.usergroupid, user.referrerid
FROM user AS refs
LEFT JOIN user AS user ON (refs.referrerid = user.userid)
WHERE refs.referrerid > '0' 
GROUP BY refs.referrerid
ORDER BY refnumber DESC LIMIT 0, 5
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLErefsrangereferreridreferrerid4 156Using where; Using index; Using temporary; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4help_lol2.refs.referrerid1 

Time Before: 0.02278 seconds
Time After: 0.02315 seconds
Time Taken: 0.00037 seconds

Memory Before: 2,684.117 KB
Memory After: 2,684.383 KB
Memory Used: 0.266 KB

SQL Query
SELECT threadid, title, forumid, dateline, IF(views<=replycount, replycount+1, views) AS views, visible
FROM thread AS thread
WHERE NOT ISNULL(threadid) AND visible = '1' AND views > '0' 
ORDER BY views DESC LIMIT 0, 5
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadALLPRIMARY   12200Using where; Using filesort

Time Before: 0.02351 seconds
Time After: 0.02944 seconds
Time Taken: 0.00593 seconds

Memory Before: 2,686.844 KB
Memory After: 2,687.156 KB
Memory Used: 0.313 KB

SQL Query
SELECT userid, usergroupid, IF(displaygroupid=0, usergroupid, displaygroupid) AS displaygroupid, username, posts, reputation
FROM user AS user
WHERE reputation > '0' 
ORDER BY reputation DESC LIMIT 0, 5
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEuserALL    5661Using where; Using filesort

Time Before: 0.02994 seconds
Time After: 0.03442 seconds
Time Taken: 0.00448 seconds

Memory Before: 2,689.781 KB
Memory After: 2,690.109 KB
Memory Used: 0.328 KB

SQL Query
SELECT thread.threadid, thread.title, thread.lastpost, thread.forumid, thread.replycount, thread.lastposter, thread.dateline, IF(views<=replycount, replycount+1, views) AS views, thread.visible, user.username, user.userid, user.usergroupid, IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid
FROM thread AS thread
LEFT JOIN user AS user ON (user.username = thread.lastposter) 
WHERE NOT ISNULL(thread.threadid) AND thread.visible = '1' 
ORDER BY lastpost DESC LIMIT 0, 10
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadindexPRIMARYlastpost6 10Using where
1SIMPLEuserrefusernameusername102help_lol2.thread.lastposter1 

Time Before: 0.03482 seconds
Time After: 0.03506 seconds
Time Taken: 0.00024 seconds

Memory Before: 2,693.797 KB
Memory After: 2,693.828 KB
Memory Used: 0.031 KB

End call of global.php: 0.038381099700928
SQL Query
SELECT userid, lastpost, options, username, user.usergroupid, displaygroupid, 
groupa.opentag as opentaga, groupa.closetag as closetaga, groupb.opentag as opentagb, groupb.closetag as closetagb
FROM user as user
LEFT JOIN usergroup as groupa ON(user.usergroupid = groupa.usergroupid)
LEFT JOIN usergroup as groupb ON(user.displaygroupid = groupb.usergroupid)
WHERE lastpost > 1539892800 ORDER BY username
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEuserALL    5661Using where; Using filesort
1SIMPLEgroupaeq_refPRIMARYPRIMARY2help_lol2.user.usergroupid1 
1SIMPLEgroupbeq_refPRIMARYPRIMARY2help_lol2.user.displaygroupid1 

Time Before: 0.03982 seconds
Time After: 0.04405 seconds
Time Taken: 0.00423 seconds

Memory Before: 2,418.914 KB
Memory After: 2,419.063 KB
Memory Used: 0.148 KB

SQL Query
SELECT userid, lastpost, options, username, user.usergroupid, displaygroupid, 
groupa.opentag as opentaga, groupa.closetag as closetaga, groupb.opentag as opentagb, groupb.closetag as closetagb
FROM user as user
LEFT JOIN usergroup as groupa ON(user.usergroupid = groupa.usergroupid)
LEFT JOIN usergroup as groupb ON(user.displaygroupid = groupb.usergroupid)
WHERE lastpost > 1539892800 ORDER BY username
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEuserALL    5661Using where; Using filesort
1SIMPLEgroupaeq_refPRIMARYPRIMARY2help_lol2.user.usergroupid1 
1SIMPLEgroupbeq_refPRIMARYPRIMARY2help_lol2.user.displaygroupid1 

Time Before: 0.04431 seconds
Time After: 0.04850 seconds
Time Taken: 0.00419 seconds

Memory Before: 2,419.492 KB
Memory After: 2,419.641 KB
Memory Used: 0.148 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 > 1539962554
	
ORDER BY username ASC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    186Using where; Using temporary; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4help_lol2.session.userid1 

Time Before: 0.04980 seconds
Time After: 0.05002 seconds
Time Taken: 0.00022 seconds

Memory Before: 2,414.484 KB
Memory After: 2,414.625 KB
Memory Used: 0.141 KB

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.05038 seconds
Time After: 0.05055 seconds
Time Taken: 0.00017 seconds

Memory Before: 2,418.039 KB
Memory After: 2,418.422 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.05133 seconds
Time After: 0.05146 seconds
Time Taken: 0.00013 seconds

Memory Before: 2,584.578 KB
Memory After: 2,584.922 KB
Memory Used: 0.344 KB

SQL Query
SELECT userid, username, usergroupid, displaygroupid, lastactivity, IF(user.options & 512, 1, 0) AS invisible
FROM user AS user
WHERE lastactivity > 1539876654
ORDER BY username ASC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEuserALL    5661Using where; Using filesort

Time Before: 0.06780 seconds
Time After: 0.07203 seconds
Time Taken: 0.00423 seconds

Memory Before: 2,790.461 KB
Memory After: 2,790.813 KB
Memory Used: 0.352 KB

SQL Query
SELECT userip, dateline
FROM cybvilxh_guests AS cybvilxh_guests
WHERE dateline > 1539876654
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEcybvilxh_guestsALL    572Using where

Time Before: 0.07219 seconds
Time After: 0.07244 seconds
Time Taken: 0.00025 seconds

Memory Before: 2,790.461 KB
Memory After: 2,790.898 KB
Memory Used: 0.438 KB

SQL Query
UPDATE session
SET lastactivity = 1539963054, location = '/vb/index.php?explain=1', inforum = 0, inthread = 0, incalendar = 0, badlocation = 0
WHERE sessionhash = '74435fc985c83b4cd28f9219bac02eb7'

Time Before: 0.07578 seconds
Time After: 0.07587 seconds
Time Taken: 0.00010 seconds

Memory Before: 3,417.852 KB
Memory After: 3,418.070 KB
Memory Used: 0.219 KB

Page generated in 0.073673009872437 seconds with 26 queries, spending 0.03311824798584 doing MySQL queries and 0.040554761886597 doing PHP things.
Shutdown Queries:
DISABLED