Re: Diskspace
От | Martijn van Oosterhout |
---|---|
Тема | Re: Diskspace |
Дата | |
Msg-id | 20041220194412.GA18598@svana.org обсуждение исходный текст |
Ответ на | Re: Diskspace (Jeff MacDonald <bignose@gmail.com>) |
Список | pgsql-general |
VACUUM or VACUUM FULL. Only the second actually reclaims diskspace... On Mon, Dec 20, 2004 at 03:21:51PM -0400, Jeff MacDonald wrote: > well, i did a "delete from email_log" and then a vacuum and the files > are still lingering around... > > still huge. the postmaster did die due to a diskspace issue, so i > wonder if it's still just keeping a wierd lock on those files or > something.. idea's ? > > > On Mon, 20 Dec 2004 11:01:32 -0300, Alvaro Herrera > <alvherre@dcc.uchile.cl> wrote: > > On Mon, Dec 20, 2004 at 09:57:35AM -0400, Jeff MacDonald wrote: > > > > > # select relname,relfilenode,relpages from pg_class where relfilenode > > > = 13312279; > > > relname | relfilenode | relpages > > > -----------+-------------+---------- > > > email_log | 13312279 | 36821 > > > > > > It just so happens that email_log has around 700,000 rows, that would > > > explain the space issues. > > > > > > I do know that email_log is 100% deleteable, so I'll proceed with hosing that. > > > > > > Does all this sound reasonable ? > > > > Certainly. > > > > -- > > Alvaro Herrera (<alvherre[@]dcc.uchile.cl>) > > "Para tener más hay que desear menos" > > > > > -- > Jeff MacDonald > http://www.halifaxbudolife.ca > > ---------------------------(end of broadcast)--------------------------- > TIP 4: Don't 'kill -9' the postmaster -- Martijn van Oosterhout <kleptog@svana.org> http://svana.org/kleptog/ > Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a > tool for doing 5% of the work and then sitting around waiting for someone > else to do the other 95% so you can sue them.
Вложения
В списке pgsql-general по дате отправления: