From: | Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> |
---|---|
To: | Rupesh Choudhary <rupesh(dot)7kumar(dot)rc(at)gmail(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Data ingestion failing when using higher Batch size |
Date: | 2016-06-15 19:37:20 |
Message-ID: | 26d5f6e8-7477-9ad9-6bfe-867855100ecb@aklaver.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 06/14/2016 10:20 PM, Rupesh Choudhary wrote:
> Hi Adrian,
>
> Please find anwer in line :
>
> What is the SQL you are running?
> -We have a table with about 167 columns and we are trying to run batch
> updates on the table . I am attaching the part of code for your reference .
> How is that being run in the code?
> Yes , it is runs as a part of the code .
>
> Define small vs large batch sizes?
> smaller batch size of =3
> larger batch size =100
In your original post the error was:
ERROR: prepared statement "S_3" does not
exist
I do not see anything mentioning S_3 in your code sample. Not sure if
that is something the Java tools are supplying or not. Might be
instructive to look at the Postgres server logs when you run the the code.
Have you tried running the code directly against the Postgres server
without going through PgBouncer?
>
> Thanks & Regards,
> Rupesh Choudhary
>
--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com
From | Date | Subject | |
---|---|---|---|
Next Message | Jan de Visser | 2016-06-15 20:17:00 | Re: Moving from PHP to Java: A result was returned when none was expected. |
Previous Message | Adrian Klaver | 2016-06-15 19:20:22 | Re: Moving from PHP to Java: A result was returned when none was expected. |