-
-
Notifications
You must be signed in to change notification settings - Fork 663
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
[WIP] Change to PostreSQL #277
Conversation
Signed-off-by: Daniel Hansson <daniel@techandme.se>
Signed-off-by: Daniel Hansson <daniel@techandme.se>
Really? Nextcloud is recommending MariaDB/MySQL on docs.nextcloud.com for the setups ... it is much more used - and also more tested then 🙈 |
Maybe adding it as an option, could be a better idea. Or maybe make a postgres branch for "high performance" or whatever. |
This is an experimental branch, I'll not merge to master. I'm thinking maybe offering another VM in the Tech and Me Shop. We'll see. From an enterprise perspective this is much better. Not as much settings as Postgres have it all built in already so no need for tweaks. Not like MySQL or MariaDB where you have to add support for utf8bm4 and stuff like that. Also, like I said, Postgres is MUCH faster. Did some tests and wow, it flies! |
In deed it does, some other high intensive platforms use Postgres as database for the same reason, such as Odoo. |
Though I am really tempted to change to PostgreSQL... @MorrisJobke @nickvergessen @LukasReschke @juliushaertl @rullzer and others, how much will break (if any) if I change to PotgreSQL? Are many apps depending on MySQL? |
Nothing™ ... it runs on multiple sites with Postgres. We recommend MySQL because we had good experiences with it especially in clustered environments. |
Yes, there should be no problem there. I'm not aware of apps that are only supporting MySQL and if apps use Nextclouds database API it should work just fine. |
So what you're saying is that Postgres doesn't work as good as MySQL/MariaDB in clustered environments? Another questsion regarding git, how do I move this PR to be merged to another branch and follow the master branch? As I said I'm thinking of maybe offering this as an alternative to MariaDB which is the default in 12.0.1 (not released yet). What I'm thinking is:
Would that be enough? |
I'll create a new branch fot this. Closing this PR. |
Signed-off-by: Daniel Hansson daniel@techandme.se
PostgreSQL is safe and faster + no need for utf8mb4 which is something MySQL made up because they failed.
Much work to be done here.