Re: Data replication to PostgreSQL

From: Ram DBA <postgresdbas(at)gmail(dot)com>
To: Jorge Torralba <jorge(dot)torralba(at)gmail(dot)com>
Cc: John Scalia <jayknowsunix(at)gmail(dot)com>, "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Data replication to PostgreSQL
Date: 2016-12-30 06:50:09
Message-ID: CAGb7rSFpTqgtVQVAXAjBuMHbyjrLu1x1br4b0cBd_Pio4Kxp2w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)torralba(at)gmail(dot)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(at)gmail(dot)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(at)gmail(dot)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(at)gmail(dot)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(at)gmail(dot)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.
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Ram DBA 2016-12-30 06:54:59 Re: Data replication to PostgreSQL
Previous Message Scott Mead 2016-12-29 17:28:38 Re: Data replication to PostgreSQL