MySQL vs PostgreSQL? Which should I choose for my Django project?

后端 未结 11 899
臣服心动
臣服心动 2020-11-30 21:27

My Django project is going to be backed by a large database with several hundred thousand entries, and will need to support searching (I\'ll probably end up using djangosear

11条回答
  •  夕颜
    夕颜 (楼主)
    2020-11-30 21:38

    Having gone down the road of MySQL because I was familiar with it (and struggling to find a proper installer and a quick test of the slow web "workbench" interface of postgreSQL put me off), at the end of the project, after a few months after deployment, while looking into back up options, I see you have to pay for MySQL's enterprise back up features. Gotcha right at the very end.

    Wioth MySql I had to write some ugly monster raw SQL queries in Django because no select distinct per group for retrieving the latest per group query. Also looking at postgreSQL's full-text search and wishing I had used postgresSQL.

    I recommend PostgreSQL even if you are familiar with MySQL, but your mileage may vary.

提交回复
热议问题