pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedIndex file size keeps on growing.....
2+ messages / 2 participants
[nested] [flat]
* Index file size keeps on growing.....
@ 2002-05-23 07:40 Jean-Christophe ARNU <jc.arnu@free.fr>
2002-05-26 10:28 ` Re: Index file size keeps on growing..... Rajesh Kumar Mallah. <mallah@trade-india.com>
0 siblings, 1 reply; 2+ messages in thread
From: Jean-Christophe ARNU (JX) @ 2002-05-23 07:40 UTC (permalink / raw)
To: pgsql-admin
Hi all,
I'm in front of a real problem (from my point of view). I have some tables
with a lot of update insert and delete (24/7). These tables have multiples
indexes. Major part of Insert commands are performed as bulk at 00:00:00. I'm
doing Vaccum and then a vacuum analyze to clean tables (well done) and update
indexes (also performed) BUT index are not "cleaned" in the way their size
keeps on growing in size...
The real problem is that I have tables that takes about 20MB each and index
around 190MB (for some of them). The only way I found to reduce index file
size is to destroy the incriminated indexes and recreate, praying for select
not to happen between drop and create operation (I cannot afford table
lock)...
So is this a correct Postgres Behaviour?
Do I have a neat way to make my index keep a reasonnable size?
Did I missed something in the config file and/or with the vacuum commands?
Thanks for any clue!!
--
Jean-Christophe ARNU
s/w developer
Paratronic France
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Index file size keeps on growing.....
2002-05-23 07:40 Index file size keeps on growing..... Jean-Christophe ARNU <jc.arnu@free.fr>
@ 2002-05-26 10:28 ` Rajesh Kumar Mallah. <mallah@trade-india.com>
0 siblings, 0 replies; 2+ messages in thread
From: Rajesh Kumar Mallah. @ 2002-05-26 10:28 UTC (permalink / raw)
To: Jean-Christophe ARNU (JX) <jc.arnu@free.fr>; pgsql-admin
Hi Jean,
Have you tried REINDEX?
what version of postgresql is it?
regds
mallah.
On Thursday 23 May 2002 01:10 pm, Jean-Christophe ARNU (JX) wrote:
> Hi all,
> I'm in front of a real problem (from my point of view). I have some tables
> with a lot of update insert and delete (24/7). These tables have multiples
> indexes. Major part of Insert commands are performed as bulk at 00:00:00.
> I'm doing Vaccum and then a vacuum analyze to clean tables (well done) and
> update indexes (also performed) BUT index are not "cleaned" in the way
> their size keeps on growing in size...
> The real problem is that I have tables that takes about 20MB each and
> index around 190MB (for some of them). The only way I found to reduce index
> file size is to destroy the incriminated indexes and recreate, praying for
> select not to happen between drop and create operation (I cannot afford
> table lock)...
>
> So is this a correct Postgres Behaviour?
> Do I have a neat way to make my index keep a reasonnable size?
> Did I missed something in the config file and/or with the vacuum commands?
>
> Thanks for any clue!!
--
Rajesh Kumar Mallah,
Project Manager (Development)
Infocom Network Limited, New Delhi
phone: +91(11)6152172 (221) (L) ,9811255597 (M)
Visit http://www.trade-india.com ,
India's Leading B2B eMarketplace.
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2002-05-26 10:28 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-05-23 07:40 Index file size keeps on growing..... Jean-Christophe ARNU <jc.arnu@free.fr>
2002-05-26 10:28 ` Rajesh Kumar Mallah. <mallah@trade-india.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox