Including Functions.php

Time Before: 0.00380 seconds
Time After: 0.00440 seconds
Time Taken: 0.00060 seconds

Memory Before: 623.758 KB
Memory After: 650.523 KB
Memory Used: 26.766 KB

Connect to Database on Server: 192.168.0.20

Time Before: 0.00448 seconds
Time After: 0.00493 seconds
Time Taken: 0.00045 seconds

Memory Before: 650.484 KB
Memory After: 651.461 KB
Memory Used: 0.977 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00520 seconds
Time After: 0.00532 seconds
Time Taken: 0.00013 seconds

Memory Before: 652.102 KB
Memory After: 652.625 KB
Memory Used: 0.523 KB

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

Time Before: 0.00615 seconds
Time After: 0.00860 seconds
Time Taken: 0.00245 seconds

Memory Before: 655.461 KB
Memory After: 656.352 KB
Memory Used: 0.891 KB

Time Before: 0.00540 seconds
Time After: 0.01378 seconds
Time Taken: 0.00837 seconds

Memory Before: 651.906 KB
Memory After: 1,732.734 KB
Memory Used: 1,080.828 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.01589 seconds
Time After: 0.01633 seconds
Time Taken: 0.00044 seconds

Memory Before: 2,273.195 KB
Memory After: 2,273.813 KB
Memory Used: 0.617 KB

SQL Query
SELECT languageid,
			phrasegroup_global AS phrasegroup_global,
			phrasegroup_activitystream AS phrasegroup_activitystream,
			phrasegroup_user AS phrasegroup_user,
			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.01778 seconds
Time After: 0.01986 seconds
Time Taken: 0.00209 seconds

Memory Before: 2,284.992 KB
Memory After: 2,285.000 KB
Memory Used: 0.008 KB

Time Before: 0.01532 seconds
Time After: 0.02003 seconds
Time Taken: 0.00472 seconds

Memory Before: 2,265.914 KB
Memory After: 2,375.008 KB
Memory Used: 109.094 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.02695 seconds
Time After: 0.02709 seconds
Time Taken: 0.00014 seconds

Memory Before: 2,910.156 KB
Memory After: 2,910.672 KB
Memory Used: 0.516 KB

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.03510 seconds
Time After: 0.03640 seconds
Time Taken: 0.00130 seconds

Memory Before: 3,388.141 KB
Memory After: 3,388.734 KB
Memory Used: 0.594 KB

End call of global.php: 0.038206100463867
SQL Query
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 <= 1764407188 AND stream.typeid = 0
ORDER BY dateline DESC
LIMIT 0, 30
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.04343 seconds
Time After: 0.04376 seconds
Time Taken: 0.00032 seconds

Memory Before: 4,361.711 KB
Memory After: 4,362.031 KB
Memory Used: 0.320 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (61703,61695,61696,61697,61698,61699,61704,61700,61701,61702,61705,61706,61707,61708,61709,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,61310,61309,61391,61464,61463,61659)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEtemplaterangePRIMARYPRIMARY4 58Using where

Time Before: 0.04591 seconds
Time After: 0.04763 seconds
Time Taken: 0.00172 seconds

Memory Before: 4,637.172 KB
Memory After: 4,638.688 KB
Memory Used: 1.516 KB

SQL Query
UPDATE session
SET location = '/forums/activity.php?explain=1&show=forum&time=anytime', badlocation = 0
WHERE sessionhash = '39ddb724842a914d0958248a20ff3416'

Time Before: 0.06143 seconds
Time After: 0.06171 seconds
Time Taken: 0.00028 seconds

Memory Before: 5,146.555 KB
Memory After: 5,146.773 KB
Memory Used: 0.219 KB

Page generated in 0.060439109802246 seconds with 9 queries, spending 0.0093233585357666 doing MySQL queries and 0.051115751266479 doing PHP things.
Shutdown Queries:
DISABLED