Including Functions.php

Time Before: 0.00037 seconds
Time After: 0.00041 seconds
Time Taken: 0.00005 seconds

Memory Before: 439.148 KB
Memory After: 441.789 KB
Memory Used: 2.641 KB

Connect to Database on Server: localhost

Time Before: 0.00045 seconds
Time After: 0.00148 seconds
Time Taken: 0.00103 seconds

Memory Before: 441.742 KB
Memory After: 442.633 KB
Memory Used: 0.891 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00163 seconds
Time After: 0.00172 seconds
Time Taken: 0.00009 seconds

Memory Before: 442.656 KB
Memory After: 442.711 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','smiliecache','bbcodecache','mailqueue','bookmarksitecache')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEdatastorerangePRIMARYPRIMARY152 18Using where

Time Before: 0.00224 seconds
Time After: 0.00312 seconds
Time Taken: 0.00089 seconds

Memory Before: 444.047 KB
Memory After: 532.508 KB
Memory Used: 88.461 KB

Time Before: 0.00174 seconds
Time After: 0.00683 seconds
Time Taken: 0.00509 seconds

Memory Before: 442.500 KB
Memory After: 730.602 KB
Memory Used: 288.102 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '18.97.9.168'
	AND idhash = 'cafe753e855ff2939d0a288be7c544a4'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    492Using where

Time Before: 0.00754 seconds
Time After: 0.00814 seconds
Time Taken: 0.00060 seconds

Memory Before: 736.336 KB
Memory After: 752.898 KB
Memory Used: 16.563 KB

SQL Query
SELECT languageid,
			phrasegroup_global AS phrasegroup_global,
			phrasegroup_posting AS phrasegroup_posting,
			phrasegroup_postbit AS phrasegroup_postbit,
			phrasegroup_showthread AS phrasegroup_showthread,
			phrasegroup_inlinemod AS phrasegroup_inlinemod,
			phrasegroup_reputationlevel AS phrasegroup_reputationlevel,
			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.00964 seconds
Time After: 0.00985 seconds
Time Taken: 0.00020 seconds

Memory Before: 744.047 KB
Memory After: 812.859 KB
Memory Used: 68.813 KB

Time Before: 0.00703 seconds
Time After: 0.00996 seconds
Time Taken: 0.00293 seconds

Memory Before: 734.109 KB
Memory After: 803.555 KB
Memory Used: 69.445 KB

SQL Query
SELECT post.*,
IF(post.visible = 2, 1, 0) AS isdeleted,


editlog.userid AS edit_userid, editlog.dateline AS edit_dateline, editlog.reason AS edit_reason, editlog.hashistory

FROM post AS post

LEFT JOIN editlog AS editlog ON (editlog.postid = post.postid)

WHERE post.postid = 782
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostconstPRIMARYPRIMARY4const1 
1SIMPLEeditlogconstPRIMARYPRIMARY4const0unique row not found

Time Before: 0.01321 seconds
Time After: 0.01335 seconds
Time Taken: 0.00014 seconds

Memory Before: 941.078 KB
Memory After: 957.453 KB
Memory Used: 16.375 KB

SQL Query
SELECT IF(visible = 2, 1, 0) AS isdeleted,



thread.*


FROM thread AS thread






WHERE thread.threadid = 252
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadconstPRIMARYPRIMARY4const1 

Time Before: 0.01389 seconds
Time After: 0.01411 seconds
Time Taken: 0.00022 seconds

Memory Before: 958.594 KB
Memory After: 975.219 KB
Memory Used: 16.625 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.01456 seconds
Time After: 0.01464 seconds
Time Taken: 0.00008 seconds

Memory Before: 966.555 KB
Memory After: 1,015.117 KB
Memory Used: 48.563 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (17417,17418,17420,17419,17502,17908,17534,17535,17537,17544,17543,17713,17717,17703,17704,17706,17705,17708,17710,17711,9542,17714,17716,17440,17442,17444,17446,17744,17746,17749,17750,17747,17745,17818,17819,17696,17695,17697,17701,17699,17846,17480,17479,17481,17482,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 70Using where

Time Before: 0.01597 seconds
Time After: 0.01635 seconds
Time Taken: 0.00038 seconds

Memory Before: 1,103.188 KB
Memory After: 1,245.703 KB
Memory Used: 142.516 KB

End call of global.php: 0.01726508140564
SQL Query
SELECT COUNT(*) AS posts
FROM post AS post
WHERE threadid = 252 AND visible = 1

AND dateline <= 1524953521
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostrefthreadid,datelinethreadid4const1Using where

Time Before: 0.01813 seconds
Time After: 0.01819 seconds
Time Taken: 0.00006 seconds

Memory Before: 1,282.539 KB
Memory After: 1,298.648 KB
Memory Used: 16.109 KB

SQL Query
SELECT  post.postid, post.attach
FROM post AS post

WHERE post.threadid = 252
	AND post.visible = 1
	
	
ORDER BY post.dateline 
LIMIT 0, 14
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostrefthreadidthreadid4const1Using where; Using filesort

Time Before: 0.01858 seconds
Time After: 0.01864 seconds
Time Taken: 0.00006 seconds

Memory Before: 1,284.289 KB
Memory After: 1,300.477 KB
Memory Used: 16.188 KB

SQL Query
SELECT
	post.*, post.username AS postusername, post.ipaddress AS ip, IF(post.visible = 2, 1, 0) AS isdeleted,
	user.*, userfield.*, usertextfield.*,
	icon.title as icontitle, icon.iconpath,
	avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight,
	
	
	editlog.userid AS edit_userid, editlog.username AS edit_username, editlog.dateline AS edit_dateline,
	editlog.reason AS edit_reason, editlog.hashistory,
	postparsed.pagetext_html, postparsed.hasimages,
	sigparsed.signatureparsed, sigparsed.hasimages AS sighasimages,
	sigpic.userid AS sigpic, sigpic.dateline AS sigpicdateline, sigpic.width AS sigpicwidth, sigpic.height AS sigpicheight,
	IF(user.displaygroupid=0, user.usergroupid, user.displaygroupid) AS displaygroupid, infractiongroupid
	, '' AS field6
	
FROM post AS post
LEFT JOIN user AS user ON(user.userid = post.userid)
LEFT JOIN userfield AS userfield ON(userfield.userid = user.userid)
LEFT JOIN usertextfield AS usertextfield ON(usertextfield.userid = user.userid)
LEFT JOIN icon AS icon ON(icon.iconid = post.iconid)
LEFT JOIN avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN customavatar AS customavatar ON(customavatar.userid = user.userid)

	
LEFT JOIN editlog AS editlog ON(editlog.postid = post.postid)
LEFT JOIN postparsed AS postparsed ON(postparsed.postid = post.postid AND postparsed.styleid = 6 AND postparsed.languageid = 1)
LEFT JOIN sigparsed AS sigparsed ON(sigparsed.userid = user.userid AND sigparsed.styleid = 6 AND sigparsed.languageid = 1)
LEFT JOIN sigpic AS sigpic ON(sigpic.userid = post.userid)
	
WHERE post.postid IN (0,782)
ORDER BY post.dateline
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsigpicsystemPRIMARY   0const row not found
1SIMPLEpostrangePRIMARYPRIMARY4 2Using where; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4pmorg.post.userid1 
1SIMPLEuserfieldeq_refPRIMARYPRIMARY4pmorg.user.userid1 
1SIMPLEusertextfieldeq_refPRIMARYPRIMARY4pmorg.user.userid1 
1SIMPLEiconeq_refPRIMARYPRIMARY2pmorg.post.iconid1 
1SIMPLEavatareq_refPRIMARYPRIMARY2pmorg.user.avatarid1 
1SIMPLEcustomavatareq_refPRIMARYPRIMARY4pmorg.user.userid1 
1SIMPLEeditlogeq_refPRIMARYPRIMARY4pmorg.post.postid1 
1SIMPLEpostparsedeq_refPRIMARYPRIMARY8pmorg.post.postid,const,const1 
1SIMPLEsigparsedeq_refPRIMARYPRIMARY8pmorg.user.userid,const,const1 

Time Before: 0.01981 seconds
Time After: 0.02078 seconds
Time Taken: 0.00097 seconds

Memory Before: 1,290.047 KB
Memory After: 1,306.797 KB
Memory Used: 16.750 KB

Time after parsing all posts: 0.022929906845093 Memory After: 1,332KB
SQL Query
SELECT user.username, user.usergroupid, user.membergroupids,
	session.userid, session.inthread, session.lastactivity, session.badlocation,
	IF(user.displaygroupid = 0, user.usergroupid, user.displaygroupid) AS displaygroupid, infractiongroupid,
	IF(user.options & 512, 1, 0) AS invisible
FROM session AS session
LEFT JOIN user AS user ON(user.userid = session.userid)
WHERE session.lastactivity > 1734080148
ORDER BY  lastactivity DESC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    492Using where; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4pmorg.session.userid1 

Time Before: 0.02318 seconds
Time After: 0.02463 seconds
Time Taken: 0.00146 seconds

Memory Before: 1,335.211 KB
Memory After: 1,437.961 KB
Memory Used: 102.750 KB

SQL Query
UPDATE session
SET lastactivity = 1734081948, location = '/board/showthread.php?p=782&explain=1', inforum = 12, inthread = 252
WHERE sessionhash = '845872166e1dacb0bcbc4b18ad770fe0'

Time Before: 0.02707 seconds
Time After: 0.02722 seconds
Time Taken: 0.00015 seconds

Memory Before: 1,584.531 KB
Memory After: 1,584.438 KB
Memory Used: -0.094 KB

SQL Query
UPDATE thread
SET views = views + 1
WHERE threadid = 252

Time Before: 0.02724 seconds
Time After: 0.03071 seconds
Time Taken: 0.00347 seconds

Memory Before: 1,582.211 KB
Memory After: 1,582.336 KB
Memory Used: 0.125 KB

Page generated in 0.026886940002441 seconds with 14 queries, spending 0.009798526763916 doing MySQL queries and 0.017088413238525 doing PHP things.
Shutdown Queries:
DISABLED