Time Before: 0.00027 seconds
Time After: 0.00030 seconds
Time Taken: 0.00003 seconds
Memory Before: 469.734 KB
Memory After: 471.633 KB
Memory Used: 1.898 KB
Time Before: 0.00034 seconds
Time After: 0.00079 seconds
Time Taken: 0.00046 seconds
Memory Before: 471.586 KB
Memory After: 472.352 KB
Memory Used: 0.766 KB
SET @@sql_mode = ''
Time Before: 0.00095 seconds
Time After: 0.00110 seconds
Time Taken: 0.00015 seconds
Memory Before: 472.375 KB
Memory After: 472.453 KB
Memory Used: 0.078 KB
SELECT *
FROM datastore
WHERE title IN ('','options','bitfields','attachmentcache','forumcache','usergroupcache','stylecache','languagecache','products','pluginlist','cron','profilefield','loadcache','noticecache','smiliecache','bbcodecache')| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SIMPLE | datastore | ALL | PRIMARY | 29 | Using where |
Time Before: 0.00156 seconds
Time After: 0.00206 seconds
Time Taken: 0.00050 seconds
Memory Before: 473.703 KB
Memory After: 537.820 KB
Memory Used: 64.117 KB
Time Before: 0.00112 seconds
Time After: 0.00402 seconds
Time Taken: 0.00290 seconds
Memory Before: 472.211 KB
Memory After: 651.102 KB
Memory Used: 178.891 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, 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 | const | PRIMARY | PRIMARY | 2 | const | 1 |
Time Before: 0.00577 seconds
Time After: 0.00633 seconds
Time Taken: 0.00056 seconds
Memory Before: 673.242 KB
Memory After: 977.766 KB
Memory Used: 304.523 KB
Time Before: 0.00410 seconds
Time After: 0.00649 seconds
Time Taken: 0.00240 seconds
Memory Before: 653.250 KB
Memory After: 827.336 KB
Memory Used: 174.086 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.01010 seconds
Time After: 0.01059 seconds
Time Taken: 0.00049 seconds
Memory Before: 1,013.781 KB
Memory After: 1,102.102 KB
Memory Used: 88.320 KB
SELECT userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate, user.languageid AS saved_languageid, IF(user.displaygroupid=0, user.usergroupid, user.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 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) WHERE user.userid = 32
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
|---|---|---|---|---|---|---|---|---|---|
| 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 | avatar | const | PRIMARY | PRIMARY | 2 | const | 0 | Unique row not found |
| 1 | SIMPLE | customavatar | const | PRIMARY | PRIMARY | 4 | const | 0 | Unique row not found |
| 1 | SIMPLE | customprofilepic | const | PRIMARY | PRIMARY | 4 | const | 0 | Unique row not found |
| 1 | SIMPLE | sigpic | const | PRIMARY | PRIMARY | 4 | const | 0 | Unique row not found |
| 1 | SIMPLE | usercsscache | const | PRIMARY | PRIMARY | 4 | const | 0 | Unique row not found |
Time Before: 0.01423 seconds
Time After: 0.01511 seconds
Time Taken: 0.00088 seconds
Memory Before: 1,204.852 KB
Memory After: 1,254.352 KB
Memory Used: 49.500 KB
SELECT MAX(dateline) AS lastpost, COUNT(*) AS total FROM usernote AS usernote WHERE userid = 32
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SIMPLE | usernote | ref | userid | userid | 4 | const | 1 |
Time Before: 0.01597 seconds
Time After: 0.01638 seconds
Time Taken: 0.00041 seconds
Memory Before: 1,251.094 KB
Memory After: 1,267.414 KB
Memory Used: 16.320 KB
SELECT blockid, requirement FROM profileblockprivacy WHERE userid = 32
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SIMPLE | profileblockprivacy | ref | PRIMARY | PRIMARY | 4 | const | 1 |
Time Before: 0.01778 seconds
Time After: 0.01810 seconds
Time Taken: 0.00032 seconds
Memory Before: 1,259.367 KB
Memory After: 1,275.547 KB
Memory Used: 16.180 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 | pf | ALL | 4 | Using where; Using temporary; Using filesort | ||||
| 1 | SIMPLE | pfc | eq_ref | PRIMARY | PRIMARY | 2 | vbsupport_vb3.pf.profilefieldcategoryid | 1 |
Time Before: 0.01854 seconds
Time After: 0.01937 seconds
Time Taken: 0.00083 seconds
Memory Before: 1,259.930 KB
Memory After: 1,275.984 KB
Memory Used: 16.055 KB
UPDATE user SET profilevisits = profilevisits + 1 WHERE userid = 32
Time Before: 0.01961 seconds
Time After: 0.02075 seconds
Time Taken: 0.00115 seconds
Memory Before: 1,270.727 KB
Memory After: 1,270.742 KB
Memory Used: 0.016 KB
SELECT user.userid, user.username, user.usergroupid, user.displaygroupid, profilevisitor.visible, profilevisitor.dateline, user.infractiongroupid FROM profilevisitor AS profilevisitor INNER JOIN user AS user ON (user.userid = profilevisitor.visitorid) WHERE profilevisitor.userid = 32 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 index; Using filesort |
| 1 | SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | vbsupport_vb3.profilevisitor.visitorid | 1 |
Time Before: 0.02124 seconds
Time After: 0.02163 seconds
Time Taken: 0.00039 seconds
Memory Before: 1,271.641 KB
Memory After: 1,287.570 KB
Memory Used: 15.930 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 = 32 AND socialgroupmember.type = 'member' ORDER BY socialgroup.name
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SIMPLE | socialgroupmember | ref | PRIMARY,groupid,userid | userid | 5 | const,const | 1 | Using where; Using index; Using temporary; Using filesort |
| 1 | SIMPLE | socialgroup | eq_ref | PRIMARY | PRIMARY | 4 | vbsupport_vb3.socialgroupmember.groupid | 1 | |
| 1 | SIMPLE | sgicon | eq_ref | PRIMARY | PRIMARY | 4 | vbsupport_vb3.socialgroupmember.groupid | 1 |
Time Before: 0.02219 seconds
Time After: 0.02285 seconds
Time Taken: 0.00066 seconds
Memory Before: 1,273.844 KB
Memory After: 1,289.398 KB
Memory Used: 15.555 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 = 32
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 | visitormessage | ref | userid | userid | 4 | const | 1 | Using where |
| 1 | SIMPLE | user | eq_ref | PRIMARY | PRIMARY | 4 | vbsupport_vb3.visitormessage.postuserid | 1 | |
| 1 | SIMPLE | avatar | eq_ref | PRIMARY | PRIMARY | 2 | vbsupport_vb3.user.avatarid | 1 | Using where |
| 1 | SIMPLE | customavatar | eq_ref | PRIMARY | PRIMARY | 4 | vbsupport_vb3.user.userid | 1 | Using where |
Time Before: 0.02347 seconds
Time After: 0.02409 seconds
Time Taken: 0.00063 seconds
Memory Before: 1,277.742 KB
Memory After: 1,309.266 KB
Memory Used: 31.523 KB
SELECT FOUND_ROWS()
Time Before: 0.02412 seconds
Time After: 0.02429 seconds
Time Taken: 0.00017 seconds
Memory Before: 1,307.414 KB
Memory After: 1,323.781 KB
Memory Used: 16.367 KB
SELECT COUNT(*) AS messages, MAX(visitormessage.dateline) AS dateline
FROM visitormessage AS visitormessage
WHERE visitormessage.userid = 32
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 | visitormessage | ref | postuserid,userid | userid | 4 | const | 1 | Using index condition; Using where |
Time Before: 0.02476 seconds
Time After: 0.02510 seconds
Time Taken: 0.00034 seconds
Memory Before: 1,320.336 KB
Memory After: 1,336.344 KB
Memory Used: 16.008 KB
SELECT b.bbcodeid, b.bbcodetag, b.title, b.twoparams, b.bbcodereplacement, p.pattern, p.param_group, p.option_group, p.patternid FROM bbcode AS b INNER JOIN bbcode_mediapattern AS p ON (p.bbcodeid = b.bbcodeid) ORDER BY b.bbcodeid, p.patternid
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SIMPLE | p | ALL | bbcodeid | 15 | Using temporary; Using filesort | |||
| 1 | SIMPLE | b | eq_ref | PRIMARY | PRIMARY | 2 | vbsupport_vb3.p.bbcodeid | 1 | Using where |
Time Before: 0.02571 seconds
Time After: 0.02638 seconds
Time Taken: 0.00066 seconds
Memory Before: 1,312.102 KB
Memory After: 1,328.391 KB
Memory Used: 16.289 KB
SELECT COUNT(*) AS count FROM user WHERE referrerid = 32 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.02715 seconds
Time After: 0.02756 seconds
Time Taken: 0.00040 seconds
Memory Before: 1,306.703 KB
Memory After: 1,323.023 KB
Memory Used: 16.320 KB