Hi,
I'm in a situation that requires me to share data between a MySQL database on one machine and Postgres on a second. The data in the first (MySQL) is the authoritative and currently I'm just dumping the data out of MySQL and importing it into a fresh Postgres db nightly to use Postgres.
Ideally, I would love to just pick a db and stick with it, but the powers that control that decision won't allow the switch at this time.
My question is:
1. Can I use something like ODBC to allow the two to talk to each other. Speed on the second machine (Postgres) is not critical. It would be a read-only one-way for data flowing from MySQL to Postgres.
2. If no to number 1 above, can I do something to automate the nightly dumps. I've already built the scripts to do the MySQL dumps, but I need to preserve the view/indices/etc in Postgres, basically just replace the data with the current data.
3. Other ideas.
-r --
robb
I'm in a situation that requires me to share data between a MySQL database on one machine and Postgres on a second. The data in the first (MySQL) is the authoritative and currently I'm just dumping the data out of MySQL and importing it into a fresh Postgres db nightly to use Postgres.
Ideally, I would love to just pick a db and stick with it, but the powers that control that decision won't allow the switch at this time.
My question is:
1. Can I use something like ODBC to allow the two to talk to each other. Speed on the second machine (Postgres) is not critical. It would be a read-only one-way for data flowing from MySQL to Postgres.
2. If no to number 1 above, can I do something to automate the nightly dumps. I've already built the scripts to do the MySQL dumps, but I need to preserve the view/indices/etc in Postgres, basically just replace the data with the current data.
3. Other ideas.
-r --
robb