Time Before: 0.00075 seconds
Time After: 0.00089 seconds
Time Taken: 0.00014 seconds
Memory Before: 433.805 KB
Memory After: 443.859 KB
Memory Used: 10.055 KB
Time Before: 0.00098 seconds
Time After: 0.03935 seconds
Time Taken: 0.03837 seconds
Memory Before: 443.797 KB
Memory After: 444.711 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.06628 seconds
Time After: 0.07576 seconds
Time Taken: 0.00947 seconds
Memory Before: 941.789 KB
Memory After: 942.625 KB
Memory Used: 0.836 KB
Time Before: 0.04645 seconds
Time After: 0.07626 seconds
Time Taken: 0.02981 seconds
Memory Before: 444.414 KB
Memory After: 1,133.648 KB
Memory Used: 689.234 KB
SELECT * FROM session WHERE userid = 0 AND host = '18.222.184.54' AND idhash = '4bba240d341999d564e965d0bd2fb7cc' LIMIT 1
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | session | ALL | 16975 | 0.10 | Using where |
Time Before: 0.10623 seconds
Time After: 0.11206 seconds
Time Taken: 0.00584 seconds
Memory Before: 1,151.070 KB
Memory After: 1,151.656 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.17937 seconds
Time After: 0.18936 seconds
Time Taken: 0.00999 seconds
Memory Before: 1,162.461 KB
Memory After: 1,162.359 KB
Memory Used: -0.102 KB
Time Before: 0.07655 seconds
Time After: 0.18953 seconds
Time Taken: 0.11298 seconds
Memory Before: 1,145.883 KB
Memory After: 1,216.148 KB
Memory Used: 70.266 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 = 134731
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.25606 seconds
Time After: 0.26949 seconds
Time Taken: 0.01342 seconds
Memory Before: 1,377.039 KB
Memory After: 1,377.531 KB
Memory Used: 0.492 KB
SELECT IF(visible = 2, 1, 0) AS isdeleted, thread.* FROM thread AS thread WHERE thread.threadid = 12354
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.28237 seconds
Time After: 0.29262 seconds
Time Taken: 0.01025 seconds
Memory Before: 1,386.070 KB
Memory After: 1,386.766 KB
Memory Used: 0.695 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.30604 seconds
Time After: 0.31953 seconds
Time Taken: 0.01349 seconds
Memory Before: 1,399.172 KB
Memory After: 1,399.758 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.33270 seconds
Time After: 0.34495 seconds
Time Taken: 0.01225 seconds
Memory Before: 1,586.336 KB
Memory After: 1,588.109 KB
Memory Used: 1.773 KB
SELECT COUNT(*) AS posts FROM post AS post WHERE threadid = 12354 AND visible = 1 AND dateline <= 1294376834
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | post | ref | threadid | threadid | 4 | const | 11 | 3.33 | Using where |
Time Before: 0.42822 seconds
Time After: 0.42838 seconds
Time Taken: 0.00016 seconds
Memory Before: 1,882.883 KB
Memory After: 1,883.391 KB
Memory Used: 0.508 KB
SELECT post.postid, post.attach FROM post AS post WHERE post.threadid = 12354 AND post.visible = 1 ORDER BY post.dateline LIMIT 0, 20
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | post | ref | threadid | threadid | 4 | const | 11 | 10.00 | Using index condition; Using where; Using filesort |
Time Before: 0.42872 seconds
Time After: 0.43016 seconds
Time Taken: 0.00144 seconds
Memory Before: 1,889.047 KB
Memory After: 1,889.688 KB
Memory Used: 0.641 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,134729,134730,134731,134734,134735,134736,134737,134739,134740) 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 | 10 | 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.43637 seconds
Time After: 0.43964 seconds
Time Taken: 0.00328 seconds
Memory Before: 1,897.086 KB
Memory After: 1,906.094 KB
Memory Used: 9.008 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 (83, 8581, 7369, 456, 3474) 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: 1.92718 seconds
Time After: 1.94389 seconds
Time Taken: 0.01672 seconds
Memory Before: 2,059.406 KB
Memory After: 2,059.961 KB
Memory Used: 0.555 KB
UPDATE session SET lastactivity = 1717215004, location = '/showthread.php?explain=1&p=134731', inforum = 2, inthread = 12354, incalendar = 0, badlocation = 0 WHERE sessionhash = '527b7e0a4bc6a1f479e71c26fd3bc706'
Time Before: 2.44768 seconds
Time After: 2.46765 seconds
Time Taken: 0.01997 seconds
Memory Before: 2,737.328 KB
Memory After: 2,737.508 KB
Memory Used: 0.180 KB
INSERT INTO threadviews (threadid) VALUES (12354)
Time Before: 2.46772 seconds
Time After: 2.47256 seconds
Time Taken: 0.00483 seconds
Memory Before: 2,731.586 KB
Memory After: 2,731.945 KB
Memory Used: 0.359 KB