Including Functions.php

Time Before: 0.00236 seconds
Time After: 0.00490 seconds
Time Taken: 0.00254 seconds

Memory Before: 457.898 KB
Memory After: 467.094 KB
Memory Used: 9.195 KB

Connect to Database on Server: localhost

Time Before: 0.00495 seconds
Time After: 0.00592 seconds
Time Taken: 0.00097 seconds

Memory Before: 467.102 KB
Memory After: 468.000 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')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEdatastorerangePRIMARYPRIMARY50 16Using index condition

Time Before: 0.00626 seconds
Time After: 0.00664 seconds
Time Taken: 0.00038 seconds

Memory Before: 471.719 KB
Memory After: 472.195 KB
Memory Used: 0.477 KB

Time Before: 0.00598 seconds
Time After: 0.00821 seconds
Time Taken: 0.00223 seconds

Memory Before: 467.797 KB
Memory After: 1,662.461 KB
Memory Used: 1,194.664 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '54.234.13.175'
	AND idhash = '1dbf07d452ade7f190c66bc7723f6481'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    378Using where

Time Before: 0.00878 seconds
Time After: 0.00886 seconds
Time Taken: 0.00008 seconds

Memory Before: 1,681.578 KB
Memory After: 1,681.984 KB
Memory Used: 0.406 KB

SQL Query
SELECT languageid,
			phrasegroup_global AS phrasegroup_global,
			phrasegroup_wol AS phrasegroup_wol,
			phrasegroup_user AS phrasegroup_user,
			phrasegroup_messaging AS phrasegroup_messaging,
			phrasegroup_cprofilefield AS phrasegroup_cprofilefield,
			phrasegroup_reputationlevel AS phrasegroup_reputationlevel,
			phrasegroup_infractionlevel AS phrasegroup_infractionlevel,
			phrasegroup_posting AS phrasegroup_posting,
			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.00917 seconds
Time After: 0.00934 seconds
Time Taken: 0.00017 seconds

Memory Before: 1,693.758 KB
Memory After: 1,693.359 KB
Memory Used: -0.398 KB

Time Before: 0.00858 seconds
Time After: 0.00946 seconds
Time Taken: 0.00088 seconds

Memory Before: 1,676.703 KB
Memory After: 1,812.492 KB
Memory Used: 135.789 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.01235 seconds
Time After: 0.01244 seconds
Time Taken: 0.00009 seconds

Memory Before: 2,100.930 KB
Memory After: 2,101.359 KB
Memory Used: 0.430 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (197,218,186,187,189,196,195,92,94,96,98,132,131,133,134,368,366,521,527,199,200,201,202,203,204,205,206,207,208,212,210,211,209,213,217,219,220,229,223,224,225,226,228,198,216,221,230,232,231,227,399,418,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 92Using index condition

Time Before: 0.01301 seconds
Time After: 0.01352 seconds
Time Taken: 0.00051 seconds

Memory Before: 2,291.188 KB
Memory After: 2,291.328 KB
Memory Used: 0.141 KB

SQL Query
SELECT userip
FROM cybvilxh_guests AS cybvilxh_guests
WHERE userip = '54.234.13.175'
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEcybvilxh_guestsALL    722Using where

Time Before: 0.01666 seconds
Time After: 0.01681 seconds
Time Taken: 0.00015 seconds

Memory Before: 2,938.570 KB
Memory After: 2,939.016 KB
Memory Used: 0.445 KB

SQL Query
UPDATE cybvilxh_guests
SET dateline = '1542291609'
WHERE userip = '54.234.13.175'

Time Before: 0.01685 seconds
Time After: 0.01795 seconds
Time Taken: 0.00110 seconds

Memory Before: 2,939.242 KB
Memory After: 2,939.578 KB
Memory Used: 0.336 KB

SQL Query
DELETE FROM cybvilxh_guests WHERE dateline < '1542205209'

Time Before: 0.01798 seconds
Time After: 0.01810 seconds
Time Taken: 0.00012 seconds

Memory Before: 2,938.438 KB
Memory After: 2,938.820 KB
Memory Used: 0.383 KB

End call of global.php: 0.01863694190979
SQL Query
SELECT 
	userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate, user.languageid AS saved_languageid,
	IF(user.displaygroupid=0, user.usergroupid, user.displaygroupid) AS displaygroupid, avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline, customavatar.width AS avwidth, customavatar.height AS avheight, customavatar.height_thumb AS avheight_thumb, customavatar.width_thumb AS avwidth_thumb, customavatar.filedata_thumb, customprofilepic.userid AS profilepic, customprofilepic.dateline AS profilepicdateline, customprofilepic.width AS ppwidth, customprofilepic.height AS ppheight, sigpic.userid AS sigpic, sigpic.dateline AS sigpicdateline, sigpic.width AS sigpicwidth, sigpic.height AS sigpicheight, usercsscache.cachedcss, IF(usercsscache.cachedcss IS NULL, 0, 1) AS hascachedcss, usercsscache.buildpermissions AS cssbuildpermissions
	
FROM user AS user
LEFT JOIN userfield AS userfield ON (user.userid = userfield.userid)
LEFT JOIN usertextfield AS usertextfield ON (usertextfield.userid = user.userid) LEFT JOIN avatar AS avatar ON (avatar.avatarid = user.avatarid) LEFT JOIN customavatar AS customavatar ON (customavatar.userid = user.userid) LEFT JOIN customprofilepic AS customprofilepic ON (user.userid = customprofilepic.userid) LEFT JOIN sigpic AS sigpic ON (user.userid = sigpic.userid) LEFT JOIN usercsscache AS usercsscache ON (user.userid = usercsscache.userid)

WHERE user.userid = 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEuserconstPRIMARYPRIMARY4const1 
1SIMPLEuserfieldconstPRIMARYPRIMARY4const1 
1SIMPLEusertextfieldconstPRIMARYPRIMARY4const1 
1SIMPLEavatarconstPRIMARYPRIMARY2const0unique row not found
1SIMPLEcustomavatarconstPRIMARYPRIMARY4const1 
1SIMPLEcustomprofilepicconstPRIMARYPRIMARY4const1 
1SIMPLEsigpicconstPRIMARYPRIMARY4const0unique row not found
1SIMPLEusercsscacheconstPRIMARYPRIMARY4const1 

Time Before: 0.02194 seconds
Time After: 0.02225 seconds
Time Taken: 0.00031 seconds

Memory Before: 2,665.500 KB
Memory After: 2,664.578 KB
Memory Used: -0.922 KB

SQL Query
SELECT blockid, requirement
FROM profileblockprivacy
WHERE userid = 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEprofileblockprivacyrefPRIMARYPRIMARY4const1 

Time Before: 0.02723 seconds
Time After: 0.02729 seconds
Time Taken: 0.00006 seconds

Memory Before: 2,927.203 KB
Memory After: 2,927.672 KB
Memory Used: 0.469 KB

SQL Query
SELECT pf.profilefieldcategoryid, pfc.location, pf.*
FROM profilefield AS pf
LEFT JOIN profilefieldcategory AS pfc ON(pfc.profilefieldcategoryid = pf.profilefieldcategoryid)
WHERE pf.form = 0 
		AND pf.hidden = 0
ORDER BY pfc.displayorder, pf.displayorder
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpfcsystemPRIMARY   0const row not found
1SIMPLEpfALL    7Using where; Using filesort

Time Before: 0.02749 seconds
Time After: 0.02760 seconds
Time Taken: 0.00012 seconds

Memory Before: 2,927.922 KB
Memory After: 2,928.211 KB
Memory Used: 0.289 KB

SQL Query
SELECT user.*, (user.options & 512) AS invisible , avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustom, customavatar.dateline AS avatardateline, customavatar.filedata_thumb, customavatar.height AS avheight, customavatar.width AS avwidth, customavatar.width_thumb AS avwidth_thumb, customavatar.height_thumb AS avheight_thumb
	
FROM userlist AS userlist
INNER JOIN user AS user ON (user.userid = userlist.relationid)
LEFT JOIN avatar AS avatar ON (avatar.avatarid = user.avatarid)
LEFT JOIN customavatar AS customavatar ON (customavatar.userid = user.userid) 

WHERE userlist.userid = 1
	AND userlist.type = 'buddy'
	AND userlist.friend = 'yes'
	
ORDER BY RAND()
LIMIT 0, 6
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEuserlistrefPRIMARY,relationid,useridPRIMARY4const21Using index condition; Using where; Using temporary; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4help_lol2.userlist.relationid1 
1SIMPLEavatareq_refPRIMARYPRIMARY2help_lol2.user.avatarid1Using where
1SIMPLEcustomavatareq_refPRIMARYPRIMARY4help_lol2.userlist.relationid1 

Time Before: 0.02874 seconds
Time After: 0.02961 seconds
Time Taken: 0.00087 seconds

Memory Before: 2,977.117 KB
Memory After: 2,976.953 KB
Memory Used: -0.164 KB

SQL Query
UPDATE user SET
	profilevisits = profilevisits + 1
WHERE userid = 1

Time Before: 0.03127 seconds
Time After: 0.03136 seconds
Time Taken: 0.00010 seconds

Memory Before: 2,994.148 KB
Memory After: 2,994.508 KB
Memory Used: 0.359 KB

SQL Query
SELECT user.userid, user.username, user.usergroupid, user.displaygroupid, profilevisitor.visible, user.infractiongroupid
	
FROM profilevisitor AS profilevisitor
INNER JOIN user AS user ON (user.userid = profilevisitor.visitorid)

WHERE profilevisitor.userid = 1
	 AND (visible = 1 OR profilevisitor.visitorid = 0)
	
ORDER BY profilevisitor.dateline DESC
LIMIT 10
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEprofilevisitorrefPRIMARY,useriduserid4const11Using where; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4help_lol2.profilevisitor.visitorid1 

Time Before: 0.03168 seconds
Time After: 0.03186 seconds
Time Taken: 0.00018 seconds

Memory Before: 2,995.516 KB
Memory After: 2,995.680 KB
Memory Used: 0.164 KB

SQL Query
SELECT socialgroup.groupid, socialgroup.name, socialgroup.description, socialgroup.dateline, sgicon.dateline AS icondateline,
	sgicon.thumbnail_width AS iconthumb_width, sgicon.thumbnail_height AS iconthumb_height
FROM socialgroupmember AS socialgroupmember
INNER JOIN socialgroup AS socialgroup ON
	(socialgroup.groupid = socialgroupmember.groupid)
LEFT JOIN socialgroupicon AS sgicon ON sgicon.groupid = socialgroup.groupid
WHERE
	socialgroupmember.userid = 1
	AND socialgroupmember.type = 'member'
ORDER BY socialgroup.name
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.03236 seconds
Time After: 0.03244 seconds
Time Taken: 0.00008 seconds

Memory Before: 3,006.188 KB
Memory After: 3,006.188 KB
Memory Used: 0.000 KB

SQL Query
SELECT SQL_CALC_FOUND_ROWS
	visitormessage.*, user.*, visitormessage.ipaddress AS messageipaddress
	
	
	,avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight, customavatar.width_thumb AS avwidth_thumb, customavatar.height_thumb AS avheight_thumb, filedata_thumb, NOT ISNULL(customavatar.userid) AS hascustom
	
FROM visitormessage AS visitormessage
LEFT JOIN user AS user ON (visitormessage.postuserid = user.userid)

LEFT JOIN avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN customavatar AS customavatar ON(customavatar.userid = user.userid)


WHERE visitormessage.userid = 1
	AND (visitormessage.state IN ('visible'))

	
ORDER BY visitormessage.dateline DESC
LIMIT 0, 10
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvisitormessagerefuseriduserid4const70Using where
1SIMPLEusereq_refPRIMARYPRIMARY4help_lol2.visitormessage.postuserid1 
1SIMPLEavatareq_refPRIMARYPRIMARY2help_lol2.user.avatarid1Using where
1SIMPLEcustomavatareq_refPRIMARYPRIMARY4help_lol2.user.userid1 

Time Before: 0.03575 seconds
Time After: 0.06493 seconds
Time Taken: 0.02918 seconds

Memory Before: 3,090.297 KB
Memory After: 3,089.992 KB
Memory Used: -0.305 KB

SQL Query
SELECT FOUND_ROWS()
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       No tables used

Time Before: 0.06515 seconds
Time After: 0.06519 seconds
Time Taken: 0.00004 seconds

Memory Before: 3,087.664 KB
Memory After: 3,088.203 KB
Memory Used: 0.539 KB

SQL Query
SELECT COUNT(*) AS messages, MAX(visitormessage.dateline) AS dateline
FROM visitormessage AS visitormessage

WHERE visitormessage.userid = 1
	AND (visitormessage.state IN ('visible') OR (visitormessage.postuserid = 0 AND state = 'moderation'))
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvisitormessagerefpostuserid,useriduserid4const70Using index condition; Using where

Time Before: 0.07362 seconds
Time After: 0.07384 seconds
Time Taken: 0.00023 seconds

Memory Before: 3,258.383 KB
Memory After: 3,258.656 KB
Memory Used: 0.273 KB

SQL Query
SELECT COUNT(*) AS count
FROM user
WHERE referrerid = 1
	AND usergroupid NOT IN (3,4)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEuserrefusergroupid,referreridreferrerid4const36Using where

Time Before: 0.07744 seconds
Time After: 0.07760 seconds
Time Taken: 0.00017 seconds

Memory Before: 3,169.422 KB
Memory After: 3,169.891 KB
Memory Used: 0.469 KB

SQL Query
SELECT user.*, (user.options & 512) AS invisible , avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustom, customavatar.dateline AS avatardateline, customavatar.filedata_thumb, customavatar.height AS avheight, customavatar.width AS avwidth, customavatar.width_thumb AS avwidth_thumb, customavatar.height_thumb AS avheight_thumb
	
FROM userlist AS userlist
INNER JOIN user AS user ON (user.userid = userlist.relationid)
LEFT JOIN avatar AS avatar ON (avatar.avatarid = user.avatarid)
LEFT JOIN customavatar AS customavatar ON (customavatar.userid = user.userid) 

WHERE userlist.userid = 1
	AND userlist.type = 'buddy'
	AND userlist.friend = 'yes'
	
ORDER BY user.username ASC
LIMIT 0, 10
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEuserlistrefPRIMARY,relationid,useridPRIMARY4const21Using index condition; Using where; Using temporary; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4help_lol2.userlist.relationid1 
1SIMPLEavatareq_refPRIMARYPRIMARY2help_lol2.user.avatarid1Using where
1SIMPLEcustomavatareq_refPRIMARYPRIMARY4help_lol2.userlist.relationid1 

Time Before: 0.07851 seconds
Time After: 0.07945 seconds
Time Taken: 0.00094 seconds

Memory Before: 3,181.898 KB
Memory After: 3,181.711 KB
Memory Used: -0.188 KB

SQL Query
SELECT forum.forumid, lastpost, lastposter, lastthread, lastthreadid, lasticonid, threadcount, replycount, lastpostid, lastprefixid
	
FROM forum AS forum
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEforumALL    82 

Time Before: 0.08470 seconds
Time After: 0.08486 seconds
Time Taken: 0.00016 seconds

Memory Before: 3,743.953 KB
Memory After: 3,744.313 KB
Memory Used: 0.359 KB

SQL Query
UPDATE session
SET lastactivity = 1542291609, location = '/vb/member.php?u=1&explain=1', inforum = 0, inthread = 0, incalendar = 0, badlocation = 0
WHERE sessionhash = '2f91a73678fbd0d1f803503e198f51c7'

Time Before: 0.08579 seconds
Time After: 0.08588 seconds
Time Taken: 0.00009 seconds

Memory Before: 3,823.398 KB
Memory After: 3,823.609 KB
Memory Used: 0.211 KB

Page generated in 0.083178997039795 seconds with 25 queries, spending 0.03620982170105 doing MySQL queries and 0.046969175338745 doing PHP things.
Shutdown Queries:
DISABLED