PostgreSQL 9.0.X or 8.4.X – performance, replication, stability

database-performancedatabase-replicationpostgresql

I've been developing an app w/ server infrastructure for a while now, and I'm getting ready to release soon(ish).

So far the server backend has been running on PostgreSQL 8.4.7, and it's working as it should.

Right now, though, I'm thinking about upgrading to 9.0.X to be on a more recent release for the beta testing (and subsequent release), and to make it easier to set up database replication in the future.

My questions:

  • Is PostgreSQL 9.0.4 a viable DB to use as of now? Are there any known major bugs?

  • Are there any noticeable performance differences?

  • Is replication (async ok, sync preferred) easier to set up in 9.0.X than in 8.4.X?

Best Answer

As for "viable DB for use" - sure. Pg is very stable.

As for performance differences - there were some improvements, check http://www.postgresql.org/docs/current/interactive/release-9-0.html

As for replication - it's hard to compare, as replication-wise, 9.0 is very different, as it has hot-standby and streaming replication, which were not available in 8.*

All in all - if you're setting new database, and you are not forced to use 8.4 - there is really no reason not go with 9.0

Related Topic