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


From: Shadar <shauldar(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Date: 2009-06-11 14:32:51
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
I notice that one of my tables gets TOASTed, about 40% of it. I read about
TOAST and understand the general motivation (get faster access to the
*other* columns). But in my case the big column (~2.5KB fixed width) is a
list (array) of values (not text) and the usage pattern is that I always
access a single row from the table by key and read the full list. So my
guess is TOAST is doing me more damage than good. Right?

I would have liked to disable TOAST (even altogether for my DB) - is there a
direct way to do this? Alternatively I thought of increasing
TOAST_TUPLE_THRESHOLD and TOAST_TUPLE_TARGET from 2KB (I believe this is the
default?) to 4KB? Do I have to change the source ( here ?) and compile
a private version of Postgres?

Thanks, feel free to reply by email.

-- Shaul (info(at)shauldar(dot)com)
View this message in context:
Sent from the PostgreSQL - hackers mailing list archive at


pgsql-hackers by date

Next:From: Bruce MomjianDate: 2009-06-11 14:50:13
Subject: Re: pgindent run coming
Previous:From: Tom LaneDate: 2009-06-11 14:26:37
Subject: Re: Problem with listen_addresses = '*' on 8.4beta2 on AIX

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