Including Functions.php

Time Before: 0.00077 seconds
Time After: 0.00101 seconds
Time Taken: 0.00024 seconds

Memory Before: 839.883 KB
Memory After: 848.156 KB
Memory Used: 8.273 KB

Connect to Database on Server: localhost

Time Before: 0.00107 seconds
Time After: 0.00133 seconds
Time Taken: 0.00026 seconds

Memory Before: 848.039 KB
Memory After: 848.820 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','tagcloud','iconcache')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEdatastorerangePRIMARYPRIMARY50 16Using where

Time Before: 0.00196 seconds
Time After: 0.00216 seconds
Time Taken: 0.00020 seconds

Memory Before: 851.844 KB
Memory After: 852.195 KB
Memory Used: 0.352 KB

Time Before: 0.00161 seconds
Time After: 0.00339 seconds
Time Taken: 0.00178 seconds

Memory Before: 848.320 KB
Memory After: 1,558.648 KB
Memory Used: 710.328 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '18.208.187.128'
	AND idhash = 'b2c0d4deacc755aa653369786b3fa09c'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionALL    181Using where

Time Before: 0.00394 seconds
Time After: 0.00408 seconds
Time Taken: 0.00013 seconds

Memory Before: 1,575.195 KB
Memory After: 1,575.594 KB
Memory Used: 0.398 KB

SQL Query
SELECT languageid,
			phrasegroup_global AS phrasegroup_global,
			phrasegroup_inlinemod AS phrasegroup_inlinemod,
			phrasegroup_search AS phrasegroup_search,
			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.00476 seconds
Time After: 0.00484 seconds
Time Taken: 0.00008 seconds

Memory Before: 1,585.859 KB
Memory After: 1,585.609 KB
Memory Used: -0.250 KB

Time Before: 0.00360 seconds
Time After: 0.00498 seconds
Time Taken: 0.00138 seconds

Memory Before: 1,570.805 KB
Memory After: 1,653.688 KB
Memory Used: 82.883 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.00717 seconds
Time After: 0.00729 seconds
Time Taken: 0.00012 seconds

Memory Before: 1,838.102 KB
Memory After: 1,838.539 KB
Memory Used: 0.438 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (2347,2366,2376,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,1601,1740,1610,1754,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 67Using where

Time Before: 0.00842 seconds
Time After: 0.00852 seconds
Time Taken: 0.00010 seconds

Memory Before: 2,049.406 KB
Memory After: 2,049.570 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    181 

Time Before: 0.01016 seconds
Time After: 0.01043 seconds
Time Taken: 0.00028 seconds

Memory Before: 2,232.813 KB
Memory After: 2,232.625 KB
Memory Used: -0.188 KB

End call of global.php: 0.011441946029663
SQL Query
SELECT *
FROM tag
WHERE tagtext = 'курсы'
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEtagconsttagtexttagtext102const1 

Time Before: 0.01182 seconds
Time After: 0.01193 seconds
Time Taken: 0.00011 seconds

Memory Before: 2,225.977 KB
Memory After: 2,226.477 KB
Memory Used: 0.500 KB

SQL Query
SELECT moderator.*, user.username,
IF(user.displaygroupid = 0, user.usergroupid, user.displaygroupid) AS displaygroupid, infractiongroupid
FROM moderator AS moderator
INNER JOIN user AS user USING(userid)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEmoderatorsystemuserid_forumid   1 
1SIMPLEuserconstPRIMARYPRIMARY4const1 

Time Before: 0.01267 seconds
Time After: 0.01279 seconds
Time Taken: 0.00012 seconds

Memory Before: 2,234.195 KB
Memory After: 2,234.539 KB
Memory Used: 0.344 KB

SQL Query
SELECT thread.threadid, thread.lastpost, thread.lastposter, thread.lastpostid, thread.replycount, IF(thread.views<=thread.replycount, thread.replycount+1, thread.views) AS views
FROM thread AS thread
INNER JOIN tagthread AS tagthread ON
	(tagthread.tagid = 116 AND tagthread.threadid = thread.threadid)


WHERE thread.forumid IN(1, 5, 4, 6, 7, 8, 9, 10, 11, 12, 13)
	
	AND thread.visible = 1
	AND thread.sticky IN (0, 1)
	AND thread.open <> 10
	
	
ORDER BY lastpost DESC
LIMIT 500
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEtagthreadrefPRIMARY,threadidPRIMARY4const2Using index; Using temporary; Using filesort
1SIMPLEthreadeq_refPRIMARY,forumidPRIMARY4vkinoku.tagthread.threadid1Using where

Time Before: 0.01335 seconds
Time After: 0.01367 seconds
Time Taken: 0.00033 seconds

Memory Before: 2,239.281 KB
Memory After: 2,239.344 KB
Memory Used: 0.063 KB

SQL Query
INSERT INTO tagsearch (tagid, dateline) VALUES (116, 1664739718)

Time Before: 0.01374 seconds
Time After: 0.01389 seconds
Time Taken: 0.00014 seconds

Memory Before: 2,238.070 KB
Memory After: 2,238.445 KB
Memory Used: 0.375 KB

SQL Query
SELECT
	thread.threadid, thread.title AS threadtitle, thread.forumid, pollid, open, postusername, postuserid, thread.iconid AS threadiconid,
	thread.dateline, notes, thread.visible, sticky, votetotal, thread.attach, thread.lastpost, thread.lastposter, thread.lastpostid, thread.replycount, IF(thread.views<=thread.replycount, thread.replycount+1, thread.views) AS views,
	thread.prefixid, thread.taglist, hiddencount, deletedcount
	, post.pagetext AS preview
	
	
	
FROM thread AS thread
	
	
	LEFT JOIN post AS post ON(post.postid = thread.firstpostid)
	
	
WHERE thread.threadid IN (415,267)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEthreadrangePRIMARYPRIMARY4 2Using where
1SIMPLEposteq_refPRIMARYPRIMARY4vkinoku.thread.firstpostid1 

Time Before: 0.40970 seconds
Time After: 0.41007 seconds
Time Taken: 0.00037 seconds

Memory Before: 2,241.266 KB
Memory After: 2,241.211 KB
Memory Used: -0.055 KB

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

Time Before: 0.41336 seconds
Time After: 0.41359 seconds
Time Taken: 0.00023 seconds

Memory Before: 2,514.289 KB
Memory After: 2,514.500 KB
Memory Used: 0.211 KB

SQL Query
UPDATE session
SET lastactivity = 1664739718, location = '/tags.php?tag=%EA%F3%F0%F1%FB&explain=1', inforum = 0, inthread = 0, incalendar = 0, badlocation = 0
WHERE sessionhash = 'ecb460119fcaf9c3dcc5ce928fa656c9'

Time Before: 0.41395 seconds
Time After: 0.41566 seconds
Time Taken: 0.00171 seconds

Memory Before: 2,448.633 KB
Memory After: 2,448.844 KB
Memory Used: 0.211 KB

Page generated in 0.41240000724792 seconds with 13 queries, spending 0.0041823387145996 doing MySQL queries and 0.40821766853333 doing PHP things.
Shutdown Queries:
DISABLED