-
Notifications
You must be signed in to change notification settings - Fork 8
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
DB performance: indexing #488
Labels
bug
Indicates an unexpected problem or unintended behavior
Comments
Minor fix: a1d7f67 |
I've updated the initial post and added two todo's |
@stefjoosten found a bug as a result of putting a primary key on the n-n table: In case that one of the columns has a technical type that is not suitable as primary key, there must not be a primary key defined on that table. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In order to increase the database performance, commit e715f52 introduced indexes on table columns where possible.
We argued that the performance improvements of indexes for Ampersand generally outweigh the costs for updating the index on inserts, updates and deletes. Therefore this feature is enabled by default. You can manually remove indexes when necessary.
TODO:
The text was updated successfully, but these errors were encountered: