Including Functions.php

Time Before: 0.00231 seconds
Time After: 0.00486 seconds
Time Taken: 0.00255 seconds

Memory Before: 457.930 KB
Memory After: 467.125 KB
Memory Used: 9.195 KB

Connect to Database on Server: localhost

Time Before: 0.00491 seconds
Time After: 0.00599 seconds
Time Taken: 0.00107 seconds

Memory Before: 467.133 KB
Memory After: 468.031 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.00638 seconds
Time After: 0.00684 seconds
Time Taken: 0.00046 seconds

Memory Before: 471.750 KB
Memory After: 472.227 KB
Memory Used: 0.477 KB

Time Before: 0.00605 seconds
Time After: 0.00836 seconds
Time Taken: 0.00230 seconds

Memory Before: 467.828 KB
Memory After: 1,662.508 KB
Memory Used: 1,194.680 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '54.167.112.42'
	AND idhash = '76b9c057afd5192552df04c84cf7b0ac'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    437Using where

Time Before: 0.00894 seconds
Time After: 0.00907 seconds
Time Taken: 0.00012 seconds

Memory Before: 1,681.625 KB
Memory After: 1,682.031 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.00944 seconds
Time After: 0.00965 seconds
Time Taken: 0.00021 seconds

Memory Before: 1,693.805 KB
Memory After: 1,693.406 KB
Memory Used: -0.398 KB

Time Before: 0.00871 seconds
Time After: 0.00977 seconds
Time Taken: 0.00107 seconds

Memory Before: 1,676.750 KB
Memory After: 1,812.539 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.01269 seconds
Time After: 0.01281 seconds
Time Taken: 0.00012 seconds

Memory Before: 2,100.781 KB
Memory After: 2,101.211 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.01347 seconds
Time After: 0.01418 seconds
Time Taken: 0.00071 seconds

Memory Before: 2,291.141 KB
Memory After: 2,291.281 KB
Memory Used: 0.141 KB

SQL Query
SELECT userip
FROM cybvilxh_guests AS cybvilxh_guests
WHERE userip = '54.167.112.42'
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEcybvilxh_guestsALL    748Using where

Time Before: 0.01752 seconds
Time After: 0.01779 seconds
Time Taken: 0.00027 seconds

Memory Before: 2,938.555 KB
Memory After: 2,939.000 KB
Memory Used: 0.445 KB

SQL Query
UPDATE cybvilxh_guests
SET dateline = '1542610267'
WHERE userip = '54.167.112.42'

Time Before: 0.01783 seconds
Time After: 0.01951 seconds
Time Taken: 0.00168 seconds

Memory Before: 2,939.227 KB
Memory After: 2,939.563 KB
Memory Used: 0.336 KB

SQL Query
DELETE FROM cybvilxh_guests WHERE dateline < '1542523867'

Time Before: 0.01955 seconds
Time After: 0.01970 seconds
Time Taken: 0.00015 seconds

Memory Before: 2,938.422 KB
Memory After: 2,938.805 KB
Memory Used: 0.383 KB

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

Time Before: 0.02358 seconds
Time After: 0.02389 seconds
Time Taken: 0.00031 seconds

Memory Before: 2,665.578 KB
Memory After: 2,664.664 KB
Memory Used: -0.914 KB

SQL Query
SELECT MAX(dateline) AS lastpost, COUNT(*) AS total
FROM usernote AS usernote
WHERE userid = 5583
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.02882 seconds
Time After: 0.02888 seconds
Time Taken: 0.00006 seconds

Memory Before: 2,906.422 KB
Memory After: 2,906.867 KB
Memory Used: 0.445 KB

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

Time Before: 0.02924 seconds
Time After: 0.02933 seconds
Time Taken: 0.00009 seconds

Memory Before: 2,925.547 KB
Memory After: 2,926.023 KB
Memory Used: 0.477 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.02954 seconds
Time After: 0.02968 seconds
Time Taken: 0.00014 seconds

Memory Before: 2,926.266 KB
Memory After: 2,926.555 KB
Memory Used: 0.289 KB

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

Time Before: 0.03016 seconds
Time After: 0.03030 seconds
Time Taken: 0.00014 seconds

Memory Before: 2,977.102 KB
Memory After: 2,977.453 KB
Memory Used: 0.352 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 = 5583
	 AND (visible = 1 OR profilevisitor.visitorid = 0)
	
ORDER BY profilevisitor.dateline DESC
LIMIT 10
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEprofilevisitorrefPRIMARY,useriduserid4const1Using where; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4help_lol2.profilevisitor.visitorid1 

Time Before: 0.03062 seconds
Time After: 0.03075 seconds
Time Taken: 0.00013 seconds

Memory Before: 2,978.461 KB
Memory After: 2,978.633 KB
Memory Used: 0.172 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 = 5583
	AND socialgroupmember.type = 'member'
ORDER BY socialgroup.name
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.03114 seconds
Time After: 0.03124 seconds
Time Taken: 0.00010 seconds

Memory Before: 2,983.672 KB
Memory After: 2,983.664 KB
Memory Used: -0.008 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 = 5583
	AND (visitormessage.state IN ('visible'))

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

Time Before: 0.03466 seconds
Time After: 0.03490 seconds
Time Taken: 0.00024 seconds

Memory Before: 3,067.906 KB
Memory After: 3,067.594 KB
Memory Used: -0.313 KB

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

Time Before: 0.03503 seconds
Time After: 0.03506 seconds
Time Taken: 0.00003 seconds

Memory Before: 3,065.266 KB
Memory After: 3,065.805 KB
Memory Used: 0.539 KB

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

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

Time Before: 0.03549 seconds
Time After: 0.03559 seconds
Time Taken: 0.00010 seconds

Memory Before: 3,101.672 KB
Memory After: 3,101.953 KB
Memory Used: 0.281 KB

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

Time Before: 0.03819 seconds
Time After: 0.03828 seconds
Time Taken: 0.00009 seconds

Memory Before: 3,104.609 KB
Memory After: 3,105.063 KB
Memory Used: 0.453 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.04122 seconds
Time After: 0.04138 seconds
Time Taken: 0.00016 seconds

Memory Before: 3,496.031 KB
Memory After: 3,496.414 KB
Memory Used: 0.383 KB

SQL Query
UPDATE session
SET lastactivity = 1542610267, location = '/vb/member.php?u=5583&explain=1', inforum = 0, inthread = 0, incalendar = 0, badlocation = 0
WHERE sessionhash = '71c332ec92aad9c9adddddec74ccffec'

Time Before: 0.04224 seconds
Time After: 0.04233 seconds
Time Taken: 0.00009 seconds

Memory Before: 3,611.297 KB
Memory After: 3,611.516 KB
Memory Used: 0.219 KB

Page generated in 0.039999961853027 seconds with 24 queries, spending 0.0066635608673096 doing MySQL queries and 0.033336400985718 doing PHP things.
Shutdown Queries:
DISABLED