Including Functions.php

Time Before: 0.00019 seconds
Time After: 0.00020 seconds
Time Taken: 0.00001 seconds

Memory Before: 433.711 KB
Memory After: 435.547 KB
Memory Used: 1.836 KB

Connect to Database on Server: 127.0.0.1

Time Before: 0.00022 seconds
Time After: 0.02329 seconds
Time Taken: 0.02308 seconds

Memory Before: 435.531 KB
Memory After: 436.266 KB
Memory Used: 0.734 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.02346 seconds
Time After: 0.02357 seconds
Time Taken: 0.00011 seconds

Memory Before: 436.313 KB
Memory After: 436.367 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
1SIMPLEdatastorerangePRIMARYPRIMARY52 18Using where

Time Before: 0.02391 seconds
Time After: 0.02477 seconds
Time Taken: 0.00086 seconds

Memory Before: 437.703 KB
Memory After: 1,174.008 KB
Memory Used: 736.305 KB

Time Before: 0.02358 seconds
Time After: 0.03352 seconds
Time Taken: 0.00994 seconds

Memory Before: 436.156 KB
Memory After: 1,805.445 KB
Memory Used: 1,369.289 KB

SQL Query
SELECT *
FROM datastore
WHERE title IN ('modstats_coder','modstats_designer','modstats_motm','modtitle_coder','modtitle_designer','wol_spiders','nex_crawlers_list_wgo_stats')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEdatastorerangePRIMARYPRIMARY52 7Using where

Time Before: 0.03386 seconds
Time After: 0.03420 seconds
Time Taken: 0.00034 seconds

Memory Before: 1,807.148 KB
Memory After: 2,063.359 KB
Memory Used: 256.211 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '216.73.217.115'
	AND idhash = '746d2c2e12532723401903d41921bd01'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    334Using where

Time Before: 0.03451 seconds
Time After: 0.03466 seconds
Time Taken: 0.00015 seconds

Memory Before: 1,992.328 KB
Memory After: 2,008.523 KB
Memory Used: 16.195 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
1SIMPLElanguageconstPRIMARYPRIMARY2const1 

Time Before: 0.03489 seconds
Time After: 0.03511 seconds
Time Taken: 0.00021 seconds

Memory Before: 1,998.242 KB
Memory After: 2,190.930 KB
Memory Used: 192.688 KB

Time Before: 0.03430 seconds
Time After: 0.03515 seconds
Time Taken: 0.00084 seconds

Memory Before: 1,990.086 KB
Memory After: 2,092.625 KB
Memory Used: 102.539 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 = 288403
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostconstPRIMARYPRIMARY4const1 
1SIMPLEeditlogconstPRIMARYPRIMARY4const1Unique row not found

Time Before: 0.03692 seconds
Time After: 0.03716 seconds
Time Taken: 0.00024 seconds

Memory Before: 2,250.563 KB
Memory After: 2,266.578 KB
Memory Used: 16.016 KB

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



thread.*


FROM thread AS thread






WHERE thread.threadid = 173189
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadconstPRIMARYPRIMARY4const1 

Time Before: 0.03742 seconds
Time After: 0.03761 seconds
Time Taken: 0.00018 seconds

Memory Before: 2,253.703 KB
Memory After: 2,269.992 KB
Memory Used: 16.289 KB

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

Time Before: 0.03800 seconds
Time After: 0.03822 seconds
Time Taken: 0.00022 seconds

Memory Before: 2,260.516 KB
Memory After: 2,412.883 KB
Memory Used: 152.367 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (10,11,13,12,225,246,267,268,270,277,276,880,570,555,556,558,557,560,562,563,564,566,569,106,108,110,112,882,609,612,613,610,608,707,708,539,537,538,543,541,727,198,196,199,200,57,59,871,868,872,8,7,9,4,3,529,877,407,408,409,245,248,445,446,447,448,449,742,664,663,665,668,878,429,434,433,431,432,550,544,545,546,547,551,553,439,194,867,244,115,178,179,174,151,410,197,397,398,400,874,396,196,198,199,200,216,309,321,322,324,323,875,401,402,744,751,753,754,752,755,566,605,606,603,403)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEtemplaterangePRIMARYPRIMARY4 120Using where

Time Before: 0.03958 seconds
Time After: 0.04042 seconds
Time Taken: 0.00084 seconds

Memory Before: 2,447.477 KB
Memory After: 2,865.281 KB
Memory Used: 417.805 KB

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

AND dateline <= 1221684180
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostrangethreadid,dateline,idx_dateline,idx_ksoursidx_ksours10 23Using where; Using index

Time Before: 0.04287 seconds
Time After: 0.04305 seconds
Time Taken: 0.00019 seconds

Memory Before: 2,847.125 KB
Memory After: 2,863.289 KB
Memory Used: 16.164 KB

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

WHERE post.threadid = 173189
	AND post.visible = 1
	
	
ORDER BY post.dateline 
LIMIT 0, 50
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostrefthreadid,idx_ksoursidx_ksours6const,const26Using where; Using index

Time Before: 0.04332 seconds
Time After: 0.04356 seconds
Time Taken: 0.00024 seconds

Memory Before: 2,848.422 KB
Memory After: 2,864.945 KB
Memory Used: 16.523 KB

SQL Query
SELECT dateline, thumbnail_dateline, filename, filesize, visible, attachmentid, counter,
	postid, IF(thumbnail_filesize > 0, 1, 0) AS hasthumbnail, thumbnail_filesize,
	attachmenttype.thumbnail AS build_thumbnail, attachmenttype.newwindow
FROM attachment
LEFT JOIN attachmenttype AS attachmenttype USING (extension)
WHERE postid IN (0,288249,288253,288254,288255,288257,288300,288301,288322,288329,288344,288365,288369,288370,288372,288377,288382,288383,288386,288389,288394,288396,288402,288403,288407,288408,288410)
ORDER BY attachmentid
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEattachmentrangepostidpostid4 27Using index condition; Using filesort
1SIMPLEattachmenttypeeq_refPRIMARYPRIMARY22wckediden_vb3.attachment.extension1 

Time Before: 0.04383 seconds
Time After: 0.04410 seconds
Time Taken: 0.00027 seconds

Memory Before: 2,851.352 KB
Memory After: 2,866.922 KB
Memory Used: 15.570 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 field20, '' AS field27
	,modification.last_update,modification.author,modification.mod_productid,modification.mod_supported,modification.mod_dbchanges,modification.mod_usesplugins,modification.mod_edtemplates,modification.mod_autemplates,modification.mod_reuseable,modification.mod_codechange,modification.mod_additional,modification.mod_translation,modification.mod_licence,modification.mod_verified,modification.mod_external,modification.mod_betastage,modification.mod_version,modification.mod_coauthors,modification.mod_installcount,modification.mod_vbversion,modification.motm,licence.title AS licence_used,licence.licence
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 = 78 AND postparsed.languageid = 1)
LEFT JOIN sigparsed AS sigparsed ON(sigparsed.userid = user.userid AND sigparsed.styleid = 78 AND sigparsed.languageid = 1)
LEFT JOIN sigpic AS sigpic ON(sigpic.userid = post.userid)
	LEFT JOIN modsys_settings AS modification ON(modification.threadid = 173189) LEFT JOIN modsys_licences AS licence ON(licence.modsys_licencesid = modification.mod_licence) 
WHERE post.postid IN (0,288249,288253,288254,288255,288257,288300,288301,288322,288329,288344,288365,288369,288370,288372,288377,288382,288383,288386,288389,288394,288396,288402,288403,288407,288408,288410)
ORDER BY post.dateline
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostrangePRIMARYPRIMARY4 27Using where; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4wckediden_vb3.post.userid1 
1SIMPLEuserfieldeq_refPRIMARYPRIMARY4wckediden_vb3.user.userid1Using where
1SIMPLEusertextfieldeq_refPRIMARYPRIMARY4wckediden_vb3.user.userid1Using where
1SIMPLEiconeq_refPRIMARYPRIMARY2wckediden_vb3.post.iconid1 
1SIMPLEavatareq_refPRIMARYPRIMARY2wckediden_vb3.user.avatarid1Using where
1SIMPLEcustomavatareq_refPRIMARYPRIMARY4wckediden_vb3.user.userid1Using where
1SIMPLEeditlogeq_refPRIMARYPRIMARY4wckediden_vb3.post.postid1 
1SIMPLEpostparsedeq_refPRIMARYPRIMARY8wckediden_vb3.post.postid,const,const1 
1SIMPLEsigparsedeq_refPRIMARYPRIMARY8wckediden_vb3.user.userid,const,const1Using where
1SIMPLEsigpiceq_refPRIMARYPRIMARY4wckediden_vb3.post.userid1 
1SIMPLEmodificationconstuniq_threadiduniq_threadid4const1 
1SIMPLElicenceeq_refPRIMARYPRIMARY4wckediden_vb3.modification.mod_licence1Using where

Time Before: 0.04474 seconds
Time After: 0.04581 seconds
Time Taken: 0.00107 seconds

Memory Before: 2,879.227 KB
Memory After: 2,991.359 KB
Memory Used: 112.133 KB

SQL Query
SELECT * FROM post_thanks AS post_thanks INNER JOIN user AS user USING (userid) WHERE post_thanks.postid IN (0,288249,288253,288254,288255,288257,288300,288301,288322,288329,288344,288365,288369,288370,288372,288377,288382,288383,288386,288389,288394,288396,288402,288403,288407,288408,288410) ORDER BY post_thanks.username ASC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpost_thanksrangepostidpostid4 27Using index condition; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4wckediden_vb3.post_thanks.userid1Using where

Time Before: 0.04661 seconds
Time After: 0.04694 seconds
Time Taken: 0.00033 seconds

Memory Before: 3,040.219 KB
Memory After: 3,089.102 KB
Memory Used: 48.883 KB

SQL Query
SELECT * FROM post_thanks AS post_thanks INNER JOIN user AS user USING (userid) WHERE post_thanks.postid IN (288249) ORDER BY post_thanks.username ASC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpost_thanksrefpostidpostid4const1Using where; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4wckediden_vb3.post_thanks.userid1Using where

Time Before: 0.07782 seconds
Time After: 0.07818 seconds
Time Taken: 0.00036 seconds

Memory Before: 3,100.742 KB
Memory After: 3,149.672 KB
Memory Used: 48.930 KB

Time after parsing all posts: 0.11556601524353 Memory After: 3,176KB
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 > 1789846529
ORDER BY  username ASC, lastactivity DESC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    334Using where; Using temporary; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4wckediden_vb3.session.userid1 

Time Before: 0.11603 seconds
Time After: 0.11678 seconds
Time Taken: 0.00075 seconds

Memory Before: 3,179.703 KB
Memory After: 3,199.383 KB
Memory Used: 19.680 KB

SQL Query
SELECT thread.threadid, thread.forumid, thread.title, thread.prefixid, thread.taglist, postusername, postuserid,
	thread.lastpost, thread.replycount,
	forum.title AS forumtitle
	,post.pagetext AS preview
	, 0 AS issubscribed
	
FROM thread AS thread
INNER JOIN forum AS forum ON (forum.forumid = thread.forumid)
LEFT JOIN post AS post ON (post.postid = thread.firstpostid)



WHERE thread.threadid IN (191217, 142813, 176977, 84674, 85859) AND thread.visible = 1
	AND forum.password = ''
	
	
ORDER BY lastpost DESC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadrangePRIMARY,forumidPRIMARY4 5Using where; Using filesort
1SIMPLEforumeq_refPRIMARYPRIMARY2wckediden_vb3.thread.forumid1Using where
1SIMPLEposteq_refPRIMARYPRIMARY4wckediden_vb3.thread.firstpostid1 

Time Before: 0.11727 seconds
Time After: 0.11757 seconds
Time Taken: 0.00030 seconds

Memory Before: 3,179.195 KB
Memory After: 3,195.078 KB
Memory Used: 15.883 KB

SQL Query
SELECT userid, lastactivity, useragent
FROM session
WHERE lastactivity > 1789846529
AND userid = 0
AND inthread = 173189
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    334Using where

Time Before: 0.11862 seconds
Time After: 0.11881 seconds
Time Taken: 0.00019 seconds

Memory Before: 3,250.508 KB
Memory After: 3,266.500 KB
Memory Used: 15.992 KB

SQL Query
SELECT forumid, forumpermissions FROM forumpermission WHERE usergroupid = 1 AND forumid IN (117,11,3)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEforumpermissionrangeugid_fidugid_fid4 3Using index condition

Time Before: 0.12475 seconds
Time After: 0.12489 seconds
Time Taken: 0.00013 seconds

Memory Before: 3,742.578 KB
Memory After: 3,758.680 KB
Memory Used: 16.102 KB

SQL Query
SELECT postid, userid, username, dateline, pagetext, visible FROM post WHERE postid = 288249 LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostconstPRIMARYPRIMARY4const1 

Time Before: 0.12504 seconds
Time After: 0.12514 seconds
Time Taken: 0.00010 seconds

Memory Before: 3,742.281 KB
Memory After: 3,758.602 KB
Memory Used: 16.320 KB

SQL Query
UPDATE session
SET lastactivity = 1789847429, location = '/showthread.php?explain=1&p=288403', inthread = 173189
WHERE sessionhash = '2b1b20e77785fbb1a30e93b4d0992918'

Time Before: 0.12557 seconds
Time After: 0.12568 seconds
Time Taken: 0.00011 seconds

Memory Before: 4,042.859 KB
Memory After: 4,042.781 KB
Memory Used: -0.078 KB

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

Time Before: 0.12569 seconds
Time After: 0.17302 seconds
Time Taken: 0.04732 seconds

Memory Before: 4,040.750 KB
Memory After: 4,040.875 KB
Memory Used: 0.125 KB

Page generated in 0.1202380657196 seconds with 23 queries, spending 0.077712774276733 doing MySQL queries and 0.042525291442871 doing PHP things.
Shutdown Queries:
DISABLED