Re: [ADMIN] pg_attribute size

2009-10-26 Thread Anj Adu
I am guessing the analyze helped the pgadmin data-dictionary query planning..The vacuum will help with space re-use. the size is not smaller as I did not do a vacuum full. On Mon, Oct 26, 2009 at 4:27 PM, Scott Marlowe wrote: > On Mon, Oct 26, 2009 at 3:29 PM, Anj Adu wrote: >> We have several

Re: [ADMIN] pg_attribute size

2009-10-26 Thread Scott Marlowe
On Mon, Oct 26, 2009 at 3:29 PM, Anj Adu wrote: > We have several partitioned tables that get dropped every day ..We do > not do autovacuum as it is an IO hog (and most tables are dropped > anyways..and the large tables are never updated).. 1: autovac can be adjusted to use much less IO than regu

Re: [ADMIN] pg_attribute size

2009-10-26 Thread Naomi Walker
We dump and vacuum every database every evening, so we can control when the vacuums occur. How does one vacuum the system catalogs? By each tablename pg_*? Thanks, Naomi > > On Mon, Oct 26, 2009 at 3:46 PM, Tom Lane wrote: >> Anj Adu writes: >>> We have several partitioned tables that get dr

Re: [ADMIN] pg_attribute size

2009-10-26 Thread Anj Adu
Agreed... Thank you On Mon, Oct 26, 2009 at 3:46 PM, Tom Lane wrote: > Anj Adu writes: >> We have several partitioned tables that get dropped every day ..We do >> not do autovacuum as it is an IO hog (and most tables are dropped >> anyways..and the large tables are never updated).. > > If you'

Re: [ADMIN] pg_attribute size

2009-10-26 Thread Tom Lane
Anj Adu writes: > We have several partitioned tables that get dropped every day ..We do > not do autovacuum as it is an IO hog (and most tables are dropped > anyways..and the large tables are never updated).. If you're not going to run autovacuum then that means *you* must take responsibility for

Re: [ADMIN] pg_attribute size

2009-10-26 Thread Anj Adu
We have several partitioned tables that get dropped every day ..We do not do autovacuum as it is an IO hog (and most tables are dropped anyways..and the large tables are never updated).. I however did a plain vacuum analyze and that fixed the problem with tools(e.g pgadmin) that accessed the data

Re: [ADMIN] pg_attribute size

2009-10-25 Thread Steve Crawford
Anj Adu wrote: I have a few databases where the size of pg_attribute > 6G..This keeps growing.. is there a recommended way to purge data from this table.. Could this also be why tools like pgAdmin take forever to open the database browser? Do you have an extraordinary number of tables/c

Re: [ADMIN] pg_attribute size

2009-10-19 Thread Tom Lane
Anj Adu writes: > I have a few databases where the size of pg_attribute > 6G..This > keeps growing.. Have you got autovacuum disabled? That should keep the bloat in check if it's allowed to work normally. regards, tom lane -- Sent via pgsql-admin mailing list (pgsq

[ADMIN] pg_attribute size

2009-10-19 Thread Anj Adu
I have a few databases where the size of pg_attribute > 6G..This keeps growing.. is there a recommended way to purge data from this table.. Could this also be why tools like pgAdmin take forever to open the database browser? -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) T