Including Functions.php

Time Before: 0.00279 seconds
Time After: 0.00553 seconds
Time Taken: 0.00274 seconds

Memory Before: 590.023 KB
Memory After: 599.219 KB
Memory Used: 9.195 KB

Connect to Database on Server: localhost

Time Before: 0.00562 seconds
Time After: 0.00683 seconds
Time Taken: 0.00122 seconds

Memory Before: 599.227 KB
Memory After: 600.125 KB
Memory Used: 0.898 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
1SIMPLEdatastorerangePRIMARYPRIMARY50 18Using index condition

Time Before: 0.00724 seconds
Time After: 0.00771 seconds
Time Taken: 0.00047 seconds

Memory Before: 603.969 KB
Memory After: 604.414 KB
Memory Used: 0.445 KB

Time Before: 0.00692 seconds
Time After: 0.01003 seconds
Time Taken: 0.00311 seconds

Memory Before: 599.922 KB
Memory After: 1,803.484 KB
Memory Used: 1,203.563 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '54.163.22.209'
	AND idhash = '3bbdf487b75bca15a53a43a3546e2c74'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    146Using where

Time Before: 0.01090 seconds
Time After: 0.01106 seconds
Time Taken: 0.00016 seconds

Memory Before: 1,823.219 KB
Memory After: 1,823.625 KB
Memory Used: 0.406 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 = 2
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLElanguageconstPRIMARYPRIMARY2const1 

Time Before: 0.01151 seconds
Time After: 0.01174 seconds
Time Taken: 0.00023 seconds

Memory Before: 1,835.125 KB
Memory After: 1,834.813 KB
Memory Used: -0.313 KB

Time Before: 0.01057 seconds
Time After: 0.01190 seconds
Time Taken: 0.00133 seconds

Memory Before: 1,818.352 KB
Memory After: 1,914.273 KB
Memory Used: 95.922 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 = 37629
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostconstPRIMARYPRIMARY4const1 
1SIMPLEeditlogconstPRIMARYPRIMARY4const0unique row not found

Time Before: 0.01459 seconds
Time After: 0.01469 seconds
Time Taken: 0.00010 seconds

Memory Before: 2,111.602 KB
Memory After: 2,111.844 KB
Memory Used: 0.242 KB

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



thread.*


FROM thread AS thread






WHERE thread.threadid = 12496
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadconstPRIMARYPRIMARY4const1 

Time Before: 0.01503 seconds
Time After: 0.01511 seconds
Time Taken: 0.00009 seconds

Memory Before: 2,119.180 KB
Memory After: 2,119.578 KB
Memory Used: 0.398 KB

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

Time Before: 0.01570 seconds
Time After: 0.01583 seconds
Time Taken: 0.00013 seconds

Memory Before: 2,138.969 KB
Memory After: 2,139.398 KB
Memory Used: 0.430 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (755,70,72,71,154,560,186,187,189,196,195,742,369,355,356,358,357,360,362,363,364,366,368,92,94,96,98,743,398,401,402,399,397,470,471,348,347,349,353,351,498,132,131,133,134,745,744,564,67,66,68,63,62,339,741,291,292,293,559,562,571,312,313,314,315,513,576,575,577,580,677,678,679,680,681,682,683,684,685,686,687,689,688,690,691)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEtemplaterangePRIMARYPRIMARY4 85Using index condition

Time Before: 0.01670 seconds
Time After: 0.01718 seconds
Time Taken: 0.00048 seconds

Memory Before: 2,328.055 KB
Memory After: 2,328.227 KB
Memory Used: 0.172 KB

SQL Query
SELECT userip
FROM cybvilxh_guests AS cybvilxh_guests
WHERE userip = '54.163.22.209'
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEcybvilxh_guestsALL    744Using where

Time Before: 0.02095 seconds
Time After: 0.02109 seconds
Time Taken: 0.00015 seconds

Memory Before: 2,987.719 KB
Memory After: 2,988.164 KB
Memory Used: 0.445 KB

SQL Query
UPDATE cybvilxh_guests
SET dateline = '1542792882'
WHERE userip = '54.163.22.209'

Time Before: 0.02119 seconds
Time After: 0.02232 seconds
Time Taken: 0.00113 seconds

Memory Before: 2,988.391 KB
Memory After: 2,988.727 KB
Memory Used: 0.336 KB

SQL Query
DELETE FROM cybvilxh_guests WHERE dateline < '1542706482'

Time Before: 0.02235 seconds
Time After: 0.02248 seconds
Time Taken: 0.00012 seconds

Memory Before: 2,987.586 KB
Memory After: 2,987.969 KB
Memory Used: 0.383 KB

End call of global.php: 0.023113012313843
SQL Query
SELECT COUNT(*) AS posts
FROM post AS post
WHERE threadid = 12496 AND visible = 1
AND dateline <= 1472023167
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostrefthreadidthreadid4const2Using where

Time Before: 0.02757 seconds
Time After: 0.02766 seconds
Time Taken: 0.00009 seconds

Memory Before: 2,624.430 KB
Memory After: 2,624.867 KB
Memory Used: 0.438 KB

SQL Query
SELECT post.postid
FROM post AS post

WHERE post.threadid = 12496
	AND post.visible = 1
	
	
ORDER BY post.dateline 
LIMIT 0, 10
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostrefthreadidthreadid4const2Using where; Using filesort

Time Before: 0.02803 seconds
Time After: 0.02812 seconds
Time Taken: 0.00009 seconds

Memory Before: 2,632.555 KB
Memory After: 2,632.961 KB
Memory Used: 0.406 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 = 36 AND postparsed.languageid = 2)
LEFT JOIN sigparsed AS sigparsed ON(sigparsed.userid = user.userid AND sigparsed.styleid = 36 AND sigparsed.languageid = 2)
LEFT JOIN sigpic AS sigpic ON(sigpic.userid = post.userid)
	
WHERE post.postid IN (0,36503,37629)
ORDER BY post.dateline
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostrangePRIMARYPRIMARY4 3Using index condition; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4help_lol2.post.userid1 
1SIMPLEuserfieldeq_refPRIMARYPRIMARY4help_lol2.user.userid1 
1SIMPLEusertextfieldeq_refPRIMARYPRIMARY4help_lol2.user.userid1 
1SIMPLEiconeq_refPRIMARYPRIMARY2help_lol2.post.iconid1 
1SIMPLEavatareq_refPRIMARYPRIMARY2help_lol2.user.avatarid1Using where
1SIMPLEcustomavatareq_refPRIMARYPRIMARY4help_lol2.user.userid1 
1SIMPLEeditlogeq_refPRIMARYPRIMARY4help_lol2.post.postid1 
1SIMPLEpostparsedeq_refPRIMARYPRIMARY8help_lol2.post.postid,const,const1 
1SIMPLEsigparsedeq_refPRIMARYPRIMARY8help_lol2.user.userid,const,const1 
1SIMPLEsigpiceq_refPRIMARYPRIMARY4help_lol2.post.userid1 

Time Before: 0.02879 seconds
Time After: 0.02926 seconds
Time Taken: 0.00047 seconds

Memory Before: 2,640.047 KB
Memory After: 2,638.859 KB
Memory Used: -1.188 KB

SQL Query
SELECT template
FROM template
WHERE templateid = 665
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEtemplateconstPRIMARYPRIMARY4const1 

Time Before: 0.03163 seconds
Time After: 0.03287 seconds
Time Taken: 0.00124 seconds

Memory Before: 2,756.406 KB
Memory After: 2,756.891 KB
Memory Used: 0.484 KB

Time after parsing all posts: 0.035129070281982 Memory After: 2,752KB
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 > 1542792382
ORDER BY  username ASC, lastactivity DESC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    146Using where; Using temporary; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4help_lol2.session.userid1 

Time Before: 0.04272 seconds
Time After: 0.04969 seconds
Time Taken: 0.00697 seconds

Memory Before: 2,757.008 KB
Memory After: 2,757.125 KB
Memory Used: 0.117 KB

SQL Query
UPDATE session
SET lastactivity = 1542792882, location = '/vb/showthread.php?p=37629&explain=1', inforum = 92, inthread = 12496, incalendar = 0, badlocation = 0
WHERE sessionhash = '9587940e1492f13e965d2bf712592fb7'

Time Before: 0.05361 seconds
Time After: 0.05766 seconds
Time Taken: 0.00405 seconds

Memory Before: 3,404.023 KB
Memory After: 3,404.227 KB
Memory Used: 0.203 KB

SQL Query
INSERT INTO threadviews (threadid)
VALUES (12496)

Time Before: 0.05771 seconds
Time After: 0.05783 seconds
Time Taken: 0.00012 seconds

Memory Before: 3,398.250 KB
Memory After: 3,398.641 KB
Memory Used: 0.391 KB

Page generated in 0.052321910858154 seconds with 20 queries, spending 0.017455339431763 doing MySQL queries and 0.034866571426392 doing PHP things.
Shutdown Queries:
DISABLED