Including Functions.php

Time Before: 0.00129 seconds
Time After: 0.00157 seconds
Time Taken: 0.00029 seconds

Memory Before: 1,130.922 KB
Memory After: 1,153.930 KB
Memory Used: 23.008 KB

Connect to Database on Server: localhost

Time Before: 0.00162 seconds
Time After: 0.00186 seconds
Time Taken: 0.00023 seconds

Memory Before: 1,153.891 KB
Memory After: 1,154.773 KB
Memory Used: 0.883 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00196 seconds
Time After: 0.00219 seconds
Time Taken: 0.00023 seconds

Memory Before: 1,155.414 KB
Memory After: 1,155.938 KB
Memory Used: 0.523 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.00271 seconds
Time After: 0.00306 seconds
Time Taken: 0.00035 seconds

Memory Before: 1,159.164 KB
Memory After: 1,160.016 KB
Memory Used: 0.852 KB

Time Before: 0.00222 seconds
Time After: 0.00776 seconds
Time Taken: 0.00554 seconds

Memory Before: 1,155.219 KB
Memory After: 3,559.719 KB
Memory Used: 2,404.500 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.00898 seconds
Time After: 0.00908 seconds
Time Taken: 0.00009 seconds

Memory Before: 4,091.906 KB
Memory After: 4,092.414 KB
Memory Used: 0.508 KB

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

Time Before: 0.00975 seconds
Time After: 0.01035 seconds
Time Taken: 0.00060 seconds

Memory Before: 4,108.398 KB
Memory After: 4,109.039 KB
Memory Used: 0.641 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.01399 seconds
Time After: 0.01417 seconds
Time Taken: 0.00018 seconds

Memory Before: 4,120.875 KB
Memory After: 4,120.805 KB
Memory Used: -0.070 KB

Time Before: 0.00922 seconds
Time After: 0.01430 seconds
Time Taken: 0.00507 seconds

Memory Before: 4,101.656 KB
Memory After: 4,243.516 KB
Memory Used: 141.859 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 = 7970
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadconstPRIMARYPRIMARY4const1 
1SIMPLEpostconstPRIMARYPRIMARY4const1 

Time Before: 0.02532 seconds
Time After: 0.02571 seconds
Time Taken: 0.00039 seconds

Memory Before: 4,543.539 KB
Memory After: 4,544.156 KB
Memory Used: 0.617 KB

SQL Query
SELECT userip
FROM vsavilxh_guests AS vsavilxh_guests
WHERE userip = '35.175.200.4'
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvsavilxh_guestsALL    1347Using where

Time Before: 0.02655 seconds
Time After: 0.02705 seconds
Time Taken: 0.00051 seconds

Memory Before: 4,609.320 KB
Memory After: 4,609.836 KB
Memory Used: 0.516 KB

SQL Query
UPDATE vsavilxh_guests
SET dateline = '1566549615'
WHERE userip = '35.175.200.4'

Time Before: 0.02710 seconds
Time After: 0.13833 seconds
Time Taken: 0.11123 seconds

Memory Before: 4,610.055 KB
Memory After: 4,610.359 KB
Memory Used: 0.305 KB

SQL Query
DELETE FROM vsavilxh_guests WHERE dateline < '1566463215'

Time Before: 0.13838 seconds
Time After: 0.13888 seconds
Time Taken: 0.00050 seconds

Memory Before: 4,609.141 KB
Memory After: 4,609.492 KB
Memory Used: 0.352 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.13935 seconds
Time After: 0.14226 seconds
Time Taken: 0.00291 seconds

Memory Before: 4,589.539 KB
Memory After: 4,590.133 KB
Memory Used: 0.594 KB

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

Time Before: 0.14415 seconds
Time After: 0.14421 seconds
Time Taken: 0.00005 seconds

Memory Before: 5,186.219 KB
Memory After: 5,186.797 KB
Memory Used: 0.578 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.14699 seconds
Time After: 0.14712 seconds
Time Taken: 0.00014 seconds

Memory Before: 5,786.203 KB
Memory After: 5,788.453 KB
Memory Used: 2.250 KB

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

Time Before: 0.14840 seconds
Time After: 0.14846 seconds
Time Taken: 0.00006 seconds

Memory Before: 5,991.648 KB
Memory After: 5,992.797 KB
Memory Used: 1.148 KB

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

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

Time Before: 0.15187 seconds
Time After: 0.15247 seconds
Time Taken: 0.00060 seconds

Memory Before: 5,861.203 KB
Memory After: 5,861.688 KB
Memory Used: 0.484 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 (032226,32226)
ORDER BY post.dateline
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEavatarsystemPRIMARY   0Const row not found
1SIMPLEpostrangePRIMARYPRIMARY4 1Using index condition; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4mihangam_mforum.post.userid1 
1SIMPLEcustomavatareq_refPRIMARYPRIMARY4mihangam_mforum.user.userid1Using where
1SIMPLEeditlogeq_refPRIMARYPRIMARY4mihangam_mforum.post.postid1 
1SIMPLEpostparsedeq_refPRIMARYPRIMARY8mihangam_mforum.post.postid,const,const1 
1SIMPLEsigparsedeq_refPRIMARYPRIMARY8mihangam_mforum.user.userid,const,const1Using where
1SIMPLEsigpiceq_refPRIMARYPRIMARY4mihangam_mforum.post.userid1 
1SIMPLEuserfieldeq_refPRIMARYPRIMARY4mihangam_mforum.user.userid1Using where
1SIMPLEusertextfieldeq_refPRIMARYPRIMARY4mihangam_mforum.user.userid1Using where
1SIMPLEiconeq_refPRIMARYPRIMARY2mihangam_mforum.post.iconid1 

Time Before: 0.15330 seconds
Time After: 0.15391 seconds
Time Taken: 0.00061 seconds

Memory Before: 5,868.898 KB
Memory After: 5,868.859 KB
Memory Used: -0.039 KB

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

Time Before: 0.15813 seconds
Time After: 0.15822 seconds
Time Taken: 0.00008 seconds

Memory Before: 6,155.531 KB
Memory After: 6,156.078 KB
Memory Used: 0.547 KB

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

Time Before: 0.15906 seconds
Time After: 0.15940 seconds
Time Taken: 0.00034 seconds

Memory Before: 6,242.023 KB
Memory After: 6,242.469 KB
Memory Used: 0.445 KB

Time after parsing all posts: 0.16098308563232 Memory After: 6,184KB
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 > 1566548715
ORDER BY  username ASC, lastactivity DESC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionrangelast_activitylast_activity4 12Using where; Using temporary; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4mihangam_mforum.session.userid1 

Time Before: 0.16154 seconds
Time After: 0.16221 seconds
Time Taken: 0.00066 seconds

Memory Before: 6,187.508 KB
Memory After: 6,194.008 KB
Memory Used: 6.500 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.16408 seconds
Time After: 0.16412 seconds
Time Taken: 0.00005 seconds

Memory Before: 6,253.703 KB
Memory After: 6,254.250 KB
Memory Used: 0.547 KB

SQL Query
UPDATE session
SET lastactivity = 1566549615, location = 'showthread.php?t=7970', inforum = 69, inthread = 7970, badlocation = 0
WHERE sessionhash = 'e36dc7a406be9b460bf537dffdb724cb'

Time Before: 0.16704 seconds
Time After: 0.16722 seconds
Time Taken: 0.00019 seconds

Memory Before: 6,624.641 KB
Memory After: 6,624.844 KB
Memory Used: 0.203 KB

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

Time Before: 0.16725 seconds
Time After: 0.16752 seconds
Time Taken: 0.00026 seconds

Memory Before: 6,618.555 KB
Memory After: 6,618.914 KB
Memory Used: 0.359 KB

Page generated in 0.16557598114014 seconds with 21 queries, spending 0.12027287483215 doing MySQL queries and 0.045303106307983 doing PHP things.
Shutdown Queries:
DISABLED