Including Functions.php

Time Before: 0.00152 seconds
Time After: 0.00159 seconds
Time Taken: 0.00007 seconds

Memory Before: 470.289 KB
Memory After: 536.383 KB
Memory Used: 66.094 KB

Connect to Database on Server: localhost

Time Before: 0.00164 seconds
Time After: 0.00196 seconds
Time Taken: 0.00032 seconds

Memory Before: 536.336 KB
Memory After: 536.914 KB
Memory Used: 0.578 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00210 seconds
Time After: 0.00228 seconds
Time Taken: 0.00018 seconds

Memory Before: 536.938 KB
Memory After: 536.992 KB
Memory Used: 0.055 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.00265 seconds
Time After: 0.00324 seconds
Time Taken: 0.00059 seconds

Memory Before: 539.023 KB
Memory After: 997.984 KB
Memory Used: 458.961 KB

Time Before: 0.00231 seconds
Time After: 0.00495 seconds
Time Taken: 0.00264 seconds

Memory Before: 536.758 KB
Memory After: 1,768.328 KB
Memory Used: 1,231.570 KB

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

Time Before: 0.00545 seconds
Time After: 0.00560 seconds
Time Taken: 0.00015 seconds

Memory Before: 1,925.703 KB
Memory After: 1,941.820 KB
Memory Used: 16.117 KB

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

Time Before: 0.00598 seconds
Time After: 0.00619 seconds
Time Taken: 0.00021 seconds

Memory Before: 1,932.977 KB
Memory After: 1,949.727 KB
Memory Used: 16.750 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.00701 seconds
Time After: 0.00763 seconds
Time Taken: 0.00062 seconds

Memory Before: 1,940.250 KB
Memory After: 2,077.063 KB
Memory Used: 136.813 KB

Time Before: 0.00565 seconds
Time After: 0.00769 seconds
Time Taken: 0.00203 seconds

Memory Before: 1,928.273 KB
Memory After: 2,069.328 KB
Memory Used: 141.055 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 = 985

Time Before: 0.00867 seconds
Time After: 0.00890 seconds
Time Taken: 0.00023 seconds

Memory Before: 2,219.250 KB
Memory After: 2,235.938 KB
Memory Used: 16.688 KB

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

Time Before: 0.00942 seconds
Time After: 0.00965 seconds
Time Taken: 0.00024 seconds

Memory Before: 2,323.211 KB
Memory After: 2,339.445 KB
Memory Used: 16.234 KB

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

Time Before: 0.00968 seconds
Time After: 0.03621 seconds
Time Taken: 0.02653 seconds

Memory Before: 2,339.594 KB
Memory After: 2,339.531 KB
Memory Used: -0.063 KB

SQL Query
DELETE FROM vsavilxh_guests WHERE dateline < '1594530824'

Time Before: 0.03624 seconds
Time After: 0.03647 seconds
Time Taken: 0.00023 seconds

Memory Before: 2,322.820 KB
Memory After: 2,322.852 KB
Memory Used: 0.031 KB

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

Time Before: 0.03672 seconds
Time After: 0.03696 seconds
Time Taken: 0.00023 seconds

Memory Before: 2,308.273 KB
Memory After: 2,420.898 KB
Memory Used: 112.625 KB

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

Time Before: 0.03787 seconds
Time After: 0.03800 seconds
Time Taken: 0.00012 seconds

Memory Before: 2,715.102 KB
Memory After: 2,731.492 KB
Memory Used: 16.391 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.03953 seconds
Time After: 0.04012 seconds
Time Taken: 0.00059 seconds

Memory Before: 3,016.680 KB
Memory After: 3,224.688 KB
Memory Used: 208.008 KB

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

Time Before: 0.04108 seconds
Time After: 0.04126 seconds
Time Taken: 0.00018 seconds

Memory Before: 3,240.469 KB
Memory After: 3,258.414 KB
Memory Used: 17.945 KB

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

WHERE post.threadid = 985
	AND post.visible = 1
ORDER BY post.dateline 
LIMIT 0, 10
1SIMPLEpostrefthreadid,threadid_visible_datelinethreadid_visible_dateline6const,const14Using where

Time Before: 0.04281 seconds
Time After: 0.04341 seconds
Time Taken: 0.00060 seconds

Memory Before: 3,180.234 KB
Memory After: 3,196.984 KB
Memory Used: 16.750 KB

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

Time Before: 0.04389 seconds
Time After: 0.04407 seconds
Time Taken: 0.00018 seconds

Memory Before: 3,265.781 KB
Memory After: 3,282.219 KB
Memory Used: 16.438 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 (6515)
					a.contenttypeid = 1

ORDER BY a.contentid, a.displayorder
1SIMPLEarefcontenttypeid,contentid,filedataidcontentid4const4Using where; Using filesort
1SIMPLEateq_refPRIMARYPRIMARY20mihangam_mforum.fd.extension1Using where

Time Before: 0.04443 seconds
Time After: 0.04577 seconds
Time Taken: 0.00134 seconds

Memory Before: 3,296.305 KB
Memory After: 3,313.305 KB
Memory Used: 17.000 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 (06493,6493,6501,6515,6516,6522,6527,6540,6552,6557,6912)
ORDER BY post.dateline
1SIMPLEavatarsystemPRIMARY   0Const row not found
1SIMPLEpostparsedsystemPRIMARY   0Const row not found
1SIMPLEpostrangePRIMARYPRIMARY4 10Using index condition; Using filesort 
1SIMPLEuserfieldeq_refPRIMARYPRIMARY4mihangam_mforum.user.userid1Using where
1SIMPLEusertextfieldeq_refPRIMARYPRIMARY4mihangam_mforum.user.userid1Using where 
1SIMPLEcustomavatareq_refPRIMARYPRIMARY4mihangam_mforum.user.userid1Using where
1SIMPLEsigparsedeq_refPRIMARYPRIMARY8mihangam_mforum.user.userid,const,const1Using where 

Time Before: 0.04645 seconds
Time After: 0.05077 seconds
Time Taken: 0.00432 seconds

Memory Before: 3,308.203 KB
Memory After: 3,354.734 KB
Memory Used: 46.531 KB

SQL Query
SELECT * FROM post_thanks AS post_thanks INNER JOIN user AS user USING (userid) WHERE post_thanks.postid IN (6493,6493,6501,6515,6516,6522,6527,6540,6552,6557,6912) ORDER BY post_thanks.username ASC
1SIMPLEpost_thanksrangepostidpostid4 10Using index condition; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4mihangam_mforum.post_thanks.userid1Using index condition

Time Before: 0.05271 seconds
Time After: 0.05696 seconds
Time Taken: 0.00425 seconds

Memory Before: 3,469.258 KB
Memory After: 3,486.914 KB
Memory Used: 17.656 KB

Time after parsing all posts: 0.068518877029419 Memory After: 3,444KB
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 > 1594616324
ORDER BY  username ASC, lastactivity DESC
1SIMPLEsessionrangelast_activitylast_activity4 2Using where; Using temporary; Using filesort

Time Before: 0.06896 seconds
Time After: 0.06921 seconds
Time Taken: 0.00025 seconds

Memory Before: 3,445.656 KB
Memory After: 3,462.125 KB
Memory Used: 16.469 KB

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

Time Before: 0.06986 seconds
Time After: 0.06999 seconds
Time Taken: 0.00013 seconds

Memory Before: 3,481.625 KB
Memory After: 3,497.898 KB
Memory Used: 16.273 KB

SQL Query
UPDATE session
SET lastactivity = 1594617224, location = 'showthread.php?t=985', inforum = 15, inthread = 985, badlocation = 0
WHERE sessionhash = 'b459ac177210e3f816c37327014fe2c0'

Time Before: 0.07257 seconds
Time After: 0.07277 seconds
Time Taken: 0.00020 seconds

Memory Before: 3,924.328 KB
Memory After: 3,924.172 KB
Memory Used: -0.156 KB

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

Time Before: 0.07279 seconds
Time After: 0.07700 seconds
Time Taken: 0.00421 seconds

Memory Before: 3,921.297 KB
Memory After: 3,921.391 KB
Memory Used: 0.094 KB

Page generated in 0.071384906768799 seconds with 22 queries, spending 0.04588794708252 doing MySQL queries and 0.025496959686279 doing PHP things.
Shutdown Queries: