Including Functions.php

Time Before: 0.00114 seconds
Time After: 0.00159 seconds
Time Taken: 0.00045 seconds

Memory Before: 506.805 KB
Memory After: 529.141 KB
Memory Used: 22.336 KB

Connect to Database on Server: localhost

Time Before: 0.00167 seconds
Time After: 0.01403 seconds
Time Taken: 0.01236 seconds

Memory Before: 529.078 KB
Memory After: 530.070 KB
Memory Used: 0.992 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.01418 seconds
Time After: 0.04419 seconds
Time Taken: 0.03001 seconds

Memory Before: 530.656 KB
Memory After: 531.180 KB
Memory Used: 0.523 KB

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

Time Before: 0.08823 seconds
Time After: 0.08888 seconds
Time Taken: 0.00065 seconds

Memory Before: 534.125 KB
Memory After: 534.977 KB
Memory Used: 0.852 KB

Time Before: 0.04424 seconds
Time After: 0.09418 seconds
Time Taken: 0.04994 seconds

Memory Before: 530.398 KB
Memory After: 2,934.695 KB
Memory Used: 2,404.297 KB

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

Time Before: 0.09600 seconds
Time After: 0.09610 seconds
Time Taken: 0.00010 seconds

Memory Before: 3,417.047 KB
Memory After: 3,417.555 KB
Memory Used: 0.508 KB

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

Time Before: 0.12021 seconds
Time After: 0.12049 seconds
Time Taken: 0.00028 seconds

Memory Before: 3,433.992 KB
Memory After: 3,434.625 KB
Memory Used: 0.633 KB

SQL Query
SELECT languageid,
			phrasegroup_global AS phrasegroup_global,
			phrasegroup_posting AS phrasegroup_posting,
			phrasegroup_postbit AS phrasegroup_postbit,
			phrasegroup_showthread AS phrasegroup_showthread,
			phrasegroup_inlinemod AS phrasegroup_inlinemod,
			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.12163 seconds
Time After: 0.12179 seconds
Time Taken: 0.00016 seconds

Memory Before: 3,446.258 KB
Memory After: 3,446.188 KB
Memory Used: -0.070 KB

Time Before: 0.09627 seconds
Time After: 0.12195 seconds
Time Taken: 0.02568 seconds

Memory Before: 3,426.602 KB
Memory After: 3,568.906 KB
Memory Used: 142.305 KB

SQL Query
SELECT IF(thread.visible = 2, 1, 0) AS isdeleted,

post.pagetext AS description,

FROM thread AS thread

LEFT JOIN post AS post ON(post.postid = thread.firstpostid)

WHERE thread.threadid = 912

Time Before: 0.13218 seconds
Time After: 0.13383 seconds
Time Taken: 0.00164 seconds

Memory Before: 3,867.141 KB
Memory After: 3,867.758 KB
Memory Used: 0.617 KB

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

Time Before: 0.13906 seconds
Time After: 0.22504 seconds
Time Taken: 0.08599 seconds

Memory Before: 3,927.203 KB
Memory After: 3,927.727 KB
Memory Used: 0.523 KB

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

Time Before: 0.22511 seconds
Time After: 0.39982 seconds
Time Taken: 0.17470 seconds

Memory Before: 3,927.938 KB
Memory After: 3,928.242 KB
Memory Used: 0.305 KB

SQL Query
DELETE FROM vsavilxh_guests WHERE dateline < '1568492164'

Time Before: 0.39988 seconds
Time After: 0.40067 seconds
Time Taken: 0.00080 seconds

Memory Before: 3,927.023 KB
Memory After: 3,927.375 KB
Memory Used: 0.352 KB

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

Time Before: 0.40123 seconds
Time After: 0.40140 seconds
Time Taken: 0.00018 seconds

Memory Before: 3,907.422 KB
Memory After: 3,908.016 KB
Memory Used: 0.594 KB

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

Time Before: 0.40398 seconds
Time After: 0.40408 seconds
Time Taken: 0.00010 seconds

Memory Before: 4,500.953 KB
Memory After: 4,501.531 KB
Memory Used: 0.578 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (81,80,82,83,1622,1169,1170,1172,1178,1177,2226,1373,1359,1360,1362,1361,1364,1366,1367,1368,1371,1070,1072,1074,2212,1078,2228,1427,1428,1429,1426,1496,1347,1346,1348,1353,1351,1520,1131,1132,1295,1125,1124,1127,1128,1141,1139,2233,2231,2234,2235,0,0,79,73,72,2344,2347,2101,75,1337,1634,2221,2222,1286,1287,1650,0,0,1613,1615,1307,1308,1310,1311,1534,1577,1576,1626,1578,1137,1136,1140,2249,2248,1934,1935,1936,1938,1931,1932,1129,1130,2325,2323,2322,2330)
1SIMPLEtemplaterangePRIMARYPRIMARY4 94Using index condition

Time Before: 0.41180 seconds
Time After: 0.41209 seconds
Time Taken: 0.00029 seconds

Memory Before: 5,096.227 KB
Memory After: 5,098.477 KB
Memory Used: 2.250 KB

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

Time Before: 0.41497 seconds
Time After: 0.42062 seconds
Time Taken: 0.00565 seconds

Memory Before: 5,302.469 KB
Memory After: 5,303.617 KB
Memory Used: 1.148 KB

SQL Query
SELECT  post.postid, post.attach
FROM post AS post

WHERE post.threadid = 912
	AND post.visible = 1
ORDER BY post.dateline 
LIMIT 10, 10
1SIMPLEpostrangethreadid,threadid_visible_datelinethreadid_visible_dateline6 69Using where

Time Before: 0.42956 seconds
Time After: 0.42993 seconds
Time Taken: 0.00037 seconds

Memory Before: 5,172.914 KB
Memory After: 5,173.602 KB
Memory Used: 0.688 KB

SQL Query
SELECT data, expires, locktime, serialized
FROM cache
WHERE cacheid = 'vb_types.types'
1SIMPLEcachesystemPRIMARY   1 

Time Before: 0.43600 seconds
Time After: 0.43611 seconds
Time Taken: 0.00011 seconds

Memory Before: 5,276.578 KB
Memory After: 5,277.125 KB
Memory Used: 0.547 KB

SQL Query
				fd.thumbnail_dateline, fd.filesize, IF(fd.thumbnail_filesize > 0, 1, 0) AS hasthumbnail, fd.thumbnail_filesize,
				a.dateline, a.state, a.attachmentid, a.counter, a.contentid, a.filename, a.userid, a.settings, a.displayorder,
			FROM attachment AS a
			INNER JOIN filedata AS fd ON (fd.filedataid = a.filedataid)
			LEFT JOIN attachmenttype AS at ON (at.extension = fd.extension)
					a.contentid IN (5638,5705)
					a.contenttypeid = 1

ORDER BY a.contentid, a.displayorder
1SIMPLEarangecontenttypeid,contentid,filedataidcontenttypeid8 3Using index condition; Using filesort
1SIMPLEateq_refPRIMARYPRIMARY20mihangam_mforum.fd.extension1Using where

Time Before: 0.43694 seconds
Time After: 0.43716 seconds
Time Taken: 0.00023 seconds

Memory Before: 5,325.352 KB
Memory After: 5,325.875 KB
Memory Used: 0.523 KB

SQL Query
	post.*, post.username AS postusername, post.ipaddress AS ip, IF(post.visible = 2, 1, 0) AS isdeleted,
	user.*, userfield.*, usertextfield.*,
	icon.title as icontitle, icon.iconpath,
	avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight,
	editlog.userid AS edit_userid, editlog.username AS edit_username, editlog.dateline AS edit_dateline,
	editlog.reason AS edit_reason, editlog.hashistory,
	postparsed.pagetext_html, postparsed.hasimages,
	sigparsed.signatureparsed, sigparsed.hasimages AS sighasimages,
	sigpic.userid AS sigpic, sigpic.dateline AS sigpicdateline, sigpic.width AS sigpicwidth, sigpic.height AS sigpicheight,
	IF(user.displaygroupid=0, user.usergroupid, user.displaygroupid) AS displaygroupid, infractiongroupid
FROM post AS post
LEFT JOIN user AS user ON(user.userid = post.userid)
LEFT JOIN userfield AS userfield ON(userfield.userid = user.userid)
LEFT JOIN usertextfield AS usertextfield ON(usertextfield.userid = user.userid)
LEFT JOIN icon AS icon ON(icon.iconid = post.iconid)
LEFT JOIN avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN customavatar AS customavatar ON(customavatar.userid = user.userid)

LEFT JOIN editlog AS editlog ON(editlog.postid = post.postid)
LEFT JOIN postparsed AS postparsed ON(postparsed.postid = post.postid AND postparsed.styleid = 12 AND postparsed.languageid = 2)
LEFT JOIN sigparsed AS sigparsed ON(sigparsed.userid = user.userid AND sigparsed.styleid = 12 AND sigparsed.languageid = 2)
LEFT JOIN sigpic AS sigpic ON(sigpic.userid = post.userid)

WHERE post.postid IN (05604,5638,5640,5651,5699,5700,5704,5705,5707,5717,5718)
ORDER BY post.dateline
1SIMPLEavatarsystemPRIMARY   0Const row not found
1SIMPLEpostrangePRIMARYPRIMARY4 11Using index condition; Using filesort 
1SIMPLEcustomavatareq_refPRIMARYPRIMARY4mihangam_mforum.user.userid1Using where 
1SIMPLEuserfieldeq_refPRIMARYPRIMARY4mihangam_mforum.user.userid1Using where
1SIMPLEusertextfieldeq_refPRIMARYPRIMARY4mihangam_mforum.user.userid1Using where,const,const1 
1SIMPLEsigparsedeq_refPRIMARYPRIMARY8mihangam_mforum.user.userid,const,const1Using where 

Time Before: 0.43912 seconds
Time After: 0.44158 seconds
Time Taken: 0.00246 seconds

Memory Before: 5,342.625 KB
Memory After: 5,353.555 KB
Memory Used: 10.930 KB

SQL Query
SELECT * FROM post_thanks AS post_thanks INNER JOIN user AS user USING (userid) WHERE post_thanks.postid IN (5604,5638,5640,5651,5699,5700,5704,5705,5707,5717,5718) ORDER BY post_thanks.username ASC
1SIMPLEpost_thanksrangepostidpostid4 17Using index condition; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4mihangam_mforum.post_thanks.userid1Using index condition

Time Before: 0.45141 seconds
Time After: 0.45246 seconds
Time Taken: 0.00105 seconds

Memory Before: 5,553.070 KB
Memory After: 5,562.109 KB
Memory Used: 9.039 KB

Time after parsing all posts: 0.51469588279724 Memory After: 5,569KB
SQL Query
SELECT user.username, user.usergroupid, user.membergroupids,
	session.userid, session.inthread, session.lastactivity, session.badlocation,
	IF(user.displaygroupid = 0, user.usergroupid, user.displaygroupid) AS displaygroupid, infractiongroupid,
	IF(user.options & 512, 1, 0) AS invisible
FROM session AS session
LEFT JOIN user AS user ON(user.userid = session.userid)
WHERE session.lastactivity > 1568577664
ORDER BY  username ASC, lastactivity DESC
1SIMPLEsessionrangelast_activitylast_activity4 24Using where; Using temporary; Using filesort

Time Before: 0.52219 seconds
Time After: 0.52688 seconds
Time Taken: 0.00469 seconds

Memory Before: 5,573.016 KB
Memory After: 5,581.750 KB
Memory Used: 8.734 KB

SQL Query
SELECT `enabled` FROM `skimlinks` WHERE `userid` = 0
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.53093 seconds
Time After: 0.53105 seconds
Time Taken: 0.00012 seconds

Memory Before: 5,626.109 KB
Memory After: 5,626.664 KB
Memory Used: 0.555 KB

SQL Query
UPDATE session
SET lastactivity = 1568578564, location = 'showthread.php?t=912&page=2', inforum = 15, inthread = 912, badlocation = 0
WHERE sessionhash = '844a6a469b2dcb4be69697d4821b2b3d'

Time Before: 0.53693 seconds
Time After: 0.54003 seconds
Time Taken: 0.00310 seconds

Memory Before: 6,299.422 KB
Memory After: 6,299.625 KB
Memory Used: 0.203 KB

SQL Query
INSERT INTO threadviews (threadid)
VALUES (912)

Time Before: 0.54010 seconds
Time After: 0.54049 seconds
Time Taken: 0.00039 seconds

Memory Before: 6,293.305 KB
Memory After: 6,293.656 KB
Memory Used: 0.352 KB

Page generated in 0.53368401527405 seconds with 22 queries, spending 0.32541298866272 doing MySQL queries and 0.20827102661133 doing PHP things.
Shutdown Queries: