Including Functions.php

Time Before: 0.00336 seconds
Time After: 0.00568 seconds
Time Taken: 0.00232 seconds

Memory Before: 510.250 KB
Memory After: 533.023 KB
Memory Used: 22.773 KB

Connect to Database on Server: localhost

Time Before: 0.00588 seconds
Time After: 0.00683 seconds
Time Taken: 0.00095 seconds

Memory Before: 532.961 KB
Memory After: 533.906 KB
Memory Used: 0.945 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00709 seconds
Time After: 0.00721 seconds
Time Taken: 0.00012 seconds

Memory Before: 534.461 KB
Memory After: 534.984 KB
Memory Used: 0.523 KB

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

Time Before: 0.00834 seconds
Time After: 0.00927 seconds
Time Taken: 0.00093 seconds

Memory Before: 537.977 KB
Memory After: 538.852 KB
Memory Used: 0.875 KB

Time Before: 0.00731 seconds
Time After: 0.01316 seconds
Time Taken: 0.00586 seconds

Memory Before: 534.234 KB
Memory After: 1,149.195 KB
Memory Used: 614.961 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '18.97.14.81'
	AND idhash = '3baccf9796c876a91b207ca555fa88a5'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionrefguest_lookup,user_activityguest_lookup51const,const,const2Using where

Time Before: 0.01801 seconds
Time After: 0.01833 seconds
Time Taken: 0.00032 seconds

Memory Before: 1,647.258 KB
Memory After: 1,647.875 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
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLElanguagesystemPRIMARY   1 

Time Before: 0.01961 seconds
Time After: 0.02033 seconds
Time Taken: 0.00073 seconds

Memory Before: 1,659.789 KB
Memory After: 1,659.719 KB
Memory Used: -0.070 KB

Time Before: 0.01696 seconds
Time After: 0.02054 seconds
Time Taken: 0.00358 seconds

Memory Before: 1,639.297 KB
Memory After: 1,729.844 KB
Memory Used: 90.547 KB

SQL Query
SELECT *
FROM datastore
WHERE title IN ('routes')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEdatastoreconstPRIMARYPRIMARY50const1 

Time Before: 0.02124 seconds
Time After: 0.02145 seconds
Time Taken: 0.00021 seconds

Memory Before: 1,731.180 KB
Memory After: 1,731.758 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 = 54
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostconstPRIMARYPRIMARY4const1 
1SIMPLEeditlogconstPRIMARYPRIMARY4const0Unique row not found

Time Before: 0.02562 seconds
Time After: 0.02592 seconds
Time Taken: 0.00030 seconds

Memory Before: 2,105.305 KB
Memory After: 2,105.781 KB
Memory Used: 0.477 KB

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



post.pagetext AS description,
thread.*


FROM thread AS thread




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


WHERE thread.threadid = 46
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadconstPRIMARYPRIMARY4const1 
1SIMPLEpostconstPRIMARYPRIMARY4const1 

Time Before: 0.02655 seconds
Time After: 0.02687 seconds
Time Taken: 0.00031 seconds

Memory Before: 2,114.563 KB
Memory After: 2,115.156 KB
Memory Used: 0.594 KB

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

Time Before: 0.02816 seconds
Time After: 0.02870 seconds
Time Taken: 0.00053 seconds

Memory Before: 2,148.594 KB
Memory After: 2,149.188 KB
Memory Used: 0.594 KB

End call of global.php: 0.03058385848999
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)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEtemplaterangePRIMARYPRIMARY4 83Using index condition

Time Before: 0.03402 seconds
Time After: 0.03547 seconds
Time Taken: 0.00145 seconds

Memory Before: 2,950.773 KB
Memory After: 2,952.883 KB
Memory Used: 2.109 KB

SQL Query
SELECT COUNT(*) AS posts
FROM post AS post
WHERE threadid = 46 AND visible = 1

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

Time Before: 0.04318 seconds
Time After: 0.04345 seconds
Time Taken: 0.00027 seconds

Memory Before: 3,120.164 KB
Memory After: 3,120.680 KB
Memory Used: 0.516 KB

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

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

Time Before: 0.04433 seconds
Time After: 0.04463 seconds
Time Taken: 0.00030 seconds

Memory Before: 3,129.000 KB
Memory After: 3,129.477 KB
Memory Used: 0.477 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
	
	
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 (050,54)
ORDER BY post.dateline
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
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
1SIMPLEusereq_refPRIMARYPRIMARY4business_business.post.userid1 
1SIMPLEeditlogeq_refPRIMARYPRIMARY4business_business.post.postid1 
1SIMPLEuserfieldeq_refPRIMARYPRIMARY4business_business.user.userid1Using where
1SIMPLEusertextfieldeq_refPRIMARYPRIMARY4business_business.user.userid1Using where
1SIMPLEiconeq_refPRIMARYPRIMARY2business_business.post.iconid1 

Time Before: 0.04606 seconds
Time After: 0.04724 seconds
Time Taken: 0.00118 seconds

Memory Before: 3,136.805 KB
Memory After: 3,137.688 KB
Memory Used: 0.883 KB

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

Time Before: 0.05109 seconds
Time After: 0.05136 seconds
Time Taken: 0.00027 seconds

Memory Before: 3,322.773 KB
Memory After: 3,323.313 KB
Memory Used: 0.539 KB

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

Time Before: 0.06185 seconds
Time After: 0.06224 seconds
Time Taken: 0.00039 seconds

Memory Before: 3,393.516 KB
Memory After: 3,396.977 KB
Memory Used: 3.461 KB

SQL Query
UPDATE session
SET lastactivity = 1736897266, location = 'showthread.php?t=46', inforum = 6, inthread = 46, badlocation = 0
WHERE sessionhash = '798d4b237f280faa648d866fb5111667'

Time Before: 0.06782 seconds
Time After: 0.06809 seconds
Time Taken: 0.00027 seconds

Memory Before: 3,768.742 KB
Memory After: 3,768.961 KB
Memory Used: 0.219 KB

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

Time Before: 0.06816 seconds
Time After: 0.06848 seconds
Time Taken: 0.00032 seconds

Memory Before: 3,763.000 KB
Memory After: 3,763.344 KB
Memory Used: 0.344 KB

Page generated in 0.066936016082764 seconds with 16 queries, spending 0.0088701248168945 doing MySQL queries and 0.058065891265869 doing PHP things.
Shutdown Queries:
DISABLED