Time Before: 0.00011 seconds
Time After: 0.00012 seconds
Time Taken: 0.00001 seconds
Memory Before: 444.633 KB
Memory After: 447.273 KB
Memory Used: 2.641 KB
Time Before: 0.00014 seconds
Time After: 0.00044 seconds
Time Taken: 0.00031 seconds
Memory Before: 447.227 KB
Memory After: 448.117 KB
Memory Used: 0.891 KB
SET @@sql_mode = ''
Time Before: 0.00054 seconds
Time After: 0.00062 seconds
Time Taken: 0.00008 seconds
Memory Before: 448.141 KB
Memory After: 448.195 KB
Memory Used: 0.055 KB
SELECT *
FROM datastore
WHERE title IN ('','options','bitfields','attachmentcache','forumcache','usergroupcache','stylecache','languagecache','products','pluginlist','cron','profilefield','loadcache','noticecache','smiliecache','bbcodecache','mailqueue','bookmarksitecache')| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SIMPLE | datastore | ALL | PRIMARY | 40 | Using where |
Time Before: 0.00090 seconds
Time After: 0.00138 seconds
Time Taken: 0.00048 seconds
Memory Before: 449.531 KB
Memory After: 562.992 KB
Memory Used: 113.461 KB
Time Before: 0.00063 seconds
Time After: 0.00319 seconds
Time Taken: 0.00256 seconds
Memory Before: 447.984 KB
Memory After: 700.211 KB
Memory Used: 252.227 KB
SELECT * FROM session WHERE userid = 0 AND host = '216.73.216.166' AND idhash = 'ea5a359a73a8141a16de516480d33c34' LIMIT 1
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SIMPLE | session | ALL | 19 | Using where |
Time Before: 0.00337 seconds
Time After: 0.00345 seconds
Time Taken: 0.00008 seconds
Memory Before: 704.836 KB
Memory After: 721.336 KB
Memory Used: 16.500 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 = 2
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SIMPLE | language | const | PRIMARY | PRIMARY | 2 | const | 1 |
Time Before: 0.00366 seconds
Time After: 0.00403 seconds
Time Taken: 0.00037 seconds
Memory Before: 711.133 KB
Memory After: 787.945 KB
Memory Used: 76.813 KB
Time Before: 0.00323 seconds
Time After: 0.00406 seconds
Time Taken: 0.00083 seconds
Memory Before: 702.609 KB
Memory After: 776.359 KB
Memory Used: 73.750 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 = 333
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SIMPLE | post | const | PRIMARY | PRIMARY | 4 | const | 1 | |
| 1 | SIMPLE | editlog | const | PRIMARY | PRIMARY | 4 | const | 1 | Unique row not found |
Time Before: 0.00520 seconds
Time After: 0.00532 seconds
Time Taken: 0.00012 seconds
Memory Before: 919.469 KB
Memory After: 935.844 KB
Memory Used: 16.375 KB
SELECT IF(visible = 2, 1, 0) AS isdeleted, thread.* FROM thread AS thread WHERE thread.threadid = 10
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SIMPLE | thread | const | PRIMARY | PRIMARY | 4 | const | 1 |
Time Before: 0.00546 seconds
Time After: 0.00554 seconds
Time Taken: 0.00008 seconds
Memory Before: 925.031 KB
Memory After: 941.656 KB
Memory Used: 16.625 KB
SELECT * FROM style WHERE (styleid = 7 AND userselect = 1) OR styleid = 7 ORDER BY styleid ASC LIMIT 1
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SIMPLE | style | const | PRIMARY | PRIMARY | 2 | const | 1 |
Time Before: 0.00576 seconds
Time After: 0.00593 seconds
Time Taken: 0.00016 seconds
Memory Before: 932.898 KB
Memory After: 997.461 KB
Memory Used: 64.563 KB
SELECT title, template FROM template WHERE templateid IN (1985,1986,1988,1987,2070,2476,2102,2103,2105,2112,2111,907,2285,908,2272,2274,909,2276,2278,2279,2280,911,2284,2008,2010,2012,2014,922,2314,2317,2318,2315,2313,2386,2387,2264,2263,2265,2269,2267,2414,2048,2047,2049,2050,921,920,2480,1983,1982,1984,1979,1978,2255,903,904,2208,2209,2475,2478,2487,2228,2229,2230,2231,2429,2492,2491,2493,2496)
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SIMPLE | template | range | PRIMARY | PRIMARY | 4 | 70 | Using index condition |
Time Before: 0.00670 seconds
Time After: 0.00721 seconds
Time Taken: 0.00050 seconds
Memory Before: 1,084.648 KB
Memory After: 1,232.352 KB
Memory Used: 147.703 KB
SELECT COUNT(*) AS posts FROM post AS post WHERE threadid = 10 AND visible = 1 AND dateline <= 1143413708
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SIMPLE | post | ref | threadid | threadid | 4 | const | 49 | Using where |
Time Before: 0.00824 seconds
Time After: 0.00850 seconds
Time Taken: 0.00026 seconds
Memory Before: 1,292.711 KB
Memory After: 1,308.945 KB
Memory Used: 16.234 KB
SELECT post.postid, post.attach FROM post AS post WHERE post.threadid = 10 AND post.visible = 1 ORDER BY post.dateline LIMIT 50, 10
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SIMPLE | post | ref | threadid | threadid | 4 | const | 49 | Using where; Using filesort |
Time Before: 0.00872 seconds
Time After: 0.00899 seconds
Time Taken: 0.00027 seconds
Memory Before: 1,294.570 KB
Memory After: 1,310.945 KB
Memory Used: 16.375 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 (0,333,334,335,342) ORDER BY attachmentid
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SIMPLE | attachment | range | postid | postid | 4 | 5 | Using index condition; Using filesort | |
| 1 | SIMPLE | attachmenttype | eq_ref | PRIMARY | PRIMARY | 22 | vbfp_forum.attachment.extension | 1 |
Time Before: 0.00920 seconds
Time After: 0.00935 seconds
Time Taken: 0.00015 seconds
Memory Before: 1,295.875 KB
Memory After: 1,311.914 KB
Memory Used: 16.039 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 = 7 AND postparsed.languageid = 2) LEFT JOIN sigparsed AS sigparsed ON(sigparsed.userid = user.userid AND sigparsed.styleid = 7 AND sigparsed.languageid = 2) LEFT JOIN sigpic AS sigpic ON(sigpic.userid = post.userid) WHERE post.postid IN (0,333,334,335,342) ORDER BY post.dateline
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SIMPLE | avatar | system | PRIMARY | 0 | Const row not found | |||
| 1 | SIMPLE | postparsed | system | PRIMARY | 0 | Const row not found | |||
| 1 | SIMPLE | sigpic | system | PRIMARY | 0 | Const row not found | |||
| 1 | SIMPLE | post | range | PRIMARY | PRIMARY | 4 | 5 | Using index condition; Using filesort | |
| 1 | SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | vbfp_forum.post.userid | 1 | |
| 1 | SIMPLE | customavatar | eq_ref | PRIMARY | PRIMARY | 4 | vbfp_forum.user.userid | 1 | Using where |
| 1 | SIMPLE | editlog | eq_ref | PRIMARY | PRIMARY | 4 | vbfp_forum.post.postid | 1 | |
| 1 | SIMPLE | sigparsed | eq_ref | PRIMARY | PRIMARY | 8 | vbfp_forum.user.userid,const,const | 1 | Using where |
| 1 | SIMPLE | userfield | eq_ref | PRIMARY | PRIMARY | 4 | vbfp_forum.user.userid | 1 | Using where |
| 1 | SIMPLE | usertextfield | eq_ref | PRIMARY | PRIMARY | 4 | vbfp_forum.user.userid | 1 | Using where |
| 1 | SIMPLE | icon | eq_ref | PRIMARY | PRIMARY | 2 | vbfp_forum.post.iconid | 1 |
Time Before: 0.00977 seconds
Time After: 0.01019 seconds
Time Taken: 0.00042 seconds
Memory Before: 1,316.664 KB
Memory After: 1,339.008 KB
Memory Used: 22.344 KB
UPDATE session SET location = '/showthread.php?explain=1&p=333', inforum = 4, inthread = 10, badlocation = 0 WHERE sessionhash = 'e50b84b3539cdcb1ce960fdb479478a0'
Time Before: 0.01271 seconds
Time After: 0.01282 seconds
Time Taken: 0.00011 seconds
Memory Before: 1,622.766 KB
Memory After: 1,622.641 KB
Memory Used: -0.125 KB
INSERT INTO threadviews (threadid) VALUES (10)
Time Before: 0.01284 seconds
Time After: 0.01294 seconds
Time Taken: 0.00009 seconds
Memory Before: 1,620.422 KB
Memory After: 1,620.516 KB
Memory Used: 0.094 KB