Re: Strange slow database
От | Tom Lane |
---|---|
Тема | Re: Strange slow database |
Дата | |
Msg-id | 1333.1132282156@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: Strange slow database (David Mitchell <david.mitchell@telogis.com>) |
Ответы |
Re: Strange slow database
|
Список | pgsql-general |
David Mitchell <david.mitchell@telogis.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
В списке pgsql-general по дате отправления: