Skip site navigation (1) Skip section navigation (2)

Re: Indexes growing continuously

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Mike Mascari <mascarm(at)mascari(dot)com>
Cc: Daniele Orlandi <daniele(at)orlandi(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Indexes growing continuously
Date: 2000-04-04 20:47:19
Message-ID: 200004042047.QAA00150@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
> > I know I can fix this by recreating the indexes, but I don't know how to
> > do it for a system table and if it's safe.
> > 
> > Any hints ?
> 
> Unfortunately, this is a bug in PostgreSQL with respect to system
> indexes. You can safely drop/create user indexes, but not system
> ones. The only way to reclaim the space used is to dump/reload
> your database. Under 7.0, I *believe* Hiroshi's REINDEX command
> (please correct me someone if I'm wrong) will allow you to
> reconstruct system indexes, but the root problem still exists...

pg_upgrade will allow this, without dump/reload of data.

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

pgsql-hackers by date

Next:From: Hiroshi InoueDate: 2000-04-04 23:59:35
Subject: RE: CURSOR after hitting end
Previous:From: Mike MascariDate: 2000-04-04 20:22:56
Subject: Re: Indexes growing continuously

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group