Including Functions.php

Time Before: 0.00659 seconds
Time After: 0.01699 seconds
Time Taken: 0.01040 seconds

Memory Before: 7,553.664 KB
Memory After: 9,926.680 KB
Memory Used: 2,373.016 KB

Connect to Database on Server: localhost

Time Before: 0.01706 seconds
Time After: 0.01731 seconds
Time Taken: 0.00025 seconds

Memory Before: 9,926.594 KB
Memory After: 9,927.375 KB
Memory Used: 0.781 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.01748 seconds
Time After: 0.01757 seconds
Time Taken: 0.00009 seconds

Memory Before: 9,927.414 KB
Memory After: 9,927.883 KB
Memory Used: 0.469 KB

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

Time Before: 0.01820 seconds
Time After: 0.01964 seconds
Time Taken: 0.00144 seconds

Memory Before: 9,930.758 KB
Memory After: 9,931.039 KB
Memory Used: 0.281 KB

Time Before: 0.01762 seconds
Time After: 0.02381 seconds
Time Taken: 0.00619 seconds

Memory Before: 9,927.016 KB
Memory After: 12,277.758 KB
Memory Used: 2,350.742 KB

Session Handling
SQL Query
SELECT *
FROM session
WHERE userid = 0
	AND host = '54.146.191.2'
	AND idhash = '27860d3d0cfd43cb943cb907596a8720'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsessionrefguest_lookup,user_activityguest_lookup145const,const,const2Using where

Time Before: 0.02738 seconds
Time After: 0.02756 seconds
Time Taken: 0.00019 seconds

Memory Before: 13,069.539 KB
Memory After: 13,069.953 KB
Memory Used: 0.414 KB

SQL Query
SELECT languageid,
			phrasegroup_global AS phrasegroup_global,
			phrasegroup_dbtech_thanks AS phrasegroup_dbtech_thanks,
			phrasegroup_user AS phrasegroup_user,
			phrasegroup_posting AS phrasegroup_posting,
			phrasegroup_album AS phrasegroup_album,
			phrasegroup_messaging AS phrasegroup_messaging,
			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 = 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLElanguagesystemPRIMARY   1 

Time Before: 0.02855 seconds
Time After: 0.02925 seconds
Time Taken: 0.00070 seconds

Memory Before: 13,081.484 KB
Memory After: 13,081.156 KB
Memory Used: -0.328 KB

Time Before: 0.02696 seconds
Time After: 0.02944 seconds
Time Taken: 0.00248 seconds

Memory Before: 13,062.813 KB
Memory After: 13,232.273 KB
Memory Used: 169.461 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.03904 seconds
Time After: 0.03916 seconds
Time Taken: 0.00012 seconds

Memory Before: 14,463.641 KB
Memory After: 14,464.086 KB
Memory Used: 0.445 KB


Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/larry56/public_html/includes/class_database_explain.php:57) in /home/larry56/public_html/includes/facebook/facebook.php on line 49

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/larry56/public_html/includes/class_database_explain.php:57) in /home/larry56/public_html/includes/facebook/facebook.php on line 49
SQL Query
SELECT *
FROM style
WHERE (styleid = 9 AND userselect = 1)
	OR styleid = 9
ORDER BY styleid ASC
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstyleconstPRIMARYPRIMARY2const1 

Time Before: 0.04362 seconds
Time After: 0.04394 seconds
Time Taken: 0.00032 seconds

Memory Before: 15,110.617 KB
Memory After: 15,111.039 KB
Memory Used: 0.422 KB

End call of global.php: 0.0451939105988
SQL Query
SELECT 
	likes_given AS value,
	user.userid,
	user.username,
	user.usergroupid,
	user.membergroupids,
	user.infractiongroupid,
	user.displaygroupid
	
FROM dbtech_thanks_statistics AS entry
LEFT JOIN user AS user USING(userid)
LEFT JOIN usergroup AS usergroup ON (usergroup.usergroupid = user.usergroupid)
ORDER BY value DESC
LIMIT 5
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEentryALL    3740Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4larry56_reptileradio.entry.userid1 
1SIMPLEusergroupeq_refPRIMARYPRIMARY2larry56_reptileradio.user.usergroupid1Using index

Time Before: 0.04607 seconds
Time After: 0.04667 seconds
Time Taken: 0.00061 seconds

Memory Before: 15,771.039 KB
Memory After: 15,771.211 KB
Memory Used: 0.172 KB

SQL Query
SELECT title, template
FROM template
WHERE templateid IN (4408,4436,4438,4437,3900,3883,3860,5495,1713,3891,3869,3896,3905,3813,3776,3887,3875,3815,3888,3885,5181,5477,3897,3901,5128,3902,5130,5493,0,0,5456,5458,5151,5152,5154,5155,5378,5420,5419,5469,5421,4978,4977,4981,3794,3795,4522,0,4410,4432,4433)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEtemplaterangePRIMARYPRIMARY4 49Using index condition

Time Before: 0.04812 seconds
Time After: 0.04870 seconds
Time Taken: 0.00058 seconds

Memory Before: 16,022.188 KB
Memory After: 16,022.438 KB
Memory Used: 0.250 KB


Warning: Cannot modify header information - headers already sent by (output started at /home/larry56/public_html/includes/class_database_explain.php:57) in /home/larry56/public_html/includes/functions.php on line 5607
SQL Query
SELECT 
	likes_received AS value,
	user.userid,
	user.username,
	user.usergroupid,
	user.membergroupids,
	user.infractiongroupid,
	user.displaygroupid
	
FROM dbtech_thanks_statistics AS entry
LEFT JOIN user AS user USING(userid)
LEFT JOIN usergroup AS usergroup ON (usergroup.usergroupid = user.usergroupid)
ORDER BY value DESC
LIMIT 5
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEentryALL    3740Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY4larry56_reptileradio.entry.userid1 
1SIMPLEusergroupeq_refPRIMARYPRIMARY2larry56_reptileradio.user.usergroupid1Using index

Time Before: 0.05558 seconds
Time After: 0.05619 seconds
Time Taken: 0.00060 seconds

Memory Before: 16,251.914 KB
Memory After: 16,252.086 KB
Memory Used: 0.172 KB

SQL Query
SELECT *
        FROM rbs_banners 
        WHERE enabled=1
            AND startdate<=1488391506
            AND enddate>=1488391506
            AND IF(forumhome, 0=0, IF(forumids='', 1, FIND_IN_SET('0', forumids)))
            AND IF(maximpressions>0, impressions0 AND clicks
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLErbs_bannersALL    66Using where

Time Before: 0.06445 seconds
Time After: 0.06473 seconds
Time Taken: 0.00028 seconds

Memory Before: 16,628.094 KB
Memory After: 16,628.289 KB
Memory Used: 0.195 KB

SQL Query
UPDATE session
SET lastactivity = 1488391506, location = '/thanks.php?do=statistics&explain=1', inforum = 0, badlocation = 0
WHERE sessionhash = 'ab2415ae064d1548e69914410030f3b7'

Time Before: 0.06552 seconds
Time After: 0.06566 seconds
Time Taken: 0.00014 seconds

Memory Before: 16,591.688 KB
Memory After: 16,591.898 KB
Memory Used: 0.211 KB

SQL Query
UPDATE rbs_banners 
        SET impressions=impressions+1 
        WHERE id IN(232)

Time Before: 0.06573 seconds
Time After: 0.06590 seconds
Time Taken: 0.00017 seconds

Memory Before: 16,586.047 KB
Memory After: 16,586.406 KB
Memory Used: 0.359 KB

Page generated in 0.0625450611115 seconds with 12 queries, spending 0.00547552108765 doing MySQL queries and 0.0570695400238 doing PHP things.
Shutdown Queries:
DISABLED