Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attributes table might grow rapidly leading to performance issue #558

Closed
thomaschiozzi-tndigit opened this issue Mar 5, 2024 · 0 comments

Comments

@thomaschiozzi-tndigit
Copy link
Collaborator

Currently the attributes table in the DB can hypotetically have one entry per tuple (entity_id, provider, attr_key), with entity_id ∈ E, provider ∈ P and attr_key ∈ K. The hypotetical maximum size of the table is hence |E|×|P|×|K|.
In use cases where |P|×|K| is big (possibly in hundreads) and |E| is non-trivial or growing over time, this table can reach a considerable size. Since this table can be read & updated multiple times by attributes providers per each authentication, this could lead to perfomance issues.

AAC users might be adviced in adding indexes to the attributes an a provisional solution if they are in a setting where |P|×|K| is big.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants