| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | David Mitchell <david(dot)mitchell(at)telogis(dot)com> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Strange slow database |
| Date: | 2005-11-18 02:49:16 |
| Message-ID: | 1333.1132282156@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
David Mitchell <david(dot)mitchell(at)telogis(dot)com> writes:
> I dumped and loaded then wrote a script to compare the sizes of tables.
> I noticed that a few of the indexes, especially the indexes on the
> 15million table shrunk a lot (~50% reduction - ~400Mb). Also, the
> pg_attribute_relid_attnam_index index shrank loads, to 1% of its
> original size.
Hm, better check whether your vacuuming policy is taking care of the
system catalogs ...
> From this, we tried reindexing indexes and found we got
> the same reduction in index size. Strangely though, our queries appear
> to have sped up not just on the servers we reindexed, but across the
> whole cluster - so apparently something else is affecting the speed of
> this all, not just bloat.
Odd indeed.
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | David Mitchell | 2005-11-18 03:08:01 | Re: Strange slow database |
| Previous Message | David Mitchell | 2005-11-18 02:40:11 | Re: Strange slow database |