Including Functions.php

Time Before: 0.02422 seconds
Time After: 0.04483 seconds
Time Taken: 0.02061 seconds

Memory Before: 2,338.539 KB
Memory After: 3,882.641 KB
Memory Used: 1,544.102 KB

Connect to Database on Server:

Time Before: 0.04487 seconds
Time After: 0.04525 seconds
Time Taken: 0.00038 seconds

Memory Before: 3,882.672 KB
Memory After: 3,883.594 KB
Memory Used: 0.922 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.04549 seconds
Time After: 0.04567 seconds
Time Taken: 0.00018 seconds

Memory Before: 3,884.320 KB
Memory After: 3,884.906 KB
Memory Used: 0.586 KB

Datastore Setup
SQL Query
SELECT *
FROM datastore
WHERE title IN ('userstats','birthdaycache','maxloggedin','iconcache','eventcache','mailqueue','activeblocks','navdata','options','bitfields','attachmentcache','forumcache','usergroupcache','stylecache','languagecache','products','pluginlist','cron','profilefield','loadcache','noticecache','activitystream','routes')
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEdatastore rangePRIMARYPRIMARY50 23100.00Using where

Time Before: 0.05635 seconds
Time After: 0.05701 seconds
Time Taken: 0.00066 seconds

Memory Before: 3,888.398 KB
Memory After: 3,889.375 KB
Memory Used: 0.977 KB

Time Before: 0.04573 seconds
Time After: 0.05850 seconds
Time Taken: 0.01276 seconds

Memory Before: 3,884.156 KB
Memory After: 4,687.430 KB
Memory Used: 803.273 KB

SQL Query
SELECT *
FROM datastore
WHERE title IN ('blogcategorycache','blogstats','dbtech_dbseo_keyword','dbtech_dbseo_gwt_cache','dbtech_dbseo_oauth','profilefield')
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEdatastore rangePRIMARYPRIMARY50 6100.00Using where

Time Before: 0.15022 seconds
Time After: 0.15054 seconds
Time Taken: 0.00031 seconds

Memory Before: 7,422.242 KB
Memory After: 7,422.828 KB
Memory Used: 0.586 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '3.17.203.68'
	AND idhash = 'd4688d8dd496acb25d86087c24f05a45'
LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEsession refuser_activity,guest_lookupguest_lookup51const,const,const2100.00 

Time Before: 0.15119 seconds
Time After: 0.15145 seconds
Time Taken: 0.00026 seconds

Memory Before: 7,439.156 KB
Memory After: 7,439.633 KB
Memory Used: 0.477 KB

SQL Query
SELECT languageid,
			phrasegroup_global AS phrasegroup_global,
			phrasegroup_activitystream AS phrasegroup_activitystream,
			phrasegroup_holiday AS phrasegroup_holiday,
			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 = 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLElanguage systemPRIMARY   1100.00 

Time Before: 0.15234 seconds
Time After: 0.15275 seconds
Time Taken: 0.00041 seconds

Memory Before: 7,453.008 KB
Memory After: 7,453.039 KB
Memory Used: 0.031 KB

Time Before: 0.15069 seconds
Time After: 0.15284 seconds
Time Taken: 0.00215 seconds

Memory Before: 7,431.875 KB
Memory After: 7,512.938 KB
Memory Used: 81.063 KB

SQL Query
SELECT calendarpermission.usergroupid, calendarpermission.calendarpermissions,
	calendar.calendarid,calendar.title, displayorder
FROM calendar AS calendar
LEFT JOIN calendarpermission AS calendarpermission ON
	(calendarpermission.calendarid = calendar.calendarid AND
		usergroupid IN (1))
ORDER BY displayorder ASC
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEcalendar ALL    1100.00Using filesort
1SIMPLEcalendarpermission refcalendarid,usergroupidcalendarid4melanotan_test.calendar.calendarid1100.00Using where

Time Before: 0.18286 seconds
Time After: 0.18316 seconds
Time Taken: 0.00030 seconds

Memory Before: 7,707.328 KB
Memory After: 7,707.688 KB
Memory Used: 0.359 KB

SQL Query
SELECT MAX(permissions & 1) AS perm
FROM cms_permissions
WHERE nodeid = 1 AND usergroupid IN (1)
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEcms_permissions constusergroupid,nodeidusergroupid8const,const1100.00 

Time Before: 0.19514 seconds
Time After: 0.19536 seconds
Time Taken: 0.00022 seconds

Memory Before: 7,732.586 KB
Memory After: 7,733.133 KB
Memory Used: 0.547 KB

SQL Query
SELECT *
FROM style
WHERE (styleid = 1 AND userselect = 1)
	OR styleid = 1
ORDER BY styleid ASC
LIMIT 1
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEstyle constPRIMARYPRIMARY2const1100.00 

Time Before: 0.22260 seconds
Time After: 0.22294 seconds
Time Taken: 0.00034 seconds

Memory Before: 8,230.227 KB
Memory After: 8,230.859 KB
Memory Used: 0.633 KB

End call of global.php: 0.22357606887817
SQL Query
SELECT username, userid, birthday, showbirthday
FROM user
WHERE (birthday LIKE '05-02-%' OR birthday LIKE '05-03-%')
AND usergroupid IN (0, 6, 10, 11, 7, 2, 5)
AND showbirthday IN (2, 3)
AND lastactivity >= 1712118598
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEuser rangeusergroupid,birthdaybirthday12 146.37Using index condition; Using where

Time Before: 0.24796 seconds
Time After: 0.24830 seconds
Time Taken: 0.00033 seconds

Memory Before: 9,652.945 KB
Memory After: 9,653.344 KB
Memory Used: 0.398 KB

SQL Query
REPLACE INTO datastore
	(title, data, unserialize)
VALUES
	('birthdaycache', 'a:4:{s:4:\"day1\";s:10:\"2024-05-02\";s:4:\"day2\";s:10:\"2024-05-03\";s:6:\"users1\";a:0:{}s:6:\"users2\";a:0:{}}', 1)

Time Before: 0.24838 seconds
Time After: 0.29036 seconds
Time Taken: 0.04198 seconds

Memory Before: 9,654.461 KB
Memory After: 9,654.688 KB
Memory Used: 0.227 KB

SQL Query
SELECT calendarid
FROM calendar
WHERE options & 2
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEcalendar ALL    1100.00Using where

Time Before: 0.29372 seconds
Time After: 0.29390 seconds
Time Taken: 0.00017 seconds

Memory Before: 9,965.406 KB
Memory After: 9,966.008 KB
Memory Used: 0.602 KB

SQL Query
SELECT *
FROM holiday
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEholiday ALL    1100.00 

Time Before: 0.29441 seconds
Time After: 0.31256 seconds
Time Taken: 0.01815 seconds

Memory Before: 9,965.836 KB
Memory After: 9,966.438 KB
Memory Used: 0.602 KB

SQL Query
SELECT eventid, userid, event.title, recurring, recuroption, dateline_from, dateline_to, event.calendarid, IF (dateline_to = 0, 1, 0) AS singleday, customfields,
	dateline_from AS dateline_from_user, dateline_to AS dateline_to_user, utc, dst
FROM event AS event
INNER JOIN calendar AS calendar USING (calendarid)
WHERE ((dateline_to >= 1714537798 AND dateline_from < 1714883398) OR (dateline_to = 0 AND dateline_from >= 1714537798 AND dateline_from <= 1714883398 ))
	AND visible = 1
	AND calendar.options & 512
ORDER BY dateline_from
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEevent refcalendarid,visible,daterangevisible2const1100.00Using index condition; Using where; Using filesort
1SIMPLEcalendar eq_refPRIMARYPRIMARY4melanotan_test.event.calendarid1100.00Using where

Time Before: 0.31350 seconds
Time After: 0.31389 seconds
Time Taken: 0.00040 seconds

Memory Before: 9,967.906 KB
Memory After: 9,967.992 KB
Memory Used: 0.086 KB

SQL Query
REPLACE INTO datastore
	(title, data, unserialize)
VALUES
	('eventcache', 'a:1:{s:4:\"date\";s:8:\"5-5-2024\";}', 1)

Time Before: 0.31397 seconds
Time After: 0.45705 seconds
Time Taken: 0.14307 seconds

Memory Before: 9,967.242 KB
Memory After: 9,967.555 KB
Memory Used: 0.313 KB

SQL Query
SELECT
	user.username, (user.options & 512) AS invisible, user.usergroupid, user.lastvisit,
	session.userid, session.inforum, session.lastactivity, session.badlocation,
	IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid, infractiongroupid
	
FROM session AS session
LEFT JOIN user AS user ON(user.userid = session.userid)

WHERE session.lastactivity > 1714709698
	
ORDER BY username ASC
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEsession rangelast_activitylast_activity4 96100.00Using where; Using temporary; Using filesort
1SIMPLEuser eq_refPRIMARYPRIMARY4melanotan_test.session.userid1100.00 

Time Before: 0.45777 seconds
Time After: 0.45857 seconds
Time Taken: 0.00080 seconds

Memory Before: 9,968.891 KB
Memory After: 9,976.664 KB
Memory Used: 7.773 KB

SQL Query
SELECT forum.forumid, forum.lastpost, forum.lastposter, forum.lastposterid, forum.lastthread, forum.lastthreadid, forum.lasticonid, forum.threadcount, forum.replycount, forum.lastpostid, forum.lastprefixid, user.usergroupid, user.homepage, user.options AS useroptions, IF(userlist.friend = 'yes', 1, 0) AS isfriend,
	user.lastactivity, user.lastvisit, IF(user.options & 512, 1, 0) AS invisible
	
FROM forum AS forum

LEFT JOIN user AS user ON (user.userid = forum.lastposterid)
LEFT JOIN userlist AS userlist ON (userlist.relationid = user.userid AND userlist.type = 'buddy' AND userlist.userid = 0)
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEforum ALL    2100.00 
1SIMPLEuser eq_refPRIMARYPRIMARY4melanotan_test.forum.lastposterid1100.00 
1SIMPLEuserlist eq_refPRIMARY,relationid,useridPRIMARY9const,melanotan_test.user.userid,const1100.00 

Time Before: 0.45973 seconds
Time After: 0.46010 seconds
Time Taken: 0.00037 seconds

Memory Before: 9,973.586 KB
Memory After: 9,973.891 KB
Memory Used: 0.305 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (427,428,1353,484,485,487,488,489,490,486,1344,557,563,558,1427,1445,1428,562,908,1361,1343,1393,1059,0,0,436,430,429,434,435,433,432,437,438,439,745,1430,1381,695,692,693,694,1057,0,0,1020,1022,715,716,718,719,942,984,983,1033,985,1420,541,545,1352,61,85,1386,1385,1387,1389,1388,1390,1382,1384)
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEtemplate rangePRIMARYPRIMARY4 67100.00Using where

Time Before: 0.49972 seconds
Time After: 0.50795 seconds
Time Taken: 0.00823 seconds

Memory Before: 10,562.648 KB
Memory After: 10,564.477 KB
Memory Used: 1.828 KB

SQL Query
SELECT user.userid as usersuserid, user.avatarid, user.avatarrevision, avatarpath, NOT ISNULL(customavatar.userid) AS hascustom, customavatar.dateline,
	customavatar.width, customavatar.height, customavatar.width_thumb, customavatar.height_thumb
FROM user AS user
LEFT JOIN avatar AS avatar ON avatar.avatarid = user.avatarid
LEFT JOIN customavatar AS customavatar ON customavatar.userid = user.userid
WHERE user.username = 'Shaans'
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEuser refusernameusername102const1100.00 
1SIMPLEavatar eq_refPRIMARYPRIMARY2melanotan_test.user.avatarid1100.00Using where
1SIMPLEcustomavatar eq_refPRIMARYPRIMARY4melanotan_test.user.userid1100.00 

Time Before: 0.51598 seconds
Time After: 0.51636 seconds
Time Taken: 0.00038 seconds

Memory Before: 10,849.102 KB
Memory After: 10,849.375 KB
Memory Used: 0.273 KB

SQL Query
SELECT user.userid as usersuserid, user.avatarid, user.avatarrevision, avatarpath, NOT ISNULL(customavatar.userid) AS hascustom, customavatar.dateline,
	customavatar.width, customavatar.height, customavatar.width_thumb, customavatar.height_thumb
FROM user AS user
LEFT JOIN avatar AS avatar ON avatar.avatarid = user.avatarid
LEFT JOIN customavatar AS customavatar ON customavatar.userid = user.userid
WHERE user.username = 'Talktomikey@gmail.com'
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEuser refusernameusername102const1100.00 
1SIMPLEavatar eq_refPRIMARYPRIMARY2melanotan_test.user.avatarid1100.00Using where
1SIMPLEcustomavatar eq_refPRIMARYPRIMARY4melanotan_test.user.userid1100.00 

Time Before: 0.51824 seconds
Time After: 0.51856 seconds
Time Taken: 0.00033 seconds

Memory Before: 10,853.625 KB
Memory After: 10,853.891 KB
Memory Used: 0.266 KB

SQL Query
SELECT post.dateline, post.pagetext AS message, post.allowsmilie, post.postid,
	thread.threadid, thread.title, thread.prefixid, post.attach,
	forum.forumid,
	user.*
	,avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight
FROM post AS post
JOIN thread AS thread ON (thread.threadid = post.threadid)
JOIN forum AS forum ON(forum.forumid = thread.forumid)
LEFT JOIN user AS user ON (post.userid = user.userid)
 LEFT JOIN cms_nodeinfo AS info ON info.associatedthreadid = thread.threadid 
LEFT JOIN avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN customavatar AS customavatar ON(customavatar.userid = user.userid)
			WHERE 1=1
AND thread.forumid IN(42,34)
AND thread.visible = 1
AND post.visible = 1
AND thread.open <> 10
AND post.dateline > 1712118598

 AND info.associatedthreadid IS NULL 
			ORDER BY post.dateline DESC
			LIMIT 0,5
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEpost rangethreadid,threadid_visible_dateline,datelinedateline4 110.00Using index condition; Using where
1SIMPLEthread eq_refPRIMARY,forumid,forumid_lastpostPRIMARY4melanotan_test.post.threadid190.00Using where
1SIMPLEforum eq_refPRIMARYPRIMARY2melanotan_test.thread.forumid1100.00Using index
1SIMPLEuser eq_refPRIMARYPRIMARY4melanotan_test.post.userid1100.00 
1SIMPLEinfo refassociatedthreadidassociatedthreadid4melanotan_test.post.threadid35100.00Using where; Not exists; Using index
1SIMPLEavatar eq_refPRIMARYPRIMARY2melanotan_test.user.avatarid1100.00Using where
1SIMPLEcustomavatar eq_refPRIMARYPRIMARY4melanotan_test.user.userid1100.00 

Time Before: 0.52758 seconds
Time After: 0.52814 seconds
Time Taken: 0.00056 seconds

Memory Before: 11,067.742 KB
Memory After: 11,067.359 KB
Memory Used: -0.383 KB

SQL Query
SELECT stream.*, type.section, type.type
FROM activitystream AS stream
LEFT JOIN activitystreamtype AS type ON (stream.typeid = type.typeid)
WHERE stream.dateline <> 0 AND stream.dateline <= 1714710598
ORDER BY dateline DESC
LIMIT 0, 5
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEstream ALLdateline   1100.00Using where; Using filesort
1SIMPLEtype eq_refPRIMARYPRIMARY4melanotan_test.stream.typeid1100.00 

Time Before: 0.55192 seconds
Time After: 0.55219 seconds
Time Taken: 0.00027 seconds

Memory Before: 11,777.336 KB
Memory After: 11,777.711 KB
Memory Used: 0.375 KB

SQL Query
SELECT b.blogid, b.userid, b.username,b.attach, b.title,b.attach, pagetext
FROM blog b join blog_text as bt on ( b.blogid = bt.blogid ) where b.userid = bt.userid ORDER BY b.blogid Desc LIMIT 5
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEb ALLPRIMARY,userid   17100.00Using filesort
1SIMPLEbt refblogid,useridblogid4melanotan_test.b.blogid410.00Using where

Time Before: 0.55412 seconds
Time After: 0.55452 seconds
Time Taken: 0.00040 seconds

Memory Before: 11,834.914 KB
Memory After: 11,835.656 KB
Memory Used: 0.742 KB

SQL Query
SELECT data, expires, locktime, serialized
FROM cache
WHERE cacheid = 'vb_types.types'
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEcache constPRIMARYPRIMARY66const1100.00 

Time Before: 0.58463 seconds
Time After: 0.58488 seconds
Time Taken: 0.00025 seconds

Memory Before: 12,436.008 KB
Memory After: 12,436.578 KB
Memory Used: 0.570 KB

SQL Query
SELECT
				fd.thumbnail_dateline, fd.filesize, IF(fd.thumbnail_filesize > 0, 1, 0) AS hasthumbnail, fd.thumbnail_filesize,
				a.dateline, a.state, a.attachmentid, a.counter, a.contentid, a.filename, a.userid, a.settings, a.displayorder,
				at.contenttypes
FROM attachment AS a
			INNER JOIN filedata AS fd ON (fd.filedataid = a.filedataid)
			LEFT JOIN attachmenttype AS at ON (at.extension = fd.extension)
			
			
				WHERE
					a.contentid = 53
						AND
					a.contenttypeid = 19

ORDER BY a.contentid, a.displayorder
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEa refcontenttypeid,contentid,filedataidcontenttypeid8const,const1100.00Using index condition; Using filesort
1SIMPLEfd eq_refPRIMARYPRIMARY4melanotan_test.a.filedataid1100.00 
1SIMPLEat eq_refPRIMARYPRIMARY20melanotan_test.fd.extension1100.00Using where

Time Before: 0.58617 seconds
Time After: 0.58655 seconds
Time Taken: 0.00038 seconds

Memory Before: 12,512.172 KB
Memory After: 12,512.391 KB
Memory Used: 0.219 KB

SQL Query
SELECT
				fd.thumbnail_dateline, fd.filesize, IF(fd.thumbnail_filesize > 0, 1, 0) AS hasthumbnail, fd.thumbnail_filesize,
				a.dateline, a.state, a.attachmentid, a.counter, a.contentid, a.filename, a.userid, a.settings, a.displayorder,
				at.contenttypes
FROM attachment AS a
			INNER JOIN filedata AS fd ON (fd.filedataid = a.filedataid)
			LEFT JOIN attachmenttype AS at ON (at.extension = fd.extension)
			
			
				WHERE
					a.contentid = 51
						AND
					a.contenttypeid = 19

ORDER BY a.contentid, a.displayorder
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEa refcontenttypeid,contentid,filedataidcontenttypeid8const,const1100.00Using index condition; Using filesort
1SIMPLEfd eq_refPRIMARYPRIMARY4melanotan_test.a.filedataid1100.00 
1SIMPLEat eq_refPRIMARYPRIMARY20melanotan_test.fd.extension1100.00Using where

Time Before: 0.58731 seconds
Time After: 0.58768 seconds
Time Taken: 0.00037 seconds

Memory Before: 12,517.727 KB
Memory After: 12,517.945 KB
Memory Used: 0.219 KB

SQL Query
SELECT
				fd.thumbnail_dateline, fd.filesize, IF(fd.thumbnail_filesize > 0, 1, 0) AS hasthumbnail, fd.thumbnail_filesize,
				a.dateline, a.state, a.attachmentid, a.counter, a.contentid, a.filename, a.userid, a.settings, a.displayorder,
				at.contenttypes
FROM attachment AS a
			INNER JOIN filedata AS fd ON (fd.filedataid = a.filedataid)
			LEFT JOIN attachmenttype AS at ON (at.extension = fd.extension)
			
			
				WHERE
					a.contentid = 50
						AND
					a.contenttypeid = 19

ORDER BY a.contentid, a.displayorder
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEa refcontenttypeid,contentid,filedataidcontenttypeid8const,const1100.00Using index condition; Using filesort
1SIMPLEfd eq_refPRIMARYPRIMARY4melanotan_test.a.filedataid1100.00 
1SIMPLEat eq_refPRIMARYPRIMARY20melanotan_test.fd.extension1100.00Using where

Time Before: 0.58857 seconds
Time After: 0.58893 seconds
Time Taken: 0.00036 seconds

Memory Before: 12,519.578 KB
Memory After: 12,519.797 KB
Memory Used: 0.219 KB

SQL Query
SELECT
				fd.thumbnail_dateline, fd.filesize, IF(fd.thumbnail_filesize > 0, 1, 0) AS hasthumbnail, fd.thumbnail_filesize,
				a.dateline, a.state, a.attachmentid, a.counter, a.contentid, a.filename, a.userid, a.settings, a.displayorder,
				at.contenttypes
FROM attachment AS a
			INNER JOIN filedata AS fd ON (fd.filedataid = a.filedataid)
			LEFT JOIN attachmenttype AS at ON (at.extension = fd.extension)
			
			
				WHERE
					a.contentid = 46
						AND
					a.contenttypeid = 19

ORDER BY a.contentid, a.displayorder
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEa refcontenttypeid,contentid,filedataidcontenttypeid8const,const1100.00Using index condition; Using filesort
1SIMPLEfd eq_refPRIMARYPRIMARY4melanotan_test.a.filedataid1100.00 
1SIMPLEat eq_refPRIMARYPRIMARY20melanotan_test.fd.extension1100.00Using where

Time Before: 0.58989 seconds
Time After: 0.59026 seconds
Time Taken: 0.00037 seconds

Memory Before: 12,521.445 KB
Memory After: 12,521.664 KB
Memory Used: 0.219 KB

SQL Query
SELECT thread.threadid, thread.title, thread.replycount 
FROM thread AS thread
LEFT JOIN post AS post ON (post.postid = thread.firstpostid)
WHERE 1=1
ORDER BY thread.replycount DESC
LIMIT 0,10
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEthread ALL    2939100.00Using filesort
1SIMPLEpost eq_refPRIMARYPRIMARY4melanotan_test.thread.firstpostid1100.00Using index

Time Before: 0.59100 seconds
Time After: 0.59328 seconds
Time Taken: 0.00227 seconds

Memory Before: 12,517.883 KB
Memory After: 12,518.641 KB
Memory Used: 0.758 KB

SQL Query
SELECT * FROM thread ORDER BY dateline DESC LIMIT 10
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEthread index dateline4 10100.00 

Time Before: 0.59395 seconds
Time After: 0.59426 seconds
Time Taken: 0.00031 seconds

Memory Before: 12,529.430 KB
Memory After: 12,532.898 KB
Memory Used: 3.469 KB

SQL Query
SELECT post.dateline, post.pagetext AS message, post.allowsmilie, post.postid,
					thread.threadid, thread.title, thread.prefixid, post.attach,
					forum.forumid,
					user.*
					, avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight
				FROM post AS post
				JOIN thread AS thread ON (thread.threadid = post.threadid)
				JOIN forum AS forum ON(forum.forumid = thread.forumid)
				LEFT JOIN user AS user ON (post.userid = user.userid)
				LEFT JOIN avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN customavatar AS customavatar ON(customavatar.userid = user.userid)
			WHERE 1=1
				
				AND thread.visible = 1
				AND post.visible = 1
				AND thread.open <> 10
				
			ORDER BY post.dateline DESC
			LIMIT 0,8
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEforum indexPRIMARYPRIMARY2 2100.00Using index; Using temporary; Using filesort
1SIMPLEthread ALLPRIMARY,forumid,forumid_lastpost   29394.50Using where; Using join buffer (Block Nested Loop)
1SIMPLEpost refthreadid,threadid_visible_datelinethreadid_visible_dateline6melanotan_test.thread.threadid,const6100.00 
1SIMPLEuser eq_refPRIMARYPRIMARY4melanotan_test.post.userid1100.00 
1SIMPLEavatar eq_refPRIMARYPRIMARY2melanotan_test.user.avatarid1100.00Using where
1SIMPLEcustomavatar eq_refPRIMARYPRIMARY4melanotan_test.user.userid1100.00 

Time Before: 0.59557 seconds
Time After: 1.11378 seconds
Time Taken: 0.51821 seconds

Memory Before: 12,564.164 KB
Memory After: 12,569.914 KB
Memory Used: 5.750 KB

SQL Query
SELECT template
FROM template
WHERE templateid = 1407
idselect_typetablepartitionstypepossible_keyskeykey_lenrefrowsfilteredExtra
1SIMPLEtemplate constPRIMARYPRIMARY4const1100.00 

Time Before: 1.13049 seconds
Time After: 1.13075 seconds
Time Taken: 0.00027 seconds

Memory Before: 12,670.094 KB
Memory After: 12,670.680 KB
Memory Used: 0.586 KB

SQL Query
INSERT IGNORE INTO session
	(sessionhash, userid, host, idhash, lastactivity, location, styleid, languageid, loggedin, inforum, inthread, incalendar, badlocation, useragent, bypass, profileupdate, apiclientid, apiaccesstoken)
VALUES
	('e93c64c1639c7ab0fa827bee10964182', 0, '3.17.203.68', 'd4688d8dd496acb25d86087c24f05a45', 1714710598, '/realpeptide/forum/?explain=1', 0, 0, 0, 0, 0, 0, 0, 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', 0, 0, 0, '')

Time Before: 1.16166 seconds
Time After: 1.16187 seconds
Time Taken: 0.00021 seconds

Memory Before: 13,648.266 KB
Memory After: 13,648.180 KB
Memory Used: -0.086 KB

Page generated in 1.1313970088959 seconds with 33 queries, spending 0.74185609817505 doing MySQL queries and 0.38954091072083 doing PHP things.
Shutdown Queries:
DISABLED