MemberService GetAllMembers is *very* slow when members have lots of custom properties
Hi all,
I am facing an issue where I have lots of custom properties for my members (I didn't count but well over 100) and performance is painfully slow (depending on site usage, between one and five minutes!) when using GetAllMembers() or GetMembersByGroup().
I assume this is because GetAllMembers() is going out to the db and getting everything about the member including all custom properties. Is there a way to get all members without also getting all the custom properties (maybe just the built in properties)?
For clarity, I need to get all the members in a specific group and then perform some sorting/filtering based on a small subset of the custom properties. If anyone has hints on a better way to do things I am all ears!
MemberService GetAllMembers is *very* slow when members have lots of custom properties
Hi all,
I am facing an issue where I have lots of custom properties for my members (I didn't count but well over 100) and performance is painfully slow (depending on site usage, between one and five minutes!) when using
GetAllMembers()
orGetMembersByGroup()
.I assume this is because
GetAllMembers()
is going out to the db and getting everything about the member including all custom properties. Is there a way to get all members without also getting all the custom properties (maybe just the built in properties)?For clarity, I need to get all the members in a specific group and then perform some sorting/filtering based on a small subset of the custom properties. If anyone has hints on a better way to do things I am all ears!
Cheers!
Hi Josh
We struggle with a similar issue, can you help - how to improve the performance of GetAllMembers() or GetMembersByGroup() methods?
Thanks,
Alex
is working on a reply...