Including Functions.php

Time Before: 0.00257 seconds
Time After: 0.00320 seconds
Time Taken: 0.00062 seconds

Memory Before: 1,846.227 KB
Memory After: 1,872.945 KB
Memory Used: 26.719 KB

Connect to Database on Server: 192.168.0.20

Time Before: 0.00329 seconds
Time After: 0.00373 seconds
Time Taken: 0.00044 seconds

Memory Before: 1,872.906 KB
Memory After: 1,873.883 KB
Memory Used: 0.977 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00396 seconds
Time After: 0.00408 seconds
Time Taken: 0.00011 seconds

Memory Before: 1,874.523 KB
Memory After: 1,875.047 KB
Memory Used: 0.523 KB

Datastore Setup
SQL Query
SELECT *
FROM datastore
WHERE title IN ('smiliecache','bbcodecache','blogcategorycache','blogstats','blogfeatured_settings','blogfeatured_entries','blogtagcloud','navdata','options','bitfields','attachmentcache','forumcache','usergroupcache','stylecache','languagecache','products','pluginlist','cron','profilefield','loadcache','noticecache','activitystream','routes')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEdatastorerangePRIMARYPRIMARY52 23Using where

Time Before: 0.00497 seconds
Time After: 0.00747 seconds
Time Taken: 0.00250 seconds

Memory Before: 1,878.094 KB
Memory After: 1,878.977 KB
Memory Used: 0.883 KB

Time Before: 0.00413 seconds
Time After: 0.01109 seconds
Time Taken: 0.00695 seconds

Memory Before: 1,874.328 KB
Memory After: 2,957.289 KB
Memory Used: 1,082.961 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '192.168.0.1'
	AND idhash = 'ce294c5626a6c3c128594a952859491f'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionrefidhash,host,userid,guest_lookup,user_activityidhash32const2Using where

Time Before: 0.01317 seconds
Time After: 0.01367 seconds
Time Taken: 0.00050 seconds

Memory Before: 3,502.430 KB
Memory After: 3,503.047 KB
Memory Used: 0.617 KB

SQL Query
SELECT languageid,
			phrasegroup_global AS phrasegroup_global,
			phrasegroup_posting AS phrasegroup_posting,
			phrasegroup_vbblogglobal AS phrasegroup_vbblogglobal,
			phrasegroup_postbit AS phrasegroup_postbit,
			phrasegroup_vbblogcat AS phrasegroup_vbblogcat,
			phrasegroup_inlinemod AS phrasegroup_inlinemod,
			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 = 3
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLElanguagesystemPRIMARY   1 

Time Before: 0.01637 seconds
Time After: 0.02040 seconds
Time Taken: 0.00403 seconds

Memory Before: 3,514.648 KB
Memory After: 3,514.523 KB
Memory Used: -0.125 KB

Time Before: 0.01243 seconds
Time After: 0.02068 seconds
Time Taken: 0.00825 seconds

Memory Before: 3,494.719 KB
Memory After: 3,604.617 KB
Memory Used: 109.898 KB

SQL Query
SELECT MAX(permissions & 1) AS perm
FROM cms_permissions
WHERE nodeid = 1 AND usergroupid IN (1)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEcms_permissionsconstusergroupid,nodeidusergroupid8const,const1 

Time Before: 0.02923 seconds
Time After: 0.02940 seconds
Time Taken: 0.00017 seconds

Memory Before: 4,164.688 KB
Memory After: 4,165.203 KB
Memory Used: 0.516 KB

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /data/vhosts/rcw.ms/htdocs/forums/includes/class_database_explain.php:332) in /data/vhosts/rcw.ms/htdocs/forums/includes/facebook/facebook.php on line 49 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /data/vhosts/rcw.ms/htdocs/forums/includes/class_database_explain.php:332) in /data/vhosts/rcw.ms/htdocs/forums/includes/facebook/facebook.php on line 49
SQL Query
SELECT *
FROM style
WHERE (styleid = 5 AND userselect = 1)
	OR styleid = 5
ORDER BY styleid ASC
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstyleconstPRIMARYPRIMARY2const1 

Time Before: 0.04827 seconds
Time After: 0.04971 seconds
Time Taken: 0.00144 seconds

Memory Before: 5,440.008 KB
Memory After: 5,440.602 KB
Memory Used: 0.594 KB

End call of global.php: 0.051419019699097
SQL Query
SELECT data, expires, locktime, serialized
FROM cache
WHERE cacheid = 'cms_priv_user_0'
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEcacheconstPRIMARYPRIMARY66const1 

Time Before: 0.06505 seconds
Time After: 0.06535 seconds
Time Taken: 0.00030 seconds

Memory Before: 6,699.898 KB
Memory After: 6,700.438 KB
Memory Used: 0.539 KB

SQL Query
UPDATE cache
SET locktime = 1764422543
WHERE cacheid = 'cms_priv_user_0'

Time Before: 0.06549 seconds
Time After: 0.06587 seconds
Time Taken: 0.00038 seconds

Memory Before: 6,705.391 KB
Memory After: 6,705.719 KB
Memory Used: 0.328 KB

SQL Query
SELECT vbcmspermissions FROM administrator WHERE userid = 0
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.06660 seconds
Time After: 0.06686 seconds
Time Taken: 0.00026 seconds

Memory Before: 6,701.781 KB
Memory After: 6,702.320 KB
Memory Used: 0.539 KB

SQL Query
SELECT nodeid,
			MAX(permissions & 1) AS canview, MAX(permissions & 2) AS cancreate , MAX(permissions & 4) AS canedit,
			MAX(permissions & 8) AS canpublish, MAX(permissions & 16) AS canusehtml, MAX(permissions & 32) AS candownload
			FROM cms_permissions p
			WHERE usergroupid IN (1)
			GROUP BY nodeid;
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEprefusergroupidusergroupid4const1Using where

Time Before: 0.06757 seconds
Time After: 0.06788 seconds
Time Taken: 0.00031 seconds

Memory Before: 6,702.602 KB
Memory After: 6,702.961 KB
Memory Used: 0.359 KB

SQL Query
REPLACE INTO cache
SET cacheid = 'cms_priv_user_0',
	expires = 1764422843,
	created = 1764422543,
	locktime = 0,
	data = "a:10:{s:7:\"canview\";a:1:{i:0;s:1:\"1\";}s:9:\"cancreate\";a:1:{i:0;i:-1;}s:7:\"canedit\";a:1:{i:0;i:-1;}s:10:\"canpublish\";a:1:{i:0;i:-1;}s:10:\"canusehtml\";a:1:{i:0;i:-1;}s:5:\"admin\";i:0;s:11:\"candownload\";a:1:{i:0;s:1:\"1\";}s:7:\"alledit\";a:1:{i:0;i:-1;}s:8:\"viewonly\";a:1:{i:0;s:1:\"1\";}s:7:\"allview\";a:1:{i:0;s:1:\"1\";}}",
	serialized = '1'

Time Before: 0.06818 seconds
Time After: 0.10090 seconds
Time Taken: 0.03272 seconds

Memory Before: 6,715.781 KB
Memory After: 6,715.695 KB
Memory Used: -0.086 KB

SQL Query
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
	, 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, 5 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 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 = 5 AND blockparsed.languageid = 3)
LEFT JOIN blog_subscribeuser AS blog_subscribeuser ON (user.userid = blog_subscribeuser.bloguserid AND blog_subscribeuser.userid = 84507)
LEFT JOIN blog_usercsscache AS blog_usercsscache ON (user.userid = blog_usercsscache.userid)
WHERE user.userid = 84507 LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEavatarsystemPRIMARY   0const row not found
1SIMPLEcustomavatarsystemPRIMARY   0const row not found
1SIMPLEcustomprofilepicsystemPRIMARY   0const row not found
1SIMPLEbusystemPRIMARY   0const row not found
1SIMPLEblockparsedsystemPRIMARY   0const row not found
1SIMPLEblog_subscribeusersystembloguserid,userid   0const row not found
1SIMPLEblog_usercsscachesystemPRIMARY   0const row not found
1SIMPLEuserconstPRIMARYPRIMARY4const1 
1SIMPLEuserfieldconstPRIMARYPRIMARY4const1 
1SIMPLEusertextfieldconstPRIMARYPRIMARY4const1 

Time Before: 0.11293 seconds
Time After: 0.11436 seconds
Time Taken: 0.00144 seconds

Memory Before: 7,493.039 KB
Memory After: 7,492.438 KB
Memory Used: -0.602 KB

SQL Query
SELECT bm.userid, bm.permissions, bm.type, user.username
FROM blog_moderator AS bm
INNER JOIN user AS user USING (userid)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.11617 seconds
Time After: 0.11663 seconds
Time Taken: 0.00046 seconds

Memory Before: 7,560.313 KB
Memory After: 7,560.773 KB
Memory Used: 0.461 KB

SQL Query
SELECT text, languageid, special
FROM phrase AS phrase
LEFT JOIN phrasetype USING (fieldname)
WHERE phrase.fieldname = 'error'
	AND varname = 'blog_noblog' AND languageid IN (-1, 0, 3)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEphraserangename_lang_type,languageidname_lang_type276 3Using where
1SIMPLEphrasetypeconstPRIMARYPRIMARY22const1 

Time Before: 0.12070 seconds
Time After: 0.12154 seconds
Time Taken: 0.00084 seconds

Memory Before: 7,710.438 KB
Memory After: 7,710.867 KB
Memory Used: 0.430 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (61318,61353,61421,61370,61316,57221,61314,61832,55009,61383,61404,61356,61357,61358,61365,61398,61399,61405,61401,61402,61403,61400,61406,61407,61408,61410,61411,61412,61413,61409,61418,61415,57179,62054,62056,61373,61364,61372,55071,57273,57295,62316,0,0,6082,38961,42855,57213,38966,57292,5992,38968,38969,57230,62031,62305,45486,61981,53288,61979,61980,62335,0,0,62315,62276,62001,62002,62004,62005,62228,62347,62329,62279,62280,61828,61827,61831,47496,61820,61816,61822,61823,61818,61819,61821,61760,61762,61764,61766,55011,61994,61989,61992,61993,62073,62074,61995,61990,61987,61988,62286,61391,0,0,0,0,61659)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEtemplaterangePRIMARYPRIMARY4 101Using where

Time Before: 0.12498 seconds
Time After: 0.12800 seconds
Time Taken: 0.00302 seconds

Memory Before: 8,006.273 KB
Memory After: 8,008.555 KB
Memory Used: 2.281 KB

SQL Query
REPLACE INTO cacheevent
	(cacheid, event)
VALUES ('cms_priv_user_0', 'cms_permissions_change'),
	('cms_priv_user_0', 'permissions_0')

Time Before: 0.14212 seconds
Time After: 0.14252 seconds
Time Taken: 0.00039 seconds

Memory Before: 8,593.109 KB
Memory After: 8,593.367 KB
Memory Used: 0.258 KB

SQL Query
UPDATE session
SET location = 'http://racingweb.org/blog/blog.php?u=84507', badlocation = 3
WHERE sessionhash = '39ddb724842a914d0958248a20ff3416'

Time Before: 0.14281 seconds
Time After: 0.14308 seconds
Time Taken: 0.00027 seconds

Memory Before: 8,597.672 KB
Memory After: 8,597.922 KB
Memory Used: 0.250 KB

Page generated in 0.1412889957428 seconds with 17 queries, spending 0.049590349197388 doing MySQL queries and 0.09169864654541 doing PHP things.
Shutdown Queries:
DISABLED