Including Functions.php

Time Before: 0.00107 seconds
Time After: 0.00113 seconds
Time Taken: 0.00006 seconds

Memory Before: 470.641 KB
Memory After: 536.734 KB
Memory Used: 66.094 KB

Connect to Database on Server: localhost

Time Before: 0.00117 seconds
Time After: 0.00149 seconds
Time Taken: 0.00032 seconds

Memory Before: 536.688 KB
Memory After: 537.266 KB
Memory Used: 0.578 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00164 seconds
Time After: 0.00186 seconds
Time Taken: 0.00022 seconds

Memory Before: 537.289 KB
Memory After: 537.344 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.00222 seconds
Time After: 0.00283 seconds
Time Taken: 0.00061 seconds

Memory Before: 539.375 KB
Memory After: 998.336 KB
Memory Used: 458.961 KB

Time Before: 0.00187 seconds
Time After: 0.00408 seconds
Time Taken: 0.00220 seconds

Memory Before: 537.109 KB
Memory After: 1,768.680 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.00459 seconds
Time After: 0.00464 seconds
Time Taken: 0.00005 seconds

Memory Before: 1,926.055 KB
Memory After: 1,942.172 KB
Memory Used: 16.117 KB

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

Time Before: 0.00503 seconds
Time After: 0.00522 seconds
Time Taken: 0.00019 seconds

Memory Before: 1,933.641 KB
Memory After: 1,950.391 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.00598 seconds
Time After: 0.00660 seconds
Time Taken: 0.00063 seconds

Memory Before: 1,940.852 KB
Memory After: 2,077.664 KB
Memory Used: 136.813 KB

Time Before: 0.00471 seconds
Time After: 0.00666 seconds
Time Taken: 0.00195 seconds

Memory Before: 1,928.625 KB
Memory After: 2,069.930 KB
Memory Used: 141.305 KB

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

editlog.userid AS edit_userid, editlog.dateline AS edit_dateline, editlog.reason AS edit_reason, editlog.hashistory

FROM post AS post

LEFT JOIN editlog AS editlog ON (editlog.postid = post.postid)

WHERE post.postid = 32222
1SIMPLEeditlogconstPRIMARYPRIMARY4const0Unique row not found

Time Before: 0.00756 seconds
Time After: 0.00776 seconds
Time Taken: 0.00020 seconds

Memory Before: 2,219.695 KB
Memory After: 2,236.070 KB
Memory Used: 16.375 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 = 7966

Time Before: 0.00804 seconds
Time After: 0.00826 seconds
Time Taken: 0.00021 seconds

Memory Before: 2,230.820 KB
Memory After: 2,247.508 KB
Memory Used: 16.688 KB

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

Time Before: 0.00874 seconds
Time After: 0.00899 seconds
Time Taken: 0.00025 seconds

Memory Before: 2,343.117 KB
Memory After: 2,359.352 KB
Memory Used: 16.234 KB

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

Time Before: 0.00901 seconds
Time After: 0.17443 seconds
Time Taken: 0.16541 seconds

Memory Before: 2,359.500 KB
Memory After: 2,359.438 KB
Memory Used: -0.063 KB

SQL Query
DELETE FROM vsavilxh_guests WHERE dateline < '1594128294'

Time Before: 0.17446 seconds
Time After: 0.17471 seconds
Time Taken: 0.00025 seconds

Memory Before: 2,342.727 KB
Memory After: 2,342.758 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.17498 seconds
Time After: 0.17504 seconds
Time Taken: 0.00006 seconds

Memory Before: 2,328.180 KB
Memory After: 2,440.805 KB
Memory Used: 112.625 KB

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

Time Before: 0.18349 seconds
Time After: 0.18362 seconds
Time Taken: 0.00013 seconds

Memory Before: 2,735.070 KB
Memory After: 2,751.461 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.18562 seconds
Time After: 0.18632 seconds
Time Taken: 0.00070 seconds

Memory Before: 3,101.492 KB
Memory After: 3,309.500 KB
Memory Used: 208.008 KB

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

Time Before: 0.18748 seconds
Time After: 0.18752 seconds
Time Taken: 0.00004 seconds

Memory Before: 3,325.281 KB
Memory After: 3,343.227 KB
Memory Used: 17.945 KB

SQL Query
FROM post AS post
WHERE threadid = 7966 AND visible = 1

AND dateline <= 1556874476
1SIMPLEpostrefthreadid,threadid_visible_dateline,datelinethreadid_visible_dateline6const,const2Using where; Using index

Time Before: 0.19035 seconds
Time After: 0.19052 seconds
Time Taken: 0.00017 seconds

Memory Before: 3,258.023 KB
Memory After: 3,274.258 KB
Memory Used: 16.234 KB

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

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

Time Before: 0.19091 seconds
Time After: 0.19107 seconds
Time Taken: 0.00016 seconds

Memory Before: 3,264.414 KB
Memory After: 3,280.602 KB
Memory Used: 16.188 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 (032222,32222)
ORDER BY post.dateline
1SIMPLEavatarsystemPRIMARY   0Const row not found
1SIMPLEpostparsedsystemPRIMARY   0Const row not found
1SIMPLEpostrangePRIMARYPRIMARY4 1Using 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.19162 seconds
Time After: 0.19209 seconds
Time Taken: 0.00047 seconds

Memory Before: 3,269.813 KB
Memory After: 3,286.563 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.19953 seconds
Time After: 0.19989 seconds
Time Taken: 0.00037 seconds

Memory Before: 3,471.156 KB
Memory After: 3,487.594 KB
Memory Used: 16.438 KB

SQL Query
SELECT * FROM post_thanks AS post_thanks INNER JOIN user AS user USING (userid) WHERE post_thanks.postid IN (32222,32222) ORDER BY post_thanks.username ASC
1SIMPLEpost_thanksrangepostidpostid4 1Using index condition; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4mihangam_mforum.post_thanks.userid1Using index condition

Time Before: 0.20121 seconds
Time After: 0.20160 seconds
Time Taken: 0.00039 seconds

Memory Before: 3,524.961 KB
Memory After: 3,541.000 KB
Memory Used: 16.039 KB

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

Time Before: 0.20319 seconds
Time After: 0.20355 seconds
Time Taken: 0.00036 seconds

Memory Before: 3,471.695 KB
Memory After: 3,488.008 KB
Memory Used: 16.313 KB

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

Time Before: 0.20467 seconds
Time After: 0.20489 seconds
Time Taken: 0.00022 seconds

Memory Before: 3,503.523 KB
Memory After: 3,519.797 KB
Memory Used: 16.273 KB

SQL Query
UPDATE session
SET lastactivity = 1594214694, location = 'showthread.php?t=7966', inforum = 41, inthread = 7966, badlocation = 0
WHERE sessionhash = '1535f462fab481314256a5695df0172f'

Time Before: 0.20770 seconds
Time After: 0.20804 seconds
Time Taken: 0.00034 seconds

Memory Before: 3,766.281 KB
Memory After: 3,766.125 KB
Memory Used: -0.156 KB

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

Time Before: 0.20807 seconds
Time After: 0.20834 seconds
Time Taken: 0.00028 seconds

Memory Before: 3,763.250 KB
Memory After: 3,763.344 KB
Memory Used: 0.094 KB

Page generated in 0.20686292648315 seconds with 23 queries, spending 0.17204427719116 doing MySQL queries and 0.034818649291992 doing PHP things.
Shutdown Queries: