|
|
Log in / Subscribe / Register

The ongoing MySQL campaign

The ongoing MySQL campaign

Posted Jan 4, 2010 17:06 UTC (Mon) by foom (subscriber, #14868)
In reply to: The ongoing MySQL campaign by dlang
Parent article: The ongoing MySQL campaign

> the replication that is going in requires core support, so it can't be maintained as a separate
package

That seems like a terrible reason to bless one package and not any of the others. I hope that's not
all there is to it, and that the blessed one is, additionally, the best (overall, for most uses)
replication package for postgres.


to post comments

Why is it in core?

Posted Jan 4, 2010 20:53 UTC (Mon) by mainpc (guest, #62803) [Link]

The replication solution is actually two separate non-replication features that are useful on their own, but when used together, create a solid replication solution.

PostgreSQL has been able to load point in time recovery (PITR) log files from one server onto another, creating a warm standby solution for fail-over. Recently, 8.5 gained the ability to serve read-only queries while performing recovery. This feature is called Hot Standby. In a separate feature, Streaming Replication, PostgreSQL will be able to send PITR data across a TCP stream in addition to the log files. Combining Hot Standby with Streaming Replication provides a solid master-slave replication solution, suitable for fail-over and load balancing of read-only queries.

This replication solution happens to be in core because that is the right place for Hot Standby and Streaming Replication to be. It is also a very low overhead design because it is based on log files that are created during normal operation anyway.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds