Including Functions.php

Time Before: 0.00251 seconds
Time After: 0.01900 seconds
Time Taken: 0.01649 seconds

Memory Before: 908.758 KB
Memory After: 2,300.188 KB
Memory Used: 1,391.430 KB

Connect to Database on Server: 192.168.0.20

Time Before: 0.01909 seconds
Time After: 0.01950 seconds
Time Taken: 0.00041 seconds

Memory Before: 2,300.148 KB
Memory After: 2,301.148 KB
Memory Used: 1.000 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.01973 seconds
Time After: 0.01989 seconds
Time Taken: 0.00015 seconds

Memory Before: 2,301.789 KB
Memory After: 2,302.313 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.02068 seconds
Time After: 0.02265 seconds
Time Taken: 0.00197 seconds

Memory Before: 2,304.875 KB
Memory After: 2,305.727 KB
Memory Used: 0.852 KB

Time Before: 0.01994 seconds
Time After: 0.02595 seconds
Time Taken: 0.00601 seconds

Memory Before: 2,301.594 KB
Memory After: 3,012.773 KB
Memory Used: 711.180 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.02861 seconds
Time After: 0.02909 seconds
Time Taken: 0.00048 seconds

Memory Before: 3,575.766 KB
Memory After: 3,576.383 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.03202 seconds
Time After: 0.03492 seconds
Time Taken: 0.00290 seconds

Memory Before: 3,588.102 KB
Memory After: 3,588.016 KB
Memory Used: -0.086 KB

Time Before: 0.02778 seconds
Time After: 0.03510 seconds
Time Taken: 0.00732 seconds

Memory Before: 3,568.383 KB
Memory After: 3,680.453 KB
Memory Used: 112.070 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.04175 seconds
Time After: 0.04187 seconds
Time Taken: 0.00011 seconds

Memory Before: 4,238.148 KB
Memory After: 4,238.664 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.04927 seconds
Time After: 0.05051 seconds
Time Taken: 0.00125 seconds

Memory Before: 4,715.633 KB
Memory After: 4,716.227 KB
Memory Used: 0.594 KB

End call of global.php: 0.052226066589355
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.07092 seconds
Time After: 0.07141 seconds
Time Taken: 0.00049 seconds

Memory Before: 6,701.375 KB
Memory After: 6,703.211 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.07302 seconds
Time After: 0.12907 seconds
Time Taken: 0.05605 seconds

Memory Before: 6,746.164 KB
Memory After: 6,746.648 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.13143 seconds
Time After: 0.13300 seconds
Time Taken: 0.00157 seconds

Memory Before: 7,015.508 KB
Memory After: 7,016.883 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 9500, 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.14801 seconds
Time After: 1.11892 seconds
Time Taken: 0.97091 seconds

Memory Before: 7,208.102 KB
Memory After: 7,308.547 KB
Memory Used: 100.445 KB

SQL Query
UPDATE session
SET lastactivity = 1764523083, location = '/forums/memberlist.php?explain=1&page=96&pp=100', badlocation = 0
WHERE sessionhash = '77c0576cb20357b9f66a26451a553497'

Time Before: 1.32742 seconds
Time After: 1.32769 seconds
Time Taken: 0.00027 seconds

Memory Before: 11,313.234 KB
Memory After: 11,313.445 KB
Memory Used: 0.211 KB

Page generated in 1.3245429992676 seconds with 11 queries, spending 1.0365672111511 doing MySQL queries and 0.28797578811646 doing PHP things.
Shutdown Queries:
DISABLED