Обсуждение: RE: RE: [COMMITTERS] pgsql/src/backend/access/transam ( xact.c xlog.c)

Поиск
Список
Период
Сортировка

RE: RE: [COMMITTERS] pgsql/src/backend/access/transam ( xact.c xlog.c)

От
"Mikheev, Vadim"
Дата:
> > > > No. Checkpoints are to speedup after crash recovery and
> > > > to remove/archive log files. With WAL server doesn't write
> > > > any datafiles on commit, only commit record goes to log
> > > > (and log fsync-ed). Dirty buffers remains in memory long
> 
> Ok, so with CHECKPOINTS, we could move the offline log files to
> somewhere else so that we could archive them, in my
> undertstanding. Now question is, how we could recover from disaster
> like losing every table files except log files. Can we do this with
> WAL? If so, how can we do it?

Not currently. WAL based BAR is required. I think there will be no BAR
in 7.1, but it may be added in 7.1.X (no initdb will be required).
Anyway BAR implementation is not in my plans. All in your hands, guys -:)

Vadim


Re: RE: [COMMITTERS] pgsql/src/backend/access/transam (xact.c xlog.c)

От
devik@cdi.cz
Дата:
"Mikheev, Vadim" wrote:
> 
> > > > > No. Checkpoints are to speedup after crash recovery and
> > > > > to remove/archive log files. With WAL server doesn't write
> > > > > any datafiles on commit, only commit record goes to log
> > > > > (and log fsync-ed). Dirty buffers remains in memory long
> >
> > Ok, so with CHECKPOINTS, we could move the offline log files to
> > somewhere else so that we could archive them, in my
> > undertstanding. Now question is, how we could recover from disaster
> > like losing every table files except log files. Can we do this with
> > WAL? If so, how can we do it?
> 
> Not currently. WAL based BAR is required. I think there will be no BAR
> in 7.1, but it may be added in 7.1.X (no initdb will be required).
> Anyway BAR implementation is not in my plans. All in your hands, guys -:)
> 
> Vadim

Cam I ask what BAR is ?



Re: RE: [COMMITTERS] pgsql/src/backend/access/transam (xact.c xlog.c)

От
"Vadim Mikheev"
Дата:
> > > Ok, so with CHECKPOINTS, we could move the offline log files to
> > > somewhere else so that we could archive them, in my
> > > undertstanding. Now question is, how we could recover from disaster
> > > like losing every table files except log files. Can we do this with
> > > WAL? If so, how can we do it?
> > 
> > Not currently. WAL based BAR is required. I think there will be no BAR
> > in 7.1, but it may be added in 7.1.X (no initdb will be required).
> > Anyway BAR implementation is not in my plans. All in your hands, guys -:)
> > 
> > Vadim
> 
> Cam I ask what BAR is ?

Backup And Restore.

Vadim




Re: RE: [COMMITTERS] pgsql/src/backend/access/transam (xact.c xlog.c)

От
Don Baccus
Дата:
At 07:05 PM 11/19/00 +0100, devik@cdi.cz wrote:

>Cam I ask what BAR is ?

Backup and recovery, presumably...



- Don Baccus, Portland OR <dhogaza@pacifier.com> Nature photos, on-line guides, Pacific Northwest Rare Bird Alert
Serviceand other goodies at http://donb.photo.net.