From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr> |
Cc: | Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>, Gavin Sherry <swm(at)linuxworld(dot)com(dot)au>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: [PATCHES] ALTER SCHEMA ... SET TABLESPACE |
Date: | 2004-08-30 16:14:20 |
Message-ID: | 200408301614.i7UGEKl14812@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
Fabien COELHO wrote:
>
> > Fortunately, I think the change schema default tablespace is unusual
> > enough that we can wait for 8.1 where people will really want the
> > ability to move schemas for already-created objects too.
>
> Ok. I disagree;-) Or one has to consider that tablespace is just
> "experimental" and should not be used but for simple tests. If so, maybe a
> warning should be output everytime the feature is used...
>
> ISTM that most people don't need tablespace at all. So it is ok for them.
>
> However, those who might consider using tablespace because they need it
> will have somehow a lot of data. Their large amount of data is likely to
> be precious to them. If they are messed up because they cannot move them
> around as they need it, they won't be happy. Saying things like "you can
> just pg_dump/pg_restore" or "edit pg_dump output by hand" won't make them
> very happy either, esp if the amount of data is huge, and it may well be
> the case if they use tablespace.
>
> It seems to me that the current implementation is not completed. For
> instance, do you expect someone to be able to remove a tablespace? At the
> time it is not always possible, because all objects cannot be moved away
> from a tablespace (namely sequence, as it is considered useless to move
> them, what looks true from a performance perspective, but not from an
> administrator perspective).
>
> So it seems to me that tablespace handling must be looked at very
> carefully from a "big data" user perspective and their need.
>
> Well, as usual, I may be quite wrong;-)
You make a strong argument. All we can tell people is that we did the
best we could given our constraints and that it will be improved in 8.1.
We already have TODO entries for all tablespace limitations and
fortunately most people read that file so hopefully people will prefer
what we gave them rather than nothing. They aren't required to use them
if the limitations are not acceptable. We could mention the limitations
in the release notes if people want that.
--
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 | Tom Lane | 2004-08-30 16:35:39 | Re: [PATCHES] ALTER SCHEMA ... SET TABLESPACE |
Previous Message | Fabien COELHO | 2004-08-30 15:35:47 | Re: [PATCHES] ALTER SCHEMA ... SET TABLESPACE |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2004-08-30 16:35:39 | Re: [PATCHES] ALTER SCHEMA ... SET TABLESPACE |
Previous Message | Fabien COELHO | 2004-08-30 15:35:47 | Re: [PATCHES] ALTER SCHEMA ... SET TABLESPACE |