1👍
✅
You can use database replication. Mysql and postgresql are capable of doing that. Read on master-slave replication. http://www.postgresql.org/docs/9.2/static/high-availability.html
Doubling data on application level is overhead. What if you decide to add 3rd database for any reason? So you will need to alter your code to support that third database.
Source:stackexchange.com