Re: [ADMIN] Data replication to PostgreSQL

Поиск
Список
Период
Сортировка
От Ram DBA
Тема Re: [ADMIN] Data replication to PostgreSQL
Дата
Msg-id CAGb7rSFpTqgtVQVAXAjBuMHbyjrLu1x1br4b0cBd_Pio4Kxp2w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [ADMIN] Data replication to PostgreSQL  (Jorge Torralba <jorge.torralba@gmail.com>)
Список pgsql-admin
Hi Jorge,

Thank you for the reply. Our intention is to copy the Salesforce data to local PostgreSQL database, not the other way around. We are using SOQL api calls to get the data of tables and replicating it to Postgres.


Thank you,
Ram

On Thu, Dec 29, 2016 at 10:46 PM, Jorge Torralba <jorge.torralba@gmail.com> wrote:
Sounds like you are not using streaming replication. Can you confirm your standby has a recovery.conf file in $PGDATA ? Isn't Saleforce running with Streaming replication? If you want a proven solution running on Postgres, consider Jive which runs thousands of implementation on replicated Postgres without any issues and has been called a much better solution than Salesforce. 

On Thu, Dec 29, 2016 at 7:50 AM, John Scalia <jayknowsunix@gmail.com> wrote:
Hmmm... I suppose that would depend what your Salesforce db is. This may not be the appropriate forum for this question, as PostgreSQL could certainly support all DDL changes. With no experience for Salesforce, I'm at loss to tell you what you would need.
--
Jay

On Thu, Dec 29, 2016 at 10:46 AM, Ram DBA <postgresdbas@gmail.com> wrote:
Hello John,

Thank you for the reply. Our requirement is to copy the data from Salesforce to our local PostgreSQL database for which we had to rely on 3rd party tools. But because of dynamic nature from application, the back-end tables in Salesforce are being changed frequently thus stalling the data replication to PostgreSQL.

Is there any tool that also capture and replay DDL changes from Salesforce to PostgreSQL.
Hope I am clear with the details now, kindly let me know in case of further questions.


Thank you in advance,
Ram

On Thu, Dec 29, 2016 at 8:42 PM, John Scalia <jayknowsunix@gmail.com> wrote:
I'm not sure I understand what you're doing. Nearly all DDL is written to the WAL segments. The only ones that aren't are things like unlogged and temporary tables. I don't think temporary tables used by queries are written either. Why do you think, however, that this isn't captured?
--
Jay

On Thu, Dec 29, 2016 at 9:35 AM, Ram DBA <postgresdbas@gmail.com> wrote:
Hi team,

We have an use case to copy the data from Salesforce to PostgreSQL environment but because of DDL changes that can happen to tables from Salesforce application side, replication would eventually fail. Do we have any open source tools that can also capture the DDL changes and replicate to PostgreSQL?


Thank you in advance,
Ram






--
Thanks,

Jorge Torralba
----------------------------

Note: This communication may contain privileged or other confidential information. If you are not the intended recipient, please do not print, copy, retransmit, disseminate or otherwise use the information. Please indicate to the sender that you have received this email in error and delete the copy you received. Thank You.

В списке pgsql-admin по дате отправления:

Предыдущее
От: Scott Mead
Дата:
Сообщение: Re: [ADMIN] Data replication to PostgreSQL
Следующее
От: Ram DBA
Дата:
Сообщение: Re: [ADMIN] Data replication to PostgreSQL