Including Functions.php

Time Before: 0.00074 seconds
Time After: 0.00097 seconds
Time Taken: 0.00023 seconds

Memory Before: 847.406 KB
Memory After: 855.680 KB
Memory Used: 8.273 KB

Connect to Database on Server: localhost

Time Before: 0.00105 seconds
Time After: 0.00135 seconds
Time Taken: 0.00030 seconds

Memory Before: 855.563 KB
Memory After: 856.344 KB
Memory Used: 0.781 KB

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

Time Before: 0.00201 seconds
Time After: 0.10290 seconds
Time Taken: 0.10089 seconds

Memory Before: 859.500 KB
Memory After: 859.828 KB
Memory Used: 0.328 KB

Time Before: 0.00164 seconds
Time After: 0.10423 seconds
Time Taken: 0.10259 seconds

Memory Before: 855.844 KB
Memory After: 1,638.711 KB
Memory Used: 782.867 KB

Session Handling
SQL Query
FROM session
WHERE userid = 0
	AND host = ''
	AND idhash = '9f54944e66023622a03a801a3ce0a091'
1SIMPLEsessionALL    498Using where

Time Before: 0.10484 seconds
Time After: 0.20541 seconds
Time Taken: 0.10056 seconds

Memory Before: 1,655.711 KB
Memory After: 1,656.125 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

Time Before: 0.20604 seconds
Time After: 0.30679 seconds
Time Taken: 0.10074 seconds

Memory Before: 1,666.875 KB
Memory After: 1,666.453 KB
Memory Used: -0.422 KB

Time Before: 0.10447 seconds
Time After: 0.30698 seconds
Time Taken: 0.20251 seconds

Memory Before: 1,651.352 KB
Memory After: 1,745.086 KB
Memory Used: 93.734 KB

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


FROM thread AS thread

WHERE thread.threadid = 426

Time Before: 0.30998 seconds
Time After: 0.37125 seconds
Time Taken: 0.06126 seconds

Memory Before: 1,952.055 KB
Memory After: 1,952.453 KB
Memory Used: 0.398 KB

SQL Query
FROM style
WHERE (styleid = 7 AND userselect = 1)
	OR styleid = 7
ORDER BY styleid ASC

Time Before: 0.37201 seconds
Time After: 0.37214 seconds
Time Taken: 0.00013 seconds

Memory Before: 1,965.086 KB
Memory After: 1,965.523 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)
1SIMPLEtemplaterangePRIMARYPRIMARY4 130Using where

Time Before: 0.37463 seconds
Time After: 0.37534 seconds
Time Taken: 0.00071 seconds

Memory Before: 2,205.391 KB
Memory After: 2,205.227 KB
Memory Used: -0.164 KB

SQL Query
SELECT krmessage.message, krmessage.krmessageid,,
     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)
1SIMPLEkrmessagesystem    1 
1SIMPLEcustomprofilepicsystemPRIMARY   1 
1SIMPLEsessionALL    498 

Time Before: 0.37812 seconds
Time After: 0.37900 seconds
Time Taken: 0.00088 seconds

Memory Before: 2,452.633 KB
Memory After: 2,452.445 KB
Memory Used: -0.188 KB

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

Time Before: 0.38210 seconds
Time After: 0.38218 seconds
Time Taken: 0.00008 seconds

Memory Before: 2,558.836 KB
Memory After: 2,559.289 KB
Memory Used: 0.453 KB

SQL Query
SELECT post.postid
FROM post AS post

WHERE post.threadid = 426
	AND post.visible = 1
ORDER BY post.dateline 
LIMIT 0, 5
1SIMPLEpostrefthreadidthreadid4const2Using where; Using filesort

Time Before: 0.38376 seconds
Time After: 0.38459 seconds
Time Taken: 0.00083 seconds

Memory Before: 2,545.156 KB
Memory After: 2,545.555 KB
Memory Used: 0.398 KB

SQL Query
	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 = 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 (0,2089,2125)
ORDER BY post.dateline
1SIMPLEsigpicsystemPRIMARY   0const row not found
1SIMPLEpostrangePRIMARYPRIMARY4 3Using where; Using filesort 

Time Before: 0.38730 seconds
Time After: 0.38825 seconds
Time Taken: 0.00095 seconds

Memory Before: 2,552.891 KB
Memory After: 2,551.719 KB
Memory Used: -1.172 KB

SQL Query
SELECT * FROM post_thanks AS post_thanks INNER JOIN user AS user USING (userid) WHERE post_thanks.postid IN (0,2089,2125) ORDER BY post_thanks.username ASC
1SIMPLEpost_thanksALLpostid   2Using where; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4vkinoku.post_thanks.userid1Using where

Time Before: 0.38924 seconds
Time After: 0.38954 seconds
Time Taken: 0.00030 seconds

Memory Before: 2,649.586 KB
Memory After: 2,649.984 KB
Memory Used: 0.398 KB

SQL Query
SELECT * FROM post_groan AS post_groan INNER JOIN user AS user USING (userid) WHERE post_groan.postid IN (0,2089,2125) ORDER BY post_groan.username ASC
1SIMPLEpost_groanALLpostid   3Using where; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4vkinoku.post_groan.userid1Using where

Time Before: 0.39004 seconds
Time After: 0.39034 seconds
Time Taken: 0.00031 seconds

Memory Before: 2,652.750 KB
Memory After: 2,653.164 KB
Memory Used: 0.414 KB

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

Time Before: 0.39223 seconds
Time After: 0.39230 seconds
Time Taken: 0.00006 seconds

Memory Before: 2,684.094 KB
Memory After: 2,684.609 KB
Memory Used: 0.516 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)
1SIMPLEphraserangename_lang_type,languageidname_lang_type276 3Using where

Time Before: 0.39386 seconds
Time After: 0.39411 seconds
Time Taken: 0.00025 seconds

Memory Before: 2,774.672 KB
Memory After: 2,775.016 KB
Memory Used: 0.344 KB

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

Time Before: 0.39864 seconds
Time After: 0.39871 seconds
Time Taken: 0.00007 seconds

Memory Before: 2,716.305 KB
Memory After: 2,716.820 KB
Memory Used: 0.516 KB

Time after parsing all posts: 0.40158891677856 Memory After: 2,674KB
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 (277, 302, 235, 280) AND thread.visible = 1
	AND forum.password = ''
ORDER BY lastpost DESC
1SIMPLEthreadrangePRIMARY,forumidPRIMARY4 4Using where; Using filesort
1SIMPLEforumeq_refPRIMARYPRIMARY2vkinoku.thread.forumid1Using where

Time Before: 0.40245 seconds
Time After: 0.40396 seconds
Time Taken: 0.00151 seconds

Memory Before: 2,679.445 KB
Memory After: 2,679.500 KB
Memory Used: 0.055 KB

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

Time Before: 0.40851 seconds
Time After: 0.41273 seconds
Time Taken: 0.00422 seconds

Memory Before: 3,325.281 KB
Memory After: 3,325.500 KB
Memory Used: 0.219 KB

SQL Query
UPDATE session
SET lastactivity = 1656648066, location = '/showthread.php?t=426&explain=1', inthread = 426, incalendar = 0, badlocation = 0
WHERE sessionhash = '1813d1ba31c64884e86cbb41b21693d0'

Time Before: 0.41369 seconds
Time After: 0.41582 seconds
Time Taken: 0.00213 seconds

Memory Before: 3,232.664 KB
Memory After: 3,232.883 KB
Memory Used: 0.219 KB

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

Time Before: 0.41598 seconds
Time After: 0.41650 seconds
Time Taken: 0.00053 seconds

Memory Before: 3,227.438 KB
Memory After: 3,227.820 KB
Memory Used: 0.383 KB

Page generated in 0.40705394744873 seconds with 19 queries, spending 0.37672543525696 doing MySQL queries and 0.030328512191772 doing PHP things.
Shutdown Queries: