|
|
|
|
|
by bob1029
1671 days ago
|
|
> This can get tricky if you have 100s of thousands or millions of _roles_ If you use something like a bitmap index (e.g. Roaring Bitmaps), you can easily manage roles in-line on each user row if the role membership is typically sparse. You can still maintain a separate Roles table as a canonical reference, but you would no longer need to join on it to determine who has what. |
|