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

Other DB options for gorm #47

Open
fnxln opened this issue Jan 1, 2024 · 1 comment
Open

Other DB options for gorm #47

fnxln opened this issue Jan 1, 2024 · 1 comment
Labels
enhancement New feature or request low priority

Comments

@fnxln
Copy link

fnxln commented Jan 1, 2024

What would be implemented

Other options for databases other than sqlite

Why

for perfomace reasons, such as postgres or mariadb/mysql,
gorm support that natively and would be easy to implement

References

@evan-goode
Copy link
Member

Yes, it'd be nice to support Postgres and maybe MariaDB eventually, but it's a low priority for me at the moment. I don't have reason to believe that Postgres would be faster than SQLite except perhaps for very large instances. Skin and cape blobs get written straight to the filesystem, not the database, so the amount of data Drasl needs to write to the DB at a given time just isn't that high.

But I stand to be corrected. And there are plenty of reasons other than performance to use Postgres over SQLite. Maybe it could be a good issue for someone else to work on?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request low priority
Projects
None yet
Development

No branches or pull requests

2 participants