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

rmh picture rmh · Feb 25, 2009 · Viewed 34.8k times · Source

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 djangosearch or a similar project.)

Which database backend is best suited to my project and why? Can you recommend any good resources for further reading?

Answer

oivvio picture oivvio · May 11, 2010

For whatever it's worth the the creators of Django recommend PostgreSQL.

If you're not tied to any legacy system and have the freedom to choose a database back-end, we recommend PostgreSQL, which achives a fine balance between cost, features, speed and stability. (The Definitive Guide to Django, p. 15)