First time here? Check out the FAQ!
0

PostgreSQL vs MySQL - Which is better for Askbot?

I'm looking to install setup askbot for the first time on website indiabot.com and would like to settle down on the database to be used. Askbot recommends PostgreSQL and my system is already using MYSQL for drupal. Let me know why should I go ahead with one type keeping in view the resource usage and speed. Is it possible to migrate from one type of database to another in future?

naavi's avatar
185
naavi
asked 2012-06-02 06:10:42 -0600, updated 2012-06-02 14:46:06 -0600
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

1

PostgresQL is better. The most significant difference is that postgres supports transactions and full text search simultaneously, while MySQL does not.

We don't yet have working migration from one database type to another, but there is code for that on one of the forks on github.

Evgeny's avatar
13.2k
Evgeny
answered 2012-06-02 14:49:18 -0600, updated 2012-06-02 14:49:33 -0600
edit flag offensive 0 remove flag delete link

Comments

Thanks. To be true, I didn't get "transactions" and "full text search". If I go ahead with MYSQL, the realtime search feature of Askbot is not going to work? May I know the consequences of using the one over another?

naavi's avatar naavi (2012-06-02 14:52:30 -0600) edit

No the search will work, but not as well. Also you will not have transaction support, which means that the data can more easily become inconsistent. We are planning to support Haystack - then you'll be able to use Solr and some other search engines and will then be able to use transactions in MySQL.

Evgeny's avatar Evgeny (2012-06-02 14:55:50 -0600) edit
add a comment see more comments