From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp> |
Cc: | pgsql-hackers <pgsql-hackers(at)postgreSQL(dot)org> |
Subject: | Re: [HACKERS] How to ignore system indexes |
Date: | 2000-01-18 05:09:14 |
Message-ID: | 200001180509.AAA08441@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> > One solution is to use pg_upgrade. It allows an initdb and recreate of
> > all tables without reload.
> > --
>
> Isn't it a big charge to execute pg_upgrade for a huge database ?
> I have never used pg_upgrade.
> Is pg_upgrade available now ?
> Is pg_upgrade reliable ?
It has been around since 6.3? It allows initdb, recreates the tables,
then moves the data files back into place. There is even a manual page.
>
> My design is as follows.
>
> postgres -P test /* I'm using -P as a new option temporarily */.
>
> > reindex database test; (all system indexes of a db)
> > reindex table pg_class; (all indexes of a system table)
> > reindex index pg_index_indexrelid_index; (a system index)
>
> If we could ignore system indexes,it won't be difficult to implement
> REINDEX command itself..
Not sure how to find all those places.
--
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
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2000-01-18 05:09:58 | Re: [HACKERS] How to ignore system indexes |
Previous Message | Hiroshi Inoue | 2000-01-18 04:56:04 | RE: [HACKERS] How to ignore system indexes |