Re: Please HELP - URGENT - transaction wraparound error

Поиск
Список
Период
Сортировка
От John Sidney-Woollett
Тема Re: Please HELP - URGENT - transaction wraparound error
Дата
Msg-id 4364FA20.4000502@wardbrook.com
обсуждение исходный текст
Ответ на Re: Please HELP - URGENT - transaction wraparound error  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Please HELP - URGENT - transaction wraparound error  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
OK, I restored the pgsql/data to another server and started up postgres

and this is what I got:

  SELECT datname, age(datfrozenxid) FROM pg_database;
    datname    |     age
--------------+-------------
  mail_lxtreme | -2074187459
  bp_live      |  1079895636
  template1    |  1076578064
  template0    | -2074187459
(4 rows)

mail_lxtreme is a test mail db and I don't care about it. So it could
have been deleted without any worries...

Which databases are a problem? Is it template0 or bp_live and template1?

Thanks

John

Tom Lane wrote:
> John Sidney-Woollett <johnsw@wardbrook.com> writes:
>
>>I can restore the file system backup of pgsql/data to another database
>>server and then get the info from pg_database. Or I can import a dump
>>file from 15 minutes before I re-inited the database...
>
>
> Importing a dump will tell you nothing at all, as all the data will be
> freshly loaded.
>
>
>>What exactly am I looking for though?
>
>
> SELECT datname, age(datfrozenxid) FROM pg_database;
>
> where the second column approaches 2 billion.
>
> Alternatively, wait a few weeks and note which entries in your live
> database are increasing rather than staying near 1 billion.
>
>             regards, tom lane

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

Предыдущее
От: Nico Grubert
Дата:
Сообщение: Re: [GENERAL] Sorting problems with SELECT * FROM table WHERE name LIKE 'Ö%'
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Please HELP - URGENT - transaction wraparound error