Re: Fix for RENAME

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>
Cc: "Ross J(dot) Reedstrom" <reedstrm(at)wallace(dot)ece(dot)rice(dot)edu>, PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: Fix for RENAME
Date: 2000-06-12 03:14:06
Message-ID: 200006120314.XAA24955@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Seems Vadim's new storage manager for 7.2 would be the way to go.

I think he is going to have everything in one file.

[ Charset ISO-8859-1 unsupported, converting... ]
> > -----Original Message-----
> > From: Bruce Momjian [mailto:pgman(at)candle(dot)pha(dot)pa(dot)us]
> >
> > Can someone comment on this?
> >
>
> It seems to me that we have to reach some consensus in
> order to get a standard transactional control mechanism
> to change the allocation of table files. Probably we would
> have to separate things into 2 parts.
>
> 1) Where to allocate tables -- we would need some encapsulation
> like tablespace. It would be better to be handled differently by
> each storage manager. Note that tablespace is only an encap-
> sulation and doesn't necessarily mean that of Oracle.
> 2) Where tables are allocated -- only specific strorage manager
> knows the meaing and everything would be treated internally.
>
> Under current (file per table) storage manager,#1 isn't necessarily
> needed for the implementaion of #2 and Ross has already tried it.
> If we could get some consensus on the future direction of 1)2),
> we would be able to apply his implementation.
>
> Regards.
>
> Hiroshi Inoue
> Inoue(at)tpf(dot)co(dot)jp
>
> >
> > [ Charset ISO-8859-1 unsupported, converting... ]
> > > > -----Original Message-----
> > > > From: Bruce Momjian [mailto:pgman(at)candle(dot)pha(dot)pa(dot)us]
> > > >
> > > > > I'm now inclined to introduce a new system relation to store
> > > > > the physical path name. It could also have table(data)space
> > > > > information in the (near ?) future.
> > > > > It seems better to separate it from pg_class because table(data?)
> > > > > space may change the concept of table allocation.
> > > >
> > > > Why not just put it in pg_class?
> > > >
> > >
> > > Not sure,it's only my feeling.
> > > Comments please,everyone.
> > >
> > > We have taken a practical way which doesn't break file per table
> > > assumption in this thread and it wouldn't so difficult to implement.
> > > In fact Ross has already tried it.
> > >
> > > However there was a discussion about data(table)space for
> > > months ago and currently a new discussion is there.
> > > Judging from the previous discussion,I can't expect so much
> > > that it could get a practical consensus(How many opinions there
> > > were). We can make a practical step toward future by encapsulating
> > > the information of table allocation. Separating table alloc info from
> > > pg_class seems one of the way.
> > > There may be more essential things for encapsulation.
> > >
> > > Comments ?
> > >
> > > Regards.
> > >
> > > Hiroshi Inoue
> > > Inoue(at)tpf(dot)co(dot)jp
> > >
> > >
> >
> >
> > --
> > Bruce Momjian | http://www.op.net/~candle
> > pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
> > + If your life is a hard drive, | 830 Blythe Avenue
> > + Christ can be your backup. | Drexel Hill, Pennsylvania 19026
> >
> >
>

--
Bruce Momjian | http://www.op.net/~candle
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Hiroshi Inoue 2000-06-12 03:14:08 RE: Fix for RENAME
Previous Message Bruce Momjian 2000-06-12 03:00:12 Re: [HACKERS] float8 regression / platform report