Re: Runtime dependency from size of a bytea field

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Changing of the storage method ( alter table bytea_demo Alter part1 Set
storage EXTERNAL) 
or the increasing of the BLOCK_SIZE (new compilation of the code with
--with-blocksize=32) change the behaviour. 

Ingo Sander
 

-----Original Message-----
From: ext Craig Ringer [mailto:craig@xxxxxxxxxxxxxxxxxxxxx] 
Sent: Wednesday, October 06, 2010 3:24 AM
To: Merlin Moncure
Cc: Sander, Ingo (NSN - DE/Munich); pgsql-performance@xxxxxxxxxxxxxx
Subject: Re:  Runtime dependency from size of a bytea field

On 10/06/2010 12:11 AM, Merlin Moncure wrote:

> Probably you are hitting toast threshold and running into compression.
>   compression you can disable, but toast you cannot (short of
> recompiling with higher blocksz).

For the OP's reference:

http://www.postgresql.org/docs/current/static/storage-toast.html
http://www.postgresql.org/docs/current/static/sql-altertable.html

While (I think) PLAIN storage could be used, the inability to span rows 
over blocks means you would't get over 8k anyway.

--
Craig Ringer

-- 
Sent via pgsql-performance mailing list (pgsql-performance@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance



[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux