Including Functions.php

Time Before: 0.00033 seconds
Time After: 0.00039 seconds
Time Taken: 0.00006 seconds

Memory Before: 490.531 KB
Memory After: 492.344 KB
Memory Used: 1.813 KB

Connect to Database on Server: localhost

Time Before: 0.00041 seconds
Time After: 0.00053 seconds
Time Taken: 0.00012 seconds

Memory Before: 492.320 KB
Memory After: 492.898 KB
Memory Used: 0.578 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00061 seconds
Time After: 0.00071 seconds
Time Taken: 0.00010 seconds

Memory Before: 492.922 KB
Memory After: 492.977 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.00103 seconds
Time After: 0.00158 seconds
Time Taken: 0.00054 seconds

Memory Before: 495.211 KB
Memory After: 1,068.391 KB
Memory Used: 573.180 KB

Time Before: 0.00072 seconds
Time After: 0.00283 seconds
Time Taken: 0.00212 seconds

Memory Before: 492.742 KB
Memory After: 1,459.414 KB
Memory Used: 966.672 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.00325 seconds
Time After: 0.00330 seconds
Time Taken: 0.00005 seconds

Memory Before: 1,616.969 KB
Memory After: 1,633.039 KB
Memory Used: 16.070 KB

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

Time Before: 0.00367 seconds
Time After: 0.00389 seconds
Time Taken: 0.00022 seconds

Memory Before: 1,624.570 KB
Memory After: 1,640.875 KB
Memory Used: 16.305 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.00442 seconds
Time After: 0.00470 seconds
Time Taken: 0.00028 seconds

Memory Before: 1,630.547 KB
Memory After: 1,887.492 KB
Memory Used: 256.945 KB

Time Before: 0.00334 seconds
Time After: 0.00475 seconds
Time Taken: 0.00140 seconds

Memory Before: 1,619.531 KB
Memory After: 1,759.961 KB
Memory Used: 140.430 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 = 866
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadconstPRIMARYPRIMARY4const1 
1SIMPLEpostconstPRIMARYPRIMARY4const1 

Time Before: 0.00599 seconds
Time After: 0.00616 seconds
Time Taken: 0.00017 seconds

Memory Before: 1,900.344 KB
Memory After: 1,917.063 KB
Memory Used: 16.719 KB

SQL Query
SELECT userip
FROM vsavilxh_guests AS vsavilxh_guests
WHERE userip = '18.97.9.170'
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvsavilxh_guestsALL    683Using where

Time Before: 0.00655 seconds
Time After: 0.00679 seconds
Time Taken: 0.00024 seconds

Memory Before: 1,989.367 KB
Memory After: 2,005.578 KB
Memory Used: 16.211 KB

SQL Query
INSERT INTO `vsavilxh_guests`
(userip, dateline)
VALUES ('18.97.9.170', '1745241599')

Time Before: 0.00680 seconds
Time After: 0.00723 seconds
Time Taken: 0.00043 seconds

Memory Before: 2,005.727 KB
Memory After: 2,005.664 KB
Memory Used: -0.063 KB

SQL Query
DELETE FROM vsavilxh_guests WHERE dateline < '1745155199'

Time Before: 0.00725 seconds
Time After: 0.00792 seconds
Time Taken: 0.00067 seconds

Memory Before: 1,989.008 KB
Memory After: 1,989.039 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.00811 seconds
Time After: 0.00816 seconds
Time Taken: 0.00006 seconds

Memory Before: 1,980.078 KB
Memory After: 2,188.727 KB
Memory Used: 208.648 KB

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

Time Before: 0.00910 seconds
Time After: 0.00920 seconds
Time Taken: 0.00010 seconds

Memory Before: 2,334.328 KB
Memory After: 2,350.664 KB
Memory Used: 16.336 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.01040 seconds
Time After: 0.01179 seconds
Time Taken: 0.00139 seconds

Memory Before: 2,626.625 KB
Memory After: 2,838.930 KB
Memory Used: 212.305 KB

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

Time Before: 0.01260 seconds
Time After: 0.01265 seconds
Time Taken: 0.00004 seconds

Memory Before: 2,844.438 KB
Memory After: 2,862.180 KB
Memory Used: 17.742 KB

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

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

Time Before: 0.01417 seconds
Time After: 0.01463 seconds
Time Taken: 0.00046 seconds

Memory Before: 2,789.430 KB
Memory After: 2,805.656 KB
Memory Used: 16.227 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 (05133,5133,5140,5227)
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 
1SIMPLEcustomavatareq_refPRIMARYPRIMARY4mihangam_mforum.user.userid1Using where
1SIMPLEsigparsedeq_refPRIMARYPRIMARY8mihangam_mforum.user.userid,const,const1Using where
1SIMPLEsigpiceq_refPRIMARYPRIMARY4mihangam_mforum.post.userid1 
1SIMPLEeditlogeq_refPRIMARYPRIMARY4mihangam_mforum.post.postid1 
1SIMPLEuserfieldeq_refPRIMARYPRIMARY4mihangam_mforum.user.userid1Using where
1SIMPLEusertextfieldeq_refPRIMARYPRIMARY4mihangam_mforum.user.userid1Using where
1SIMPLEiconeq_refPRIMARYPRIMARY2mihangam_mforum.post.iconid1 

Time Before: 0.01527 seconds
Time After: 0.01617 seconds
Time Taken: 0.00090 seconds

Memory Before: 2,794.898 KB
Memory After: 2,865.820 KB
Memory Used: 70.922 KB

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

Time Before: 0.01863 seconds
Time After: 0.01875 seconds
Time Taken: 0.00012 seconds

Memory Before: 3,049.367 KB
Memory After: 3,065.750 KB
Memory Used: 16.383 KB

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

Time Before: 0.01960 seconds
Time After: 0.01991 seconds
Time Taken: 0.00031 seconds

Memory Before: 3,094.180 KB
Memory After: 3,126.492 KB
Memory Used: 32.313 KB

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

Time Before: 0.02351 seconds
Time After: 0.02387 seconds
Time Taken: 0.00035 seconds

Memory Before: 3,001.242 KB
Memory After: 3,021.297 KB
Memory Used: 20.055 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.02457 seconds
Time After: 0.02467 seconds
Time Taken: 0.00010 seconds

Memory Before: 3,032.125 KB
Memory After: 3,048.352 KB
Memory Used: 16.227 KB

SQL Query
INSERT IGNORE INTO session
	(sessionhash, userid, host, idhash, lastactivity, location, styleid, languageid, loggedin, inforum, inthread, incalendar, badlocation, useragent, bypass, profileupdate, apiclientid, apiaccesstoken, topxtab, topxmenu, topxresult)
VALUES
	('6c6c4143b43a87c4067cf2b7f5224e74', 0, '18.97.9.170', 'cafe753e855ff2939d0a288be7c544a4', 1745241599, 'showthread.php?t=866', 0, 0, 0, 30, 866, 0, 0, 'CCBot/2.0 (https://commoncrawl.org/faq/)', 0, 0, 0, '', '0', '0', 0)

Time Before: 0.02653 seconds
Time After: 0.02673 seconds
Time Taken: 0.00021 seconds

Memory Before: 3,274.398 KB
Memory After: 3,273.773 KB
Memory Used: -0.625 KB

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

Time Before: 0.02676 seconds
Time After: 0.02753 seconds
Time Taken: 0.00077 seconds

Memory Before: 3,271.188 KB
Memory After: 3,271.281 KB
Memory Used: 0.094 KB

Page generated in 0.026082992553711 seconds with 21 queries, spending 0.0076277256011963 doing MySQL queries and 0.018455266952515 doing PHP things.
Shutdown Queries:
DISABLED