Re: [HACKERS] Happy column dropping

Поиск
Список
Период
Сортировка
От Brian E Gallew
Тема Re: [HACKERS] Happy column dropping
Дата
Msg-id 200001251453.JAA11789@smtp1.andrew.cmu.edu
обсуждение исходный текст
Ответ на Re: [HACKERS] Happy column dropping  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Then <pgman@candle.pha.pa.us> spoke up and said:
> Ingres has table names as numbered files.  It is a pain to figure out
> which files match which tables.  If you need to restore a table from
> tape, the pg_class entry is gone and you have no way to figure out the
> right table.  When analyzing disk space, figuring who is using the space
> is a pain.
> 
> Every Ingre admin I ever talked to agreed file numbers are a pain.

I, too, found the Ingres naming scheme to be a pain, especially since
the numbers change when you drop/recreate a table (but not for
truncation).  In my case, I wrote a fairly trivial script that runs as
part of the backup job that lists all tables and filenames.  This give
me an accurate map of whats out there.  It has the added advantage
that I can use this list to remove tables/database owned by users who
no longer exist (although, in truth, I hesitate to do that
automatically).

On the other hand, I *hate* the Oracle tablespace scheme.  At least
with Ingres, when I update a table, I *don't* have to backup all of
the other tables in that database (barring Oracle's hot-backup mode,
of course).

-- 
=====================================================================
| JAVA must have been developed in the wilds of West Virginia.      |
| After all, why else would it support only single inheritance??    |
=====================================================================
| Finger geek@cmu.edu for my public key.                            |
=====================================================================

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Happy column dropping
Следующее
От: "Hiroshi Inoue"
Дата:
Сообщение: RE: [HACKERS] Sure enough, SI buffer overrun is broken