Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql General > Index cleanup
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 15633 of 17437
Post > Topic >>

Index cleanup

by cs@[EMAIL PROTECTED] (Clemens Schwaighofer) May 22, 2008 at 06:22 PM

Hi,

recently I went through some dev dbs just to clean up some unused
tables. What I found out afterwards is that even if you run a vacuum
full analyze it doesn't removed the index data.

So I was left with table size of a view bytes and gigabyte large indexes.

Of course a re-index cleaned that up.

My question now is, is this intended? Should vacuum full not clean out
the indexes if the table for this index is emptied or a lot of data is
removed.

Should that happen after some time? I doubt, because on one of my life
servers a test db had a size of 33MB overall, but an index size of 1.5GB
...

Whats the best way to handles this on a production system. I doubt its
wise to recreate indexes every month or so ...

-- 
[ Clemens Schwaighofer                      -----=====:::::~ ]
[ IT Engineer/Manager                                        ]
[ E-Graphics Communications, TEQUILA\ Japan IT Group         ]
[                6-17-2 Ginza Chuo-ku, Tokyo 104-8167, JAPAN ]
[ Tel: +81-(0)3-3545-7706            Fax: +81-(0)3-3545-7343 ]
[ http://www.tequila.jp
                                     ]

-- 
Sent via pgsql-general mailing list (pgsql-general@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
 




 1 Posts in Topic:
Index cleanup
cs@[EMAIL PROTECTED] (Cl  2008-05-22 18:22:55 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 12:12:09 CST 2008.