Including Functions.php

Time Before: 0.00288 seconds
Time After: 0.02008 seconds
Time Taken: 0.01720 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.02018 seconds
Time After: 0.02057 seconds
Time Taken: 0.00038 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.02074 seconds
Time After: 0.02085 seconds
Time Taken: 0.00011 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.02148 seconds
Time After: 0.02344 seconds
Time Taken: 0.00196 seconds

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

Time Before: 0.02090 seconds
Time After: 0.02582 seconds
Time Taken: 0.00493 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.02803 seconds
Time After: 0.02840 seconds
Time Taken: 0.00037 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.03097 seconds
Time After: 0.03198 seconds
Time Taken: 0.00101 seconds

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

Time Before: 0.02745 seconds
Time After: 0.03216 seconds
Time Taken: 0.00471 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.03750 seconds
Time After: 0.03764 seconds
Time Taken: 0.00014 seconds

Memory Before: 4,238.133 KB
Memory After: 4,238.648 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.04481 seconds
Time After: 0.04605 seconds
Time Taken: 0.00123 seconds

Memory Before: 4,715.852 KB
Memory After: 4,716.445 KB
Memory Used: 0.594 KB

End call of global.php: 0.047845125198364
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.06795 seconds
Time After: 0.06815 seconds
Time Taken: 0.00021 seconds

Memory Before: 6,701.531 KB
Memory After: 6,703.367 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.06930 seconds
Time After: 0.11877 seconds
Time Taken: 0.04947 seconds

Memory Before: 6,746.336 KB
Memory After: 6,746.820 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.12141 seconds
Time After: 0.12251 seconds
Time Taken: 0.00110 seconds

Memory Before: 7,015.688 KB
Memory After: 7,017.063 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 9200, 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.13768 seconds
Time After: 1.12328 seconds
Time Taken: 0.98561 seconds

Memory Before: 7,208.281 KB
Memory After: 7,308.727 KB
Memory Used: 100.445 KB

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

Time Before: 1.33246 seconds
Time After: 1.33270 seconds
Time Taken: 0.00023 seconds

Memory Before: 11,331.984 KB
Memory After: 11,332.188 KB
Memory Used: 0.203 KB

Page generated in 1.3296480178833 seconds with 11 queries, spending 1.0418150424957 doing MySQL queries and 0.28783297538757 doing PHP things.
Shutdown Queries:
DISABLED