recommend database? #172

Closed
opened 2025-10-31 15:03:58 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @lordraiden on GitHub (Jan 5, 2025).

What is the recommended database? Any advantage to use mongodb or postgres?

Originally created by @lordraiden on GitHub (Jan 5, 2025). What is the recommended database? Any advantage to use mongodb or postgres?
GiteaMirror added the setup label 2025-10-31 15:03:58 -05:00
Author
Owner

@mbecker20 commented on GitHub (Jan 5, 2025):

Some hosts CPU lack AVX support required to run Mongo. In this case, user must use either Postgres or SQLite.

In other case, user has already figured out Postgres backup solution. In this case, users will likely prefer to use Postgres again in order to re-use the same backup solution.

Those two are the most important factors. If neither apply to you, then go ahead and use Mongo, as it achieves marginally better performance without overhead of FerretDB translation layer.

@mbecker20 commented on GitHub (Jan 5, 2025): Some hosts CPU lack AVX support required to run Mongo. In this case, user must use either Postgres or SQLite. In other case, user has already figured out Postgres backup solution. In this case, users will likely prefer to use Postgres again in order to re-use the same backup solution. Those two are the most important factors. If neither apply to you, then go ahead and use Mongo, as it achieves marginally better performance without overhead of FerretDB translation layer.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/komodo#172