pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
large object max size
4+ messages / 4 participants
[nested] [flat]

* large object max size
@ 2012-10-11 15:52  pramodh reddy <pramodh.mereddy@gmail.com>
  0 siblings, 2 replies; 4+ messages in thread

From: pramodh reddy @ 2012-10-11 15:52 UTC (permalink / raw)
  To: pgsql-jdbc

What is the maximum size of large object supported by the latest JDBC
driver ?


Regards,
Pramodh

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: large object max size
@ 2012-10-14 04:33  Craig Ringer <ringerc@ringerc.id.au>
  parent: pramodh reddy <pramodh.mereddy@gmail.com>
  1 sibling, 1 reply; 4+ messages in thread

From: Craig Ringer @ 2012-10-14 04:33 UTC (permalink / raw)
  To: pramodh reddy <pramodh.mereddy@gmail.com>; +Cc: pgsql-jdbc

On 10/11/2012 11:52 PM, pramodh reddy wrote:
> What is the maximum size of large object supported by the latest JDBC
> driver ?

I haven't explicitly tested, but there's no reason to expect it's any 
different from PostgreSQL's own maximums.

That said, I wouldn't personally use large objects anywhere near the 
maximum. The performance won't be great, and it's a pain for backup and 
restore.

--
Craig Ringer




^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: large object max size
@ 2012-10-14 08:22  Luis Flores <luiscamposflores@gmail.com>
  parent: Craig Ringer <ringerc@ringerc.id.au>
  0 siblings, 0 replies; 4+ messages in thread

From: Luis Flores @ 2012-10-14 08:22 UTC (permalink / raw)
  To: Craig Ringer <ringerc@ringerc.id.au>; +Cc: pramodh reddy <pramodh.mereddy@gmail.com>; pgsql-jdbc

I've used 300MB objects, no problem. The only limit is java max
memory, the object load uses around 1.5 times the object size, at
least on ASCII transfers, I'm not sure if binary transfers are already
default.

Luis Flores

On Sun, Oct 14, 2012 at 5:33 AM, Craig Ringer <ringerc@ringerc.id.au> wrote:
> On 10/11/2012 11:52 PM, pramodh reddy wrote:
>>
>> What is the maximum size of large object supported by the latest JDBC
>> driver ?
>
>
> I haven't explicitly tested, but there's no reason to expect it's any
> different from PostgreSQL's own maximums.
>
> That said, I wouldn't personally use large objects anywhere near the
> maximum. The performance won't be great, and it's a pain for backup and
> restore.
>
> --
> Craig Ringer
>
>
> --
> Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-jdbc




^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: large object max size
@ 2012-10-16 10:25  Thomas Markus <t.markus@proventis.net>
  parent: pramodh reddy <pramodh.mereddy@gmail.com>
  1 sibling, 0 replies; 4+ messages in thread

From: Thomas Markus @ 2012-10-16 10:25 UTC (permalink / raw)
  To: ; +Cc: pgsql-jdbc

Hi,

it depends. If you access blobs via byte[] (i think) the limit is at 1GB
We use streams with lo module in one project and have some entries with 
more than 4GB in access with a java runtime with less than 2GB memory. 
Works as expected.

best regards
Thomas

On 11.10.2012 17:52, pramodh reddy wrote:
> What is the maximum size of large object supported by the latest JDBC 
> driver ?
> Regards,
> Pramodh





^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2012-10-16 10:25 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2012-10-11 15:52 large object max size pramodh reddy <pramodh.mereddy@gmail.com>
2012-10-14 04:33 ` Craig Ringer <ringerc@ringerc.id.au>
2012-10-14 08:22   ` Luis Flores <luiscamposflores@gmail.com>
2012-10-16 10:25 ` Thomas Markus <t.markus@proventis.net>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox