Re: Postgresql logging questions

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: Postgresql logging questions
Дата
Msg-id 4F26FDA0.6020906@hogranch.com
обсуждение исходный текст
Ответ на Postgresql logging questions  (Heine Ferreira <heine.ferreira@gmail.com>)
Список pgsql-general
On 01/30/12 12:14 PM, Heine Ferreira wrote:
>
> Most RDBMS's log all sql changes.
> When the server crashes or a power failure occurs and the server comes
> back up
> the rdbms rolls back to the nearest checkpoint and does a roll forward
> from the log.
>
> Does Postgres also do this?
>

yes, although it uses a somewhat different technique than you describe.

>
> If so is Postgres logging any beter than other databases?

'better' is subjective without defined metrics.

> How good is Postgres at surviving power failures?
> This is of course assuming that you don't have a ups.

UPS's fail too :)

assuming your file system and storage hardware are robust and doesn't do
things like lie about write caching, postgres is very good about
recovery to the last committed transaction.


--
john r pierce                            N 37, W 122
santa cruz ca                         mid-left coast


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

Предыдущее
От: Heine Ferreira
Дата:
Сообщение: Postgresql logging questions
Следующее
От: Chris Angelico
Дата:
Сообщение: Re: Lock/deadlock issues with priority queue in Postgres - possible VACUUM conflicts