Including Functions.php

Time Before: 0.00347 seconds
Time After: 0.00874 seconds
Time Taken: 0.00527 seconds

Memory Before: 1,174.641 KB
Memory After: 1,936.117 KB
Memory Used: 761.477 KB

Connect to Database on Server: localhost

Time Before: 0.00880 seconds
Time After: 0.00910 seconds
Time Taken: 0.00031 seconds

Memory Before: 1,936.102 KB
Memory After: 1,937.055 KB
Memory Used: 0.953 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 where

Time Before: 0.00955 seconds
Time After: 0.00998 seconds
Time Taken: 0.00044 seconds

Memory Before: 1,940.625 KB
Memory After: 1,941.586 KB
Memory Used: 0.961 KB

Time Before: 0.00919 seconds
Time After: 0.01152 seconds
Time Taken: 0.00234 seconds

Memory Before: 1,936.836 KB
Memory After: 3,081.836 KB
Memory Used: 1,145.000 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '54.172.221.7'
	AND idhash = '5beeef1553f061f143479b55a39d44dc'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    1441Using where

Time Before: 0.01209 seconds
Time After: 0.01233 seconds
Time Taken: 0.00024 seconds

Memory Before: 3,117.805 KB
Memory After: 3,118.398 KB
Memory Used: 0.594 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.01268 seconds
Time After: 0.01287 seconds
Time Taken: 0.00018 seconds

Memory Before: 3,129.500 KB
Memory After: 3,129.328 KB
Memory Used: -0.172 KB

Time Before: 0.01185 seconds
Time After: 0.01301 seconds
Time Taken: 0.00116 seconds

Memory Before: 3,113.063 KB
Memory After: 3,230.867 KB
Memory Used: 117.805 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.01477 seconds
Time After: 0.01490 seconds
Time Taken: 0.00012 seconds

Memory Before: 3,425.586 KB
Memory After: 3,426.172 KB
Memory Used: 0.586 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,622,564,67,66,68,63,62,339,619,291,292,293,559,562,571,312,313,314,315,513,576,575,577,580,624,626,627,628,629,630,631,632,633,634,635,636,637,638,639,640,641,642,643,625,737,736,738,740,741,654,658,660,656,672,0,673,675,694,695)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEtemplaterangePRIMARYPRIMARY4 112Using where

Time Before: 0.01595 seconds
Time After: 0.01665 seconds
Time Taken: 0.00070 seconds

Memory Before: 3,657.117 KB
Memory After: 3,659.820 KB
Memory Used: 2.703 KB

SQL Query
SELECT userip
FROM cybvilxh_guests AS cybvilxh_guests
WHERE userip = '54.172.221.7'
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEcybvilxh_guestsALL    534Using where

Time Before: 0.02256 seconds
Time After: 0.02273 seconds
Time Taken: 0.00017 seconds

Memory Before: 5,197.461 KB
Memory After: 5,197.977 KB
Memory Used: 0.516 KB

SQL Query
UPDATE cybvilxh_guests
SET dateline = '1548259885'
WHERE userip = '54.172.221.7'

Time Before: 0.02278 seconds
Time After: 0.10103 seconds
Time Taken: 0.07825 seconds

Memory Before: 5,198.234 KB
Memory After: 5,198.539 KB
Memory Used: 0.305 KB

SQL Query
DELETE FROM cybvilxh_guests WHERE dateline < '1548173485'

Time Before: 0.10115 seconds
Time After: 0.10168 seconds
Time Taken: 0.00053 seconds

Memory Before: 5,197.328 KB
Memory After: 5,197.680 KB
Memory Used: 0.352 KB

End call of global.php: 0.103084087372
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 = 12
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEuserconstPRIMARYPRIMARY4const1 
1SIMPLEuserfieldconstPRIMARYPRIMARY4const1 
1SIMPLEusertextfieldconstPRIMARYPRIMARY4const1 
1SIMPLEavatarconstPRIMARYPRIMARY2const0unique row not found
1SIMPLEcustomavatarconstPRIMARYPRIMARY4const1 
1SIMPLEcustomprofilepicconstPRIMARYPRIMARY4const0unique row not found
1SIMPLEsigpicconstPRIMARYPRIMARY4const0unique row not found
1SIMPLEusercsscacheconstPRIMARYPRIMARY4const0unique row not found

Time Before: 0.11123 seconds
Time After: 0.11158 seconds
Time Taken: 0.00035 seconds

Memory Before: 5,624.336 KB
Memory After: 5,624.570 KB
Memory Used: 0.234 KB

SQL Query
SELECT MAX(dateline) AS lastpost, COUNT(*) AS total
FROM usernote AS usernote
WHERE userid = 12
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEusernoterefuseriduserid4const1 

Time Before: 0.11842 seconds
Time After: 0.11850 seconds
Time Taken: 0.00008 seconds

Memory Before: 6,720.508 KB
Memory After: 6,721.031 KB
Memory Used: 0.523 KB

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

Time Before: 0.11875 seconds
Time After: 0.11882 seconds
Time Taken: 0.00007 seconds

Memory Before: 6,737.172 KB
Memory After: 6,737.688 KB
Memory Used: 0.516 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
1SIMPLEpfALL    4Using where; Using temporary; Using filesort
1SIMPLEpfcALLPRIMARY   1Using where; Using join buffer (Block Nested Loop)

Time Before: 0.11906 seconds
Time After: 0.11956 seconds
Time Taken: 0.00050 seconds

Memory Before: 6,737.938 KB
Memory After: 6,738.953 KB
Memory Used: 1.016 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 = 12
	AND userlist.type = 'buddy'
	AND userlist.friend = 'yes'
	
ORDER BY RAND()
LIMIT 0, 6
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEuserlistrefPRIMARY,relationid,useriduserid6const,const,const11Using where; Using index; Using temporary; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4mo0ojcco_vb.userlist.relationid1 
1SIMPLEavatarALLPRIMARY   1Using where; Using join buffer (Block Nested Loop)
1SIMPLEcustomavatareq_refPRIMARYPRIMARY4mo0ojcco_vb.userlist.relationid1 

Time Before: 0.12029 seconds
Time After: 0.12116 seconds
Time Taken: 0.00086 seconds

Memory Before: 6,773.906 KB
Memory After: 6,779.125 KB
Memory Used: 5.219 KB

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

Time Before: 0.12244 seconds
Time After: 0.13446 seconds
Time Taken: 0.01203 seconds

Memory Before: 6,787.852 KB
Memory After: 6,788.180 KB
Memory Used: 0.328 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 = 12
	 AND (visible = 1 OR profilevisitor.visitorid = 0)
	
ORDER BY profilevisitor.dateline DESC
LIMIT 10
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEprofilevisitorrefPRIMARY,useriduserid4const11Using where; Using index; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4mo0ojcco_vb.profilevisitor.visitorid1 

Time Before: 0.13477 seconds
Time After: 0.13497 seconds
Time Taken: 0.00021 seconds

Memory Before: 6,789.156 KB
Memory After: 6,789.914 KB
Memory Used: 0.758 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 = 12
	AND socialgroupmember.type = 'member'
ORDER BY socialgroup.name
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.13555 seconds
Time After: 0.13565 seconds
Time Taken: 0.00010 seconds

Memory Before: 6,796.813 KB
Memory After: 6,796.844 KB
Memory Used: 0.031 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 = 12
	AND (visitormessage.state IN ('visible'))

	
ORDER BY visitormessage.dateline DESC
LIMIT 0, 10
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvisitormessagerefuseriduserid4const35Using index condition; Using temporary; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4mo0ojcco_vb.visitormessage.postuserid1 
1SIMPLEavatarALLPRIMARY   1Using where; Using join buffer (Block Nested Loop)
1SIMPLEcustomavatareq_refPRIMARYPRIMARY4mo0ojcco_vb.user.userid1 

Time Before: 0.13925 seconds
Time After: 0.14058 seconds
Time Taken: 0.00133 seconds

Memory Before: 7,259.422 KB
Memory After: 7,269.086 KB
Memory Used: 9.664 KB

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

Time Before: 0.14077 seconds
Time After: 0.14082 seconds
Time Taken: 0.00004 seconds

Memory Before: 7,266.625 KB
Memory After: 7,267.273 KB
Memory Used: 0.648 KB

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

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

Time Before: 0.15316 seconds
Time After: 0.15332 seconds
Time Taken: 0.00015 seconds

Memory Before: 7,669.813 KB
Memory After: 7,670.156 KB
Memory Used: 0.344 KB

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

Time Before: 0.15663 seconds
Time After: 0.15674 seconds
Time Taken: 0.00010 seconds

Memory Before: 7,471.172 KB
Memory After: 7,471.695 KB
Memory Used: 0.523 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 = 12
	AND userlist.type = 'buddy'
	AND userlist.friend = 'yes'
	
ORDER BY user.username ASC
LIMIT 0, 10
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEuserlistrefPRIMARY,relationid,useriduserid6const,const,const11Using where; Using index; Using temporary; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4mo0ojcco_vb.userlist.relationid1 
1SIMPLEavatarALLPRIMARY   1Using where; Using join buffer (Block Nested Loop)
1SIMPLEcustomavatareq_refPRIMARYPRIMARY4mo0ojcco_vb.userlist.relationid1 

Time Before: 0.15754 seconds
Time After: 0.15860 seconds
Time Taken: 0.00105 seconds

Memory Before: 7,482.742 KB
Memory After: 7,491.531 KB
Memory Used: 8.789 KB

SQL Query
UPDATE ads_bnr AS ads_bnr SET ads_bnr.views = ads_bnr.views + 1 WHERE id IN(29)

Time Before: 0.16979 seconds
Time After: 0.17612 seconds
Time Taken: 0.00632 seconds

Memory Before: 9,007.961 KB
Memory After: 9,008.281 KB
Memory Used: 0.320 KB

SQL Query
UPDATE session
SET lastactivity = 1548259885, location = '/vb/member.php?u=12&explain=1', inforum = 0, inthread = 0, incalendar = 0, badlocation = 0
WHERE sessionhash = '360cda0f28bc36d8822a60b7e4fa4d98'

Time Before: 0.17622 seconds
Time After: 0.17630 seconds
Time Taken: 0.00008 seconds

Memory Before: 9,011.477 KB
Memory After: 9,011.656 KB
Memory Used: 0.180 KB

Page generated in 0.167809009552 seconds with 24 queries, spending 0.104865789413 doing MySQL queries and 0.0629432201385 doing PHP things.
Shutdown Queries:
DISABLED