Re: patch : Allow toast tables to be moved to a different tablespace

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: jim(at)nasby(dot)net
Cc: Christian Nicolaisen <christian(at)deltasoft(dot)no>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: patch : Allow toast tables to be moved to a different tablespace
Date: 2012-02-10 19:27:56
Message-ID: CA+Tgmobt8BHN_+N_4ViN9nF0fAfAoWYYKhu6He_Jj69Ah7=BQg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Feb 10, 2012 at 2:23 PM, Jim Nasby <jim(at)nasby(dot)net> wrote:
> On 2/8/12 6:17 AM, Christian Nicolaisen wrote:
>> We have some tables with documents and their metadata (filename, filetype,
>> etc).
>> Most of the time we just want to get the metadata (filename, filetype,
>> etc) and not the document itself.
>> In this case it would be nice to have the metadata (which wouldn't end up
>> on the TOAST) on a fast array (SSD-based),
>> and put the filedata on a slow array (HDD-based). It's probably possible
>> to have two tables one for metadata and one
>> for the extra file, but this is a workaround.
>
> Did you intend to post a patch? Because nothing was attached. Also, if
> you're submitting a patch you should add it to the next commitfest.

He was commenting on the possible utility of a previously-submitted
patch, which got pushed off because we weren't sure it was good for
anything.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alex Hunsaker 2012-02-10 19:53:05 Re: pl/perl and utf-8 in sql_ascii databases
Previous Message Jim Nasby 2012-02-10 19:23:04 Re: patch : Allow toast tables to be moved to a different tablespace