Re: Disk space problem...
| От | Tom Lane |
|---|---|
| Тема | Re: Disk space problem... |
| Дата | |
| Msg-id | 15623.1007227209@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Disk space problem... (Ken Corey <ken.corey@atomic-interactive.com>) |
| Ответы |
Re: Disk space problem...
Re: Disk space problem... |
| Список | pgsql-novice |
Ken Corey <ken.corey@atomic-interactive.com> writes:
> Several of my tables are being emptied and totally replaced (statistics about
> how my website is running, that sort of thing). Is it better to drop the
> table, and rebuild it in this case?
Consider TRUNCATE.
I suspect if you look at the stats (see pg_class.relpages) you'll find
that the space VACUUM fails to reclaim is in indexes. Possibly you've
gone overboard on adding indexes to your database; are there any that
you don't need?
regards, tom lane
В списке pgsql-novice по дате отправления: