Question

Right now I have a database (about 2-3 GB) in PostgreSQL, which serves as a data storage to RoR/Python LAMP-like application.

What kind tools are there that are simple and robust enough for replication of the main database to a second machine?

I looked through some packages (Slony-I and etc.) but it would be great to hear real-life stories as well.

Right now I'm not concerned with load balancing and etc. I am thinking about using simple Write-Ahead-Log strategy for now.

Was it helpful?

Solution

If you are not doing replication, Write ahead Logs are the simplest solution.

OTHER TIPS

If you can upgrade to pg 9 I would looking to streaming replication - very simple setup. Or if you can't upgrade you can just look at a hot-standby (which you can query to).

See here: http://eggie5.com/15-setting-up-pg9-streaming-replication

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top