Including Functions.php

Time Before: 0.00303 seconds
Time After: 0.00519 seconds
Time Taken: 0.00216 seconds

Memory Before: 510.883 KB
Memory After: 533.656 KB
Memory Used: 22.773 KB

Connect to Database on Server: localhost

Time Before: 0.00537 seconds
Time After: 0.00646 seconds
Time Taken: 0.00109 seconds

Memory Before: 533.594 KB
Memory After: 534.508 KB
Memory Used: 0.914 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00684 seconds
Time After: 0.00697 seconds
Time Taken: 0.00013 seconds

Memory Before: 535.063 KB
Memory After: 535.586 KB
Memory Used: 0.523 KB

Datastore Setup
SQL Query
FROM datastore
WHERE title IN ('smiliecache','bbcodecache','mailqueue','bookmarksitecache','options','bitfields','attachmentcache','forumcache','usergroupcache','stylecache','languagecache','products','pluginlist','cron','profilefield','loadcache','noticecache','activitystream')
1SIMPLEdatastorerangePRIMARYPRIMARY50 18Using index condition

Time Before: 0.00813 seconds
Time After: 0.00928 seconds
Time Taken: 0.00116 seconds

Memory Before: 538.578 KB
Memory After: 539.453 KB
Memory Used: 0.875 KB

Time Before: 0.00705 seconds
Time After: 0.01226 seconds
Time Taken: 0.00521 seconds

Memory Before: 534.836 KB
Memory After: 1,149.813 KB
Memory Used: 614.977 KB

Session Handling
SQL Query
FROM session
WHERE userid = 0
	AND host = ''
	AND idhash = '936fa7076343b0b8d9f98d75a0b96580'
1SIMPLEsessionrefguest_lookup,user_activityguest_lookup51const,const,const2Using where

Time Before: 0.01651 seconds
Time After: 0.01692 seconds
Time Taken: 0.00041 seconds

Memory Before: 1,647.852 KB
Memory After: 1,648.461 KB
Memory Used: 0.609 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,
			phrasegroupinfo AS lang_phrasegroupinfo,
			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
1SIMPLElanguagesystemPRIMARY   1 

Time Before: 0.01888 seconds
Time After: 0.01965 seconds
Time Taken: 0.00077 seconds

Memory Before: 1,660.383 KB
Memory After: 1,660.313 KB
Memory Used: -0.070 KB

Time Before: 0.01556 seconds
Time After: 0.01997 seconds
Time Taken: 0.00442 seconds

Memory Before: 1,639.875 KB
Memory After: 1,730.461 KB
Memory Used: 90.586 KB

SQL Query
FROM datastore
WHERE title IN ('routes')

Time Before: 0.02094 seconds
Time After: 0.02118 seconds
Time Taken: 0.00024 seconds

Memory Before: 1,731.781 KB
Memory After: 1,732.359 KB
Memory Used: 0.578 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 = 2945
1SIMPLEeditlogconstPRIMARYPRIMARY4const0Unique row not found

Time Before: 0.02814 seconds
Time After: 0.02853 seconds
Time Taken: 0.00039 seconds

Memory Before: 2,105.969 KB
Memory After: 2,106.438 KB
Memory Used: 0.469 KB

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

post.pagetext AS description,

FROM thread AS thread

LEFT JOIN post AS post ON(post.postid = thread.firstpostid)

WHERE thread.threadid = 2743

Time Before: 0.02942 seconds
Time After: 0.02980 seconds
Time Taken: 0.00038 seconds

Memory Before: 2,114.344 KB
Memory After: 2,114.938 KB
Memory Used: 0.594 KB

SQL Query
FROM style
WHERE (styleid = 2 AND userselect = 1)
	OR styleid = 2
ORDER BY styleid ASC

Time Before: 0.03161 seconds
Time After: 0.03208 seconds
Time Taken: 0.00047 seconds

Memory Before: 2,148.234 KB
Memory After: 2,148.828 KB
Memory Used: 0.594 KB

End call of global.php: 0.034211158752441
SQL Query
SELECT title, template
FROM template
WHERE templateid IN (72,71,656,657,1245,790,791,793,799,798,978,997,983,984,986,985,988,990,991,992,995,691,693,695,697,699,1047,1051,1052,1053,1050,1120,971,970,972,977,975,1144,752,753,919,746,745,748,749,762,760,1254,1264,1205,1275,67,66,68,63,62,651,652,650,649,961,1257,907,911,908,909,910,1273,0,0,1236,1238,931,932,934,935,1158,1200,1199,1249,1201,758,757,761)
1SIMPLEtemplaterangePRIMARYPRIMARY4 83Using index condition

Time Before: 0.03813 seconds
Time After: 0.03994 seconds
Time Taken: 0.00182 seconds

Memory Before: 2,950.008 KB
Memory After: 2,952.117 KB
Memory Used: 2.109 KB

SQL Query
	post.*, post.username AS postusername, post.ipaddress AS ip, IF(post.visible = 2, 1, 0) AS isdeleted,
	user.*, userfield.*
FROM post AS post
LEFT JOIN user AS user ON(user.userid = post.userid)
LEFT JOIN userfield AS userfield ON(userfield.userid = user.userid)

WHERE threadid = 2743
ORDER BY postid
1SIMPLEpostrefthreadid,threadid_visible_datelinethreadid4const1Using where; Using filesort 
1SIMPLEuserfieldeq_refPRIMARYPRIMARY4business_business.user.userid1Using where

Time Before: 0.04968 seconds
Time After: 0.05034 seconds
Time Taken: 0.00066 seconds

Memory Before: 3,132.641 KB
Memory After: 3,133.680 KB
Memory Used: 1.039 KB

SQL Query
	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,
	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(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid, infractiongroupid
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 = 2 AND postparsed.languageid = 1)
LEFT JOIN sigparsed AS sigparsed ON(sigparsed.userid = user.userid AND sigparsed.styleid = 2 AND sigparsed.languageid = 1)
LEFT JOIN sigpic AS sigpic ON(sigpic.userid = post.userid)

WHERE post.postid IN (2945)
1SIMPLEavatarsystemPRIMARY   0Const row not found
1SIMPLEcustomavatarsystemPRIMARY   0Const row not found
1SIMPLEpostparsedsystemPRIMARY   0Const row not found
1SIMPLEsigparsedsystemPRIMARY   0Const row not found
1SIMPLEsigpicsystemPRIMARY   0Const row not found
1SIMPLEeditlogconstPRIMARYPRIMARY4const0Unique row not found

Time Before: 0.05246 seconds
Time After: 0.05331 seconds
Time Taken: 0.00085 seconds

Memory Before: 3,159.328 KB
Memory After: 3,159.305 KB
Memory Used: -0.023 KB

SQL Query
SELECT data, expires, locktime, serialized
FROM cache
WHERE cacheid = 'vb_types.types'

Time Before: 0.05753 seconds
Time After: 0.05773 seconds
Time Taken: 0.00020 seconds

Memory Before: 3,339.422 KB
Memory After: 3,339.961 KB
Memory Used: 0.539 KB

Time after parsing all posts: 0.060876131057739 Memory After: 3,413KB
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
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 (2107, 2115) AND thread.visible = 1
	AND forum.password = ''
ORDER BY lastpost DESC
1SIMPLEthreadrangePRIMARY,forumid,forumid_lastpostPRIMARY4 2Using index condition; Using where; Using filesort
1SIMPLEforumeq_refPRIMARYPRIMARY2business_business.thread.forumid1Using where

Time Before: 0.06176 seconds
Time After: 0.06235 seconds
Time Taken: 0.00059 seconds

Memory Before: 3,417.344 KB
Memory After: 3,417.633 KB
Memory Used: 0.289 KB

SQL Query
FROM navigation
WHERE state & 4 = 0
ORDER BY navtype, displayorder
1SIMPLEnavigationALL    27Using where; Using filesort

Time Before: 0.06819 seconds
Time After: 0.06854 seconds
Time Taken: 0.00036 seconds

Memory Before: 3,442.406 KB
Memory After: 3,445.875 KB
Memory Used: 3.469 KB

SQL Query
UPDATE session
SET lastactivity = 1685733985, location = 'showthread.php?t=2743', inforum = 28, inthread = 2743, badlocation = 0
WHERE sessionhash = '4d284f6c23bd99b0259cc3c38c1152fc'

Time Before: 0.07451 seconds
Time After: 0.07485 seconds
Time Taken: 0.00033 seconds

Memory Before: 3,818.992 KB
Memory After: 3,819.195 KB
Memory Used: 0.203 KB

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

Time Before: 0.07493 seconds
Time After: 0.07526 seconds
Time Taken: 0.00033 seconds

Memory Before: 3,813.258 KB
Memory After: 3,813.602 KB
Memory Used: 0.344 KB

Page generated in 0.073434114456177 seconds with 16 queries, spending 0.010153293609619 doing MySQL queries and 0.063280820846558 doing PHP things.
Shutdown Queries: