Including Functions.php

Time Before: 0.00055 seconds
Time After: 0.00063 seconds
Time Taken: 0.00009 seconds

Memory Before: 847.688 KB
Memory After: 855.961 KB
Memory Used: 8.273 KB

Connect to Database on Server: localhost

Time Before: 0.00069 seconds
Time After: 0.00098 seconds
Time Taken: 0.00028 seconds

Memory Before: 855.844 KB
Memory After: 856.625 KB
Memory Used: 0.781 KB

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

Time Before: 0.00189 seconds
Time After: 0.00214 seconds
Time Taken: 0.00025 seconds

Memory Before: 859.781 KB
Memory After: 860.109 KB
Memory Used: 0.328 KB

Time Before: 0.00143 seconds
Time After: 0.00347 seconds
Time Taken: 0.00204 seconds

Memory Before: 856.125 KB
Memory After: 1,639.023 KB
Memory Used: 782.898 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '3.215.79.68'
	AND idhash = '3d4a4be50734dacf07438dd9fac32cd8'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    41Using where

Time Before: 0.00409 seconds
Time After: 0.00434 seconds
Time Taken: 0.00026 seconds

Memory Before: 1,656.023 KB
Memory After: 1,656.438 KB
Memory Used: 0.414 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,
			phrasegroup_reputationlevel AS phrasegroup_reputationlevel,
			phrasegroup_autopm_title AS phrasegroup_autopm_title,
			phrasegroup_autopm_text AS phrasegroup_autopm_text,
			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.00493 seconds
Time After: 0.00506 seconds
Time Taken: 0.00013 seconds

Memory Before: 1,667.203 KB
Memory After: 1,666.781 KB
Memory Used: -0.422 KB

Time Before: 0.00367 seconds
Time After: 0.00519 seconds
Time Taken: 0.00152 seconds

Memory Before: 1,651.664 KB
Memory After: 1,745.406 KB
Memory Used: 93.742 KB

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



thread.*


FROM thread AS thread






WHERE thread.threadid = 165
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadconstPRIMARYPRIMARY4const1 

Time Before: 0.00819 seconds
Time After: 0.00830 seconds
Time Taken: 0.00011 seconds

Memory Before: 1,952.313 KB
Memory After: 1,952.711 KB
Memory Used: 0.398 KB

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

Time Before: 0.00880 seconds
Time After: 0.00893 seconds
Time Taken: 0.00012 seconds

Memory Before: 1,965.320 KB
Memory After: 1,965.758 KB
Memory Used: 0.438 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (1936,1937,1939,1938,2021,2427,2053,2054,2056,2063,2062,1080,2236,2222,2223,2225,2224,2227,2229,2230,2231,2233,2235,1959,1961,1963,1965,1081,2265,2268,2269,2266,2264,2337,2338,2215,2214,2216,2220,2218,2365,1999,1998,2000,2001,2495,1778,2541,1934,1933,1935,1930,1929,2206,1078,2158,2159,2160,2426,2429,2438,2179,2180,2181,2182,2380,2443,2442,2444,2447,1710,1711,2542,1702,1708,1707,1713,1712,1703,1709,1571,2002,2005,2006,1591,2168,2006,2005,1594,2003,2002,1601,1740,1595,1596,1597,1598,1602,1604,1610,1754,1605,1606,1607,1608,1611,1613,2547,1661,1720,1630,1627,1628,1654,1629,1673,1675,1674,1856,1860,1863,1855,1862,1861,1858,1857,1865,1864,1866,1867,2450,2473,2519)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEtemplaterangePRIMARYPRIMARY4 130Using where

Time Before: 0.01057 seconds
Time After: 0.01077 seconds
Time Taken: 0.00021 seconds

Memory Before: 2,205.672 KB
Memory After: 2,205.508 KB
Memory Used: -0.164 KB

SQL Query
SELECT krmessage.message, krmessage.krmessageid, krmessage.active,
     user.userid, user.username, user.usergroupid, user.membergroupids, user.profilepicrevision, user.lastpost,
     (user.options & 512) AS invisible, user.usertitle,
     customprofilepic.dateline, customprofilepic.height, customprofilepic.width,
     session.inforum, session.lastactivity
FROM krmessage AS krmessage
INNER JOIN user AS user ON(user.userid = krmessage.userid)
INNER JOIN customprofilepic AS customprofilepic ON(user.userid = customprofilepic.userid)
LEFT JOIN session AS session ON(session.userid = user.userid)
WHERE krmessage.active = 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEkrmessagesystem    1 
1SIMPLEcustomprofilepicsystemPRIMARY   1 
1SIMPLEuserconstPRIMARYPRIMARY4const1 
1SIMPLEsessionALL    41 

Time Before: 0.01283 seconds
Time After: 0.01314 seconds
Time Taken: 0.00031 seconds

Memory Before: 2,452.906 KB
Memory After: 2,452.719 KB
Memory Used: -0.188 KB

End call of global.php: 0.014318943023682
SQL Query
SELECT * FROM threadfield AS threadfield
WHERE type IN ('select_multiple', 'checkbox')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadfieldALL    3Using where

Time Before: 0.01515 seconds
Time After: 0.01527 seconds
Time Taken: 0.00012 seconds

Memory Before: 2,558.984 KB
Memory After: 2,559.438 KB
Memory Used: 0.453 KB

SQL Query
SELECT
	post.*, post.username AS postusername, post.ipaddress AS ip, IF(post.visible = 2, 1, 0) AS isdeleted,
	user.*, userfield.*
	
	
FROM post AS post
LEFT JOIN user AS user ON(user.userid = post.userid)
LEFT JOIN userfield AS userfield ON(userfield.userid = user.userid)

WHERE threadid = 165
	
ORDER BY postid
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpostrefthreadidthreadid4const174Using where; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4vkinoku.post.userid1 
1SIMPLEuserfieldeq_refPRIMARYPRIMARY4vkinoku.user.userid1 

Time Before: 0.01641 seconds
Time After: 0.01703 seconds
Time Taken: 0.00062 seconds

Memory Before: 2,548.805 KB
Memory After: 2,549.031 KB
Memory Used: 0.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,
	
	
	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 = 7 AND postparsed.languageid = 2)
LEFT JOIN sigparsed AS sigparsed ON(sigparsed.userid = user.userid AND sigparsed.styleid = 7 AND sigparsed.languageid = 2)
LEFT JOIN sigpic AS sigpic ON(sigpic.userid = post.userid)
	
WHERE post.postid IN (224,234,275,237,238)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsigpicsystemPRIMARY   0const row not found
1SIMPLEpostrangePRIMARYPRIMARY4 5Using where
1SIMPLEusereq_refPRIMARYPRIMARY4vkinoku.post.userid1 
1SIMPLEuserfieldeq_refPRIMARYPRIMARY4vkinoku.user.userid1 
1SIMPLEusertextfieldeq_refPRIMARYPRIMARY4vkinoku.user.userid1 
1SIMPLEiconeq_refPRIMARYPRIMARY2vkinoku.post.iconid1 
1SIMPLEavatareq_refPRIMARYPRIMARY2vkinoku.user.avatarid1 
1SIMPLEcustomavatareq_refPRIMARYPRIMARY4vkinoku.user.userid1 
1SIMPLEeditlogeq_refPRIMARYPRIMARY4vkinoku.post.postid1 
1SIMPLEpostparsedeq_refPRIMARYPRIMARY8vkinoku.post.postid,const,const1 
1SIMPLEsigparsedeq_refPRIMARYPRIMARY8vkinoku.user.userid,const,const1 

Time Before: 0.06212 seconds
Time After: 0.06307 seconds
Time Taken: 0.00095 seconds

Memory Before: 6,655.641 KB
Memory After: 6,654.531 KB
Memory Used: -1.109 KB

SQL Query
SELECT * FROM post_thanks AS post_thanks INNER JOIN user AS user USING (userid) WHERE post_thanks.postid IN (0,224,234,237,238,242,243,244,245,252,253,254,255,256,257,269,275,276,277,278,294,296,297,298,316,317,327,328,333,334,335,349,350,355,371,372,373,375,378,379,380,381,383,384,386,392,394,395,396,397,398,399,400,401,404,405,406,407,412,413,419,420,421,422,423,424,425,426,432,433,434,435,436,437,438,439,440,441,452,464,465,466,471,472,473,483,484,485,486,487,488,489,490,491,492,493,494,495,498,499,515,516,517,518,563,564,565,569,573,574,582,583,584,585,586,589,590,591,593,597,599,608,613,620,630,662,681,689,690,691,693,696,709,715,716,751,752,753,763,764,765,775,788,800,801,818,821,822,823,824,904,941,958,959,960,961,989,994,1026,1041,1060,1115,1266,1277,1278,1279,1289,1307,1327,1331,1332,1379,1380,1403,1404,1405,1416,1611,1612,1615,1676,1677,1712,1755,1756,1974,2018,2078,2398,2608,2609,2725) ORDER BY post_thanks.username ASC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpost_thanksALLpostid   2Using where; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4vkinoku.post_thanks.userid1Using where

Time Before: 0.06670 seconds
Time After: 0.06686 seconds
Time Taken: 0.00015 seconds

Memory Before: 2,841.078 KB
Memory After: 2,840.719 KB
Memory Used: -0.359 KB

SQL Query
SELECT * FROM post_groan AS post_groan INNER JOIN user AS user USING (userid) WHERE post_groan.postid IN (0,224,234,237,238,242,243,244,245,252,253,254,255,256,257,269,275,276,277,278,294,296,297,298,316,317,327,328,333,334,335,349,350,355,371,372,373,375,378,379,380,381,383,384,386,392,394,395,396,397,398,399,400,401,404,405,406,407,412,413,419,420,421,422,423,424,425,426,432,433,434,435,436,437,438,439,440,441,452,464,465,466,471,472,473,483,484,485,486,487,488,489,490,491,492,493,494,495,498,499,515,516,517,518,563,564,565,569,573,574,582,583,584,585,586,589,590,591,593,597,599,608,613,620,630,662,681,689,690,691,693,696,709,715,716,751,752,753,763,764,765,775,788,800,801,818,821,822,823,824,904,941,958,959,960,961,989,994,1026,1041,1060,1115,1266,1277,1278,1279,1289,1307,1327,1331,1332,1379,1380,1403,1404,1405,1416,1611,1612,1615,1676,1677,1712,1755,1756,1974,2018,2078,2398,2608,2609,2725) ORDER BY post_groan.username ASC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpost_groanALLpostid   3Using where; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4vkinoku.post_groan.userid1Using where

Time Before: 0.06769 seconds
Time After: 0.06784 seconds
Time Taken: 0.00015 seconds

Memory Before: 2,844.250 KB
Memory After: 2,843.906 KB
Memory Used: -0.344 KB

SQL Query
SELECT * FROM mysmiliesvb WHERE userid=78
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.06973 seconds
Time After: 0.06984 seconds
Time Taken: 0.00011 seconds

Memory Before: 2,871.781 KB
Memory After: 2,872.289 KB
Memory Used: 0.508 KB

SQL Query
SELECT text, languageid, special
FROM phrase AS phrase
LEFT JOIN phrasetype USING (fieldname)
WHERE phrase.fieldname = 'error'
	AND varname = 'error_postcount_too_low_attachment' AND languageid IN (-1, 0, 2)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEphraserangename_lang_type,languageidname_lang_type276 3Using where
1SIMPLEphrasetypeconstPRIMARYPRIMARY20const1 

Time Before: 0.07178 seconds
Time After: 0.07189 seconds
Time Taken: 0.00011 seconds

Memory Before: 2,962.523 KB
Memory After: 2,962.867 KB
Memory Used: 0.344 KB

SQL Query
SELECT * FROM mysmiliesvb WHERE userid=79
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.07445 seconds
Time After: 0.07456 seconds
Time Taken: 0.00011 seconds

Memory Before: 2,898.117 KB
Memory After: 2,898.625 KB
Memory Used: 0.508 KB

SQL Query
SELECT * FROM mysmiliesvb WHERE userid=80
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.07959 seconds
Time After: 0.07968 seconds
Time Taken: 0.00010 seconds

Memory Before: 2,920.719 KB
Memory After: 2,921.227 KB
Memory Used: 0.508 KB

SQL Query
SELECT * FROM mysmiliesvb WHERE userid=80
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.08417 seconds
Time After: 0.08428 seconds
Time Taken: 0.00012 seconds

Memory Before: 2,928.078 KB
Memory After: 2,928.586 KB
Memory Used: 0.508 KB

SQL Query
SELECT * FROM mysmiliesvb WHERE userid=79
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.08771 seconds
Time After: 0.08779 seconds
Time Taken: 0.00008 seconds

Memory Before: 2,934.461 KB
Memory After: 2,934.969 KB
Memory Used: 0.508 KB

Time after parsing all posts: 0.089597940444946 Memory After: 2,949KB
SQL Query
SELECT thread.threadid, thread.forumid, thread.title, thread.prefixid, thread.taglist, postusername, postuserid,
	thread.lastpost, thread.replycount,
	forum.title AS forumtitle
	,post.pagetext AS preview
	
	
FROM thread AS thread
INNER JOIN forum AS forum ON (forum.forumid = thread.forumid)
LEFT JOIN post AS post ON (post.postid = thread.firstpostid)



WHERE thread.threadid IN (163) AND thread.visible = 1
	AND forum.password = ''
	
	
ORDER BY lastpost DESC
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadconstPRIMARY,forumidPRIMARY4const1 
1SIMPLEforumconstPRIMARYPRIMARY2const1 
1SIMPLEpostconstPRIMARYPRIMARY4const1 

Time Before: 0.09010 seconds
Time After: 0.09019 seconds
Time Taken: 0.00009 seconds

Memory Before: 2,954.094 KB
Memory After: 2,954.164 KB
Memory Used: 0.070 KB

SQL Query
SELECT *
    FROM rbs_banners 
    WHERE enabled=1
        AND startdate<=1656870455
        AND enddate>=1656870455
        AND IF(forumhome, 10=0, IF(forumids='', 1, FIND_IN_SET('10', forumids)))
        AND IF(maximpressions>0, impressions0 AND clicks
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLErbs_bannersALL    6Using where

Time Before: 0.09446 seconds
Time After: 0.09469 seconds
Time Taken: 0.00023 seconds

Memory Before: 3,772.945 KB
Memory After: 3,773.164 KB
Memory Used: 0.219 KB

SQL Query
UPDATE session
SET lastactivity = 1656870455, location = '/showthread.php?mode=hybrid&t=165&explain=1', inforum = 10, inthread = 165, incalendar = 0, badlocation = 0
WHERE sessionhash = 'ce5270417be34ca0af8f5c2f76ae5801'

Time Before: 0.09552 seconds
Time After: 0.09714 seconds
Time Taken: 0.00162 seconds

Memory Before: 3,637.031 KB
Memory After: 3,637.227 KB
Memory Used: 0.195 KB

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

Time Before: 0.09720 seconds
Time After: 0.09735 seconds
Time Taken: 0.00015 seconds

Memory Before: 3,631.383 KB
Memory After: 3,631.766 KB
Memory Used: 0.383 KB

Page generated in 0.093086957931519 seconds with 22 queries, spending 0.0063860416412354 doing MySQL queries and 0.086700916290283 doing PHP things.
Shutdown Queries:
DISABLED