Re: Runtime dependency from size of a bytea field - Mailing list pgsql-performance

From Craig Ringer
Subject Re: Runtime dependency from size of a bytea field
Date
Msg-id 4CABCF97.1060903@postnewspapers.com.au
Whole thread Raw
In response to Re: Runtime dependency from size of a bytea field  (Merlin Moncure <mmoncure@gmail.com>)
Responses Re: Runtime dependency from size of a bytea field  ("Sander, Ingo (NSN - DE/Munich)" <ingo.sander@nsn.com>)
List pgsql-performance
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

pgsql-performance by date:

Previous
From: Jeff Davis
Date:
Subject: Re: Error message in wal_log for Streaming replication
Next
From: "Sander, Ingo (NSN - DE/Munich)"
Date:
Subject: Re: Runtime dependency from size of a bytea field