PostgreSQL 9.0 Is Now Available
phoronix.com
phoronix.com
Streaming Replication: http://www.postgresql.org/docs/9.0/static/warm-standby.html#...
Hot Standby: http://www.postgresql.org/docs/9.0/static/hot-standby.html
If you find yourself needing a replication solution beyond hot standby; it's possible that PostgreSQL isn't the right tool for the job.
I think MySQL's swappable storage engines make building replication a tad easier. Actually, I have no idea.
It's even harder to maintain than multi-master. You know what can fail in multi-master and how to check it - 99% of cases is just one of the nodes stopping accepting the replication stream for some reason. You can check that easily, because you see secs_behind > 0 on the slave status - everything else ends up in the error log.
With NDB, the situation is much harder. You've got 3 types of nodes that can fail, you don't easily see if one of them failed (I had situations where every node was "connected", both data nodes were "live", but the manager (or was it frontend...) decided they're out of sync and cannot deal with them at all). Effectively you've got a network of independent nodes which can fail and not output any error - it's another node that shows you only the effect of such failure. I could not find any way to reliably monitor the cluster status and there are not nearly enough information on the web to solve the problems on your own. #mysql-ndb is great, but the people there can give you a patch to your database "to try if it fixes the problem" - problem that cannot be easily reproduced and causes the DB to stop working under a high load in the middle of the day - exactly when I need to DB to stay up.
Multi-master was a lot less painful.
The reason most replication systems sit outside of PostgreSQL are there are many different use cases for replication and no one method is going to get it right enough to complicate the core code. There are efforts underway to create a common structure to base replication on so that projects like Bucardo, Slony and Londiste can more easily and reliably plug into the core database engine for replication.
Especially when keeping normalized data, it allows the easy creation of an index without having the need to index ALL records and blow up the b+tree
But awesome job PG team, it's my favorite SQL server.
Agreed. It Excels in what it does and hast fastest Access times.
[edit: didn't mean to start a pun thread.]
EDIT: Downvotes feel good, in a way. Too much focus on karma, recently, amongst a subset of the current HN population.
Figured I'd been around long enough to appreciate a rare moment of humor from another old-timer, and dip my oar in -- even if in a slightly ill-advised fashion.
The caffeine made me do it! Now, on to work...
But, HN used to have a bit better sense of humor and camaraderie, particularly for those who didn't abuse the privilege. I guess things really have changed, here.
Maybe just par for the course, with the community having grown so much -- most people aren't familiar with most other user ID's, anymore.
Thank you.