Including Functions.php

Time Before: 0.00211 seconds
Time After: 0.00301 seconds
Time Taken: 0.00090 seconds

Memory Before: 525.344 KB
Memory After: 548.211 KB
Memory Used: 22.867 KB

Connect to Database on Server: localhost

Time Before: 0.00314 seconds
Time After: 0.00421 seconds
Time Taken: 0.00106 seconds

Memory Before: 548.109 KB
Memory After: 549.102 KB
Memory Used: 0.992 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00434 seconds
Time After: 0.00443 seconds
Time Taken: 0.00009 seconds

Memory Before: 549.688 KB
Memory After: 550.211 KB
Memory Used: 0.523 KB

Datastore Setup
SQL Query
FROM datastore
WHERE title IN ('smiliecache','bbcodecache','options','bitfields','attachmentcache','forumcache','usergroupcache','stylecache','languagecache','products','pluginlist','cron','profilefield','loadcache','noticecache')
1SIMPLEdatastorerangePRIMARYPRIMARY50 15Using index condition

Time Before: 0.00506 seconds
Time After: 0.03694 seconds
Time Taken: 0.03188 seconds

Memory Before: 553.023 KB
Memory After: 553.844 KB
Memory Used: 0.820 KB

Time Before: 0.00448 seconds
Time After: 0.04846 seconds
Time Taken: 0.04398 seconds

Memory Before: 549.461 KB
Memory After: 2,946.508 KB
Memory Used: 2,397.047 KB

SQL Query
FROM datastore
WHERE title IN ('dbtech_ajaxthreads_usergroup')
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.05073 seconds
Time After: 0.05981 seconds
Time Taken: 0.00908 seconds

Memory Before: 3,478.320 KB
Memory After: 3,478.828 KB
Memory Used: 0.508 KB

Session Handling
SQL Query
FROM session
WHERE userid = 0
	AND host = ''
	AND idhash = '96b6a57e9e6c4f8db32d07c58d308e8b'
1SIMPLEsessionrefuser_activity,guest_lookupguest_lookup51const,const,const2Using where

Time Before: 0.06084 seconds
Time After: 0.08513 seconds
Time Taken: 0.02430 seconds

Memory Before: 3,493.633 KB
Memory After: 3,494.273 KB
Memory Used: 0.641 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_infractionlevel AS phrasegroup_infractionlevel,
			phrasegroup_posting AS phrasegroup_posting,
			phrasegroup_profilefield AS phrasegroup_profilefield,
			phrasegroupinfo AS lang_phrasegroupinfo,
			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

Time Before: 0.09697 seconds
Time After: 0.10579 seconds
Time Taken: 0.00883 seconds

Memory Before: 3,506.828 KB
Memory After: 3,506.625 KB
Memory Used: -0.203 KB

Time Before: 0.06005 seconds
Time After: 0.10643 seconds
Time Taken: 0.04638 seconds

Memory Before: 3,487.383 KB
Memory After: 3,703.758 KB
Memory Used: 216.375 KB

SQL Query
SELECT userip
FROM vsavilxh_guests AS vsavilxh_guests
WHERE userip = ''
1SIMPLEvsavilxh_guestsALL    964Using where

Time Before: 0.11371 seconds
Time After: 0.17037 seconds
Time Taken: 0.05666 seconds

Memory Before: 4,172.844 KB
Memory After: 4,173.359 KB
Memory Used: 0.516 KB

SQL Query
UPDATE vsavilxh_guests
SET dateline = '1548237198'
WHERE userip = ''

Time Before: 0.17047 seconds
Time After: 0.19409 seconds
Time Taken: 0.02362 seconds

Memory Before: 4,173.578 KB
Memory After: 4,173.883 KB
Memory Used: 0.305 KB

SQL Query
DELETE FROM vsavilxh_guests WHERE dateline < '1548150798'

Time Before: 0.19420 seconds
Time After: 0.19477 seconds
Time Taken: 0.00057 seconds

Memory Before: 4,172.664 KB
Memory After: 4,173.023 KB
Memory Used: 0.359 KB

SQL Query
FROM style
WHERE (styleid = 12 AND userselect = 1)
	OR styleid = 12
ORDER BY styleid ASC

Time Before: 0.19523 seconds
Time After: 0.19580 seconds
Time Taken: 0.00057 seconds

Memory Before: 4,153.078 KB
Memory After: 4,153.672 KB
Memory Used: 0.594 KB

End call of global.php: 0.19830703735352
SQL Query
FROM datastore
WHERE title IN ('routes')

Time Before: 0.19922 seconds
Time After: 0.24969 seconds
Time Taken: 0.05046 seconds

Memory Before: 4,751.914 KB
Memory After: 4,752.492 KB
Memory Used: 0.578 KB

SQL Query
	userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate, user.languageid AS saved_languageid,
	IF(displaygroupid=0, user.usergroupid, 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 = 3808
1SIMPLEavatarsystemPRIMARY   0const row not found
1SIMPLEusercsscachesystemPRIMARY   0const row not found
1SIMPLEcustomavatarconstPRIMARYPRIMARY4const0unique row not found
1SIMPLEcustomprofilepicconstPRIMARYPRIMARY4const0unique row not found
1SIMPLEsigpicconstPRIMARYPRIMARY4const0unique row not found

Time Before: 0.25337 seconds
Time After: 0.29139 seconds
Time Taken: 0.03802 seconds

Memory Before: 5,073.125 KB
Memory After: 5,073.203 KB
Memory Used: 0.078 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (1179,1206,1169,1170,1172,1178,1177,1070,1072,1074,2212,1078,0,1125,1124,1127,1128,1131,1132,1371,1542,1548,1183,1181,1184,1185,1186,1187,1188,1189,1190,1191,1192,1196,1194,1195,1193,1205,1207,1208,1217,1199,1210,1211,1212,1213,1215,1180,1204,1209,1218,1214,1220,1219,1216,1295,2233,2231,2234,2235,0,0,79,73,72,2344,2347,2101,75,80,81,82,1337,1634,2221,2222,1286,1287,1650,0,0,1613,1615,1307,1308,1310,1311,1534,1577,1576,1626,1578,1137,1136,1140,2249,1937,1931,1932,1129,1130,2226,2330)
1SIMPLEtemplaterangePRIMARYPRIMARY4 99Using index condition

Time Before: 0.29656 seconds
Time After: 0.29716 seconds
Time Taken: 0.00059 seconds

Memory Before: 5,495.148 KB
Memory After: 5,497.508 KB
Memory Used: 2.359 KB

SQL Query
SELECT * FROM molding ORDER BY molding.order ASC
1SIMPLEmoldingALL    11Using filesort

Time Before: 0.29963 seconds
Time After: 0.30794 seconds
Time Taken: 0.00830 seconds

Memory Before: 5,737.703 KB
Memory After: 5,738.852 KB
Memory Used: 1.148 KB

SQL Query
SELECT MAX(dateline) AS lastpost, COUNT(*) AS total
FROM usernote AS usernote
WHERE userid = 3808

Time Before: 0.31178 seconds
Time After: 0.31991 seconds
Time Taken: 0.00813 seconds

Memory Before: 5,732.336 KB
Memory After: 5,732.852 KB
Memory Used: 0.516 KB

SQL Query
SELECT blockid, requirement
FROM profileblockprivacy
WHERE userid = 3808

Time Before: 0.32091 seconds
Time After: 0.32585 seconds
Time Taken: 0.00495 seconds

Memory Before: 5,750.586 KB
Memory After: 5,751.102 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
1SIMPLEpfcsystemPRIMARY   0const row not found
1SIMPLEpfALL    7Using where; Using filesort

Time Before: 0.32645 seconds
Time After: 0.33247 seconds
Time Taken: 0.00602 seconds

Memory Before: 5,751.305 KB
Memory After: 5,752.836 KB
Memory Used: 1.531 KB

SQL Query
	profilevisits = profilevisits + 1
WHERE userid = 3808

Time Before: 0.33501 seconds
Time After: 0.36950 seconds
Time Taken: 0.03449 seconds

Memory Before: 5,798.500 KB
Memory After: 5,798.820 KB
Memory Used: 0.320 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 = 3808
	 AND (visible = 1 OR profilevisitor.visitorid = 0)
ORDER BY profilevisitor.dateline DESC
1SIMPLEprofilevisitorrefPRIMARY,useriduserid4const2Using where; Using filesort

Time Before: 0.37060 seconds
Time After: 0.38997 seconds
Time Taken: 0.01936 seconds

Memory Before: 5,799.805 KB
Memory After: 5,800.172 KB
Memory Used: 0.367 KB

SQL Query
SELECT socialgroup.groupid,, 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
	socialgroupmember.userid = 3808
	AND socialgroupmember.type = 'member'
1SIMPLEsocialgroupmemberrefPRIMARY,groupid,useriduserid5const,const1Using index condition; Using temporary; Using filesort

Time Before: 0.40093 seconds
Time After: 0.40254 seconds
Time Taken: 0.00161 seconds

Memory Before: 5,812.211 KB
Memory After: 5,812.250 KB
Memory Used: 0.039 KB

SQL Query
	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 = 3808
	AND (visitormessage.state IN ('visible'))

ORDER BY visitormessage.dateline DESC
LIMIT 0, 10
1SIMPLEavatarsystemPRIMARY   0const row not found
1SIMPLEvisitormessagerefuseriduserid4const12Using where
1SIMPLEcustomavatareq_refPRIMARYPRIMARY4mihangam_mforum.user.userid1Using where

Time Before: 0.40442 seconds
Time After: 0.42130 seconds
Time Taken: 0.01688 seconds

Memory Before: 5,888.930 KB
Memory After: 5,895.109 KB
Memory Used: 6.180 KB

SQL Query
1SIMPLE       No tables used

Time Before: 0.42317 seconds
Time After: 0.44082 seconds
Time Taken: 0.01765 seconds

Memory Before: 5,892.703 KB
Memory After: 5,893.352 KB
Memory Used: 0.648 KB

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

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

Time Before: 0.48466 seconds
Time After: 0.49362 seconds
Time Taken: 0.00896 seconds

Memory Before: 6,136.719 KB
Memory After: 6,137.070 KB
Memory Used: 0.352 KB

SQL Query
FROM user
WHERE referrerid = 3808
	AND usergroupid NOT IN (3,4)
1SIMPLEuserrefusergroupid,referreridreferrerid4const1Using where

Time Before: 0.49594 seconds
Time After: 0.52190 seconds
Time Taken: 0.02596 seconds

Memory Before: 5,985.297 KB
Memory After: 5,985.820 KB
Memory Used: 0.523 KB

SQL Query
SELECT * FROM customprofile WHERE userid='-1'
/**customprofile- member**/

Time Before: 0.52670 seconds
Time After: 0.54417 seconds
Time Taken: 0.01747 seconds

Memory Before: 6,150.055 KB
Memory After: 6,150.594 KB
Memory Used: 0.539 KB

SQL Query
SELECT * FROM customprofile WHERE userid='-1'
/**customprofile- member**/

Time Before: 0.54549 seconds
Time After: 0.57512 seconds
Time Taken: 0.02964 seconds

Memory Before: 6,167.742 KB
Memory After: 6,168.266 KB
Memory Used: 0.523 KB

SQL Query
UPDATE session
SET lastactivity = 1548237198, location = 'member.php?u=3808', inforum = 0, inthread = 0, badlocation = 0
WHERE sessionhash = '27e12d40df040126e94884ad8cb21feb'

Time Before: 0.58309 seconds
Time After: 0.58862 seconds
Time Taken: 0.00553 seconds

Memory Before: 6,500.836 KB
Memory After: 6,501.047 KB
Memory Used: 0.211 KB

Page generated in 0.57855296134949 seconds with 26 queries, spending 0.45067572593689 doing MySQL queries and 0.1278772354126 doing PHP things.
Shutdown Queries: