Re: [HACKERS] pgjdbc logical replication client throwing exception

From: Dipesh Dangol <ddipeshdan(at)gmail(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Vladimir Sitnikov <sitnikov(dot)vladimir(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org, Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>, List <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: [HACKERS] pgjdbc logical replication client throwing exception
Date: 2017-09-19 18:38:44
Message-ID: CA+=-RVbX2z4aaFwduCjcHomVpB_yhqZ19gKOCG9Y-xT6FmyGxg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers pgsql-jdbc

Hi Andres,

I also checked server log. Nothing unusual is recorded there.
Do you have any other suggestion. Thank you.

Best regards,
Dipesh Dangol

On Fri, Sep 15, 2017 at 11:32 PM, Dipesh Dangol <ddipeshdan(at)gmail(dot)com>
wrote:

> Hi Vladimir,
> Ya, initially I was trying with withStatusInterval(20, TimeUnit.SECONDS),
> that didn't work so, then only I switched to .withStatusInterval(20,
> TimeUnit.MILLISECONDS)
> but it is not working as well. I am not aware of type of test cases that
> you are pointing.
> Could you please send me any link for that one.
>
> For generating the load, I am using benchmarkSQL, which will generate
> around 9000
> transactions per second. I am trying to run streamAPI at the same time
> BenchmarskSQL is generating load. If i don't run benchmarkSQL it works
> fine I mean
> when there are only few transactions to replicate at a time, it works
> fine. But when
> I run it with that benchmarskSql and try to add some logic like some
> conditions, then
> it breaks down in between, most of the time within few seconds.
>
> Hi Andres,
> I haven't check the server log yet. Now, I don't access to my working
> environment, I will be able to check that only on Monday. If I find any
> suspicious
> thing in log, I will let you know.
>
> Thank you guys.
>
>
>
>
>
>
>
> On Fri, Sep 15, 2017 at 10:05 PM, Andres Freund <andres(at)anarazel(dot)de>
> wrote:
>
>> On 2017-09-15 20:00:34 +0000, Vladimir Sitnikov wrote:
>> > ++pgjdbc dev list.
>> >
>> > >I am facing unusual connection breakdown problem. Here is the simple
>> code
>> > that I am using to read WAL file:
>> >
>> > Does it always fails?
>> > Can you create a test case? For instance, if you file a pull request
>> with
>> > the test, it will get automatically tested across various PG versions,
>> so
>> > it would be easier to reson about
>> >
>> > Have you tried "withStatusInterval(20, TimeUnit.SECONDS)" instead of 20
>> > millis? I don't think it matter much, however 20ms seems to be an
>> overkill.
>>
>> Also, have you checked the server log?
>>
>> - Andres
>>
>
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2017-09-19 19:09:16 Re: [HACKERS] USER Profiles for PostgreSQL
Previous Message Melvin Davidson 2017-09-19 17:39:25 Re: [GENERAL] USER Profiles for PostgreSQL

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2017-09-19 18:45:06 Re: PoC plpgsql - possibility to force custom or generic plan
Previous Message Robert Haas 2017-09-19 18:37:36 Re: PoC plpgsql - possibility to force custom or generic plan

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2017-09-20 12:22:26 Re: [GENERAL] JDBC: logical replication and LSN feedback
Previous Message Jorge Solorzano 2017-09-19 15:36:52 [pgjdbc/pgjdbc] 646a86: chore: use mainly Trusty in Travis, reorder CI job...