Re: Large strings

From: Nelson Ferreira Junior <nelson(at)radix(dot)com(dot)br>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: Large strings
Date: 2000-04-17 21:30:32
Message-ID: 38FB8278.63E4962D@radix.com.br
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Nelson Ferreira Junior wrote:

> Hi,
>
> I have a JDBC aplication that actualy works with Oracle and I am
> porting it PostgreSQL. The trouble is that I have some rows with type
> "LONG" (in Oracle) where are stored strings with up to 20Kb and
> PostgreSQL doesn't hava this type and seems to be impossible to store
> strings larger than 8Kb with the types "TEXT" or "VARCHAR".
> What can I do ?!?!
>
> thanks.

Now I read something about changing the BLOCK SIZE to a higher
value and recompiling the backend. But it will require more disk space to
store the data, isn't it? How much disk space will I need if a chage the
block size to 32K? Will it decrease performance or confiability ?
Before you suggest me to use BLOBs to store these large strings,
I'd say that I cannot change my aplication in that way.

Thanks
again.

In response to

  • Large strings at 2000-04-17 20:09:53 from Nelson Ferreira Junior

Browse pgsql-interfaces by date

  From Date Subject
Next Message Joe Shevland 2000-04-17 23:09:22 Re: Connecting website with SQL-database.....
Previous Message Tim Brookes 2000-04-17 20:10:09 libpq++ memory problems