Re: disk filling up

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: disk filling up
Дата
Msg-id b42b73150707270644q7957f29epdbb2b857296ed03a@mail.gmail.com
обсуждение исходный текст
Ответ на Re: disk filling up  ("Joshua D. Drake" <jd@commandprompt.com>)
Ответы Re: disk filling up
Список pgsql-performance
On 7/26/07, Joshua D. Drake <jd@commandprompt.com> wrote:
> Brandon Shalton wrote:
> > Hello all,
> >
> > My hard disk is filling up in the /base  directory  to where it has
> > consumed all 200gig of that drive.
> >
> > All the posts that i see keep saying move to a bigger drive, but at some
> > point a bigger drive would just get consumed.
> >
> > How can i keep the disk from filling up other than get like a half TB
> > setup just to hold the ./base/*  folder
>
> 1. Don't have two hundred gig of data.
> 2. Sounds more like you don't have 200G of data and you aren't vacuuming
> enough.

third (but unlikely) possibility is there are various dropped tables,
etc which need to be deleted but there are stale postgresql processes
holding on to the fd.  This would only happen following a postmaster
crash or some other bizarre scenario, but i've seen it on production
box.  symptoms are du and df reporting different numbers.  solutions
is easy: reboot or stop postmaster and kill all postgresql processes
(or, if you are brave, do it with dbms running and nail all processes
not following postmaster, do a ps axf [on linux] to see them).

merlin

В списке pgsql-performance по дате отправления:

Предыдущее
От: "Jignesh K. Shah"
Дата:
Сообщение: Re: User concurrency thresholding: where do I look?
Следующее
От: Tilmann Singer
Дата:
Сообщение: Slow query with backwards index scan