Re: Bad plan on a view

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

 



On Wed, Mar 01, 2006 at 04:43:53PM +0100, PFC wrote:
> 
> >Aren't you going to a lot of work to reinvent something that TOAST
> >already does for you?  (At least, in the cases where the text fields
> >are wide enough that it really matters.)
> 
> 	I know. But I have several text fields in the 20 to 200 characters, 
> 	which  is too small for toast, but large enough to make up about 90% of the 
> table  size, which makes it problematic RAM-wise, especially since it's 
> gonna  grow. Now, if I had 1 big text field, it would be TOASTed and I 
> would be  happy ;)

Cases like this are why I really wish we had the ability to specify
something other than BLKSZ/4 as when to trigger TOAST. In many cases the
text field is seldom refered to, so getting it out of the main heap is a
big win.
-- 
Jim C. Nasby, Sr. Engineering Consultant      jnasby@xxxxxxxxxxxxx
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461


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

  Powered by Linux