Time Before: 0.02407 seconds
Time After: 0.04482 seconds
Time Taken: 0.02076 seconds
Memory Before: 2,342.375 KB
Memory After: 3,886.227 KB
Memory Used: 1,543.852 KB
Time Before: 0.04486 seconds
Time After: 0.04527 seconds
Time Taken: 0.00041 seconds
Memory Before: 3,886.258 KB
Memory After: 3,887.180 KB
Memory Used: 0.922 KB
SET @@sql_mode = ''
Time Before: 0.04549 seconds
Time After: 0.04563 seconds
Time Taken: 0.00014 seconds
Memory Before: 3,887.906 KB
Memory After: 3,888.492 KB
Memory Used: 0.586 KB
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')
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | datastore | range | PRIMARY | PRIMARY | 50 | 23 | 100.00 | Using where |
Time Before: 0.05643 seconds
Time After: 0.05709 seconds
Time Taken: 0.00066 seconds
Memory Before: 3,891.984 KB
Memory After: 3,892.961 KB
Memory Used: 0.977 KB
Time Before: 0.04569 seconds
Time After: 0.05831 seconds
Time Taken: 0.01262 seconds
Memory Before: 3,887.742 KB
Memory After: 4,691.023 KB
Memory Used: 803.281 KB
SELECT * FROM datastore WHERE title IN ('blogcategorycache','blogstats','dbtech_dbseo_keyword','dbtech_dbseo_gwt_cache','dbtech_dbseo_oauth','profilefield')
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | datastore | range | PRIMARY | PRIMARY | 50 | 6 | 100.00 | Using where |
Time Before: 0.13132 seconds
Time After: 0.13159 seconds
Time Taken: 0.00027 seconds
Memory Before: 7,426.758 KB
Memory After: 7,427.344 KB
Memory Used: 0.586 KB
SELECT * FROM session WHERE userid = 0 AND host = '216.73.216.171' AND idhash = 'ea5a359a73a8141a16de516480d33c34' LIMIT 1
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | session | ref | user_activity,guest_lookup | guest_lookup | 51 | const,const,const | 2 | 100.00 |
Time Before: 0.13223 seconds
Time After: 0.13250 seconds
Time Taken: 0.00027 seconds
Memory Before: 7,444.000 KB
Memory After: 7,444.641 KB
Memory Used: 0.641 KB
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
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | language | system | PRIMARY | 1 | 100.00 |
Time Before: 0.13337 seconds
Time After: 0.13380 seconds
Time Taken: 0.00044 seconds
Memory Before: 7,455.727 KB
Memory After: 7,455.758 KB
Memory Used: 0.031 KB
Time Before: 0.13173 seconds
Time After: 0.13390 seconds
Time Taken: 0.00217 seconds
Memory Before: 7,436.711 KB
Memory After: 7,516.039 KB
Memory Used: 79.328 KB
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
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | calendar | ALL | 1 | 100.00 | Using filesort | |||||
1 | SIMPLE | calendarpermission | ref | calendarid,usergroupid | calendarid | 4 | melanotan_test.calendar.calendarid | 1 | 100.00 | Using where |
Time Before: 0.17463 seconds
Time After: 0.17493 seconds
Time Taken: 0.00029 seconds
Memory Before: 7,710.383 KB
Memory After: 7,710.742 KB
Memory Used: 0.359 KB
SELECT MAX(permissions & 1) AS perm FROM cms_permissions WHERE nodeid = 1 AND usergroupid IN (1)
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | cms_permissions | const | usergroupid,nodeid | usergroupid | 8 | const,const | 1 | 100.00 |
Time Before: 0.18739 seconds
Time After: 0.18765 seconds
Time Taken: 0.00026 seconds
Memory Before: 7,738.086 KB
Memory After: 7,738.633 KB
Memory Used: 0.547 KB
SELECT * FROM style WHERE (styleid = 1 AND userselect = 1) OR styleid = 1 ORDER BY styleid ASC LIMIT 1
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | style | const | PRIMARY | PRIMARY | 2 | const | 1 | 100.00 |
Time Before: 0.21432 seconds
Time After: 0.21469 seconds
Time Taken: 0.00038 seconds
Memory Before: 8,235.258 KB
Memory After: 8,235.891 KB
Memory Used: 0.633 KB
SELECT username, userid, birthday, showbirthday FROM user WHERE (birthday LIKE '09-18-%' OR birthday LIKE '09-19-%') AND usergroupid IN (0, 6, 10, 11, 7, 2, 5) AND showbirthday IN (2, 3) AND lastactivity >= 1755667710
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | user | range | usergroupid,birthday | birthday | 12 | 10 | 6.37 | Using index condition; Using where |
Time Before: 0.23887 seconds
Time After: 0.23925 seconds
Time Taken: 0.00039 seconds
Memory Before: 9,658.281 KB
Memory After: 9,658.680 KB
Memory Used: 0.398 KB
REPLACE INTO datastore (title, data, unserialize) VALUES ('birthdaycache', 'a:4:{s:4:\"day1\";s:10:\"2025-09-18\";s:4:\"day2\";s:10:\"2025-09-19\";s:6:\"users1\";a:0:{}s:6:\"users2\";a:0:{}}', 1)
Time Before: 0.23934 seconds
Time After: 0.28055 seconds
Time Taken: 0.04121 seconds
Memory Before: 9,659.797 KB
Memory After: 9,660.023 KB
Memory Used: 0.227 KB
SELECT calendarid FROM calendar WHERE options & 2
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | calendar | ALL | 1 | 100.00 | Using where |
Time Before: 0.28343 seconds
Time After: 0.28365 seconds
Time Taken: 0.00021 seconds
Memory Before: 9,970.750 KB
Memory After: 9,971.352 KB
Memory Used: 0.602 KB
SELECT * FROM holiday
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | holiday | ALL | 1 | 100.00 |
Time Before: 0.28420 seconds
Time After: 0.28436 seconds
Time Taken: 0.00017 seconds
Memory Before: 9,971.180 KB
Memory After: 9,971.781 KB
Memory Used: 0.602 KB
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 >= 1758086910 AND dateline_from < 1758432510) OR (dateline_to = 0 AND dateline_from >= 1758086910 AND dateline_from <= 1758432510 )) AND visible = 1 AND calendar.options & 512 ORDER BY dateline_from
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | event | ref | calendarid,visible,daterange | visible | 2 | const | 1 | 100.00 | Using index condition; Using where; Using filesort | |
1 | SIMPLE | calendar | eq_ref | PRIMARY | PRIMARY | 4 | melanotan_test.event.calendarid | 1 | 100.00 | Using where |
Time Before: 0.28503 seconds
Time After: 0.28536 seconds
Time Taken: 0.00033 seconds
Memory Before: 9,973.250 KB
Memory After: 9,973.336 KB
Memory Used: 0.086 KB
REPLACE INTO datastore (title, data, unserialize) VALUES ('eventcache', 'a:1:{s:4:\"date\";s:9:\"9-21-2025\";}', 1)
Time Before: 0.28543 seconds
Time After: 0.31400 seconds
Time Taken: 0.02857 seconds
Memory Before: 9,972.594 KB
Memory After: 9,972.898 KB
Memory Used: 0.305 KB
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 > 1758258810 ORDER BY username ASC
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | session | range | last_activity | last_activity | 4 | 95 | 100.00 | Using where; Using temporary; Using filesort | ||
1 | SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | melanotan_test.session.userid | 1 | 100.00 |
Time Before: 0.31454 seconds
Time After: 0.31538 seconds
Time Taken: 0.00083 seconds
Memory Before: 9,974.227 KB
Memory After: 9,986.031 KB
Memory Used: 11.805 KB
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)
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | forum | ALL | 2 | 100.00 | ||||||
1 | SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | melanotan_test.forum.lastposterid | 1 | 100.00 | ||
1 | SIMPLE | userlist | eq_ref | PRIMARY,relationid,userid | PRIMARY | 9 | const,melanotan_test.user.userid,const | 1 | 100.00 |
Time Before: 0.31681 seconds
Time After: 0.31716 seconds
Time Taken: 0.00036 seconds
Memory Before: 9,978.922 KB
Memory After: 9,979.227 KB
Memory Used: 0.305 KB
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)
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | template | range | PRIMARY | PRIMARY | 4 | 67 | 100.00 | Using where |
Time Before: 0.34492 seconds
Time After: 0.34953 seconds
Time Taken: 0.00461 seconds
Memory Before: 10,568.055 KB
Memory After: 10,569.883 KB
Memory Used: 1.828 KB
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'
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | user | ref | username | username | 102 | const | 1 | 100.00 | ||
1 | SIMPLE | avatar | eq_ref | PRIMARY | PRIMARY | 2 | melanotan_test.user.avatarid | 1 | 100.00 | Using where | |
1 | SIMPLE | customavatar | eq_ref | PRIMARY | PRIMARY | 4 | melanotan_test.user.userid | 1 | 100.00 |
Time Before: 0.35802 seconds
Time After: 0.35832 seconds
Time Taken: 0.00030 seconds
Memory Before: 10,853.789 KB
Memory After: 10,854.070 KB
Memory Used: 0.281 KB
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'
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | user | ref | username | username | 102 | const | 1 | 100.00 | ||
1 | SIMPLE | avatar | eq_ref | PRIMARY | PRIMARY | 2 | melanotan_test.user.avatarid | 1 | 100.00 | Using where | |
1 | SIMPLE | customavatar | eq_ref | PRIMARY | PRIMARY | 4 | melanotan_test.user.userid | 1 | 100.00 |
Time Before: 0.36021 seconds
Time After: 0.36050 seconds
Time Taken: 0.00029 seconds
Memory Before: 10,858.102 KB
Memory After: 10,858.367 KB
Memory Used: 0.266 KB
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 > 1755667710 AND info.associatedthreadid IS NULL ORDER BY post.dateline DESC LIMIT 0,5
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | post | range | threadid,threadid_visible_dateline,dateline | dateline | 4 | 1 | 10.00 | Using index condition; Using where | ||
1 | SIMPLE | thread | eq_ref | PRIMARY,forumid,forumid_lastpost | PRIMARY | 4 | melanotan_test.post.threadid | 1 | 90.00 | Using where | |
1 | SIMPLE | forum | eq_ref | PRIMARY | PRIMARY | 2 | melanotan_test.thread.forumid | 1 | 100.00 | Using index | |
1 | SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | melanotan_test.post.userid | 1 | 100.00 | ||
1 | SIMPLE | info | ref | associatedthreadid | associatedthreadid | 4 | melanotan_test.post.threadid | 35 | 100.00 | Using where; Not exists; Using index | |
1 | SIMPLE | avatar | eq_ref | PRIMARY | PRIMARY | 2 | melanotan_test.user.avatarid | 1 | 100.00 | Using where | |
1 | SIMPLE | customavatar | eq_ref | PRIMARY | PRIMARY | 4 | melanotan_test.user.userid | 1 | 100.00 |
Time Before: 0.36909 seconds
Time After: 0.36960 seconds
Time Taken: 0.00051 seconds
Memory Before: 11,073.445 KB
Memory After: 11,073.063 KB
Memory Used: -0.383 KB
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 <= 1758259710 ORDER BY dateline DESC LIMIT 0, 5
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | stream | ALL | dateline | 1 | 100.00 | Using where; Using filesort | ||||
1 | SIMPLE | type | eq_ref | PRIMARY | PRIMARY | 4 | melanotan_test.stream.typeid | 1 | 100.00 |
Time Before: 0.38544 seconds
Time After: 0.38570 seconds
Time Taken: 0.00026 seconds
Memory Before: 11,783.203 KB
Memory After: 11,783.578 KB
Memory Used: 0.375 KB
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
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | b | ALL | PRIMARY,userid | 17 | 100.00 | Using filesort | ||||
1 | SIMPLE | bt | ref | blogid,userid | blogid | 4 | melanotan_test.b.blogid | 4 | 10.00 | Using where |
Time Before: 0.38787 seconds
Time After: 0.38821 seconds
Time Taken: 0.00034 seconds
Memory Before: 11,840.734 KB
Memory After: 11,841.477 KB
Memory Used: 0.742 KB
SELECT data, expires, locktime, serialized FROM cache WHERE cacheid = 'vb_types.types'
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | cache | const | PRIMARY | PRIMARY | 66 | const | 1 | 100.00 |
Time Before: 0.42654 seconds
Time After: 0.42674 seconds
Time Taken: 0.00020 seconds
Memory Before: 12,441.914 KB
Memory After: 12,442.484 KB
Memory Used: 0.570 KB
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
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | a | ref | contenttypeid,contentid,filedataid | contenttypeid | 8 | const,const | 1 | 100.00 | Using index condition; Using filesort | |
1 | SIMPLE | fd | eq_ref | PRIMARY | PRIMARY | 4 | melanotan_test.a.filedataid | 1 | 100.00 | ||
1 | SIMPLE | at | eq_ref | PRIMARY | PRIMARY | 20 | melanotan_test.fd.extension | 1 | 100.00 | Using where |
Time Before: 0.42789 seconds
Time After: 0.42833 seconds
Time Taken: 0.00044 seconds
Memory Before: 12,518.078 KB
Memory After: 12,518.297 KB
Memory Used: 0.219 KB
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
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | a | ref | contenttypeid,contentid,filedataid | contenttypeid | 8 | const,const | 1 | 100.00 | Using index condition; Using filesort | |
1 | SIMPLE | fd | eq_ref | PRIMARY | PRIMARY | 4 | melanotan_test.a.filedataid | 1 | 100.00 | ||
1 | SIMPLE | at | eq_ref | PRIMARY | PRIMARY | 20 | melanotan_test.fd.extension | 1 | 100.00 | Using where |
Time Before: 0.42924 seconds
Time After: 0.42966 seconds
Time Taken: 0.00042 seconds
Memory Before: 12,523.594 KB
Memory After: 12,523.813 KB
Memory Used: 0.219 KB
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
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | a | ref | contenttypeid,contentid,filedataid | contenttypeid | 8 | const,const | 1 | 100.00 | Using index condition; Using filesort | |
1 | SIMPLE | fd | eq_ref | PRIMARY | PRIMARY | 4 | melanotan_test.a.filedataid | 1 | 100.00 | ||
1 | SIMPLE | at | eq_ref | PRIMARY | PRIMARY | 20 | melanotan_test.fd.extension | 1 | 100.00 | Using where |
Time Before: 0.43053 seconds
Time After: 0.43092 seconds
Time Taken: 0.00039 seconds
Memory Before: 12,525.406 KB
Memory After: 12,525.625 KB
Memory Used: 0.219 KB
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
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | a | ref | contenttypeid,contentid,filedataid | contenttypeid | 8 | const,const | 1 | 100.00 | Using index condition; Using filesort | |
1 | SIMPLE | fd | eq_ref | PRIMARY | PRIMARY | 4 | melanotan_test.a.filedataid | 1 | 100.00 | ||
1 | SIMPLE | at | eq_ref | PRIMARY | PRIMARY | 20 | melanotan_test.fd.extension | 1 | 100.00 | Using where |
Time Before: 0.43194 seconds
Time After: 0.43235 seconds
Time Taken: 0.00042 seconds
Memory Before: 12,527.234 KB
Memory After: 12,527.453 KB
Memory Used: 0.219 KB
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
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | thread | ALL | 2939 | 100.00 | Using filesort | |||||
1 | SIMPLE | post | eq_ref | PRIMARY | PRIMARY | 4 | melanotan_test.thread.firstpostid | 1 | 100.00 | Using index |
Time Before: 0.43308 seconds
Time After: 0.43563 seconds
Time Taken: 0.00255 seconds
Memory Before: 12,523.633 KB
Memory After: 12,524.391 KB
Memory Used: 0.758 KB
SELECT * FROM thread ORDER BY dateline DESC LIMIT 10
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | thread | index | dateline | 4 | 10 | 100.00 |
Time Before: 0.43651 seconds
Time After: 0.43679 seconds
Time Taken: 0.00028 seconds
Memory Before: 12,534.867 KB
Memory After: 12,538.336 KB
Memory Used: 3.469 KB
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
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | forum | index | PRIMARY | PRIMARY | 2 | 2 | 100.00 | Using index; Using temporary; Using filesort | ||
1 | SIMPLE | thread | ALL | PRIMARY,forumid,forumid_lastpost | 2939 | 4.50 | Using where; Using join buffer (Block Nested Loop) | ||||
1 | SIMPLE | post | ref | threadid,threadid_visible_dateline | threadid_visible_dateline | 6 | melanotan_test.thread.threadid,const | 6 | 100.00 | ||
1 | SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | melanotan_test.post.userid | 1 | 100.00 | ||
1 | SIMPLE | avatar | eq_ref | PRIMARY | PRIMARY | 2 | melanotan_test.user.avatarid | 1 | 100.00 | Using where | |
1 | SIMPLE | customavatar | eq_ref | PRIMARY | PRIMARY | 4 | melanotan_test.user.userid | 1 | 100.00 |
Time Before: 0.43811 seconds
Time After: 1.77756 seconds
Time Taken: 1.33945 seconds
Memory Before: 12,569.258 KB
Memory After: 12,575.008 KB
Memory Used: 5.750 KB
SELECT template FROM template WHERE templateid = 1407
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | template | const | PRIMARY | PRIMARY | 4 | const | 1 | 100.00 |
Time Before: 1.79712 seconds
Time After: 1.79737 seconds
Time Taken: 0.00025 seconds
Memory Before: 12,673.453 KB
Memory After: 12,674.039 KB
Memory Used: 0.586 KB
UPDATE session SET location = '/realpeptide/forum/?explain=1', inforum = 0, inthread = 0, badlocation = 0 WHERE sessionhash = '00caececf30c4a2fb36ab85cc4d99710'
Time Before: 1.83202 seconds
Time After: 1.83224 seconds
Time Taken: 0.00021 seconds
Memory Before: 13,742.258 KB
Memory After: 13,742.523 KB
Memory Used: 0.266 KB