| From: | Andrew Schmeder <andy(at)qabobala(dot)xapnet(dot)com> |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Parallel databases? |
| Date: | 2000-04-14 22:00:19 |
| Message-ID: | 0004141513120E.00394@qabobala |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
> Does anyone have any suggestions for a way to keep 2 databases in sync?
> Ideally updates need to be made to both... this can't be too uncommon a
> requirement..... any kind of HA would need it....
I use a PHP or Perl codebase to access databases (mysql or postgres). I always
use a wrapper class to control the database connection because it makes the
code a lot more simple -- additionally I could easily insert logic in the
class to open a second connection to another database and duplicate all
inserts, updates and deletes. Alternatively the info could be queued in a log
file for delayed usage. However this is still far from a true HA setup. For
that either you need a lot of intelligent code or Oracle Parallel Server.
Andy
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andrew Snow | 2000-04-14 23:45:36 | RE: Postgresqlism & Vacuum? |
| Previous Message | Steve Wolfe | 2000-04-14 22:00:01 | Re: Postgresqlism & Vacuum? |