Re: REINDEX not working for wastedspace
От | Shaun Thomas |
---|---|
Тема | Re: REINDEX not working for wastedspace |
Дата | |
Msg-id | 4E79E702.4090405@peak6.com обсуждение исходный текст |
Ответ на | REINDEX not working for wastedspace (AI Rumman <rummandba@gmail.com>) |
Ответы |
Re: REINDEX not working for wastedspace
Re: REINDEX not working for wastedspace |
Список | pgsql-performance |
On 09/21/2011 02:01 AM, AI Rumman wrote: > Using the query http://wiki.postgresql.org/wiki/Show_database_bloat, > I got the following result for a table: God. I wish they would erase that Wiki page, or at least add a disclaimer. That query is no better than a loose estimate. Never, ever, ever depend on it for critical information about your tables. Ever. Ever. With that said, there are a lot of ways which can get the information you want. One is the pgstattuple contrib, the other is the pg_freespacemap contrib (though that didn't get really useful until 8.4 and above). Check out those documentation pages for usage info. More importantly, ignore the results of that query. It's wrong. If you've just reindexed, those indexes are about as small as they're ever going to be. -- Shaun Thomas OptionsHouse | 141 W. Jackson Blvd. | Suite 800 | Chicago IL, 60604 312-676-8870 sthomas@peak6.com ______________________________________________ See http://www.peak6.com/email-disclaimer/ for terms and conditions related to this email
В списке pgsql-performance по дате отправления: