News for hackers. Stuff that matters.
Re:PostgreSQL 9.0 - Hot Standby, Streaming Replication by mahmud on Tuesday February 02, 2010 @12:41AM (#1094395)
Fuck Yeah!

I have never been satisfied with a piece of software as I am with Postgres.

Fact: 11 year old version of postgres are still actively maintained.

Re:PostgreSQL 9.0 - Hot Standby, Streaming Replication by yesimahuman on Tuesday February 02, 2010 @12:24AM (#1094368)
For those of you running postgresql with some kind of multi-server setup, how do you do load balancing and replication right now?

I'm running pgpool-ii but just tonight noticed some pretty serious discrepancies between the two backend postgresql instances so I am getting rid of pgpool for the time being.

Will this change make pgpool-ii obsolete?

Re:PostgreSQL 9.0 - Hot Standby, Streaming Replication by rosser on Tuesday February 02, 2010 @12:50AM (#1094404)
The last place I worked used F5s for load balancing and Bucardo for replication. The F5s worked well enough, and I've become a huge fan of Bucardo. It has capabilities that I think blow Slony away. (Custom code, and pre-warmed slaves are two of the biggest differentiators.)

The new job is doing something that could best be described as very primitive sharding (completely unnecessary, given the demonstrated loads compared to the levels of concurrency PostgreSQL can support with minimal tuning), without replication. I'm eliminating the former, and will eventually be adding some HA capabilities, and probably also bringing Bucardo in.

I don't think SR is going to obsolete a connection pool any time soon -- you still need to direct traffic appropriately between master and slave(s). I've never used it, but I've consistently heard good things about pgBoucner as a connection pooler.

Re:PostgreSQL 9.0 - Hot Standby, Streaming Replication by emmett on Tuesday February 02, 2010 @11:32AM (#1095253)
We use londiste (from SkyTools). It's excellent. From what I've read, londiste already plans to start offering streaming replication (vs. trigger-based replication) for the transport mechanism.
Re:PostgreSQL 9.0 - Hot Standby, Streaming Replication by kingkilr on Tuesday February 02, 2010 @12:29AM (#1094375)
I'm not an expert, but PgPool also servers as a local connection pooler, so for those purposes it won't be obsoleted.
Re:PostgreSQL 9.0 - Hot Standby, Streaming Replication by neilc on Tuesday February 02, 2010 @12:45AM (#1094400)
I'd personally recommend pgbouncer as a connection pooler rather than pgpool.

https://developer.skype.com/SkypeGarage/DbProjects/PgBouncer

Re:PostgreSQL 9.0 - Hot Standby, Streaming Replication by russss on Tuesday February 02, 2010 @06:45AM (#1094719)
I second that, I did a comparison a few years ago and pgbouncer blew pgpool away:

http://www.last.fm/user/Russ/journal/2008/02/21/zd_postgres_...

Re:PostgreSQL 9.0 - Hot Standby, Streaming Replication by yesimahuman on Thursday February 04, 2010 @09:28PM (#1102460)
Thanks guys.
Re:PostgreSQL 9.0 - Hot Standby, Streaming Replication by bdr on Tuesday February 02, 2010 @03:07AM (#1094556)
slony worked well enough at my last job
Re:PostgreSQL 9.0 - Hot Standby, Streaming Replication by jawngee on Monday February 01, 2010 @08:34PM (#1094020)
I have nothing to add except for: yay!
Re:PostgreSQL 9.0 - Hot Standby, Streaming Replication by MartinMond on Monday February 01, 2010 @08:54PM (#1094050)
I'd like for the PostgreSQL team to add synchronous replication :) (ideally as a per transaction setting)

Well, exactly this is planed for a future release: http://wiki.postgresql.org/wiki/Streaming_Replication#Future...

Re:PostgreSQL 9.0 - Hot Standby, Streaming Replication by sheats on Tuesday February 02, 2010 @06:23AM (#1094699)
This is definitely big news for PostgreSQL. When I had to set up replication for one of the projects I was working on I was highly dssapointed with all the solutions out there. I'm really excited that this will be built in and it looks like it will be really simple to get set up and working.

I agree, yay!

Re:PostgreSQL 9.0 - Hot Standby, Streaming Replication by mixmax on Monday February 01, 2010 @11:48PM (#1094328)
Ironically all I see is "Error establishing a database connection" when I visit the site
Re:PostgreSQL 9.0 - Hot Standby, Streaming Replication by tmountain on Tuesday February 02, 2010 @12:43PM (#1095466)
This is just more evidence that it's one of the greatest pieces of open source software ever written.
Re:PostgreSQL 9.0 - Hot Standby, Streaming Replication by Tritis on Monday February 01, 2010 @11:47PM (#1094327)
"Error establishing a database connection"

They running wordpress on mysql or something?