From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, Gavin Sherry <swm(at)linuxworld(dot)com(dot)au>, pgsql-patches(at)postgresql(dot)org |
Subject: | Re: Updated ALTER TABLE ... SET TABLESPACE patch |
Date: | 2004-07-12 02:00:16 |
Message-ID: | 200407120200.i6C20G919588@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-patches |
Will toast go in the same tablespace as the base table? I can see some
advantages to splitting that to another drive for extreme cases (think
heap/toast lookups over and over again).
---------------------------------------------------------------------------
Tom Lane wrote:
> Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au> writes:
> >> Sequences are too small to be worth moving around, and may someday be
> >> reimplemented in a fashion that doesn't use up a separate disk file for
> >> each one. If we allow SET TABLESPACE on them we will be limiting our
> >> future flexibility for no useful gain.
>
> > Why do we allow them to be created in tablespaces in the first place
> > then? Seems like a bit of a misfeature? I mean we don't allow views in
> > tablespaces...
>
> I had forgotten that the original patch allowed that. Personally I'd
> vote for taking it out, for the above-stated reasons --- any objections?
>
> If people do want to have it then we can instead change ALTER SET
> TABLESPACE to allow sequences; but we'd also need a nontrivial addition
> to pg_dump, so there had better be a better reason than "might be nice
> to have".
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2004-07-12 02:00:51 | Re: Updated ALTER TABLE ... SET TABLESPACE patch |
Previous Message | Tom Lane | 2004-07-12 01:56:31 | Re: Updated ALTER TABLE ... SET TABLESPACE patch |