# postgresql vs mysql ?

**URL:** <https://discuss.rubyonrails.org/t/postgresql-vs-mysql/7573>\
**Category:** rubyonrails-talk\
**Created:** [January 22, 2007, 2:36pm UTC](https://discuss.rubyonrails.org/t/postgresql-vs-mysql/7573 "2007-01-22T14:36:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robby\_Russell](https://avatars.discourse-cdn.com/v4/letter/r/e47774/32.png) [@Robby\_Russell](https://discuss.rubyonrails.org/u/Robby_Russell)\
**Post date:** [January 22, 2007, 2:36pm UTC](https://discuss.rubyonrails.org/t/postgresql-vs-mysql/7573/1 "2007-01-22T14:36:16Z")

</div>

nick wrote:

> hi, which is better between postgresql and mysql in a system with a lot of queries and where performance is very important ? is possible for both to have a database cluster? is there anyone who has one ?

Rails tries to stay fairly agnostic about this. I'm personally a \*huge\* PostgreSQL fan. One major difference is the open source license. PostgreSQL has a BSD license, which is very similar to that of Rails, while MySQL has a dual-license scheme that has some limitations for how you sell your product.

As far as features, PostgreSQL wins because of how far you can go with it... from built-in GIS (PostGIS) to creating stored procedures, triggers, etc... with Ruby... I could go on and on.

PostgreSQL++

Cheers,

Robby

---

<div class="post-metadata">

**Author:** ![Robby\_Russell](https://avatars.discourse-cdn.com/v4/letter/r/e47774/32.png) [@Robby\_Russell](https://discuss.rubyonrails.org/u/Robby_Russell)\
**Post date:** [January 22, 2007, 2:40pm UTC](https://discuss.rubyonrails.org/t/postgresql-vs-mysql/7573/2 "2007-01-22T14:40:31Z")

</div>

Robby Russell wrote:

> PostgreSQL++

You might do a few google searches on postgresql versus mysql. There have been several articles conducted on this.

Exhibit A: [http://www.suite101.com/article.cfm/oracle/115560](http://www.suite101.com/article.cfm/oracle/115560)

Good luck!

Robby
