Including Functions.php

Time Before: 0.00279 seconds
Time After: 0.00332 seconds
Time Taken: 0.00052 seconds

Memory Before: 901.734 KB
Memory After: 928.500 KB
Memory Used: 26.766 KB

Connect to Database on Server: 192.168.0.20

Time Before: 0.00339 seconds
Time After: 0.00406 seconds
Time Taken: 0.00067 seconds

Memory Before: 928.461 KB
Memory After: 929.438 KB
Memory Used: 0.977 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00435 seconds
Time After: 0.00449 seconds
Time Taken: 0.00014 seconds

Memory Before: 930.078 KB
Memory After: 930.602 KB
Memory Used: 0.523 KB

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

Time Before: 0.00512 seconds
Time After: 0.00678 seconds
Time Taken: 0.00167 seconds

Memory Before: 933.164 KB
Memory After: 934.016 KB
Memory Used: 0.852 KB

Time Before: 0.00454 seconds
Time After: 0.00922 seconds
Time Taken: 0.00468 seconds

Memory Before: 929.883 KB
Memory After: 1,641.023 KB
Memory Used: 711.141 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.01129 seconds
Time After: 0.01166 seconds
Time Taken: 0.00038 seconds

Memory Before: 2,181.430 KB
Memory After: 2,182.047 KB
Memory Used: 0.617 KB

SQL Query
SELECT languageid,
			phrasegroup_global AS phrasegroup_global,
			phrasegroup_user AS phrasegroup_user,
			phrasegroup_search AS phrasegroup_search,
			phrasegroup_cprofilefield AS phrasegroup_cprofilefield,
			phrasegroup_reputationlevel AS phrasegroup_reputationlevel,
			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.01400 seconds
Time After: 0.01500 seconds
Time Taken: 0.00099 seconds

Memory Before: 2,193.664 KB
Memory After: 2,193.578 KB
Memory Used: -0.086 KB

Time Before: 0.01063 seconds
Time After: 0.01517 seconds
Time Taken: 0.00454 seconds

Memory Before: 2,174.094 KB
Memory After: 2,285.930 KB
Memory Used: 111.836 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.02044 seconds
Time After: 0.02065 seconds
Time Taken: 0.00021 seconds

Memory Before: 2,841.602 KB
Memory After: 2,842.117 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.02765 seconds
Time After: 0.02888 seconds
Time Taken: 0.00123 seconds

Memory Before: 3,319.594 KB
Memory After: 3,320.188 KB
Memory Used: 0.594 KB

End call of global.php: 0.030542135238647
SQL Query
SELECT profilefieldid, type, data, optional, memberlist, searchable
FROM profilefield
WHERE form = 0 
ORDER BY displayorder
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEprofilefieldALL    25Using where; Using filesort

Time Before: 0.04732 seconds
Time After: 0.04754 seconds
Time Taken: 0.00022 seconds

Memory Before: 5,311.945 KB
Memory After: 5,313.781 KB
Memory Used: 1.836 KB

SQL Query
SELECT COUNT(*) AS users
FROM user AS user


WHERE 1=1
	AND (user.usergroupid IN (-1,6,11,14,17,16,7,13,9,15,2,10,5,12))
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEuserrangeusergroupidusergroupid2 147550Using where; Using index

Time Before: 0.04882 seconds
Time After: 0.09678 seconds
Time Taken: 0.04796 seconds

Memory Before: 5,356.750 KB
Memory After: 5,357.234 KB
Memory Used: 0.484 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (61914,61916,61918,61917,61860,61861,61863,61869,61868,61840,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,61391,61659)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEtemplaterangePRIMARYPRIMARY4 49Using where

Time Before: 0.09876 seconds
Time After: 0.09982 seconds
Time Taken: 0.00106 seconds

Memory Before: 5,626.102 KB
Memory After: 5,627.477 KB
Memory Used: 1.375 KB

SQL Query
SELECT user.*,usertextfield.*,userfield.*, user.userid, options,
	IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid, infractiongroupid
,IF((NOT(options & 1024) AND (user.usergroupid IN (-1,6,11,14,17,16,7,13,9,15,2,10,5,12) OR FIND_IN_SET('6', membergroupids) OR FIND_IN_SET('11', membergroupids) OR FIND_IN_SET('14', membergroupids) OR FIND_IN_SET('17', membergroupids) OR FIND_IN_SET('16', membergroupids) OR FIND_IN_SET('7', membergroupids) OR FIND_IN_SET('13', membergroupids) OR FIND_IN_SET('9', membergroupids) OR FIND_IN_SET('15', membergroupids) OR FIND_IN_SET('2', membergroupids) OR FIND_IN_SET('10', membergroupids) OR FIND_IN_SET('5', membergroupids) OR FIND_IN_SET('12', membergroupids))), 0, reputation) AS reputationscore
,avatar.avatarpath,NOT ISNULL(customavatar.userid) AS hascustomavatar,customavatar.dateline AS avatardateline, customavatar.width AS avwidth, customavatar.height AS avheight

 , IF((options & 512 AND user.userid <> 0), 0, lastactivity) AS lastvisittime 
, IF(YEAR(user.birthday_search) > 0 AND user.showbirthday IN (1,2) AND YEAR(user.birthday_search) < YEAR(CURDATE()), user.birthday_search, '1000-01-01') AS agesort


FROM user AS user
LEFT JOIN usertextfield AS usertextfield ON(usertextfield.userid=user.userid)
LEFT JOIN userfield AS userfield ON(userfield.userid=user.userid)
LEFT JOIN reputationlevel AS reputationlevel ON(user.reputationlevelid=reputationlevel.reputationlevelid) 
LEFT JOIN avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN customavatar AS customavatar ON(customavatar.userid = user.userid)



WHERE 1=1
	AND (user.usergroupid IN (-1,6,11,14,17,16,7,13,9,15,2,10,5,12))
	
ORDER BY user.username asc 
LIMIT 116800, 100
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEavatarsystemPRIMARY   0const row not found
1SIMPLEcustomavatarsystemPRIMARY   0const row not found
1SIMPLEuserALLusergroupid   147555Using where; Using filesort
1SIMPLEusertextfieldeq_refPRIMARYPRIMARY4cmnt.user.userid1 
1SIMPLEuserfieldeq_refPRIMARYPRIMARY4cmnt.user.userid1 
1SIMPLEreputationleveleq_refPRIMARYPRIMARY4cmnt.user.reputationlevelid1Using index

Time Before: 0.11367 seconds
Time After: 2.07566 seconds
Time Taken: 1.96199 seconds

Memory Before: 5,818.516 KB
Memory After: 5,918.961 KB
Memory Used: 100.445 KB

SQL Query
UPDATE session
SET lastactivity = 1764420393, location = '/forums/memberlist.php?explain=1&page=1169&pp=100', badlocation = 0
WHERE sessionhash = '39ddb724842a914d0958248a20ff3416'

Time Before: 2.28062 seconds
Time After: 2.28098 seconds
Time Taken: 0.00037 seconds

Memory Before: 9,905.016 KB
Memory After: 9,905.219 KB
Memory Used: 0.203 KB

Page generated in 2.2778339385986 seconds with 11 queries, spending 2.016871213913 doing MySQL queries and 0.26096272468567 doing PHP things.
Shutdown Queries:
DISABLED