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

Document limits for number of columns and indexes #217

Open
mmnosek opened this issue Apr 20, 2018 · 1 comment
Open

Document limits for number of columns and indexes #217

mmnosek opened this issue Apr 20, 2018 · 1 comment

Comments

@mmnosek
Copy link
Contributor

mmnosek commented Apr 20, 2018

There's no information about a limit of a number of columns and indexes in Starcounter, but some people already hit these. This should be explicitly said in appropriate places in the database section of the documentation.

Limit of number of columns: 127 (should be checked with core team)
Limit of number of indexes per table: 32 (but it is a bit more complicated than that because of inheritance and implicitly created indexes). Should be precisely checked.

@mmnosek
Copy link
Contributor Author

mmnosek commented Apr 20, 2018

Additional info: First one is a limit of 31 (actually 32, but 1 is used internally) indexes per type. And indexes from base types also count to this cap.
Second one is a total limit of 64K indexes per database. And this is the one 'ScErrIndexLimitReachedAbort' indicates. Most likely they just abandoned a lot of tables and indexes over the database lifetime and haven't actually dropped abandoned tables. Or we have some

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