From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl> |
Cc: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: CLUSTER ALL syntax |
Date: | 2002-11-17 22:58:23 |
Message-ID: | 7961.1037573903@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl> writes:
> Actually, I'm planning to do the freelist thing, then the btree
> compaction and then replace the current REINDEX code with the compaction
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> code, probably including some means to do REINDEX ALL.
Uh ... no. The primary purpose of REINDEX is to recover from corrupted
indexes, so it has to be based on a rebuild strategy not a compaction
strategy.
If you want to add a REINDEX ALL for completeness, go ahead, but I think
the need for it will be vanishingly small once vacuum compacts btrees
properly.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2002-11-17 23:37:52 | Re: pg_stat_database shows userid as OID |
Previous Message | Alvaro Herrera | 2002-11-17 22:49:05 | Re: CLUSTER ALL syntax |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2002-11-17 23:37:52 | Re: pg_stat_database shows userid as OID |
Previous Message | Alvaro Herrera | 2002-11-17 22:49:05 | Re: CLUSTER ALL syntax |