Including Functions.php

Time Before: 0.00307 seconds
Time After: 0.00329 seconds
Time Taken: 0.00022 seconds

Memory Before: 470.531 KB
Memory After: 536.625 KB
Memory Used: 66.094 KB

Connect to Database on Server: localhost

Time Before: 0.00336 seconds
Time After: 0.00395 seconds
Time Taken: 0.00059 seconds

Memory Before: 536.578 KB
Memory After: 537.156 KB
Memory Used: 0.578 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00427 seconds
Time After: 0.00448 seconds
Time Taken: 0.00021 seconds

Memory Before: 537.180 KB
Memory After: 537.234 KB
Memory Used: 0.055 KB

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

Time Before: 0.00508 seconds
Time After: 0.00556 seconds
Time Taken: 0.00048 seconds

Memory Before: 539.266 KB
Memory After: 998.227 KB
Memory Used: 458.961 KB

Time Before: 0.00451 seconds
Time After: 0.00854 seconds
Time Taken: 0.00403 seconds

Memory Before: 537.000 KB
Memory After: 1,768.570 KB
Memory Used: 1,231.570 KB

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

Time Before: 0.00994 seconds
Time After: 0.01004 seconds
Time Taken: 0.00010 seconds

Memory Before: 1,925.945 KB
Memory After: 1,942.063 KB
Memory Used: 16.117 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '54.160.19.155'
	AND idhash = '57faa2ce88a20f926cbe36eee86fc65b'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionrefuser_activity,guest_lookupguest_lookup51const,const,const2Using where

Time Before: 0.01084 seconds
Time After: 0.01095 seconds
Time Taken: 0.00011 seconds

Memory Before: 1,933.531 KB
Memory After: 1,950.281 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
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLElanguageconstPRIMARYPRIMARY2const1 

Time Before: 0.01395 seconds
Time After: 0.01413 seconds
Time Taken: 0.00018 seconds

Memory Before: 1,940.742 KB
Memory After: 2,077.555 KB
Memory Used: 136.813 KB

Time Before: 0.01019 seconds
Time After: 0.01424 seconds
Time Taken: 0.00405 seconds

Memory Before: 1,928.516 KB
Memory After: 2,069.820 KB
Memory Used: 141.305 KB

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



post.pagetext AS description,
thread.*


FROM thread AS thread




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


WHERE thread.threadid = 813
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadconstPRIMARYPRIMARY4const1 
1SIMPLEpostconstPRIMARYPRIMARY4const1 

Time Before: 0.01627 seconds
Time After: 0.01660 seconds
Time Taken: 0.00033 seconds

Memory Before: 2,219.430 KB
Memory After: 2,236.117 KB
Memory Used: 16.688 KB

SQL Query
SELECT userip
FROM vsavilxh_guests AS vsavilxh_guests
WHERE userip = '54.160.19.155'
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvsavilxh_guestsALL    395Using where

Time Before: 0.01767 seconds
Time After: 0.01803 seconds
Time Taken: 0.00036 seconds

Memory Before: 2,326.172 KB
Memory After: 2,342.406 KB
Memory Used: 16.234 KB

SQL Query
UPDATE vsavilxh_guests
SET dateline = '1597434278'
WHERE userip = '54.160.19.155'

Time Before: 0.01809 seconds
Time After: 0.06140 seconds
Time Taken: 0.04331 seconds

Memory Before: 2,342.555 KB
Memory After: 2,342.492 KB
Memory Used: -0.063 KB

SQL Query
DELETE FROM vsavilxh_guests WHERE dateline < '1597347878'

Time Before: 0.06145 seconds
Time After: 0.06187 seconds
Time Taken: 0.00043 seconds

Memory Before: 2,325.781 KB
Memory After: 2,325.813 KB
Memory Used: 0.031 KB

SQL Query
SELECT *
FROM style
WHERE (styleid = 12 AND userselect = 1)
	OR styleid = 12
ORDER BY styleid ASC
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstyleconstPRIMARYPRIMARY2const1 

Time Before: 0.06227 seconds
Time After: 0.06238 seconds
Time Taken: 0.00011 seconds

Memory Before: 2,311.234 KB
Memory After: 2,423.859 KB
Memory Used: 112.625 KB

End call of global.php: 0.062994003295898
SQL Query
SELECT *
FROM datastore
WHERE title IN ('routes')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEdatastoreconstPRIMARYPRIMARY50const1 

Time Before: 0.06383 seconds
Time After: 0.06388 seconds
Time Taken: 0.00005 seconds

Memory Before: 2,718.063 KB
Memory After: 2,734.453 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)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEtemplaterangePRIMARYPRIMARY4 94Using index condition

Time Before: 0.06643 seconds
Time After: 0.06669 seconds
Time Taken: 0.00026 seconds

Memory Before: 3,019.469 KB
Memory After: 3,227.477 KB
Memory Used: 208.008 KB

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

Time Before: 0.06821 seconds
Time After: 0.06825 seconds
Time Taken: 0.00005 seconds

Memory Before: 3,243.258 KB
Memory After: 3,261.203 KB
Memory Used: 17.945 KB

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

WHERE post.threadid = 813
	AND post.visible = 1
	
	
ORDER BY post.dateline 
LIMIT 20, 10
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostrefthreadid,threadid_visible_datelinethreadid_visible_dateline6const,const15Using where

Time Before: 0.07160 seconds
Time After: 0.07200 seconds
Time Taken: 0.00041 seconds

Memory Before: 3,183.086 KB
Memory After: 3,199.336 KB
Memory Used: 16.250 KB

SQL Query
SELECT
	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 (04343,19522,19523)
ORDER BY post.dateline
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEavatarsystemPRIMARY   0Const row not found
1SIMPLEpostparsedsystemPRIMARY   0Const row not found
1SIMPLEpostrangePRIMARYPRIMARY4 3Using index condition; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4mihangam_mforum.post.userid1 
1SIMPLEuserfieldeq_refPRIMARYPRIMARY4mihangam_mforum.user.userid1Using where
1SIMPLEusertextfieldeq_refPRIMARYPRIMARY4mihangam_mforum.user.userid1Using where
1SIMPLEiconeq_refPRIMARYPRIMARY2mihangam_mforum.post.iconid1 
1SIMPLEcustomavatareq_refPRIMARYPRIMARY4mihangam_mforum.user.userid1Using where
1SIMPLEsigparsedeq_refPRIMARYPRIMARY8mihangam_mforum.user.userid,const,const1Using where
1SIMPLEsigpiceq_refPRIMARYPRIMARY4mihangam_mforum.post.userid1 
1SIMPLEeditlogeq_refPRIMARYPRIMARY4mihangam_mforum.post.postid1 

Time Before: 0.07264 seconds
Time After: 0.07338 seconds
Time Taken: 0.00074 seconds

Memory Before: 3,188.523 KB
Memory After: 3,210.836 KB
Memory Used: 22.313 KB

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

Time Before: 0.07691 seconds
Time After: 0.07722 seconds
Time Taken: 0.00030 seconds

Memory Before: 3,386.281 KB
Memory After: 3,402.719 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 (4343,19522,19523) ORDER BY post_thanks.username ASC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpost_thanksrangepostidpostid4 7Using index condition; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4mihangam_mforum.post_thanks.userid1Using index condition

Time Before: 0.07817 seconds
Time After: 0.07874 seconds
Time Taken: 0.00058 seconds

Memory Before: 3,439.703 KB
Memory After: 3,467.984 KB
Memory Used: 28.281 KB

Time after parsing all posts: 0.086091995239258 Memory After: 3,399KB
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 > 1597433378
ORDER BY  username ASC, lastactivity DESC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionrangelast_activitylast_activity4 2Using where; Using temporary; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4mihangam_mforum.session.userid1 

Time Before: 0.08675 seconds
Time After: 0.08717 seconds
Time Taken: 0.00042 seconds

Memory Before: 3,401.727 KB
Memory After: 3,419.234 KB
Memory Used: 17.508 KB

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

Time Before: 0.08804 seconds
Time After: 0.08822 seconds
Time Taken: 0.00018 seconds

Memory Before: 3,437.664 KB
Memory After: 3,453.938 KB
Memory Used: 16.273 KB

SQL Query
UPDATE session
SET lastactivity = 1597434278, location = 'showthread.php?t=813&page=3', inforum = 26, inthread = 813, badlocation = 0
WHERE sessionhash = 'a52a4d831f116ebf68db08b77c3e2678'

Time Before: 0.09077 seconds
Time After: 0.09109 seconds
Time Taken: 0.00032 seconds

Memory Before: 3,726.352 KB
Memory After: 3,726.258 KB
Memory Used: -0.094 KB

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

Time Before: 0.09112 seconds
Time After: 0.09129 seconds
Time Taken: 0.00017 seconds

Memory Before: 3,723.297 KB
Memory After: 3,723.391 KB
Memory Used: 0.094 KB

Page generated in 0.089704990386963 seconds with 21 queries, spending 0.049676656723022 doing MySQL queries and 0.04002833366394 doing PHP things.
Shutdown Queries:
DISABLED