Re: Recovery.conf and PITR

Поиск
Список
Период
Сортировка
От Gabriele Bartolini
Тема Re: Recovery.conf and PITR
Дата
Msg-id 87b71f906c353cb82c1b75c3b0e4963e@2ndquadrant.it
обсуждение исходный текст
Ответ на Recovery.conf and PITR  ("ascot.moss@gmail.com" <ascot.moss@gmail.com>)
Список pgsql-general
 Hello,

 On Fri, 9 Aug 2013 16:09:49 +0800, "ascot.moss@gmail.com"
 <ascot.moss@gmail.com> wrote:
> postgres=# select txid_current();
>  txid_current
> --------------
>         75666
> (1 row)
>
>
> Can you please advise?

 WAL contains REDO log information, which means only COMMITTED
 transactions will be recovered. Sequentiality of TXID refers to the
 start of the transaction. Transactions can therefore be committed in a
 different order (meaning that 75666 could for example be committed
 before 75634 in your case).

 Remember that if you do not specify "recovery_target_inclusive =
 false", your txid target will be included in the recovered server.

 For further information, I suggest you look at:
 http://www.postgresql.org/docs/9.2/static/recovery-target-settings.html

 Cheers,
 Gabriele
--
  Gabriele Bartolini - 2ndQuadrant Italia
  PostgreSQL Training, Services and Support
  Gabriele.Bartolini@2ndQuadrant.it - www.2ndQuadrant.it


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

Предыдущее
От: "ascot.moss@gmail.com"
Дата:
Сообщение: Recovery.conf and PITR
Следующее
От: Luca Ferrari
Дата:
Сообщение: Re: Recovery.conf and PITR