Time Before: 0.00043 seconds
Time After: 0.00051 seconds
Time Taken: 0.00008 seconds
Memory Before: 435.219 KB
Memory After: 445.273 KB
Memory Used: 10.055 KB
Time Before: 0.00056 seconds
Time After: 0.02973 seconds
Time Taken: 0.02917 seconds
Memory Before: 445.211 KB
Memory After: 446.125 KB
Memory Used: 0.914 KB
SELECT * FROM datastore WHERE title IN ('attachmentcache','cron','profilefield','loadcache','noticecache','smiliecache','bbcodecache','mailqueue','bookmarksitecache')
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | datastore | range | PRIMARY | PRIMARY | 52 | 9 | 100.00 | Using index condition |
Time Before: 0.03710 seconds
Time After: 0.04300 seconds
Time Taken: 0.00590 seconds
Memory Before: 943.180 KB
Memory After: 944.016 KB
Memory Used: 0.836 KB
Time Before: 0.02983 seconds
Time After: 0.04334 seconds
Time Taken: 0.01351 seconds
Memory Before: 445.828 KB
Memory After: 1,135.031 KB
Memory Used: 689.203 KB
SELECT * FROM session WHERE userid = 0 AND host = '13.59.159.156' AND idhash = '3471e53d0f022bdb103fb3295102303a' LIMIT 1
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | session | ALL | 23906 | 0.10 | Using where |
Time Before: 0.06009 seconds
Time After: 0.06350 seconds
Time Taken: 0.00341 seconds
Memory Before: 1,152.586 KB
Memory After: 1,153.172 KB
Memory Used: 0.586 KB
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, 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.07347 seconds
Time After: 0.08214 seconds
Time Taken: 0.00866 seconds
Memory Before: 1,163.859 KB
Memory After: 1,163.758 KB
Memory Used: -0.102 KB
Time Before: 0.04348 seconds
Time After: 0.08224 seconds
Time Taken: 0.03876 seconds
Memory Before: 1,147.398 KB
Memory After: 1,217.531 KB
Memory Used: 70.133 KB
SELECT post.*, IF(post.visible = 2, 1, 0) AS isdeleted, editlog.userid AS edit_userid, editlog.dateline AS edit_dateline, editlog.reason AS edit_reason, editlog.hashistory FROM post AS post LEFT JOIN editlog AS editlog ON (editlog.postid = post.postid) WHERE post.postid = 73937
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | post | const | PRIMARY | PRIMARY | 4 | const | 1 | 100.00 | ||
1 | SIMPLE | editlog | const | PRIMARY | PRIMARY | 4 | const | 0 | 0.00 | unique row not found |
Time Before: 0.11640 seconds
Time After: 0.11981 seconds
Time Taken: 0.00341 seconds
Memory Before: 1,378.430 KB
Memory After: 1,378.922 KB
Memory Used: 0.492 KB
SELECT IF(visible = 2, 1, 0) AS isdeleted, thread.* FROM thread AS thread WHERE thread.threadid = 5389
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | thread | const | PRIMARY | PRIMARY | 4 | const | 1 | 100.00 |
Time Before: 0.12315 seconds
Time After: 0.12649 seconds
Time Taken: 0.00333 seconds
Memory Before: 1,387.375 KB
Memory After: 1,388.078 KB
Memory Used: 0.703 KB
SELECT * FROM style WHERE (styleid = 5 AND userselect = 1) OR styleid = 5 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.12694 seconds
Time After: 0.13302 seconds
Time Taken: 0.00608 seconds
Memory Before: 1,400.492 KB
Memory After: 1,401.078 KB
Memory Used: 0.586 KB
SELECT title, template FROM template WHERE templateid IN (18408,18409,18411,18410,18493,15976,18525,18526,18528,18535,18534,14228,18708,18694,18695,18697,18696,18699,18701,18702,18703,18705,18707,18431,18433,18435,18437,14242,18737,18740,18741,18738,18736,18809,18810,18687,18686,18688,18692,18690,18837,18471,18470,18472,18473,10350,7917,14226,18406,18405,18407,18402,18401,18678,14225,7055,18631,18632,18898,18901,18910,18651,18652,18653,18654,18852,18915,18914,18916,18919,18925)
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | template | range | PRIMARY | PRIMARY | 4 | 71 | 100.00 | Using index condition |
Time Before: 0.13999 seconds
Time After: 0.14236 seconds
Time Taken: 0.00237 seconds
Memory Before: 1,587.641 KB
Memory After: 1,589.414 KB
Memory Used: 1.773 KB
SELECT COUNT(*) AS posts FROM post AS post WHERE threadid = 5389 AND visible = 1 AND dateline <= 1045505557
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | post | ref | threadid | threadid | 4 | const | 77 | 3.33 | Using where |
Time Before: 0.19055 seconds
Time After: 0.19809 seconds
Time Taken: 0.00754 seconds
Memory Before: 1,883.406 KB
Memory After: 1,883.906 KB
Memory Used: 0.500 KB
SELECT post.postid, post.attach FROM post AS post WHERE post.threadid = 5389 AND post.visible = 1 ORDER BY post.dateline LIMIT 20, 20
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | post | ref | threadid | threadid | 4 | const | 77 | 10.00 | Using index condition; Using where; Using filesort |
Time Before: 0.19868 seconds
Time After: 0.19909 seconds
Time Taken: 0.00041 seconds
Memory Before: 1,889.563 KB
Memory After: 1,890.469 KB
Memory Used: 0.906 KB
SELECT dateline, thumbnail_dateline, filename, filesize, visible, attachmentid, counter, postid, IF(thumbnail_filesize > 0, 1, 0) AS hasthumbnail, thumbnail_filesize, attachmenttype.thumbnail AS build_thumbnail, attachmenttype.newwindow FROM attachment LEFT JOIN attachmenttype AS attachmenttype USING (extension) WHERE postid IN (-1,73674,73708,73757,73759,73769,73779,73791,73839,73898,73937,74014,74104,74133,74517,74552,74634,74637,74653,75409,75410) ORDER BY attachmentid
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | attachment | range | postid | postid | 4 | 20 | 100.00 | Using index condition; Using filesort | ||
1 | SIMPLE | attachmenttype | eq_ref | PRIMARY | PRIMARY | 22 | psfantasy-forums.attachment.extension | 1 | 100.00 |
Time Before: 0.19972 seconds
Time After: 0.19998 seconds
Time Taken: 0.00026 seconds
Memory Before: 1,891.828 KB
Memory After: 1,891.938 KB
Memory Used: 0.109 KB
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,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 = 5 AND postparsed.languageid = 1) LEFT JOIN sigparsed AS sigparsed ON(sigparsed.userid = user.userid AND sigparsed.styleid = 5 AND sigparsed.languageid = 1) LEFT JOIN sigpic AS sigpic ON(sigpic.userid = post.userid) WHERE post.postid IN (0,73674,73708,73757,73759,73769,73779,73791,73839,73898,73937,74014,74104,74133,74517,74552,74634,74637,74653,75409,75410) ORDER BY post.dateline
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | postparsed | system | PRIMARY | 0 | 0.00 | const row not found | ||||
1 | SIMPLE | post | range | PRIMARY | PRIMARY | 4 | 21 | 100.00 | Using index condition; Using filesort | ||
1 | SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | psfantasy-forums.post.userid | 1 | 100.00 | ||
1 | SIMPLE | userfield | eq_ref | PRIMARY | PRIMARY | 4 | psfantasy-forums.user.userid | 1 | 100.00 | ||
1 | SIMPLE | usertextfield | eq_ref | PRIMARY | PRIMARY | 4 | psfantasy-forums.user.userid | 1 | 100.00 | ||
1 | SIMPLE | icon | eq_ref | PRIMARY | PRIMARY | 2 | psfantasy-forums.post.iconid | 1 | 100.00 | ||
1 | SIMPLE | avatar | eq_ref | PRIMARY | PRIMARY | 2 | psfantasy-forums.user.avatarid | 1 | 100.00 | Using where | |
1 | SIMPLE | customavatar | eq_ref | PRIMARY | PRIMARY | 4 | psfantasy-forums.user.userid | 1 | 100.00 | ||
1 | SIMPLE | editlog | eq_ref | PRIMARY | PRIMARY | 4 | psfantasy-forums.post.postid | 1 | 100.00 | ||
1 | SIMPLE | sigparsed | eq_ref | PRIMARY | PRIMARY | 8 | psfantasy-forums.user.userid,const,const | 1 | 100.00 | ||
1 | SIMPLE | sigpic | eq_ref | PRIMARY | PRIMARY | 4 | psfantasy-forums.post.userid | 1 | 100.00 |
Time Before: 0.20132 seconds
Time After: 0.20283 seconds
Time Taken: 0.00151 seconds
Memory Before: 1,899.555 KB
Memory After: 1,920.977 KB
Memory Used: 21.422 KB
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 (4152, 623, 3938, 343, 1080) AND thread.visible = 1 AND forum.password = '' ORDER BY lastpost DESC
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | thread | range | PRIMARY,forumid,catorder | PRIMARY | 4 | 5 | 10.00 | Using index condition; Using where; Using filesort | ||
1 | SIMPLE | forum | eq_ref | PRIMARY | PRIMARY | 2 | psfantasy-forums.thread.forumid | 1 | 10.00 | Using where | |
1 | SIMPLE | post | eq_ref | PRIMARY | PRIMARY | 4 | psfantasy-forums.thread.firstpostid | 1 | 100.00 |
Time Before: 0.51311 seconds
Time After: 0.51495 seconds
Time Taken: 0.00184 seconds
Memory Before: 2,128.023 KB
Memory After: 2,128.492 KB
Memory Used: 0.469 KB
UPDATE session SET lastactivity = 1716955099, location = '/showthread.php?explain=1&p=73937', inthread = 5389, incalendar = 0, badlocation = 0 WHERE sessionhash = '5fee4daa6605c05c2ba71032d6f324e4'
Time Before: 0.52507 seconds
Time After: 0.53025 seconds
Time Taken: 0.00519 seconds
Memory Before: 2,972.102 KB
Memory After: 2,972.297 KB
Memory Used: 0.195 KB
INSERT INTO threadviews (threadid) VALUES (5389)
Time Before: 0.53051 seconds
Time After: 0.53314 seconds
Time Taken: 0.00264 seconds
Memory Before: 2,966.695 KB
Memory After: 2,967.055 KB
Memory Used: 0.359 KB