Re: URGENT: Out of disk space pg_xlog

Поиск
Список
Период
Сортировка
Искать
От
ohp@pyrenet.fr
Тема
Re: URGENT: Out of disk space pg_xlog
Дата
Msg-id
Pine.UW2.4.53.0612231459410.5163@sun.pyrenet
Ответ на
Список
Дерево обсуждения
URGENT: Out of disk space pg_xlog "Jeremy Haile" <jhaile@fastmail.fm>
Re: URGENT: Out of disk space pg_xlog "Jeremy Haile" <jhaile@fastmail.fm>
Re: URGENT: Out of disk space pg_xlog "Simon Riggs" <simon@2ndquadrant.com>
Re: URGENT: Out of disk space pg_xlog "Jeremy Haile" <jhaile@fastmail.fm>
Re: URGENT: Out of disk space pg_xlog "Simon Riggs" <simon@2ndquadrant.com>
Re: URGENT: Out of disk space pg_xlog "Jeremy Haile" <jhaile@fastmail.fm>
Re: URGENT: Out of disk space pg_xlog "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: URGENT: Out of disk space pg_xlog Tom Lane <tgl@sss.pgh.pa.us>
Re: URGENT: Out of disk space pg_xlog Bruce Momjian <bruce@momjian.us>
Re: URGENT: Out of disk space pg_xlog "Jeremy Haile" <jhaile@fastmail.fm>
Re: URGENT: Out of disk space pg_xlog Bruce Momjian <bruce@momjian.us>
Re: URGENT: Out of disk space pg_xlog "Simon Riggs" <simon@2ndquadrant.com>
Re: URGENT: Out of disk space pg_xlog "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: URGENT: Out of disk space pg_xlog Tom Lane <tgl@sss.pgh.pa.us>
Re: URGENT: Out of disk space pg_xlog ohp@pyrenet.fr
Re: URGENT: Out of disk space pg_xlog Alvaro Herrera <alvherre@commandprompt.com>
Re: URGENT: Out of disk space pg_xlog ohp@pyrenet.fr
Re: URGENT: Out of disk space pg_xlog "Steinar H. Gunderson" <sgunderson@bigfoot.com>
Re: URGENT: Out of disk space pg_xlog Tom Lane <tgl@sss.pgh.pa.us>
Re: URGENT: Out of disk space pg_xlog "Joshua D. Drake" <jd@commandprompt.com>
Thanks for your reply.

I learnt something again!
On Fri, 22 Dec 2006, Alvaro Herrera wrote:

> Date: Fri, 22 Dec 2006 17:25:43 -0300
> From: Alvaro Herrera 
> To: ohp@pyrenet.fr
> Cc: Tom Lane ,
>      Kevin Grittner ,
>      Jeremy Haile , pgsql-performance@postgresql.org
> Subject: Re: [PERFORM] URGENT: Out of disk space pg_xlog
>
> ohp@pyrenet.fr wrote:
> > On Fri, 22 Dec 2006, Tom Lane wrote:
> >
> > > Date: Fri, 22 Dec 2006 13:14:18 -0500
> > > From: Tom Lane 
> > > To: Kevin Grittner 
> > > Cc: Jeremy Haile , pgsql-performance@postgresql.org
> > > Subject: Re: [PERFORM] URGENT: Out of disk space pg_xlog
> > >
> > > "Kevin Grittner"  writes:
> > > > As I understand it, the log space accumulates for the oldest transaction
> > > > which is still running, and all transactions which started after it.
> > >
> > > No, pg_xlog can be truncated as soon as a checkpoint occurs.
> >
> > Even for currently running transactions ?
> >
> > My understanding was that checkpoint was syncing data files for commited
> > transactions.
>
> No, it syncs data files for all transactions, even those currently
> running.
>
> > What happens to pg_xlogs when a transaction updates M of rows/tables and
> > runs for hours?
>
> They get recycled as the update goes.
>
>

-- 
Olivier PRENANT        	        Tel: +33-5-61-50-97-00 (Work)
15, Chemin des Monges                +33-5-61-50-97-01 (Fax)
31190 AUTERIVE                       +33-6-07-63-80-64 (GSM)
FRANCE                          Email: ohp@pyrenet.fr
------------------------------------------------------------------------------
Make your life a dream, make your dream a reality. (St Exupery)
В списке pgsql-performance по дате отправления
От: Bruce Momjian
Дата:
От: Jeremy Haile
Дата:
FAQ