Skip site navigation (1) Skip section navigation (2)

Re: getBinaryStream and OutOfMemoryException

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: Jesper Thorhauge <jth(at)conzentrate(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: getBinaryStream and OutOfMemoryException
Date: 2005-06-28 13:29:45
Message-ID: 42C150C9.70101@opencloud.com (view raw or flat)
Thread:
Lists: pgsql-jdbc
Jesper Thorhauge wrote:
> Okay, thanks alot for the quick answer! I was wondering, do you know how
> much more efficient it could be done using the binary format you are
> mentioning? I'm especially interested in decreasing the amount of memory
> used to get large bytea values...

Um, rough estimate would be about a factor of 5 (assume text
representation of bytea averages about ~2.5 characters per raw byte, and
characters are 16 bits on the Java side)

-O

In response to

Responses

pgsql-jdbc by date

Next:From: Jesper ThorhaugeDate: 2005-06-28 13:38:55
Subject: Re: getBinaryStream and OutOfMemoryException
Previous:From: Jesper ThorhaugeDate: 2005-06-28 13:13:14
Subject: Re: getBinaryStream and OutOfMemoryException

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group