Including Functions.php

Time Before: 0.00034 seconds
Time After: 0.00039 seconds
Time Taken: 0.00004 seconds

Memory Before: 421.188 KB
Memory After: 423.828 KB
Memory Used: 2.641 KB

Connect to Database on Server: localhost

Time Before: 0.00044 seconds
Time After: 0.00079 seconds
Time Taken: 0.00036 seconds

Memory Before: 423.781 KB
Memory After: 424.672 KB
Memory Used: 0.891 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00103 seconds
Time After: 0.00111 seconds
Time Taken: 0.00008 seconds

Memory Before: 424.695 KB
Memory After: 424.750 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','adv_modules','adv_portal_cale','adv_portal_home','adv_portal_opts','adv_portal_page','adv_portal_pars','adv_portal_stat','attachmentcache','bbcodecache','birthdaycache','eventcache','iconcache','maxloggedin','prefixcache','ranks','tagcloud','smiliecache','userstats')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEdatastoreALLPRIMARY   49Using where

Time Before: 0.00168 seconds
Time After: 0.00200 seconds
Time Taken: 0.00032 seconds

Memory Before: 426.711 KB
Memory After: 540.539 KB
Memory Used: 113.828 KB

Time Before: 0.00114 seconds
Time After: 0.00793 seconds
Time Taken: 0.00678 seconds

Memory Before: 424.539 KB
Memory After: 827.766 KB
Memory Used: 403.227 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '54.92.170.149'
	AND idhash = '1ac661f92dbb7acb120ca8db013fb322'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    377Using where

Time Before: 0.00862 seconds
Time After: 0.00903 seconds
Time Taken: 0.00041 seconds

Memory Before: 834.180 KB
Memory After: 850.742 KB
Memory Used: 16.563 KB

SQL Query
SELECT languageid,
			phrasegroup_global AS phrasegroup_global,
			phrasegroup_adv_portal AS phrasegroup_adv_portal,
			phrasegroup_calendar AS phrasegroup_calendar,
			phrasegroup_postbit AS phrasegroup_postbit,
			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.01018 seconds
Time After: 0.01031 seconds
Time Taken: 0.00013 seconds

Memory Before: 841.383 KB
Memory After: 902.195 KB
Memory Used: 60.813 KB

Time Before: 0.00823 seconds
Time After: 0.01041 seconds
Time Taken: 0.00218 seconds

Memory Before: 831.930 KB
Memory After: 891.172 KB
Memory Used: 59.242 KB

SQL Query
REPLACE INTO datastore
	(title, data, unserialize)
VALUES
	('loadcache', 'a:2:{s:7:\"loadavg\";s:5:\"0.00,\";s:9:\"lastcheck\";i:1531901830;}', 1)

Time Before: 0.01448 seconds
Time After: 0.01655 seconds
Time Taken: 0.00206 seconds

Memory Before: 890.352 KB
Memory After: 890.289 KB
Memory Used: -0.063 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.01936 seconds
Time After: 0.01949 seconds
Time Taken: 0.00013 seconds

Memory Before: 1,032.969 KB
Memory After: 1,081.531 KB
Memory Used: 48.563 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (17929,17939,17938,17937,17936,17934,17935,17471,17947,17513,17956,0,17944,17945,17946,17446,17444,17446,17440,17955,17954,17952,17953,17941,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 48Using where

Time Before: 0.02118 seconds
Time After: 0.02137 seconds
Time Taken: 0.00019 seconds

Memory Before: 1,157.016 KB
Memory After: 1,236.555 KB
Memory Used: 79.539 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.02328 seconds
Time After: 0.02335 seconds
Time Taken: 0.00007 seconds

Memory Before: 1,284.844 KB
Memory After: 1,301.594 KB
Memory Used: 16.750 KB

End call of global.php: 0.024174928665161
Processing Module: Mini Calendar
Time Before: 0.02422
Time After: 0.02569
Time Taken: 0.00147

Memory Before: 1,298.586 KB
Memory After: 1,334.297 KB
Memory Used: 35.711 KB

Mini Calendar module generated in 0.00147 seconds with 0 queries.
0 seconds doing MySQL queries and 0.00147 doing PHP things.

Processing Module: Online Users
SQL Query
SELECT session.userid, username, usergroupid, (user.options & 512) AS invisible, IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid
FROM session AS session
LEFT JOIN user AS user USING (userid)
WHERE session.lastactivity > 1531900030
	
ORDER BY username ASC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    377Using where; Using temporary; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4pmorg.session.userid1 

Time Before: 0.02637 seconds
Time After: 0.02746 seconds
Time Taken: 0.00109 seconds

Memory Before: 1,336.516 KB
Memory After: 1,356.688 KB
Memory Used: 20.172 KB

Time Before: 0.02575
Time After: 0.02801
Time Taken: 0.00226

Memory Before: 1,334.297 KB
Memory After: 1,335.898 KB
Memory Used: 1.602 KB

Online Users module generated in 0.00226 seconds with 1 queries.
0.00109 seconds doing MySQL queries and 0.00118 doing PHP things.

Processing Module: Stats
SQL Query
SELECT threadcount, replycount
FROM forum
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEforumALL    26 

Time Before: 0.02835 seconds
Time After: 0.02841 seconds
Time Taken: 0.00006 seconds

Memory Before: 1,340.000 KB
Memory After: 1,358.031 KB
Memory Used: 18.031 KB

SQL Query
SELECT userid, username, posts FROM user WHERE userid = '8'
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEuserconstPRIMARYPRIMARY4const1 

Time Before: 0.02870 seconds
Time After: 0.02875 seconds
Time Taken: 0.00005 seconds

Memory Before: 1,340.297 KB
Memory After: 1,356.625 KB
Memory Used: 16.328 KB

Time Before: 0.02805
Time After: 0.02897
Time Taken: 0.00092

Memory Before: 1,338.992 KB
Memory After: 1,337.898 KB
Memory Used: -1.094 KB

Stats module generated in 0.00092 seconds with 2 queries.
0.00010 seconds doing MySQL queries and 0.00082 doing PHP things.

Processing Module: Today's Birthdays
Time Before: 0.02900
Time After: 0.02917
Time Taken: 0.00016

Memory Before: 1,336.992 KB
Memory After: 1,337.383 KB
Memory Used: 0.391 KB

Today's Birthdays module generated in 0.00016 seconds with 0 queries.
0 seconds doing MySQL queries and 0.00016 doing PHP things.

Processing Module: News
SQL Query
SELECT  threadid, firstpostid
FROM thread AS thread
WHERE visible = 1
	AND open != 10
	AND (thread.forumid IN(3)
	
	)
	AND thread.dateline > 667988230
ORDER BY dateline DESC
LIMIT 5
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadrefforumid,datelineforumid4const,const15Using where; Using filesort

Time Before: 0.02966 seconds
Time After: 0.03035 seconds
Time Taken: 0.00069 seconds

Memory Before: 1,342.391 KB
Memory After: 1,358.797 KB
Memory Used: 16.406 KB

SQL Query
SELECT  user.*, thread.threadid, post.title, thread.replycount, postusername, postuserid, thread.dateline AS postdateline, sticky, thread.attach, thread.lastpostid, thread.lastposter, thread.lastpost, IF(views<=thread.replycount, thread.replycount+1, views) AS views, thread.forumid, post.postid, pagetext
, allowsmilie, pagetext_html, postparsed.hasimages, thread.prefixid
FROM thread AS thread
LEFT JOIN post AS post ON (post.postid = thread.firstpostid)
LEFT JOIN user AS user ON (user.userid = post.userid)
 LEFT JOIN postparsed AS postparsed ON (postparsed.postid = post.postid AND postparsed.styleid = 6 AND postparsed.languageid = 1)
WHERE thread.threadid IN(251,250,249,248,247)
AND thread.dateline > 667988230


ORDER BY thread.dateline DESC
LIMIT 5
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadrangePRIMARY,datelinePRIMARY4 5Using where; Using filesort
1SIMPLEposteq_refPRIMARYPRIMARY4pmorg.thread.firstpostid1 
1SIMPLEusereq_refPRIMARYPRIMARY4pmorg.post.userid1 
1SIMPLEpostparsedeq_refPRIMARYPRIMARY8pmorg.post.postid,const,const1 

Time Before: 0.03084 seconds
Time After: 0.03216 seconds
Time Taken: 0.00131 seconds

Memory Before: 1,363.391 KB
Memory After: 1,406.891 KB
Memory Used: 43.500 KB

Time Before: 0.02920
Time After: 0.03470
Time Taken: 0.00550

Memory Before: 1,336.883 KB
Memory After: 1,360.688 KB
Memory Used: 23.805 KB

News module generated in 0.00550 seconds with 2 queries.
0.00201 seconds doing MySQL queries and 0.00350 doing PHP things.

Processing Module: Search Forums
Time Before: 0.03475
Time After: 0.03491
Time Taken: 0.00016

Memory Before: 1,360.664 KB
Memory After: 1,361.516 KB
Memory Used: 0.852 KB

Search Forums module generated in 0.00016 seconds with 0 queries.
0 seconds doing MySQL queries and 0.00016 doing PHP things.

Processing Module: Recent Threads
SQL Query
SELECT  thread.threadid, thread.title, thread.replycount, postusername, postuserid, thread.dateline AS postdateline, IF(views <= thread.replycount, thread.replycount+1, views) AS views, thread.lastposter, thread.lastpost, thread.lastpostid, pollid, thread.forumid, thread.open, sticky
, post.pagetext AS preview
FROM thread as thread
 LEFT JOIN post AS post ON (post.postid = thread.firstpostid)
WHERE open != 10
	AND thread.visible = 1 AND thread.lastpost > 667988230
	 AND (thread.forumid IN(29,19,4,31,18,17,2,16,12,13,33))
ORDER BY lastpost DESC
LIMIT 10
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadrangeforumid,lastpostforumid4 35Using where; Using filesort
1SIMPLEposteq_refPRIMARYPRIMARY4pmorg.thread.firstpostid1 

Time Before: 0.03564 seconds
Time After: 0.03631 seconds
Time Taken: 0.00067 seconds

Memory Before: 1,365.477 KB
Memory After: 1,383.883 KB
Memory Used: 18.406 KB

Time Before: 0.03494
Time After: 0.03936
Time Taken: 0.00442

Memory Before: 1,361.836 KB
Memory After: 1,388.641 KB
Memory Used: 26.805 KB

Recent Threads module generated in 0.00442 seconds with 1 queries.
0.00067 seconds doing MySQL queries and 0.00375 doing PHP things.

SQL Query
UPDATE session
SET lastactivity = 1531901830, location = '/?explain=1', incalendar = 1
WHERE sessionhash = 'edca4d749acca395d602c4f9070cd27f'

Time Before: 0.04027 seconds
Time After: 0.04068 seconds
Time Taken: 0.00041 seconds

Memory Before: 1,483.898 KB
Memory After: 1,483.836 KB
Memory Used: -0.063 KB

Page generated in 0.039969921112061 seconds with 15 queries, spending 0.00803542137146 doing MySQL queries and 0.031934499740601 doing PHP things.
Shutdown Queries:
DISABLED