Handling sets in mnesia, in a scalable way
Ulf Wiger
ulf@REDACTED
Fri May 5 00:41:45 CEST 2006
Den 2006-05-04 17:37:41 skrev Christian S <chsu79@REDACTED>:
> Have anyone experienced a problem with sets in mnesia records growing too
> large, and worked
> around it in some clever way. Or does things run on suprisingly well even
> with sets that grow to ten
> thousand or more members?
I usually use ordered_set tables, and use a compound
primary key:
{group_members, {group_id, member_id}, ...}
This scales very well.
BR,
Ulf W
--
Ulf Wiger
More information about the erlang-questions
mailing list