Including Functions.php

Time Before: 0.00304 seconds
Time After: 0.00505 seconds
Time Taken: 0.00201 seconds

Memory Before: 510.453 KB
Memory After: 533.227 KB
Memory Used: 22.773 KB

Connect to Database on Server: localhost

Time Before: 0.00524 seconds
Time After: 0.00638 seconds
Time Taken: 0.00114 seconds

Memory Before: 533.164 KB
Memory After: 534.078 KB
Memory Used: 0.914 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00678 seconds
Time After: 0.00694 seconds
Time Taken: 0.00015 seconds

Memory Before: 534.633 KB
Memory After: 535.156 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.00823 seconds
Time After: 0.00920 seconds
Time Taken: 0.00097 seconds

Memory Before: 538.148 KB
Memory After: 539.023 KB
Memory Used: 0.875 KB

Time Before: 0.00702 seconds
Time After: 0.01210 seconds
Time Taken: 0.00508 seconds

Memory Before: 534.406 KB
Memory After: 1,149.359 KB
Memory Used: 614.953 KB

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

Time Before: 0.01649 seconds
Time After: 0.01686 seconds
Time Taken: 0.00038 seconds

Memory Before: 1,647.430 KB
Memory After: 1,648.039 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.01802 seconds
Time After: 0.01858 seconds
Time Taken: 0.00056 seconds

Memory Before: 1,659.961 KB
Memory After: 1,659.891 KB
Memory Used: -0.070 KB

Time Before: 0.01555 seconds
Time After: 0.01881 seconds
Time Taken: 0.00326 seconds

Memory Before: 1,639.453 KB
Memory After: 1,730.023 KB
Memory Used: 90.570 KB

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

Time Before: 0.01957 seconds
Time After: 0.01983 seconds
Time Taken: 0.00025 seconds

Memory Before: 1,731.344 KB
Memory After: 1,731.922 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 = 2991
1SIMPLEeditlogconstPRIMARYPRIMARY4const0Unique row not found

Time Before: 0.02467 seconds
Time After: 0.02507 seconds
Time Taken: 0.00039 seconds

Memory Before: 2,105.477 KB
Memory After: 2,105.945 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 = 2699

Time Before: 0.02586 seconds
Time After: 0.02624 seconds
Time Taken: 0.00038 seconds

Memory Before: 2,114.578 KB
Memory After: 2,115.172 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.02782 seconds
Time After: 0.02826 seconds
Time Taken: 0.00044 seconds

Memory Before: 2,149.695 KB
Memory After: 2,150.289 KB
Memory Used: 0.594 KB

End call of global.php: 0.030369997024536
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.03439 seconds
Time After: 0.03602 seconds
Time Taken: 0.00164 seconds

Memory Before: 2,951.828 KB
Memory After: 2,953.938 KB
Memory Used: 2.109 KB

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

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

Time Before: 0.04440 seconds
Time After: 0.04472 seconds
Time Taken: 0.00032 seconds

Memory Before: 3,121.305 KB
Memory After: 3,121.813 KB
Memory Used: 0.508 KB

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

WHERE post.threadid = 2699
	AND post.visible = 1
ORDER BY post.dateline 
LIMIT 0, 10
1SIMPLEpostrefthreadid,threadid_visible_datelinethreadid_visible_dateline6const,const1Using where

Time Before: 0.04563 seconds
Time After: 0.04597 seconds
Time Taken: 0.00034 seconds

Memory Before: 3,129.719 KB
Memory After: 3,130.195 KB
Memory Used: 0.477 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 (02900,2991)
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
1SIMPLEpostrangePRIMARYPRIMARY4 2Using index condition; Using filesort 
1SIMPLEuserfieldeq_refPRIMARYPRIMARY4business_business.user.userid1Using where
1SIMPLEusertextfieldeq_refPRIMARYPRIMARY4business_business.user.userid1Using where 

Time Before: 0.04746 seconds
Time After: 0.04874 seconds
Time Taken: 0.00129 seconds

Memory Before: 3,137.539 KB
Memory After: 3,138.422 KB
Memory Used: 0.883 KB

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

Time Before: 0.05531 seconds
Time After: 0.05554 seconds
Time Taken: 0.00023 seconds

Memory Before: 3,331.844 KB
Memory After: 3,332.383 KB
Memory Used: 0.539 KB

Time after parsing all posts: 0.064591884613037 Memory After: 3,366KB
SQL Query
FROM navigation
WHERE state & 4 = 0
ORDER BY navtype, displayorder
1SIMPLEnavigationALL    27Using where; Using filesort

Time Before: 0.06730 seconds
Time After: 0.06770 seconds
Time Taken: 0.00040 seconds

Memory Before: 3,398.977 KB
Memory After: 3,402.438 KB
Memory Used: 3.461 KB

SQL Query
UPDATE session
SET lastactivity = 1708706331, location = 'showthread.php?t=2699', inforum = 14, inthread = 2699, badlocation = 0
WHERE sessionhash = 'aaa5aa5df6f7b0fd940454775e681467'

Time Before: 0.07343 seconds
Time After: 0.07375 seconds
Time Taken: 0.00032 seconds

Memory Before: 3,779.703 KB
Memory After: 3,779.914 KB
Memory Used: 0.211 KB

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

Time Before: 0.07383 seconds
Time After: 0.07421 seconds
Time Taken: 0.00038 seconds

Memory Before: 3,773.961 KB
Memory After: 3,774.305 KB
Memory Used: 0.344 KB

Page generated in 0.072504997253418 seconds with 16 queries, spending 0.0095701217651367 doing MySQL queries and 0.062934875488281 doing PHP things.
Shutdown Queries: