Including Functions.php

Time Before: 0.00265 seconds
Time After: 0.01968 seconds
Time Taken: 0.01702 seconds

Memory Before: 908.828 KB
Memory After: 2,299.977 KB
Memory Used: 1,391.148 KB

Connect to Database on Server: 192.168.0.20

Time Before: 0.01977 seconds
Time After: 0.02010 seconds
Time Taken: 0.00033 seconds

Memory Before: 2,299.938 KB
Memory After: 2,300.914 KB
Memory Used: 0.977 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.02033 seconds
Time After: 0.02045 seconds
Time Taken: 0.00012 seconds

Memory Before: 2,301.555 KB
Memory After: 2,302.078 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.02111 seconds
Time After: 0.02289 seconds
Time Taken: 0.00178 seconds

Memory Before: 2,304.641 KB
Memory After: 2,305.492 KB
Memory Used: 0.852 KB

Time Before: 0.02050 seconds
Time After: 0.02529 seconds
Time Taken: 0.00479 seconds

Memory Before: 2,301.359 KB
Memory After: 3,012.508 KB
Memory Used: 711.148 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.02749 seconds
Time After: 0.02783 seconds
Time Taken: 0.00034 seconds

Memory Before: 3,575.477 KB
Memory After: 3,576.094 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.03027 seconds
Time After: 0.03297 seconds
Time Taken: 0.00269 seconds

Memory Before: 3,587.703 KB
Memory After: 3,587.617 KB
Memory Used: -0.086 KB

Time Before: 0.02691 seconds
Time After: 0.03322 seconds
Time Taken: 0.00631 seconds

Memory Before: 3,568.094 KB
Memory After: 3,680.055 KB
Memory Used: 111.961 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.03957 seconds
Time After: 0.03980 seconds
Time Taken: 0.00023 seconds

Memory Before: 4,237.609 KB
Memory After: 4,238.125 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.04735 seconds
Time After: 0.04866 seconds
Time Taken: 0.00130 seconds

Memory Before: 4,715.383 KB
Memory After: 4,715.977 KB
Memory Used: 0.594 KB

End call of global.php: 0.051501989364624
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.06862 seconds
Time After: 0.06918 seconds
Time Taken: 0.00056 seconds

Memory Before: 6,701.086 KB
Memory After: 6,702.922 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.07038 seconds
Time After: 0.11545 seconds
Time Taken: 0.04507 seconds

Memory Before: 6,745.883 KB
Memory After: 6,746.367 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.11870 seconds
Time After: 0.12024 seconds
Time Taken: 0.00154 seconds

Memory Before: 7,015.227 KB
Memory After: 7,016.602 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 60100, 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.13436 seconds
Time After: 1.63640 seconds
Time Taken: 1.50204 seconds

Memory Before: 7,207.422 KB
Memory After: 7,307.867 KB
Memory Used: 100.445 KB

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

Time Before: 1.85744 seconds
Time After: 1.85774 seconds
Time Taken: 0.00030 seconds

Memory Before: 11,377.430 KB
Memory After: 11,377.648 KB
Memory Used: 0.219 KB

Page generated in 1.8542730808258 seconds with 11 queries, spending 1.5563051700592 doing MySQL queries and 0.2979679107666 doing PHP things.
Shutdown Queries:
DISABLED