Re: [PATCHES] CLUSTER not lose indexes

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Curt Sampson <cjs(at)cynic(dot)net>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Alvaro Herrera <alvherre(at)atentus(dot)com>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCHES] CLUSTER not lose indexes
Date: 2002-07-16 15:41:44
Message-ID: 200207161541.g6GFfiq26196@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Curt Sampson wrote:
> On Mon, 15 Jul 2002, Bruce Momjian wrote:
>
> > > (In related news, how about filling up the oid/relfilenode numbers with
> > > zeros on the left, so a directory listing would reflect the numerical
> > > order?)
> >
> > Problem there is that we increase the size of much of the directory
> > lookups. Not sure if it is worth worrying about.
>
> Probably not such a big deal, since most systems will be reading
> a full block (8K or 16K under *BSD) to load the directory information
> anyway. Doing it in hex would give you only 8-char filenames, anyway.

Yes, hex may be interesting as a more compact, consistent format. We
need to change the docs so oid2name and queries convert to hex on
output.

--
Bruce Momjian | http://candle.pha.pa.us
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 Tom Lane 2002-07-16 15:57:00 Re: [PATCHES] CLUSTER not lose indexes
Previous Message Bruce Momjian 2002-07-16 15:38:28 Re: [SQL] line datatype

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2002-07-16 15:57:00 Re: [PATCHES] CLUSTER not lose indexes
Previous Message Bruce Momjian 2002-07-16 15:09:57 Re: several minor cleanups