Re: patch : Allow toast tables to be moved to a different tablespace
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: jim@nasby.net
Cc: Christian Nicolaisen <christian@deltasoft.no>,
pgsql-hackers@postgresql.org
Date: 2012-02-10T19:27:56Z
Lists: pgsql-hackers
On Fri, Feb 10, 2012 at 2:23 PM, Jim Nasby <jim@nasby.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