Including Functions.php

Time Before: 0.00034 seconds
Time After: 0.00041 seconds
Time Taken: 0.00006 seconds

Memory Before: 472.641 KB
Memory After: 474.563 KB
Memory Used: 1.922 KB

Connect to Database on Server: localhost

Time Before: 0.00044 seconds
Time After: 0.00068 seconds
Time Taken: 0.00023 seconds

Memory Before: 474.539 KB
Memory After: 475.117 KB
Memory Used: 0.578 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00098 seconds
Time After: 0.00114 seconds
Time Taken: 0.00016 seconds

Memory Before: 475.141 KB
Memory After: 475.195 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.00179 seconds
Time After: 0.00209 seconds
Time Taken: 0.00030 seconds

Memory Before: 477.430 KB
Memory After: 1,050.609 KB
Memory Used: 573.180 KB

Time Before: 0.00116 seconds
Time After: 0.00366 seconds
Time Taken: 0.00250 seconds

Memory Before: 474.961 KB
Memory After: 1,441.992 KB
Memory Used: 967.031 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.00416 seconds
Time After: 0.00423 seconds
Time Taken: 0.00007 seconds

Memory Before: 1,599.547 KB
Memory After: 1,615.617 KB
Memory Used: 16.070 KB

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

Time Before: 0.00462 seconds
Time After: 0.00480 seconds
Time Taken: 0.00017 seconds

Memory Before: 1,607.148 KB
Memory After: 1,623.844 KB
Memory Used: 16.695 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.00540 seconds
Time After: 0.00549 seconds
Time Taken: 0.00010 seconds

Memory Before: 1,613.180 KB
Memory After: 1,870.125 KB
Memory Used: 256.945 KB

Time Before: 0.00433 seconds
Time After: 0.00555 seconds
Time Taken: 0.00122 seconds

Memory Before: 1,602.109 KB
Memory After: 1,742.234 KB
Memory Used: 140.125 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 = 854
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadconstPRIMARYPRIMARY4const1 
1SIMPLEpostconstPRIMARYPRIMARY4const1 

Time Before: 0.00696 seconds
Time After: 0.00715 seconds
Time Taken: 0.00020 seconds

Memory Before: 1,882.844 KB
Memory After: 1,899.563 KB
Memory Used: 16.719 KB

SQL Query
SELECT userip
FROM vsavilxh_guests AS vsavilxh_guests
WHERE userip = '3.133.79.70'
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvsavilxh_guestsALL    1167Using where

Time Before: 0.00767 seconds
Time After: 0.00811 seconds
Time Taken: 0.00044 seconds

Memory Before: 1,975.406 KB
Memory After: 1,991.648 KB
Memory Used: 16.242 KB

SQL Query
UPDATE vsavilxh_guests
SET dateline = '1713458101'
WHERE userip = '3.133.79.70'

Time Before: 0.00815 seconds
Time After: 0.00887 seconds
Time Taken: 0.00072 seconds

Memory Before: 1,991.797 KB
Memory After: 1,991.781 KB
Memory Used: -0.016 KB

SQL Query
DELETE FROM vsavilxh_guests WHERE dateline < '1713371701'

Time Before: 0.00889 seconds
Time After: 0.00951 seconds
Time Taken: 0.00062 seconds

Memory Before: 1,975.094 KB
Memory After: 1,975.078 KB
Memory Used: -0.016 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.00973 seconds
Time After: 0.00982 seconds
Time Taken: 0.00008 seconds

Memory Before: 1,965.492 KB
Memory After: 2,174.141 KB
Memory Used: 208.648 KB

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

Time Before: 0.01096 seconds
Time After: 0.01102 seconds
Time Taken: 0.00006 seconds

Memory Before: 2,320.477 KB
Memory After: 2,336.813 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.01243 seconds
Time After: 0.01255 seconds
Time Taken: 0.00012 seconds

Memory Before: 2,612.234 KB
Memory After: 2,824.539 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.01344 seconds
Time After: 0.01349 seconds
Time Taken: 0.00005 seconds

Memory Before: 2,829.352 KB
Memory After: 2,847.094 KB
Memory Used: 17.742 KB

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

WHERE post.threadid = 854
	AND post.visible = 1
	
	
ORDER BY post.dateline 
LIMIT 0, 10
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostrefthreadid,threadid_visible_datelinethreadid_visible_dateline6const,const1Using where

Time Before: 0.01571 seconds
Time After: 0.01590 seconds
Time Taken: 0.00020 seconds

Memory Before: 2,774.555 KB
Memory After: 2,790.734 KB
Memory Used: 16.180 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 (05051,5051,5052)
ORDER BY post.dateline
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEavatarsystemPRIMARY   0Const row not found
1SIMPLEpostparsedsystemPRIMARY   0Const row not found
1SIMPLEpostrangePRIMARYPRIMARY4 2Using 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.01670 seconds
Time After: 0.01754 seconds
Time Taken: 0.00084 seconds

Memory Before: 2,779.992 KB
Memory After: 2,850.898 KB
Memory Used: 70.906 KB

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

Time Before: 0.01958 seconds
Time After: 0.01964 seconds
Time Taken: 0.00006 seconds

Memory Before: 3,024.813 KB
Memory After: 3,041.195 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 (5051,5051,5052) ORDER BY post_thanks.username ASC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpost_thanksrangepostidpostid4 2Using index condition; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4mihangam_mforum.post_thanks.userid1Using index condition

Time Before: 0.02036 seconds
Time After: 0.02078 seconds
Time Taken: 0.00042 seconds

Memory Before: 3,069.625 KB
Memory After: 3,104.969 KB
Memory Used: 35.344 KB

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

Time Before: 0.02467 seconds
Time After: 0.02607 seconds
Time Taken: 0.00140 seconds

Memory Before: 2,969.648 KB
Memory After: 3,049.328 KB
Memory Used: 79.680 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.02746 seconds
Time After: 0.02751 seconds
Time Taken: 0.00005 seconds

Memory Before: 3,006.781 KB
Memory After: 3,023.008 KB
Memory Used: 16.227 KB

SQL Query
UPDATE session
SET lastactivity = 1713458101, location = 'showthread.php?t=854', inforum = 28, inthread = 854, badlocation = 0
WHERE sessionhash = '502aeb18c8b060179040daec2c5d030c'

Time Before: 0.02939 seconds
Time After: 0.02964 seconds
Time Taken: 0.00024 seconds

Memory Before: 3,251.078 KB
Memory After: 3,250.969 KB
Memory Used: -0.109 KB

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

Time Before: 0.02967 seconds
Time After: 0.02985 seconds
Time Taken: 0.00019 seconds

Memory Before: 3,248.133 KB
Memory After: 3,248.180 KB
Memory Used: 0.047 KB

Page generated in 0.028930902481079 seconds with 21 queries, spending 0.006716251373291 doing MySQL queries and 0.022214651107788 doing PHP things.
Shutdown Queries:
DISABLED