Ask Your Question
2

Which is a better database to use for Askbot, PostgreSQL or MySQL, and why?

asked Feb 10 '11

ZakGottlieb gravatar image ZakGottlieb
45 5
http://www.realpha.com/

Also, is it an easy enough process to transfer between the two?

1 Answer

Sort by ยป oldest newest most voted
1
ZakGottlieb has selected this answer as correct

answered Feb 10 '11

Evgeny gravatar image Evgeny flag of Chile
6665 31 49 95
http://askbot.org/

updated Feb 10 '11

PostgresQL is better because it supports transactions and full text search at the same time.

MySQL does not support both at once. MySQL has a few choices of data storage backends - and none of the backends supports those two things at simultaneously.

Postgres has very deep support of full text searching - including word stemming, thesaurus matching, ranking, etc.

Transactions help to keep data internally consistent and avoid race conditions - when two or more users read and write data simultaneously.

P.S. This site still runs or MySQL, my bad. If you use Postgres, the only visible change will be "sort by relevance" option in the question list, that will appear when some search term is typed. MySQL does not have ranking, so no such option.

link

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
[hide preview]

Question tools

Follow

subscribe to rss feed

Stats

Asked: Feb 10 '11

Seen: 84 times

Last updated: Feb 10 '11