<div>I have a fairly large members&nbsp;list that I want to keep in memcache.&nbsp; What I do with this list is query it against particular user IDs to see if they are a member of that list or not.&nbsp; If they are they get certain priviledges.
</div>
<div>&nbsp;</div>
<div>The problem is, this list has gotten to the point of saturating the PHP&#39;s memory when fetching the MySQL query the first time.</div>
<div>&nbsp;</div>
<div>Is there a way to do this more effectively, for instance, partitioning the list into separate smaller lists, grouped by time of login?&nbsp; I&#39;m thinking of this, as users who have logged in in the past 3 months are more likely to be in the list anyway.&nbsp; 
</div>
<div>&nbsp;</div>