Including Functions.php

Time Before: 0.00078 seconds
Time After: 0.00107 seconds
Time Taken: 0.00030 seconds

Memory Before: 568.594 KB
Memory After: 681.758 KB
Memory Used: 113.164 KB

Connect to Database on Server: www03.rxmuscle.ml.zerolag.com

Time Before: 0.00113 seconds
Time After: 0.06415 seconds
Time Taken: 0.06303 seconds

Memory Before: 681.758 KB
Memory After: 682.703 KB
Memory Used: 0.945 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.06455 seconds
Time After: 0.06504 seconds
Time Taken: 0.00049 seconds

Memory Before: 683.398 KB
Memory After: 683.961 KB
Memory Used: 0.563 KB

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

Time Before: 0.06588 seconds
Time After: 0.06706 seconds
Time Taken: 0.00119 seconds

Memory Before: 687.156 KB
Memory After: 687.398 KB
Memory Used: 0.242 KB

Time Before: 0.06512 seconds
Time After: 0.07122 seconds
Time Taken: 0.00609 seconds

Memory Before: 683.172 KB
Memory After: 3,441.656 KB
Memory Used: 2,758.484 KB

SQL Query
SELECT *
FROM rxdatastore
WHERE title IN ('profilefield')
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       Impossible WHERE noticed after reading const tables

Time Before: 0.07231 seconds
Time After: 0.07258 seconds
Time Taken: 0.00026 seconds

Memory Before: 3,929.539 KB
Memory After: 3,929.992 KB
Memory Used: 0.453 KB

Session Handling
SQL Query
SELECT *
FROM rxsession
WHERE userid = 0
	AND host = '172.71.222.135'
	AND idhash = '6e1ae31a5f0db3c1e37acfe9407fdc76'
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLErxsessionrefguest_lookup,user_activityguest_lookup51const,const,const2Using where

Time Before: 0.07341 seconds
Time After: 0.07378 seconds
Time Taken: 0.00037 seconds

Memory Before: 3,948.406 KB
Memory After: 3,948.781 KB
Memory Used: 0.375 KB

SQL Query
SELECT languageid,
			phrasegroup_global AS phrasegroup_global,
			phrasegroup_wol AS phrasegroup_wol,
			phrasegroup_user AS phrasegroup_user,
			phrasegroup_messaging AS phrasegroup_messaging,
			phrasegroup_cprofilefield AS phrasegroup_cprofilefield,
			phrasegroup_reputationlevel AS phrasegroup_reputationlevel,
			phrasegroup_infractionlevel AS phrasegroup_infractionlevel,
			phrasegroup_posting AS phrasegroup_posting,
			phrasegroup_profilefield AS phrasegroup_profilefield,
			phrasegroup_activitystream AS phrasegroup_activitystream,
			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 rxlanguage
WHERE languageid = 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLErxlanguagesystemPRIMARY   1 

Time Before: 0.07492 seconds
Time After: 0.07549 seconds
Time Taken: 0.00057 seconds

Memory Before: 3,960.500 KB
Memory After: 3,959.898 KB
Memory Used: -0.602 KB

Time Before: 0.07285 seconds
Time After: 0.07563 seconds
Time Taken: 0.00278 seconds

Memory Before: 3,941.320 KB
Memory After: 4,099.203 KB
Memory Used: 157.883 KB

SQL Query
SELECT *
FROM rxstyle
WHERE (styleid = 21 AND userselect = 1)
	OR styleid = 21
ORDER BY styleid ASC
LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLErxstyleconstPRIMARYPRIMARY2const1 

Time Before: 0.08328 seconds
Time After: 0.08369 seconds
Time Taken: 0.00041 seconds

Memory Before: 4,934.805 KB
Memory After: 4,935.195 KB
Memory Used: 0.391 KB

End call of global.php: 0.085076093673706
SQL Query
SELECT 
	userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate, user.languageid AS saved_languageid,
	IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid, avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline, customavatar.width AS avwidth, customavatar.height AS avheight, customavatar.height_thumb AS avheight_thumb, customavatar.width_thumb AS avwidth_thumb, customavatar.filedata_thumb, customprofilepic.userid AS profilepic, customprofilepic.dateline AS profilepicdateline, customprofilepic.width AS ppwidth, customprofilepic.height AS ppheight, sigpic.userid AS sigpic, sigpic.dateline AS sigpicdateline, sigpic.width AS sigpicwidth, sigpic.height AS sigpicheight, usercsscache.cachedcss, IF(usercsscache.cachedcss IS NULL, 0, 1) AS hascachedcss, usercsscache.buildpermissions AS cssbuildpermissions
	
FROM rxuser AS user
LEFT JOIN rxuserfield AS userfield ON (user.userid = userfield.userid)
LEFT JOIN rxusertextfield AS usertextfield ON (usertextfield.userid = user.userid) LEFT JOIN rxavatar AS avatar ON (avatar.avatarid = user.avatarid) LEFT JOIN rxcustomavatar AS customavatar ON (customavatar.userid = user.userid) LEFT JOIN rxcustomprofilepic AS customprofilepic ON (user.userid = customprofilepic.userid) LEFT JOIN rxsigpic AS sigpic ON (user.userid = sigpic.userid) LEFT JOIN rxusercsscache AS usercsscache ON (user.userid = usercsscache.userid)

WHERE user.userid = 241 LIMIT 1
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEuserconstPRIMARYPRIMARY4const1 
1SIMPLEuserfieldconstPRIMARYPRIMARY4const1 
1SIMPLEusertextfieldconstPRIMARYPRIMARY4const1 
1SIMPLEavatarconstPRIMARYPRIMARY2const0unique row not found
1SIMPLEcustomavatarconstPRIMARYPRIMARY4const1 
1SIMPLEcustomprofilepicconstPRIMARYPRIMARY4const1 
1SIMPLEsigpicconstPRIMARYPRIMARY4const0unique row not found
1SIMPLEusercsscacheconstPRIMARYPRIMARY4const0unique row not found

Time Before: 0.08656 seconds
Time After: 0.08723 seconds
Time Taken: 0.00067 seconds

Memory Before: 5,560.211 KB
Memory After: 5,559.250 KB
Memory Used: -0.961 KB

SQL Query
SELECT title, template
FROM rxtemplate
WHERE templateid IN (10961,10990,10951,10952,10954,10960,10959,10786,10787,10788,0,0,10789,0,0,10790,10795,10791,10792,10793,10796,10797,10798,10799,10800,10851,10853,10855,10857,10859,0,10907,10906,10909,10910,10913,10914,11156,11326,11332,10965,10963,10966,10968,10967,10969,10970,10971,10972,10973,10974,10975,10980,10977,10979,10976,10978,10989,10991,10992,11001,10983,10994,10995,10996,10997,10999,10962,10988,10993,11002,10998,11004,11003,11000,11080,10728,10723,11387,11407,977,976,978,973,972,1595,4948,10720,10699,981,982,1600,11122,11396,11068,11072,11069,11070,11071,11426,0,0,11406,11367,11092,11093,11095,11096,11319,11438,11420,11370,11371,10919,10918,10922)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLErxtemplaterangePRIMARYPRIMARY4 110Using where

Time Before: 0.08951 seconds
Time After: 0.09073 seconds
Time Taken: 0.00121 seconds

Memory Before: 6,265.680 KB
Memory After: 6,265.500 KB
Memory Used: -0.180 KB

SQL Query
SELECT blockid, requirement
FROM rxprofileblockprivacy
WHERE userid = 241
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLErxprofileblockprivacyrefPRIMARYPRIMARY4const1 

Time Before: 0.09607 seconds
Time After: 0.09631 seconds
Time Taken: 0.00024 seconds

Memory Before: 6,559.531 KB
Memory After: 6,559.969 KB
Memory Used: 0.438 KB

SQL Query
SELECT pf.profilefieldcategoryid, pfc.location, pf.*
FROM rxprofilefield AS pf
LEFT JOIN rxprofilefieldcategory AS pfc ON(pfc.profilefieldcategoryid = pf.profilefieldcategoryid)
WHERE pf.form = 0 
		AND pf.hidden = 0
ORDER BY pfc.displayorder, pf.displayorder
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEpfALL    4Using where; Using temporary; Using filesort
1SIMPLEpfceq_refPRIMARYPRIMARY203forums.pf.profilefieldcategoryid1 

Time Before: 0.09672 seconds
Time After: 0.09764 seconds
Time Taken: 0.00092 seconds

Memory Before: 6,560.289 KB
Memory After: 6,560.539 KB
Memory Used: 0.250 KB

SQL Query
SELECT * FROM rxcustomprofile WHERE userid='-1'
/**customprofile- member**/
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLErxcustomprofilerefuseriduserid4const1 

Time Before: 0.09893 seconds
Time After: 0.09929 seconds
Time Taken: 0.00036 seconds

Memory Before: 6,807.141 KB
Memory After: 6,807.586 KB
Memory Used: 0.445 KB

SQL Query
SELECT user.*, (user.options & 512) AS invisible , avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustom, customavatar.dateline AS avatardateline, customavatar.filedata_thumb, customavatar.height AS avheight, customavatar.width AS avwidth, customavatar.width_thumb AS avwidth_thumb, customavatar.height_thumb AS avheight_thumb
	
FROM rxuserlist AS userlist
INNER JOIN rxuser AS user ON (user.userid = userlist.relationid)
LEFT JOIN rxavatar AS avatar ON (avatar.avatarid = user.avatarid)
LEFT JOIN rxcustomavatar AS customavatar ON (customavatar.userid = user.userid) 

WHERE userlist.userid = 241
	AND userlist.type = 'buddy'
	AND userlist.friend = 'yes'
	
ORDER BY RAND()
LIMIT 0, 10
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEuserlistrefPRIMARY,relationid,useriduserid6const,const,const447Using where; Using index; Using temporary; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY403forums.userlist.relationid1 
1SIMPLEavatareq_refPRIMARYPRIMARY203forums.user.avatarid1Using where
1SIMPLEcustomavatareq_refPRIMARYPRIMARY403forums.userlist.relationid1 

Time Before: 0.10105 seconds
Time After: 0.15675 seconds
Time Taken: 0.05569 seconds

Memory Before: 6,832.406 KB
Memory After: 6,832.195 KB
Memory Used: -0.211 KB

SQL Query
UPDATE rxuser SET
	profilevisits = profilevisits + 1
WHERE userid = 241

Time Before: 0.16511 seconds
Time After: 0.16591 seconds
Time Taken: 0.00080 seconds

Memory Before: 6,853.102 KB
Memory After: 6,853.422 KB
Memory Used: 0.320 KB

SQL Query
SELECT user.userid, user.username, user.usergroupid, user.displaygroupid, profilevisitor.visible, user.infractiongroupid
	
FROM rxprofilevisitor AS profilevisitor
INNER JOIN rxuser AS user ON (user.userid = profilevisitor.visitorid)

WHERE profilevisitor.userid = 241
	 AND (visible = 1 OR profilevisitor.visitorid = 0)
	
ORDER BY profilevisitor.dateline DESC
LIMIT 50
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEprofilevisitorrefPRIMARY,useriduserid4const52Using where; Using index; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY403forums.profilevisitor.visitorid1 

Time Before: 0.16681 seconds
Time After: 0.16942 seconds
Time Taken: 0.00261 seconds

Memory Before: 6,854.430 KB
Memory After: 6,854.563 KB
Memory Used: 0.133 KB

SQL Query
SELECT socialgroup.groupid, socialgroup.name, socialgroup.description, socialgroup.dateline, sgicon.dateline AS icondateline,
	sgicon.thumbnail_width AS iconthumb_width, sgicon.thumbnail_height AS iconthumb_height
FROM rxsocialgroupmember AS socialgroupmember
INNER JOIN rxsocialgroup AS socialgroup ON
	(socialgroup.groupid = socialgroupmember.groupid)
LEFT JOIN rxsocialgroupicon AS sgicon ON sgicon.groupid = socialgroup.groupid
WHERE
	socialgroupmember.userid = 241
	AND socialgroupmember.type = 'member'
ORDER BY socialgroup.name
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEsocialgroupmemberrefPRIMARY,groupid,useriduserid5const,const1Using where; Using index; Using temporary; Using filesort
1SIMPLEsocialgroupeq_refPRIMARYPRIMARY403forums.socialgroupmember.groupid1 
1SIMPLEsgiconeq_refPRIMARYPRIMARY403forums.socialgroupmember.groupid1 

Time Before: 0.17345 seconds
Time After: 0.17426 seconds
Time Taken: 0.00081 seconds

Memory Before: 6,974.766 KB
Memory After: 6,974.719 KB
Memory Used: -0.047 KB

SQL Query
SELECT SQL_CALC_FOUND_ROWS
	visitormessage.*, user.*, visitormessage.ipaddress AS messageipaddress
	
	
	,avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight, customavatar.width_thumb AS avwidth_thumb, customavatar.height_thumb AS avheight_thumb, filedata_thumb, NOT ISNULL(customavatar.userid) AS hascustom
	
FROM rxvisitormessage AS visitormessage
LEFT JOIN rxuser AS user ON (visitormessage.postuserid = user.userid)

LEFT JOIN rxavatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN rxcustomavatar AS customavatar ON(customavatar.userid = user.userid)


WHERE visitormessage.userid = 241
	AND (visitormessage.state IN ('visible'))

	
ORDER BY visitormessage.dateline DESC
LIMIT 0, 10
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvisitormessagerefuseriduserid4const2929Using where
1SIMPLEusereq_refPRIMARYPRIMARY403forums.visitormessage.postuserid1 
1SIMPLEavatareq_refPRIMARYPRIMARY203forums.user.avatarid1Using where
1SIMPLEcustomavatareq_refPRIMARYPRIMARY403forums.user.userid1Using where

Time Before: 0.17582 seconds
Time After: 0.27117 seconds
Time Taken: 0.09535 seconds

Memory Before: 7,067.953 KB
Memory After: 7,067.609 KB
Memory Used: -0.344 KB

SQL Query
SELECT FOUND_ROWS()
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLE       No tables used

Time Before: 0.27178 seconds
Time After: 0.27203 seconds
Time Taken: 0.00025 seconds

Memory Before: 7,065.195 KB
Memory After: 7,065.742 KB
Memory Used: 0.547 KB

SQL Query
SELECT COUNT(*) AS messages, MAX(visitormessage.dateline) AS dateline
FROM rxvisitormessage AS visitormessage

WHERE visitormessage.userid = 241
	AND (visitormessage.state IN ('visible') OR (visitormessage.postuserid = 0 AND state = 'moderation'))
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEvisitormessagerefpostuserid,useriduserid4const2929Using index condition; Using where

Time Before: 0.28756 seconds
Time After: 0.29618 seconds
Time Taken: 0.00862 seconds

Memory Before: 7,273.586 KB
Memory After: 7,273.836 KB
Memory Used: 0.250 KB

SQL Query
SELECT COUNT(*) AS count
FROM rxuser
WHERE referrerid = 241
	AND usergroupid NOT IN (3,4)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLErxuserrefusergroupid,referreridreferrerid4const13Using where

Time Before: 0.29763 seconds
Time After: 0.29860 seconds
Time Taken: 0.00096 seconds

Memory Before: 7,141.625 KB
Memory After: 7,142.063 KB
Memory Used: 0.438 KB

SQL Query
SELECT user.*, (user.options & 512) AS invisible , avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustom, customavatar.dateline AS avatardateline, customavatar.filedata_thumb, customavatar.height AS avheight, customavatar.width AS avwidth, customavatar.width_thumb AS avwidth_thumb, customavatar.height_thumb AS avheight_thumb
	
FROM rxuserlist AS userlist
INNER JOIN rxuser AS user ON (user.userid = userlist.relationid)
LEFT JOIN rxavatar AS avatar ON (avatar.avatarid = user.avatarid)
LEFT JOIN rxcustomavatar AS customavatar ON (customavatar.userid = user.userid) 

WHERE userlist.userid = 241
	AND userlist.type = 'buddy'
	AND userlist.friend = 'yes'
	
ORDER BY user.username ASC
LIMIT 0, 15
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEuserlistrefPRIMARY,relationid,useriduserid6const,const,const447Using where; Using index; Using temporary; Using filesort
1SIMPLEusereq_refPRIMARYPRIMARY403forums.userlist.relationid1 
1SIMPLEavatareq_refPRIMARYPRIMARY203forums.user.avatarid1Using where
1SIMPLEcustomavatareq_refPRIMARYPRIMARY403forums.userlist.relationid1 

Time Before: 0.30608 seconds
Time After: 0.32058 seconds
Time Taken: 0.01451 seconds

Memory Before: 7,171.211 KB
Memory After: 7,170.984 KB
Memory Used: -0.227 KB

SQL Query
SELECT relationid
FROM rxuserlist
WHERE
	userid IN (241)
		AND
	type = 'buddy'
		AND
	friend = 'yes'
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLErxuserlistrefPRIMARY,useriduserid6const,const,const447Using where; Using index

Time Before: 0.33378 seconds
Time After: 0.33443 seconds
Time Taken: 0.00065 seconds

Memory Before: 7,230.992 KB
Memory After: 7,231.391 KB
Memory Used: 0.398 KB

SQL Query
SELECT stream.*, type.section, type.type
FROM rxactivitystream AS stream
LEFT JOIN rxactivitystreamtype AS type ON (stream.typeid = type.typeid)
WHERE stream.dateline <> 0 AND stream.dateline <= 1669937888 AND stream.userid IN (241,1,3,5,7,9,21,27,29,34,38,58,60,65,70,73,76,77,84,85,87,91,94,100,101,103,107,109,111,119,127,132,138,140,147,207,210,226,232,242,254,256,259,271,293,301,315,337,354,361,366,367,370,374,384,385,401,407,409,414,428,433,447,451,455,459,460,465,479,494,496,505,515,520,525,555,561,562,576,577,593,594,628,651,657,681,685,708,728,731,733,735,737,739,747,750,758,788,800,828,842,848,851,866,869,870,879,881,896,908,910,919,927,928,940,967,970,980,992,1005,1010,1011,1036,1047,1069,1082,1084,1107,1113,1116,1151,1178,1181,1182,1199,1202,1203,1261,1285,1287,1303,1325,1347,1356,1358,1362,1372,1416,1433,1452,1460,1463,1464,1467,1472,1477,1491,1501,1514,1548,1550,1561,1582,1610,1620,1622,1707,1714,1736,1741,1757,1784,1809,1841,1885,1892,1992,1999,2003,2006,2010,2051,2061,2071,2079,2097,2113,2115,2241,2273,2279,2295,2344,2345,2349,2354,2431,2435,2441,2471,2482,2493,2532,2552,2573,2602,2616,2652,2664,2673,2697,2702,2711,2720,2733,2739,2758,2770,2837,2851,2862,2992,3033,3150,3188,3278,3350,3369,3518,3569,3674,3679,3749,3790,3799,4070,4142,4152,4166,4400,4591,4611,4621,4728,4764,4777,4808,4961,5078,5088,5301,5489,5575,5802,5827,5864,6043,6066,6077,6163,6168,6332,6339,6348,6404,6406,6498,6819,6878,6891,7088,7121,7155,7190,7198,7258,7390,7423,7556,7669,7757,7773,7809,7971,8053,8310,8345,8681,8702,8754,8941,9106,9482,9484,9641,9662,9845,9966,10141,10738,10947,11131,11214,11480,11618,11964,12360,12649,12936,13142,13536,14002,14009,14076,14096,14218,14587,15187,15381,15382,15419,15774,15938,16455,16550,17624,17634,17652,17952,18045,18062,18066,18571,18867,19138,19244,19375,19510,20357,20377,20400,20690,20800,20983,21198,21924,22691,22892,23893,24331,24776,24948,25710,26333,27045,27833,27834,27837,29274,30291,30402,31745,32929,34786,35204,36795,36799,37041,37321,38719,39090,39263,39540,40192,40245,41382,41680,41912,42565,43526,43834,43891,43969,44463,44507,45487,46821,47559,47697,49708,49811,50048,50086,50319,50704,50867,51635,52868,52946,53373,60190,62674,63747,64422,10006728,10010772,10021739,10022766,10023895,10025045,10025165,10025709,10036356,10037572,10043421,10058682,10120121,10124057,10124168,10125197,10126966,10128869,10130432,10131612,10137713,10139692,10140167,10149926,10151163,10152068,10153566,10153974,10158672,10159993,10161959,10162201,10176019,10177611,10185537,10187196,10188307,10188960,10189475,10190002,10190213,10194366,10198068,10198308)
ORDER BY dateline DESC
LIMIT 0, 30
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEstreamALLdateline,userid   58Using where; Using filesort
1SIMPLEtypeeq_refPRIMARYPRIMARY403forums.stream.typeid1 

Time Before: 0.34066 seconds
Time After: 0.34555 seconds
Time Taken: 0.00489 seconds

Memory Before: 7,325.766 KB
Memory After: 7,323.688 KB
Memory Used: -2.078 KB

SQL Query
SELECT
	p.postid AS p_postid, p.threadid AS p_threadid, p.title AS p_title, p.visible AS p_visible, p.userid AS p_userid, p.pagetext AS p_pagetext, p.username AS p_username,
	t.threadid AS t_threadid, t.title AS t_title, t.forumid AS t_forumid, t.pollid AS t_pollid, t.open AS t_open, t.postusername AS t_postusername,
	t.views AS t_views, t.visible AS t_visible, t.postuserid AS t_postuserid, t.postuserid AS t_userid, t.replycount AS t_replycount, t.prefixid AS t_prefixid,
	fp.pagetext AS t_pagetext
FROM rxpost AS p
INNER JOIN rxthread AS t ON (p.threadid = t.threadid)
INNER JOIN rxpost AS fp ON (t.firstpostid = fp.postid)
WHERE
	p.postid IN (2204264,2204263,2204262,2204261,2204259,2204257,2204256,2204252,2204251,2204250,2204248,2204246,2204245,2204244,2204242,2204240,2204238,2204237,2204236,2204230,2204229,2204227,2204224,2204219,2204217)
		AND
	p.visible <> 2
		AND
	t.visible <> 2
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEprangePRIMARY,threadid,threadid_visible_datelinePRIMARY4 25Using where
1SIMPLEteq_refPRIMARYPRIMARY403forums.p.threadid1Using where
1SIMPLEfpeq_refPRIMARYPRIMARY403forums.t.firstpostid1 

Time Before: 0.34680 seconds
Time After: 0.34748 seconds
Time Taken: 0.00068 seconds

Memory Before: 7,436.375 KB
Memory After: 7,435.977 KB
Memory Used: -0.398 KB

SQL Query
SELECT
	t.threadid, t.title, t.forumid, t.pollid, t.open, t.views, t.visible, t.postuserid, t.postuserid AS userid, t.replycount,
	t.postusername, t.prefixid, fp.pagetext
FROM rxthread AS t
INNER JOIN rxpost AS fp ON (t.firstpostid = fp.postid)
WHERE
	t.threadid IN (148337,148335,148334)
		AND
	t.visible <> 2
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEtrangePRIMARYPRIMARY4 3Using where
1SIMPLEfpeq_refPRIMARYPRIMARY403forums.t.firstpostid1 

Time Before: 0.34877 seconds
Time After: 0.34911 seconds
Time Taken: 0.00035 seconds

Memory Before: 7,507.789 KB
Memory After: 7,507.984 KB
Memory Used: 0.195 KB

SQL Query
SELECT u.*
	, av.avatarpath, NOT ISNULL(cu.userid) AS hascustomavatar,
		cu.dateline AS avatardateline, cu.width AS avwidth, cu.height AS avheight, cu.height_thumb AS avheight_thumb,
		cu.width_thumb AS avwidth_thumb, NOT ISNULL(cu.filedata_thumb) AS filedata_thumb
		
FROM rxuser AS u

	LEFT JOIN rxavatar AS av ON(av.avatarid = u.avatarid)
	LEFT JOIN rxcustomavatar AS cu ON(cu.userid = u.userid)
	
WHERE u.userid IN (10153566,10187196,254,10190701,16550,241,53373,121)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEurangePRIMARYPRIMARY4 8Using where
1SIMPLEaveq_refPRIMARYPRIMARY203forums.u.avatarid1Using where
1SIMPLEcueq_refPRIMARYPRIMARY403forums.u.userid1 

Time Before: 0.34984 seconds
Time After: 0.35056 seconds
Time Taken: 0.00072 seconds

Memory Before: 7,519.828 KB
Memory After: 7,519.859 KB
Memory Used: 0.031 KB

SQL Query
SELECT block.*,
	blocktype.productid, blocktype.name AS blocktypename, blocktype.title AS blocktypetitle,
	blocktype.description as blocktypedescription, blocktype.allowcache
FROM rxblock AS block
LEFT JOIN rxblocktype AS blocktype ON (block.blocktypeid = blocktype.blocktypeid)
WHERE 1 AND block.active = 1 AND blocktype.productid IN ('vbulletin','evbs_sstab_advanced','everywhere_sidebar','glowhostspamomatic','hn_masspm','mpdevs_ae_detector','skimlinks','tapatalk','vsachatbox','')
ORDER BY block.displayorder, block.title
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEblockALLblocktypeid   7Using where; Using temporary; Using filesort
1SIMPLEblocktypeALLPRIMARY,productid   6Using where; Using join buffer (flat, BNL join)

Time Before: 0.37593 seconds
Time After: 0.37687 seconds
Time Taken: 0.00095 seconds

Memory Before: 7,602.320 KB
Memory After: 7,602.328 KB
Memory Used: 0.008 KB

SQL Query
REPLACE INTO rxdatastore
	(title, data, unserialize)
VALUES
	('activeblocks', 'a:5:{i:7;a:15:{s:7:\"blockid\";s:1:\"7\";s:11:\"blocktypeid\";s:1:\"1\";s:5:\"title\";s:18:\"Dont miss a video!\";s:11:\"description\";s:0:\"\";s:3:\"url\";s:0:\"\";s:8:\"cachettl\";s:2:\"60\";s:12:\"displayorder\";s:1:\"0\";s:6:\"active\";s:1:\"1\";s:11:\"configcache\";s:327:\"a:3:{s:12:\"html_content\";s:226:\"

Subscribe to RX on YouTube!

\r\n
\r\n\r\n\r\n
\";s:13:\"html_template\";s:10:\"block_html\";s:9:\"html_type\";s:4:\"html\";}\";s:7:\"product\";s:9:\"vbulletin\";s:9:\"productid\";s:0:\"\";s:13:\"blocktypename\";s:4:\"html\";s:14:\"blocktypetitle\";s:14:\"blocktype_html\";s:20:\"blocktypedescription\";s:0:\"\";s:10:\"allowcache\";s:1:\"1\";}i:1;a:15:{s:7:\"blockid\";s:1:\"1\";s:11:\"blocktypeid\";s:1:\"1\";s:5:\"title\";s:21:\"Visit our Advertisers\";s:11:\"description\";s:0:\"\";s:3:\"url\";s:0:\"\";s:8:\"cachettl\";s:2:\"60\";s:12:\"displayorder\";s:2:\"10\";s:6:\"active\";s:1:\"1\";s:11:\"configcache\";s:881:\"a:3:{s:12:\"html_content\";s:780:\"
\r\n\r\n\r\n\r\n\r\n\r\n
\r\n\r\n\r\n\"Checkout\r\n\r\n\r\n
\r\n\r\n\r\n\r\n\"Muscle\r\n\r\n\r\n
\r\n\r\n\r\n\"evolutionary.org\"\r\n\r\n\r\n\r\n
\r\n\r\n\r\n\r\n
\";s:13:\"html_template\";s:10:\"block_html\";s:9:\"html_type\";s:4:\"html\";}\";s:7:\"product\";s:0:\"\";s:9:\"productid\";s:0:\"\";s:13:\"blocktypename\";s:4:\"html\";s:14:\"blocktypetitle\";s:14:\"blocktype_html\";s:20:\"blocktypedescription\";s:0:\"\";s:10:\"allowcache\";s:1:\"1\";}i:5;a:15:{s:7:\"blockid\";s:1:\"5\";s:11:\"blocktypeid\";s:1:\"1\";s:5:\"title\";s:17:\"Social Networking\";s:11:\"description\";s:0:\"\";s:3:\"url\";s:0:\"\";s:8:\"cachettl\";s:2:\"60\";s:12:\"displayorder\";s:2:\"20\";s:6:\"active\";s:1:\"1\";s:11:\"configcache\";s:500:\"a:3:{s:12:\"html_content\";s:399:\"
Follow @RXMuscledotcom\r\n\r\n
\r\n
\";s:13:\"html_template\";s:10:\"block_html\";s:9:\"html_type\";s:4:\"html\";}\";s:7:\"product\";s:0:\"\";s:9:\"productid\";s:0:\"\";s:13:\"blocktypename\";s:4:\"html\";s:14:\"blocktypetitle\";s:14:\"blocktype_html\";s:20:\"blocktypedescription\";s:0:\"\";s:10:\"allowcache\";s:1:\"1\";}i:3;a:15:{s:7:\"blockid\";s:1:\"3\";s:11:\"blocktypeid\";s:1:\"1\";s:5:\"title\";s:16:\"Ask Dave Palumbo\";s:11:\"description\";s:0:\"\";s:3:\"url\";s:0:\"\";s:8:\"cachettl\";s:2:\"60\";s:12:\"displayorder\";s:2:\"40\";s:6:\"active\";s:1:\"1\";s:11:\"configcache\";s:503:\"a:3:{s:12:\"html_content\";s:402:\"
\"Dave\'s

Dave has built his reputation by helping others with his knowledge and experience.

Read More!
\";s:13:\"html_template\";s:10:\"block_html\";s:9:\"html_type\";s:4:\"html\";}\";s:7:\"product\";s:0:\"\";s:9:\"productid\";s:0:\"\";s:13:\"blocktypename\";s:4:\"html\";s:14:\"blocktypetitle\";s:14:\"blocktype_html\";s:20:\"blocktypedescription\";s:0:\"\";s:10:\"allowcache\";s:1:\"1\";}i:4;a:15:{s:7:\"blockid\";s:1:\"4\";s:11:\"blocktypeid\";s:1:\"5\";s:5:\"title\";s:21:\"Newly Replied Threads\";s:11:\"description\";s:0:\"\";s:3:\"url\";s:0:\"\";s:8:\"cachettl\";s:2:\"60\";s:12:\"displayorder\";s:2:\"60\";s:6:\"active\";s:1:\"1\";s:11:\"configcache\";s:162:\"a:5:{s:7:\"datecut\";s:2:\"30\";s:16:\"threads_forumids\";a:1:{i:0;i:2;}s:13:\"threads_limit\";s:1:\"5\";s:21:\"threads_titlemaxchars\";s:2:\"35\";s:12:\"threads_type\";s:1:\"1\";}\";s:7:\"product\";s:0:\"\";s:9:\"productid\";s:0:\"\";s:13:\"blocktypename\";s:7:\"threads\";s:14:\"blocktypetitle\";s:17:\"blocktype_threads\";s:20:\"blocktypedescription\";s:0:\"\";s:10:\"allowcache\";s:1:\"1\";}}', 1)

Time Before: 0.37709 seconds
Time After: 0.37768 seconds
Time Taken: 0.00059 seconds

Memory Before: 7,638.586 KB
Memory After: 7,633.984 KB
Memory Used: -4.602 KB

SQL Query
SELECT data, expires, locktime, serialized
FROM rxcache
WHERE cacheid = 'forumblock.f4079c80fa33204847a4683bd8aee058'
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLErxcacheconstPRIMARYPRIMARY66const1 

Time Before: 0.37877 seconds
Time After: 0.37897 seconds
Time Taken: 0.00020 seconds

Memory Before: 7,695.750 KB
Memory After: 7,696.148 KB
Memory Used: 0.398 KB

SQL Query
SELECT template
FROM rxtemplate
WHERE templateid = 10863
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLErxtemplateconstPRIMARYPRIMARY4const1 

Time Before: 0.37959 seconds
Time After: 0.37978 seconds
Time Taken: 0.00019 seconds

Memory Before: 7,702.820 KB
Memory After: 7,703.266 KB
Memory Used: 0.445 KB

SQL Query
SELECT data, expires, locktime, serialized
FROM rxcache
WHERE cacheid = 'forumblock.a6db8a64fa18bb0a32f4470ccf73ba21'
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLErxcacheconstPRIMARYPRIMARY66const1 

Time Before: 0.38041 seconds
Time After: 0.38069 seconds
Time Taken: 0.00029 seconds

Memory Before: 7,704.477 KB
Memory After: 7,704.875 KB
Memory Used: 0.398 KB

SQL Query
SELECT data, expires, locktime, serialized
FROM rxcache
WHERE cacheid = 'forumblock.f6869fd84fdf01b056cb3db1e4360f0c'
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLErxcacheconstPRIMARYPRIMARY66const1 

Time Before: 0.38151 seconds
Time After: 0.38170 seconds
Time Taken: 0.00019 seconds

Memory Before: 7,712.141 KB
Memory After: 7,712.539 KB
Memory Used: 0.398 KB

SQL Query
SELECT data, expires, locktime, serialized
FROM rxcache
WHERE cacheid = 'forumblock.c664b0c118cf3282c2da021c0dfba7d0'
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLErxcacheconstPRIMARYPRIMARY66const1 

Time Before: 0.38240 seconds
Time After: 0.38269 seconds
Time Taken: 0.00028 seconds

Memory Before: 7,719.055 KB
Memory After: 7,719.453 KB
Memory Used: 0.398 KB

SQL Query
SELECT data, expires, locktime, serialized
FROM rxcache
WHERE cacheid = 'forumblock.dcd9e942dd2415e466667a5fef4e5cec'
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLErxcacheconstPRIMARYPRIMARY66const1 

Time Before: 0.38359 seconds
Time After: 0.38384 seconds
Time Taken: 0.00025 seconds

Memory Before: 7,742.031 KB
Memory After: 7,742.430 KB
Memory Used: 0.398 KB

SQL Query
SELECT template
FROM rxtemplate
WHERE templateid = 10867
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLErxtemplateconstPRIMARYPRIMARY4const1 

Time Before: 0.38581 seconds
Time After: 0.38601 seconds
Time Taken: 0.00020 seconds

Memory Before: 7,959.039 KB
Memory After: 7,959.484 KB
Memory Used: 0.445 KB

SQL Query
SELECT block.*,
	blocktype.productid, blocktype.name AS blocktypename, blocktype.title AS blocktypetitle,
	blocktype.description as blocktypedescription, blocktype.allowcache
FROM rxblock AS block
LEFT JOIN rxblocktype AS blocktype ON (block.blocktypeid = blocktype.blocktypeid)
WHERE 1 AND block.active = 1 AND blocktype.productid IN ('vbulletin','evbs_sstab_advanced','everywhere_sidebar','glowhostspamomatic','hn_masspm','mpdevs_ae_detector','skimlinks','tapatalk','vsachatbox','')
ORDER BY block.displayorder, block.title
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEblockALLblocktypeid   7Using where; Using temporary; Using filesort
1SIMPLEblocktypeALLPRIMARY,productid   6Using where; Using join buffer (flat, BNL join)

Time Before: 0.38789 seconds
Time After: 0.38874 seconds
Time Taken: 0.00084 seconds

Memory Before: 7,905.727 KB
Memory After: 7,905.719 KB
Memory Used: -0.008 KB

SQL Query
REPLACE INTO rxdatastore
	(title, data, unserialize)
VALUES
	('activeblocks', 'a:5:{i:7;a:15:{s:7:\"blockid\";s:1:\"7\";s:11:\"blocktypeid\";s:1:\"1\";s:5:\"title\";s:18:\"Dont miss a video!\";s:11:\"description\";s:0:\"\";s:3:\"url\";s:0:\"\";s:8:\"cachettl\";s:2:\"60\";s:12:\"displayorder\";s:1:\"0\";s:6:\"active\";s:1:\"1\";s:11:\"configcache\";s:327:\"a:3:{s:12:\"html_content\";s:226:\"

Subscribe to RX on YouTube!

\r\n
\r\n\r\n\r\n
\";s:13:\"html_template\";s:10:\"block_html\";s:9:\"html_type\";s:4:\"html\";}\";s:7:\"product\";s:9:\"vbulletin\";s:9:\"productid\";s:0:\"\";s:13:\"blocktypename\";s:4:\"html\";s:14:\"blocktypetitle\";s:14:\"blocktype_html\";s:20:\"blocktypedescription\";s:0:\"\";s:10:\"allowcache\";s:1:\"1\";}i:1;a:15:{s:7:\"blockid\";s:1:\"1\";s:11:\"blocktypeid\";s:1:\"1\";s:5:\"title\";s:21:\"Visit our Advertisers\";s:11:\"description\";s:0:\"\";s:3:\"url\";s:0:\"\";s:8:\"cachettl\";s:2:\"60\";s:12:\"displayorder\";s:2:\"10\";s:6:\"active\";s:1:\"1\";s:11:\"configcache\";s:881:\"a:3:{s:12:\"html_content\";s:780:\"
\r\n\r\n\r\n\r\n\r\n\r\n
\r\n\r\n\r\n\"Checkout\r\n\r\n\r\n
\r\n\r\n\r\n\r\n\"Muscle\r\n\r\n\r\n
\r\n\r\n\r\n\"evolutionary.org\"\r\n\r\n\r\n\r\n
\r\n\r\n\r\n\r\n
\";s:13:\"html_template\";s:10:\"block_html\";s:9:\"html_type\";s:4:\"html\";}\";s:7:\"product\";s:0:\"\";s:9:\"productid\";s:0:\"\";s:13:\"blocktypename\";s:4:\"html\";s:14:\"blocktypetitle\";s:14:\"blocktype_html\";s:20:\"blocktypedescription\";s:0:\"\";s:10:\"allowcache\";s:1:\"1\";}i:5;a:15:{s:7:\"blockid\";s:1:\"5\";s:11:\"blocktypeid\";s:1:\"1\";s:5:\"title\";s:17:\"Social Networking\";s:11:\"description\";s:0:\"\";s:3:\"url\";s:0:\"\";s:8:\"cachettl\";s:2:\"60\";s:12:\"displayorder\";s:2:\"20\";s:6:\"active\";s:1:\"1\";s:11:\"configcache\";s:500:\"a:3:{s:12:\"html_content\";s:399:\"
Follow @RXMuscledotcom\r\n\r\n
\r\n
\";s:13:\"html_template\";s:10:\"block_html\";s:9:\"html_type\";s:4:\"html\";}\";s:7:\"product\";s:0:\"\";s:9:\"productid\";s:0:\"\";s:13:\"blocktypename\";s:4:\"html\";s:14:\"blocktypetitle\";s:14:\"blocktype_html\";s:20:\"blocktypedescription\";s:0:\"\";s:10:\"allowcache\";s:1:\"1\";}i:3;a:15:{s:7:\"blockid\";s:1:\"3\";s:11:\"blocktypeid\";s:1:\"1\";s:5:\"title\";s:16:\"Ask Dave Palumbo\";s:11:\"description\";s:0:\"\";s:3:\"url\";s:0:\"\";s:8:\"cachettl\";s:2:\"60\";s:12:\"displayorder\";s:2:\"40\";s:6:\"active\";s:1:\"1\";s:11:\"configcache\";s:503:\"a:3:{s:12:\"html_content\";s:402:\"
\"Dave\'s

Dave has built his reputation by helping others with his knowledge and experience.

Read More!
\";s:13:\"html_template\";s:10:\"block_html\";s:9:\"html_type\";s:4:\"html\";}\";s:7:\"product\";s:0:\"\";s:9:\"productid\";s:0:\"\";s:13:\"blocktypename\";s:4:\"html\";s:14:\"blocktypetitle\";s:14:\"blocktype_html\";s:20:\"blocktypedescription\";s:0:\"\";s:10:\"allowcache\";s:1:\"1\";}i:4;a:15:{s:7:\"blockid\";s:1:\"4\";s:11:\"blocktypeid\";s:1:\"5\";s:5:\"title\";s:21:\"Newly Replied Threads\";s:11:\"description\";s:0:\"\";s:3:\"url\";s:0:\"\";s:8:\"cachettl\";s:2:\"60\";s:12:\"displayorder\";s:2:\"60\";s:6:\"active\";s:1:\"1\";s:11:\"configcache\";s:162:\"a:5:{s:7:\"datecut\";s:2:\"30\";s:16:\"threads_forumids\";a:1:{i:0;i:2;}s:13:\"threads_limit\";s:1:\"5\";s:21:\"threads_titlemaxchars\";s:2:\"35\";s:12:\"threads_type\";s:1:\"1\";}\";s:7:\"product\";s:0:\"\";s:9:\"productid\";s:0:\"\";s:13:\"blocktypename\";s:7:\"threads\";s:14:\"blocktypetitle\";s:17:\"blocktype_threads\";s:20:\"blocktypedescription\";s:0:\"\";s:10:\"allowcache\";s:1:\"1\";}}', 1)

Time Before: 0.38894 seconds
Time After: 0.38944 seconds
Time Taken: 0.00049 seconds

Memory Before: 7,929.656 KB
Memory After: 7,925.055 KB
Memory Used: -4.602 KB

SQL Query
SELECT template
FROM rxtemplate
WHERE templateid = 2265
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLErxtemplateconstPRIMARYPRIMARY4const1 

Time Before: 0.39007 seconds
Time After: 0.39040 seconds
Time Taken: 0.00033 seconds

Memory Before: 7,912.297 KB
Memory After: 7,912.766 KB
Memory Used: 0.469 KB

SQL Query
SELECT * FROM rxcustomprofile WHERE userid='-1'
/**customprofile- member**/
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLErxcustomprofilerefuseriduserid4const1 

Time Before: 0.39159 seconds
Time After: 0.39197 seconds
Time Taken: 0.00038 seconds

Memory Before: 7,980.211 KB
Memory After: 7,980.656 KB
Memory Used: 0.445 KB

SQL Query
UPDATE rxsession
SET lastactivity = 1669937888, location = 'member.php?u=241', inforum = 0, inthread = 0, badlocation = 0
WHERE sessionhash = 'c30e63f1044bb6430a0674cf7de7ad41'

Time Before: 0.39600 seconds
Time After: 0.39633 seconds
Time Taken: 0.00033 seconds

Memory Before: 8,560.219 KB
Memory After: 8,560.438 KB
Memory Used: 0.219 KB

Page generated in 0.39401292800903 seconds with 39 queries, spending 0.26211500167847 doing MySQL queries and 0.13189792633057 doing PHP things.
Shutdown Queries:
DISABLED