Including Functions.php

Time Before: 0.00328 seconds
Time After: 0.00549 seconds
Time Taken: 0.00221 seconds

Memory Before: 511.359 KB
Memory After: 534.133 KB
Memory Used: 22.773 KB

Connect to Database on Server: localhost

Time Before: 0.00569 seconds
Time After: 0.00668 seconds
Time Taken: 0.00098 seconds

Memory Before: 534.070 KB
Memory After: 534.984 KB
Memory Used: 0.914 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00693 seconds
Time After: 0.00709 seconds
Time Taken: 0.00016 seconds

Memory Before: 535.539 KB
Memory After: 536.063 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.00820 seconds
Time After: 0.00908 seconds
Time Taken: 0.00088 seconds

Memory Before: 539.055 KB
Memory After: 539.930 KB
Memory Used: 0.875 KB

Time Before: 0.00715 seconds
Time After: 0.01191 seconds
Time Taken: 0.00476 seconds

Memory Before: 535.313 KB
Memory After: 1,150.273 KB
Memory Used: 614.961 KB

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

Time Before: 0.01583 seconds
Time After: 0.01620 seconds
Time Taken: 0.00037 seconds

Memory Before: 1,648.313 KB
Memory After: 1,648.930 KB
Memory Used: 0.617 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.01733 seconds
Time After: 0.01790 seconds
Time Taken: 0.00057 seconds

Memory Before: 1,660.906 KB
Memory After: 1,660.836 KB
Memory Used: -0.070 KB

Time Before: 0.01495 seconds
Time After: 0.01813 seconds
Time Taken: 0.00317 seconds

Memory Before: 1,640.352 KB
Memory After: 1,730.969 KB
Memory Used: 90.617 KB

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

Time Before: 0.01885 seconds
Time After: 0.01909 seconds
Time Taken: 0.00024 seconds

Memory Before: 1,732.289 KB
Memory After: 1,732.867 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 = 2661

Time Before: 0.02360 seconds
Time After: 0.02397 seconds
Time Taken: 0.00037 seconds

Memory Before: 2,106.398 KB
Memory After: 2,106.875 KB
Memory Used: 0.477 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 = 2481

Time Before: 0.02468 seconds
Time After: 0.02504 seconds
Time Taken: 0.00035 seconds

Memory Before: 2,119.422 KB
Memory After: 2,120.016 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.02628 seconds
Time After: 0.02668 seconds
Time Taken: 0.00040 seconds

Memory Before: 2,157.758 KB
Memory After: 2,158.352 KB
Memory Used: 0.594 KB

End call of global.php: 0.028656959533691
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.03291 seconds
Time After: 0.03453 seconds
Time Taken: 0.00162 seconds

Memory Before: 2,960.047 KB
Memory After: 2,962.156 KB
Memory Used: 2.109 KB

SQL Query
FROM post AS post
WHERE threadid = 2481 AND visible = 1

AND dateline <= 1278615839
1SIMPLEpostrangethreadid,threadid_visible_dateline,datelinethreadid_visible_dateline10 1Using where; Using index

Time Before: 0.04261 seconds
Time After: 0.04290 seconds
Time Taken: 0.00029 seconds

Memory Before: 3,129.719 KB
Memory After: 3,130.227 KB
Memory Used: 0.508 KB

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

WHERE post.threadid = 2481
	AND post.visible = 1
ORDER BY post.dateline 
LIMIT 0, 10
1SIMPLEpostrangethreadid,threadid_visible_datelinethreadid_visible_dateline6 1Using where

Time Before: 0.04383 seconds
Time After: 0.04417 seconds
Time Taken: 0.00034 seconds

Memory Before: 3,138.086 KB
Memory After: 3,138.547 KB
Memory Used: 0.461 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,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
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 (02661)
ORDER BY post.dateline
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
1SIMPLEiconconstPRIMARYPRIMARY2const0Unique row not found

Time Before: 0.04574 seconds
Time After: 0.04682 seconds
Time Taken: 0.00108 seconds

Memory Before: 3,145.586 KB
Memory After: 3,145.461 KB
Memory Used: -0.125 KB

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

Time Before: 0.05769 seconds
Time After: 0.05790 seconds
Time Taken: 0.00021 seconds

Memory Before: 3,346.773 KB
Memory After: 3,347.320 KB
Memory Used: 0.547 KB

Time after parsing all posts: 0.061202049255371 Memory After: 3,374KB
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 (1586, 2312, 1327, 1474, 1402) AND thread.visible = 1
	AND forum.password = ''
ORDER BY lastpost DESC
1SIMPLEthreadrangePRIMARY,forumid,forumid_lastpostPRIMARY4 5Using index condition; Using where; Using filesort
1SIMPLEforumeq_refPRIMARYPRIMARY2business_business.thread.forumid1Using where

Time Before: 0.06218 seconds
Time After: 0.06289 seconds
Time Taken: 0.00071 seconds

Memory Before: 3,378.906 KB
Memory After: 3,379.461 KB
Memory Used: 0.555 KB

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

Time Before: 0.06991 seconds
Time After: 0.07033 seconds
Time Taken: 0.00042 seconds

Memory Before: 3,417.398 KB
Memory After: 3,420.859 KB
Memory Used: 3.461 KB

SQL Query
UPDATE session
SET lastactivity = 1709503777, location = 'showthread.php?t=2481', inforum = 10, inthread = 2481, badlocation = 0
WHERE sessionhash = '980abd7621634036cb12296b11eeba29'

Time Before: 0.07610 seconds
Time After: 0.07634 seconds
Time Taken: 0.00024 seconds

Memory Before: 3,818.328 KB
Memory After: 3,818.531 KB
Memory Used: 0.203 KB

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

Time Before: 0.07640 seconds
Time After: 0.07675 seconds
Time Taken: 0.00034 seconds

Memory Before: 3,812.594 KB
Memory After: 3,812.938 KB
Memory Used: 0.344 KB

Page generated in 0.075126171112061 seconds with 17 queries, spending 0.0095810890197754 doing MySQL queries and 0.065545082092285 doing PHP things.
Shutdown Queries: