-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Large action
table may cause 500 error for home page
#18666
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
Comments
I think we have two choices:
|
For postgresql, mssql and mysql we could use partitioned tables this would still allow to select data from PostgreSQL: https://www.postgresql.org/docs/14/ddl-partitioning.html As for sqlite we could probably create multiple tables and have view with union select of tables for last year |
I have enough DBA knowledge and I know how However, some users do not know how to handle it, like
So the question is:
And I do not think Gitea should touch the partitioning mechanism by itself, we should keep things as simple as possible. |
I agree that partitioning can be done transparently to gitea. Like creating partitioned table manually, moving data from unpartitioned table and than adding crontab job to create partitions |
But documentation for this could be nice to have |
The indices have been re-designed. Close this one. |
And related to:
The text was updated successfully, but these errors were encountered: