Including Functions.php

Time Before: 0.00061 seconds
Time After: 0.00085 seconds
Time Taken: 0.00023 seconds

Memory Before: 570.969 KB
Memory After: 684.133 KB
Memory Used: 113.164 KB

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

Time Before: 0.00089 seconds
Time After: 0.00261 seconds
Time Taken: 0.00172 seconds

Memory Before: 684.133 KB
Memory After: 685.078 KB
Memory Used: 0.945 KB

SQL Query
SET @@sql_mode = ''

Time Before: 0.00276 seconds
Time After: 0.00286 seconds
Time Taken: 0.00011 seconds

Memory Before: 685.742 KB
Memory After: 686.305 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.00335 seconds
Time After: 0.00582 seconds
Time Taken: 0.00248 seconds

Memory Before: 689.500 KB
Memory After: 689.742 KB
Memory Used: 0.242 KB

Time Before: 0.00292 seconds
Time After: 0.01081 seconds
Time Taken: 0.00789 seconds

Memory Before: 685.547 KB
Memory After: 3,444.141 KB
Memory Used: 2,758.594 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.01195 seconds
Time After: 0.01208 seconds
Time Taken: 0.00013 seconds

Memory Before: 3,905.688 KB
Memory After: 3,906.141 KB
Memory Used: 0.453 KB

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

Time Before: 0.01271 seconds
Time After: 0.01288 seconds
Time Taken: 0.00017 seconds

Memory Before: 3,924.555 KB
Memory After: 3,924.930 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.01356 seconds
Time After: 0.01391 seconds
Time Taken: 0.00034 seconds

Memory Before: 3,936.648 KB
Memory After: 3,936.047 KB
Memory Used: -0.602 KB

Time Before: 0.01231 seconds
Time After: 0.01406 seconds
Time Taken: 0.00175 seconds

Memory Before: 3,917.500 KB
Memory After: 4,075.383 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.02285 seconds
Time After: 0.02310 seconds
Time Taken: 0.00025 seconds

Memory Before: 4,908.383 KB
Memory After: 4,908.773 KB
Memory Used: 0.391 KB

End call of global.php: 0.024762868881226
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.02666 seconds
Time After: 0.02706 seconds
Time Taken: 0.00040 seconds

Memory Before: 5,529.648 KB
Memory After: 5,528.688 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.02926 seconds
Time After: 0.03358 seconds
Time Taken: 0.00432 seconds

Memory Before: 6,234.266 KB
Memory After: 6,234.086 KB
Memory Used: -0.180 KB

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

Time Before: 0.03948 seconds
Time After: 0.03963 seconds
Time Taken: 0.00015 seconds

Memory Before: 6,528.094 KB
Memory After: 6,528.531 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.04003 seconds
Time After: 0.04083 seconds
Time Taken: 0.00080 seconds

Memory Before: 6,528.852 KB
Memory After: 6,529.102 KB
Memory Used: 0.250 KB

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

Time Before: 0.04179 seconds
Time After: 0.04197 seconds
Time Taken: 0.00019 seconds

Memory Before: 6,775.383 KB
Memory After: 6,775.828 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.04368 seconds
Time After: 0.09922 seconds
Time Taken: 0.05554 seconds

Memory Before: 6,800.578 KB
Memory After: 6,800.367 KB
Memory Used: -0.211 KB

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

Time Before: 0.10799 seconds
Time After: 0.11720 seconds
Time Taken: 0.00922 seconds

Memory Before: 6,820.750 KB
Memory After: 6,821.070 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.11773 seconds
Time After: 0.11975 seconds
Time Taken: 0.00202 seconds

Memory Before: 6,822.078 KB
Memory After: 6,822.211 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.12250 seconds
Time After: 0.12295 seconds
Time Taken: 0.00045 seconds

Memory Before: 6,941.547 KB
Memory After: 6,941.500 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.12400 seconds
Time After: 0.20900 seconds
Time Taken: 0.08499 seconds

Memory Before: 7,033.703 KB
Memory After: 7,033.359 KB
Memory Used: -0.344 KB

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

Time Before: 0.20935 seconds
Time After: 0.20948 seconds
Time Taken: 0.00014 seconds

Memory Before: 7,030.945 KB
Memory After: 7,031.492 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.21989 seconds
Time After: 0.22876 seconds
Time Taken: 0.00886 seconds

Memory Before: 7,235.594 KB
Memory After: 7,235.844 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.22996 seconds
Time After: 0.23042 seconds
Time Taken: 0.00046 seconds

Memory Before: 7,104.414 KB
Memory After: 7,104.828 KB
Memory Used: 0.414 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.23597 seconds
Time After: 0.26256 seconds
Time Taken: 0.02659 seconds

Memory Before: 7,134.273 KB
Memory After: 7,134.047 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.27179 seconds
Time After: 0.27217 seconds
Time Taken: 0.00038 seconds

Memory Before: 7,194.156 KB
Memory After: 7,194.539 KB
Memory Used: 0.383 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 <= 1716478994 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
1SIMPLEstreamrangedateline,useriddateline4 93Using where
1SIMPLEtypeeq_refPRIMARYPRIMARY403forums.stream.typeid1 

Time Before: 0.42755 seconds
Time After: 0.43214 seconds
Time Taken: 0.00459 seconds

Memory Before: 7,288.516 KB
Memory After: 7,286.438 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 (2209443,2209442,2209441,2209440,2209439,2209438,2209437,2209436,2209435,2209434,2209433,2209432,2209431,2209430,2209429,2209428,2209427,2209426,2209425,2209423,2209422,2209421,2209420,2209419,2209418,2209417,2209416,2209415,2209414,2209413)
		AND
	p.visible <> 2
		AND
	t.visible <> 2
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEprangePRIMARY,threadid,threadid_visible_datelinePRIMARY4 30Using where
1SIMPLEteq_refPRIMARYPRIMARY403forums.p.threadid1Using where
1SIMPLEfpeq_refPRIMARYPRIMARY403forums.t.firstpostid1 

Time Before: 0.43364 seconds
Time After: 0.43497 seconds
Time Taken: 0.00134 seconds

Memory Before: 7,439.703 KB
Memory After: 7,439.266 KB
Memory Used: -0.438 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,254,10190701,11131)
idselect_typetabletypepossible_keyskeykey_lenrefrowsExtra
1SIMPLEurangePRIMARYPRIMARY4 4Using where
1SIMPLEaveq_refPRIMARYPRIMARY203forums.u.avatarid1Using where
1SIMPLEcueq_refPRIMARYPRIMARY403forums.u.userid1 

Time Before: 0.43594 seconds
Time After: 0.43642 seconds
Time Taken: 0.00048 seconds

Memory Before: 7,494.250 KB
Memory After: 7,494.305 KB
Memory Used: 0.055 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.45407 seconds
Time After: 0.45470 seconds
Time Taken: 0.00063 seconds

Memory Before: 7,602.422 KB
Memory After: 7,602.414 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.45484 seconds
Time After: 0.46687 seconds
Time Taken: 0.01202 seconds

Memory Before: 7,638.656 KB
Memory After: 7,634.055 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.46778 seconds
Time After: 0.46790 seconds
Time Taken: 0.00012 seconds

Memory Before: 7,692.695 KB
Memory After: 7,693.094 KB
Memory Used: 0.398 KB

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

Time Before: 0.46825 seconds
Time After: 0.46834 seconds
Time Taken: 0.00009 seconds

Memory Before: 7,699.750 KB
Memory After: 7,700.195 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.46875 seconds
Time After: 0.46885 seconds
Time Taken: 0.00010 seconds

Memory Before: 7,701.438 KB
Memory After: 7,701.836 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.46924 seconds
Time After: 0.46933 seconds
Time Taken: 0.00009 seconds

Memory Before: 7,709.094 KB
Memory After: 7,709.492 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.46980 seconds
Time After: 0.46990 seconds
Time Taken: 0.00010 seconds

Memory Before: 7,716.008 KB
Memory After: 7,716.406 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.47039 seconds
Time After: 0.47050 seconds
Time Taken: 0.00011 seconds

Memory Before: 7,738.211 KB
Memory After: 7,738.609 KB
Memory Used: 0.398 KB

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

Time Before: 0.47124 seconds
Time After: 0.47133 seconds
Time Taken: 0.00009 seconds

Memory Before: 7,826.352 KB
Memory After: 7,826.797 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.47222 seconds
Time After: 0.47285 seconds
Time Taken: 0.00063 seconds

Memory Before: 7,804.344 KB
Memory After: 7,804.336 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.47298 seconds
Time After: 0.48355 seconds
Time Taken: 0.01057 seconds

Memory Before: 7,828.266 KB
Memory After: 7,823.664 KB
Memory Used: -4.602 KB

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

Time Before: 0.48417 seconds
Time After: 0.48429 seconds
Time Taken: 0.00012 seconds

Memory Before: 7,810.977 KB
Memory After: 7,811.422 KB
Memory Used: 0.445 KB

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

Time Before: 0.48515 seconds
Time After: 0.48533 seconds
Time Taken: 0.00018 seconds

Memory Before: 7,875.438 KB
Memory After: 7,875.883 KB
Memory Used: 0.445 KB

SQL Query
UPDATE rxsession
SET lastactivity = 1716478994, location = 'member.php?u=241', badlocation = 0
WHERE sessionhash = '3df625750a76ec4b8b4f277c4ed22118'

Time Before: 0.48898 seconds
Time After: 0.48913 seconds
Time Taken: 0.00015 seconds

Memory Before: 8,451.953 KB
Memory After: 8,452.188 KB
Memory Used: 0.234 KB

Page generated in 0.48751401901245 seconds with 38 queries, spending 0.23113703727722 doing MySQL queries and 0.25637698173523 doing PHP things.
Shutdown Queries:
DISABLED