Re: Big 7.1 open items

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Jan Wieck <JanWieck(at)Yahoo(dot)com>, Oliver Elphick <olly(at)lfix(dot)co(dot)uk>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Big 7.1 open items
Date: 2000-06-15 13:38:53
Message-ID: 200006151338.JAA04561@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

> > But seriously, let me give some background. I used Ingres, that used
> > the VMS file system, but used strange sequential AAAF324 numbers for
> > tables. When someone deleted a table, or we were looking at what
> > tables were using disk space, it was impossible to find the Ingres
> > table names that went with the file. There was a system table that
> > showed it, but it was poorly documented, and if you deleted the table,
> > there was no way to look on the tape to find out which file to
> > restore.
>
> I had the same experience, but let's put the blame where it belongs: it
> wasn't the filename's fault, it was poor design and support from the
> Ingres company.

Yes, that certainly was part of the cause. Also, if the PostgreSQL
files are backed up using tar while no database activity is happening,
there is no reason the tar restore will not work. You just create a
table with the same schema, stop the postmaster, have the backup file
replace the newly created table file, and restart the postmaster.

I can't tell you how many times I have said, "Man, whoever did this
Ingres naming schema was an idiot. Do they know how many problems they
caused for us?"

Also, Informix standard engine uses the tablename_oid setup for its
table names, and it works fine. It grabs the first 8 characters of the
table, and plops some unique number on the end of it. Works fine for
administrators.

--
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

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2000-06-15 13:49:46 Re: AW: Big 7.1 open items
Previous Message Don Baccus 2000-06-15 12:40:49 Re: AW: Big 7.1 open items

Browse pgsql-patches by date

  From Date Subject
Next Message Ross J. Reedstrom 2000-06-15 16:45:19 Re: Big 7.1 open items
Previous Message Brian E Gallew 2000-06-15 12:29:02 Re: Big 7.1 open items