Including Functions.php

Time Before: 0.00342 seconds
Time After: 0.00864 seconds
Time Taken: 0.00521 seconds

Memory Before: 1,176.453 KB
Memory After: 1,938.156 KB
Memory Used: 761.703 KB

Connect to Database on Server: localhost

Time Before: 0.00869 seconds
Time After: 0.00901 seconds
Time Taken: 0.00031 seconds

Memory Before: 1,938.141 KB
Memory After: 1,939.094 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_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEdatastore rangePRIMARYPRIMARY50 16100.00Using where

Time Before: 0.00949 seconds
Time After: 0.00998 seconds
Time Taken: 0.00048 seconds

Memory Before: 1,942.734 KB
Memory After: 1,943.688 KB
Memory Used: 0.953 KB

Time Before: 0.00909 seconds
Time After: 0.01149 seconds
Time Taken: 0.00240 seconds

Memory Before: 1,938.875 KB
Memory After: 3,083.984 KB
Memory Used: 1,145.109 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '107.23.176.162'
	AND idhash = 'f9efa1b0f6f924b25f801a1dc8d23e5c'
LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEsession ALL    15520.10Using where

Time Before: 0.01210 seconds
Time After: 0.01235 seconds
Time Taken: 0.00025 seconds

Memory Before: 3,120.055 KB
Memory After: 3,120.633 KB
Memory Used: 0.578 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_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLElanguage constPRIMARYPRIMARY2const1100.00 

Time Before: 0.01279 seconds
Time After: 0.01303 seconds
Time Taken: 0.00024 seconds

Memory Before: 3,131.805 KB
Memory After: 3,131.625 KB
Memory Used: -0.180 KB

Time Before: 0.01180 seconds
Time After: 0.01316 seconds
Time Taken: 0.00135 seconds

Memory Before: 3,115.227 KB
Memory After: 3,233.164 KB
Memory Used: 117.938 KB

SQL Query
SELECT *
FROM style
WHERE (styleid = 2 AND userselect = 1)
	OR styleid = 2
ORDER BY styleid ASC
LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEstyle constPRIMARYPRIMARY2const1100.00 

Time Before: 0.01501 seconds
Time After: 0.01516 seconds
Time Taken: 0.00015 seconds

Memory Before: 3,427.773 KB
Memory After: 3,428.359 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_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEtemplate rangePRIMARYPRIMARY4 112100.00Using where

Time Before: 0.01626 seconds
Time After: 0.01710 seconds
Time Taken: 0.00084 seconds

Memory Before: 3,659.414 KB
Memory After: 3,662.117 KB
Memory Used: 2.703 KB

SQL Query
SELECT userip
FROM cybvilxh_guests AS cybvilxh_guests
WHERE userip = '107.23.176.162'
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEcybvilxh_guests ALL    61110.00Using where

Time Before: 0.02305 seconds
Time After: 0.02326 seconds
Time Taken: 0.00021 seconds

Memory Before: 5,269.328 KB
Memory After: 5,269.852 KB
Memory Used: 0.523 KB

SQL Query
UPDATE cybvilxh_guests
SET dateline = '1553317139'
WHERE userip = '107.23.176.162'

Time Before: 0.02330 seconds
Time After: 0.10358 seconds
Time Taken: 0.08028 seconds

Memory Before: 5,270.039 KB
Memory After: 5,270.344 KB
Memory Used: 0.305 KB

SQL Query
DELETE FROM cybvilxh_guests WHERE dateline < '1553230739'

Time Before: 0.10365 seconds
Time After: 0.10439 seconds
Time Taken: 0.00074 seconds

Memory Before: 5,269.133 KB
Memory After: 5,269.484 KB
Memory Used: 0.352 KB

End call of global.php: 0.105242967606
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_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEuser constPRIMARYPRIMARY4const1100.00 
1SIMPLEuserfield constPRIMARYPRIMARY4const1100.00 
1SIMPLEusertextfield constPRIMARYPRIMARY4const1100.00 
1SIMPLEavatar constPRIMARYPRIMARY2const00.00unique row not found
1SIMPLEcustomavatar constPRIMARYPRIMARY4const1100.00 
1SIMPLEcustomprofilepic constPRIMARYPRIMARY4const00.00unique row not found
1SIMPLEsigpic constPRIMARYPRIMARY4const00.00unique row not found
1SIMPLEusercsscache constPRIMARYPRIMARY4const00.00unique row not found

Time Before: 0.11063 seconds
Time After: 0.11100 seconds
Time Taken: 0.00037 seconds

Memory Before: 5,696.750 KB
Memory After: 5,696.977 KB
Memory Used: 0.227 KB

SQL Query
SELECT MAX(dateline) AS lastpost, COUNT(*) AS total
FROM usernote AS usernote
WHERE userid = 12
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEusernote refuseriduserid4const1100.00 

Time Before: 0.11798 seconds
Time After: 0.11809 seconds
Time Taken: 0.00011 seconds

Memory Before: 6,793.156 KB
Memory After: 6,793.672 KB
Memory Used: 0.516 KB

SQL Query
SELECT blockid, requirement
FROM profileblockprivacy
WHERE userid = 12
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEprofileblockprivacy refPRIMARYPRIMARY4const1100.00 

Time Before: 0.11840 seconds
Time After: 0.11849 seconds
Time Taken: 0.00009 seconds

Memory Before: 6,809.836 KB
Memory After: 6,810.352 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_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEpf ALL    425.00Using where; Using temporary; Using filesort
1SIMPLEpfc eq_refPRIMARYPRIMARY2mo0ojcco_vb.pf.profilefieldcategoryid1100.00 

Time Before: 0.11883 seconds
Time After: 0.11916 seconds
Time Taken: 0.00033 seconds

Memory Before: 6,810.617 KB
Memory After: 6,811.633 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_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEuserlist refPRIMARY,relationid,useridPRIMARY4const1112.50Using where; Using temporary; Using filesort
1SIMPLEuser eq_refPRIMARYPRIMARY4mo0ojcco_vb.userlist.relationid1100.00 
1SIMPLEavatar ALLPRIMARY   1100.00Using where; Using join buffer (Block Nested Loop)
1SIMPLEcustomavatar eq_refPRIMARYPRIMARY4mo0ojcco_vb.userlist.relationid1100.00 

Time Before: 0.12018 seconds
Time After: 0.12125 seconds
Time Taken: 0.00107 seconds

Memory Before: 6,846.641 KB
Memory After: 6,851.867 KB
Memory Used: 5.227 KB

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

Time Before: 0.12247 seconds
Time After: 0.12859 seconds
Time Taken: 0.00612 seconds

Memory Before: 6,860.266 KB
Memory After: 6,860.594 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_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEprofilevisitor refPRIMARY,useriduserid4const1111.10Using where; Using index; Using filesort
1SIMPLEuser eq_refPRIMARYPRIMARY4mo0ojcco_vb.profilevisitor.visitorid1100.00 

Time Before: 0.12894 seconds
Time After: 0.12915 seconds
Time Taken: 0.00021 seconds

Memory Before: 6,861.664 KB
Memory After: 6,862.422 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_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLE         no matching row in const table

Time Before: 0.12982 seconds
Time After: 0.12994 seconds
Time Taken: 0.00012 seconds

Memory Before: 6,869.266 KB
Memory After: 6,869.305 KB
Memory Used: 0.039 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_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEvisitormessage refuseriduserid4const3633.33Using index condition; Using temporary; Using filesort
1SIMPLEuser eq_refPRIMARYPRIMARY4mo0ojcco_vb.visitormessage.postuserid1100.00 
1SIMPLEavatar ALLPRIMARY   1100.00Using where; Using join buffer (Block Nested Loop)
1SIMPLEcustomavatar eq_refPRIMARYPRIMARY4mo0ojcco_vb.user.userid1100.00 

Time Before: 0.13369 seconds
Time After: 0.13579 seconds
Time Taken: 0.00210 seconds

Memory Before: 7,332.305 KB
Memory After: 7,341.961 KB
Memory Used: 9.656 KB

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

Time Before: 0.13600 seconds
Time After: 0.13606 seconds
Time Taken: 0.00005 seconds

Memory Before: 7,339.422 KB
Memory After: 7,340.063 KB
Memory Used: 0.641 KB

SQL Query
SELECT COUNT(*) AS count
FROM user
WHERE referrerid = 12
	AND usergroupid NOT IN (3,4)
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEuser refusergroupid,referreridreferrerid4const195.44Using where

Time Before: 0.15164 seconds
Time After: 0.15176 seconds
Time Taken: 0.00011 seconds

Memory Before: 7,546.734 KB
Memory After: 7,547.258 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_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEuserlist refPRIMARY,relationid,useridPRIMARY4const1112.50Using where; Using temporary; Using filesort
1SIMPLEuser eq_refPRIMARYPRIMARY4mo0ojcco_vb.userlist.relationid1100.00 
1SIMPLEavatar ALLPRIMARY   1100.00Using where; Using join buffer (Block Nested Loop)
1SIMPLEcustomavatar eq_refPRIMARYPRIMARY4mo0ojcco_vb.userlist.relationid1100.00 

Time Before: 0.15278 seconds
Time After: 0.15390 seconds
Time Taken: 0.00113 seconds

Memory Before: 7,558.492 KB
Memory After: 7,567.234 KB
Memory Used: 8.742 KB

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

Time Before: 0.16487 seconds
Time After: 0.17028 seconds
Time Taken: 0.00541 seconds

Memory Before: 9,124.828 KB
Memory After: 9,125.148 KB
Memory Used: 0.320 KB

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

Time Before: 0.17041 seconds
Time After: 0.17051 seconds
Time Taken: 0.00010 seconds

Memory Before: 9,128.352 KB
Memory After: 9,128.531 KB
Memory Used: 0.180 KB

Page generated in 0.162836074829 seconds with 23 queries, spending 0.101328849792 doing MySQL queries and 0.0615072250366 doing PHP things.
Shutdown Queries:
DISABLED