Time Before: 0.00015 seconds
Time After: 0.00017 seconds
Time Taken: 0.00002 seconds
Memory Before: 439.688 KB
Memory After: 506.641 KB
Memory Used: 66.953 KB
Time Before: 0.00019 seconds
Time After: 0.00040 seconds
Time Taken: 0.00021 seconds
Memory Before: 506.594 KB
Memory After: 507.484 KB
Memory Used: 0.891 KB
SET @@sql_mode = ''
Time Before: 0.00045 seconds
Time After: 0.00050 seconds
Time Taken: 0.00004 seconds
Memory Before: 507.508 KB
Memory After: 507.563 KB
Memory Used: 0.055 KB
SELECT *
FROM datastore
WHERE title IN ('smiliecache','bbcodecache','navdata','options','bitfields','attachmentcache','forumcache','usergroupcache','stylecache','languagecache','products','pluginlist','cron','profilefield','loadcache','noticecache','activitystream','routes')| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SIMPLE | datastore | ALL | PRIMARY | 47 | Using where |
Time Before: 0.00071 seconds
Time After: 0.00112 seconds
Time Taken: 0.00041 seconds
Memory Before: 509.266 KB
Memory After: 666.727 KB
Memory Used: 157.461 KB
Time Before: 0.00051 seconds
Time After: 0.00384 seconds
Time Taken: 0.00333 seconds
Memory Before: 507.328 KB
Memory After: 963.461 KB
Memory Used: 456.133 KB
SELECT *
FROM datastore
WHERE title IN ('pt_bitfields','pt_issuestatus','pt_issuetype','pt_permissions','blogcategorycache','profilefield')| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SIMPLE | datastore | range | PRIMARY | PRIMARY | 50 | 6 | Using index condition |
Time Before: 0.00424 seconds
Time After: 0.00441 seconds
Time Taken: 0.00017 seconds
Memory Before: 1,123.172 KB
Memory After: 1,151.734 KB
Memory Used: 28.563 KB
SELECT * FROM session WHERE userid = 0 AND host = '216.73.216.48' AND idhash = 'ea5a359a73a8141a16de516480d33c34' LIMIT 1
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SIMPLE | session | ref | guest_lookup,user_activity | guest_lookup | 83 | const,const,const | 2 | Using where |
Time Before: 0.00668 seconds
Time After: 0.00683 seconds
Time Taken: 0.00015 seconds
Memory Before: 1,268.727 KB
Memory After: 1,285.414 KB
Memory Used: 16.688 KB
SELECT languageid, phrasegroup_global AS phrasegroup_global, phrasegroup_wol AS phrasegroup_wol, phrasegroup_user AS phrasegroup_user, phrasegroup_messaging AS phrasegroup_messaging, phrasegroup_cprofilefield AS phrasegroup_cprofilefield, phrasegroup_infractionlevel AS phrasegroup_infractionlevel, phrasegroup_posting AS phrasegroup_posting, phrasegroup_profilefield AS phrasegroup_profilefield, phrasegroup_activitystream AS phrasegroup_activitystream, phrasegroup_projecttools AS phrasegroup_projecttools, phrasegroup_vbblogglobal AS phrasegroup_vbblogglobal, 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 | type | possible_keys | key | key_len | ref | rows | Extra |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SIMPLE | language | system | PRIMARY | 1 |
Time Before: 0.00723 seconds
Time After: 0.00768 seconds
Time Taken: 0.00045 seconds
Memory Before: 1,276.750 KB
Memory After: 1,469.438 KB
Memory Used: 192.688 KB
Time Before: 0.00644 seconds
Time After: 0.00774 seconds
Time Taken: 0.00130 seconds
Memory Before: 1,265.609 KB
Memory After: 1,466.648 KB
Memory Used: 201.039 KB
SELECT MAX(permissions & 1) AS perm FROM cms_permissions WHERE nodeid = 1 AND usergroupid IN (1)
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SIMPLE | cms_permissions | const | usergroupid,nodeid | usergroupid | 8 | const,const | 1 |
Time Before: 0.01812 seconds
Time After: 0.01823 seconds
Time Taken: 0.00012 seconds
Memory Before: 1,870.641 KB
Memory After: 1,886.750 KB
Memory Used: 16.109 KB
SELECT * FROM style WHERE (styleid = 1 AND userselect = 1) OR styleid = 1 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.01854 seconds
Time After: 0.01872 seconds
Time Taken: 0.00018 seconds
Memory Before: 1,934.766 KB
Memory After: 2,071.391 KB
Memory Used: 136.625 KB
SELECT userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate, user.languageid AS saved_languageid, IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid, avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline, customavatar.width AS avwidth, customavatar.height AS avheight, customavatar.height_thumb AS avheight_thumb, customavatar.width_thumb AS avwidth_thumb, customavatar.filedata_thumb, customprofilepic.userid AS profilepic, customprofilepic.dateline AS profilepicdateline, customprofilepic.width AS ppwidth, customprofilepic.height AS ppheight, sigpic.userid AS sigpic, sigpic.dateline AS sigpicdateline, sigpic.width AS sigpicwidth, sigpic.height AS sigpicheight, usercsscache.cachedcss, IF(usercsscache.cachedcss IS NULL, 0, 1) AS hascachedcss, usercsscache.buildpermissions AS cssbuildpermissions , ptuser.userid AS pt_userid, ptuser.totalissues AS pt_totalissues, bu.bloguserid, bu.entries, bu.options AS blog_options, bu.subscribeown AS blog_subscribeown, bu.memberids, bu.memberblogids, bu.subscribeothers AS blog_subscribeothers, bu.title AS blog_title, bu.description AS blog_description, bu.allowsmilie AS blog_allowsmilie, bu.draft AS blog_draft, bu.pending AS blog_pending, bu.options_member, bu.options_guest, bu.options_buddy, bu.options_ignore, bu.uncatentries, bu.moderation AS blog_moderation, bu.deleted AS blog_deleted, bu.akismet_key AS blog_akismet_key, isblogmoderator, bu.comments_moderation AS blog_comments_moderation, bu.lastblog, bu.lastblogid, bu.lastblogtitle, bu.categorycache, bu.tagcloud, bu.sidebar, bu.custompages, bu.customblocks, blockparsed.blocktext, 1 AS blogstyleid, blog_usercsscache.csscolors AS blog_csscolors, blog_usercsscache.cachedcss AS blog_cachedcss, IF(blog_usercsscache.cachedcss IS NULL, 0, 1) AS blog_hascachedcss, blog_usercsscache.buildpermissions AS blog_cssbuildpermissions, IF(blog_subscribeuser.blogsubscribeuserid, 1, 0) AS blogsubscribed FROM user AS user LEFT JOIN userfield AS userfield ON (user.userid = userfield.userid) LEFT JOIN usertextfield AS usertextfield ON (usertextfield.userid = user.userid) LEFT JOIN avatar AS avatar ON (avatar.avatarid = user.avatarid) LEFT JOIN customavatar AS customavatar ON (customavatar.userid = user.userid) LEFT JOIN customprofilepic AS customprofilepic ON (user.userid = customprofilepic.userid) LEFT JOIN sigpic AS sigpic ON (user.userid = sigpic.userid) LEFT JOIN usercsscache AS usercsscache ON (user.userid = usercsscache.userid) LEFT JOIN pt_user AS ptuser ON (user.userid = ptuser.userid) LEFT JOIN blog_user AS bu ON (bu.bloguserid = user.userid) LEFT JOIN blog_custom_block_parsed AS blockparsed ON (blockparsed.userid = user.userid AND blockparsed.styleid = 1 AND blockparsed.languageid = 1) LEFT JOIN blog_subscribeuser AS blog_subscribeuser ON (user.userid = blog_subscribeuser.bloguserid AND blog_subscribeuser.userid = 12) LEFT JOIN blog_usercsscache AS blog_usercsscache ON (user.userid = blog_usercsscache.userid) WHERE user.userid = 12 LIMIT 1
| 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 | customprofilepic | system | PRIMARY | 0 | Const row not found | |||
| 1 | SIMPLE | sigpic | system | PRIMARY | 0 | Const row not found | |||
| 1 | SIMPLE | usercsscache | system | PRIMARY | 0 | Const row not found | |||
| 1 | SIMPLE | blockparsed | system | PRIMARY | 0 | Const row not found | |||
| 1 | SIMPLE | blog_subscribeuser | system | bloguserid,userid | 0 | Const row not found | |||
| 1 | SIMPLE | blog_usercsscache | system | PRIMARY | 0 | Const row not found | |||
| 1 | SIMPLE | user | const | PRIMARY | PRIMARY | 4 | const | 1 | |
| 1 | SIMPLE | userfield | const | PRIMARY | PRIMARY | 4 | const | 1 | |
| 1 | SIMPLE | usertextfield | const | PRIMARY | PRIMARY | 4 | const | 1 | |
| 1 | SIMPLE | customavatar | const | PRIMARY | PRIMARY | 4 | const | 1 | |
| 1 | SIMPLE | ptuser | const | PRIMARY | PRIMARY | 4 | const | 1 | |
| 1 | SIMPLE | bu | system | PRIMARY | 1 |
Time Before: 0.02165 seconds
Time After: 0.02207 seconds
Time Taken: 0.00042 seconds
Memory Before: 2,429.398 KB
Memory After: 2,448.148 KB
Memory Used: 18.750 KB
SELECT title, template FROM template WHERE templateid IN (31751,31815,31816,31804,31788,31797,0,31757,31817,31818,31846,31741,31740,32301,32330,32291,32292,32294,32300,32299,32126,32127,32128,32129,31894,31895,32130,32135,32131,32132,32133,32136,32137,32138,32139,32140,32191,32193,32195,32197,32199,32247,32246,32249,32250,32253,32254,32496,32666,32672,32305,32303,32306,32308,32307,32309,32310,32311,32312,32313,32314,32315,32320,32317,32319,32316,32318,32329,32331,32332,32341,32323,32334,32335,32336,32337,32339,32302,32328,32333,32342,32338,32344,32343,32340,32420,32694,32726,32727,32747,0,0,7160,7154,18829,7158,7159,7157,7156,7161,7162,7163,32462,32736,32408,32412,32409,32410,32411,32766,0,0,32746,32707,32432,32433,32435,32436,32659,32778,32760,32710,32711,32259,32258,32262,5067,5038,6105,6107,5061,31822)
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SIMPLE | template | range | PRIMARY | PRIMARY | 4 | 128 | Using index condition |
Time Before: 0.02593 seconds
Time After: 0.02714 seconds
Time Taken: 0.00121 seconds
Memory Before: 2,777.438 KB
Memory After: 3,089.461 KB
Memory Used: 312.023 KB
SELECT blockid, requirement FROM profileblockprivacy WHERE userid = 12
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SIMPLE | Impossible WHERE noticed after reading const tables |
Time Before: 0.02862 seconds
Time After: 0.02869 seconds
Time Taken: 0.00008 seconds
Memory Before: 3,098.250 KB
Memory After: 3,114.367 KB
Memory Used: 16.117 KB
SELECT pf.profilefieldcategoryid, pfc.location, pf.* FROM profilefield AS pf LEFT JOIN profilefieldcategory AS pfc ON(pfc.profilefieldcategoryid = pf.profilefieldcategoryid) WHERE pf.form = 0 AND pf.hidden = 0 ORDER BY pfc.displayorder, pf.displayorder
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SIMPLE | pfc | system | PRIMARY | 0 | Const row not found | |||
| 1 | SIMPLE | pf | ALL | 4 | Using where; Using filesort |
Time Before: 0.02890 seconds
Time After: 0.02911 seconds
Time Taken: 0.00022 seconds
Memory Before: 3,098.703 KB
Memory After: 3,116.359 KB
Memory Used: 17.656 KB
SELECT * FROM customprofile WHERE userid='-1' /**customprofile- member**/
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SIMPLE | Impossible WHERE noticed after reading const tables |
Time Before: 0.02938 seconds
Time After: 0.02951 seconds
Time Taken: 0.00014 seconds
Memory Before: 3,125.109 KB
Memory After: 3,141.336 KB
Memory Used: 16.227 KB
UPDATE user SET profilevisits = profilevisits + 1 WHERE userid = 12
Time Before: 0.02998 seconds
Time After: 0.03010 seconds
Time Taken: 0.00012 seconds
Memory Before: 3,134.172 KB
Memory After: 3,134.172 KB
Memory Used: 0.000 KB
SELECT user.userid, user.username, user.usergroupid, user.displaygroupid, profilevisitor.visible, user.infractiongroupid FROM profilevisitor AS profilevisitor INNER JOIN user AS user ON (user.userid = profilevisitor.visitorid) WHERE profilevisitor.userid = 12 AND (visible = 1 OR profilevisitor.visitorid = 0) ORDER BY profilevisitor.dateline DESC LIMIT 10
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SIMPLE | profilevisitor | ref | PRIMARY,userid | userid | 4 | const | 1 | Using where; Using filesort |
| 1 | SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | vbsuite_dev.profilevisitor.visitorid | 1 |
Time Before: 0.03039 seconds
Time After: 0.03058 seconds
Time Taken: 0.00019 seconds
Memory Before: 3,134.930 KB
Memory After: 3,151.086 KB
Memory Used: 16.156 KB
SELECT socialgroup.groupid, socialgroup.name, socialgroup.description, socialgroup.dateline, sgicon.dateline AS icondateline, sgicon.thumbnail_width AS iconthumb_width, sgicon.thumbnail_height AS iconthumb_height FROM socialgroupmember AS socialgroupmember INNER JOIN socialgroup AS socialgroup ON (socialgroup.groupid = socialgroupmember.groupid) LEFT JOIN socialgroupicon AS sgicon ON sgicon.groupid = socialgroup.groupid WHERE socialgroupmember.userid = 12 AND socialgroupmember.type = 'member' ORDER BY socialgroup.name
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SIMPLE | Impossible WHERE noticed after reading const tables |
Time Before: 0.03108 seconds
Time After: 0.03123 seconds
Time Taken: 0.00014 seconds
Memory Before: 3,205.320 KB
Memory After: 3,221.172 KB
Memory Used: 15.852 KB
SELECT SQL_CALC_FOUND_ROWS
visitormessage.*, user.*, visitormessage.ipaddress AS messageipaddress
,avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight, customavatar.width_thumb AS avwidth_thumb, customavatar.height_thumb AS avheight_thumb, filedata_thumb, NOT ISNULL(customavatar.userid) AS hascustom
FROM visitormessage AS visitormessage
LEFT JOIN user AS user ON (visitormessage.postuserid = user.userid)
LEFT JOIN avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN customavatar AS customavatar ON(customavatar.userid = user.userid)
WHERE visitormessage.userid = 12
AND (visitormessage.state IN ('visible'))
ORDER BY visitormessage.dateline DESC
LIMIT 0, 10| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SIMPLE | Impossible WHERE noticed after reading const tables |
Time Before: 0.03167 seconds
Time After: 0.03199 seconds
Time Taken: 0.00032 seconds
Memory Before: 3,219.172 KB
Memory After: 3,234.648 KB
Memory Used: 15.477 KB
SELECT FOUND_ROWS()
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SIMPLE | No tables used |
Time Before: 0.03211 seconds
Time After: 0.03216 seconds
Time Taken: 0.00005 seconds
Memory Before: 3,233.586 KB
Memory After: 3,250.039 KB
Memory Used: 16.453 KB
SELECT COUNT(*) AS messages, MAX(visitormessage.dateline) AS dateline
FROM visitormessage AS visitormessage
WHERE visitormessage.userid = 12
AND (visitormessage.state IN ('visible') OR (visitormessage.postuserid = 0 AND state = 'moderation'))| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SIMPLE | Impossible WHERE noticed after reading const tables |
Time Before: 0.03243 seconds
Time After: 0.03258 seconds
Time Taken: 0.00015 seconds
Memory Before: 3,241.883 KB
Memory After: 3,257.977 KB
Memory Used: 16.094 KB
SELECT COUNT(*) AS count FROM user WHERE referrerid = 12 AND usergroupid NOT IN (3,4)
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SIMPLE | user | ref | usergroupid,referrerid | referrerid | 4 | const | 1 | Using where |
Time Before: 0.03282 seconds
Time After: 0.03293 seconds
Time Taken: 0.00010 seconds
Memory Before: 3,223.742 KB
Memory After: 3,240.133 KB
Memory Used: 16.391 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 <= 1764999024 AND stream.userid IN (12) AND stream.typeid IN (3, 11) ORDER BY dateline DESC LIMIT 0, 30
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SIMPLE | Impossible WHERE noticed after reading const tables |
Time Before: 0.03443 seconds
Time After: 0.03457 seconds
Time Taken: 0.00013 seconds
Memory Before: 3,239.563 KB
Memory After: 3,255.539 KB
Memory Used: 15.977 KB
SELECT bm.userid, bm.permissions, bm.type, user.username FROM blog_moderator AS bm INNER JOIN user AS user USING (userid)
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SIMPLE | Impossible WHERE noticed after reading const tables |
Time Before: 0.03516 seconds
Time After: 0.03529 seconds
Time Taken: 0.00013 seconds
Memory Before: 3,244.578 KB
Memory After: 3,260.773 KB
Memory Used: 16.195 KB
SELECT * FROM customprofile WHERE userid='-1' /**customprofile- member**/
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SIMPLE | Impossible WHERE noticed after reading const tables |
Time Before: 0.03662 seconds
Time After: 0.03675 seconds
Time Taken: 0.00013 seconds
Memory Before: 3,336.570 KB
Memory After: 3,352.797 KB
Memory Used: 16.227 KB
UPDATE session SET location = 'member.php?u=12', badlocation = 0 WHERE sessionhash = '0fcbc3c6fdaea91b34f40f93920f0cf9'
Time Before: 0.03775 seconds
Time After: 0.03785 seconds
Time Taken: 0.00010 seconds
Memory Before: 3,411.922 KB
Memory After: 3,411.828 KB
Memory Used: -0.094 KB