Re: Size estimation of postgres core files - Mailing list pgsql-general

From Andrew Gierth
Subject Re: Size estimation of postgres core files
Date
Msg-id 87d0nslxju.fsf@news-spur.riddles.org.uk
Whole thread Raw
In response to Re: Size estimation of postgres core files  (Jeremy Finzel <finzelj@gmail.com>)
Responses Re: Size estimation of postgres core files  (Jeremy Finzel <finzelj@gmail.com>)
List pgsql-general
>>>>> "Jeremy" == Jeremy Finzel <finzelj@gmail.com> writes:

 Jeremy> Yes Linux. This is very helpful, thanks. A follow-up question -
 Jeremy> will it take postgres a really long time to crash (and
 Jeremy> hopefully recover) if I have say 1T of RAM because it has to
 Jeremy> write that all out to a core file first?

It doesn't write out all of RAM, only the amount in use by the
particular backend that crashed (plus all the shared segments attached
by that backend, including the main shared_buffers, unless you disable
that as previously mentioned).

And yes, it can take a long time to generate a large core file.

-- 
Andrew (irc:RhodiumToad)


pgsql-general by date:

Previous
From: Andre Piwoni
Date:
Subject: Promoted slave tries to archive previously archived WAL file
Next
From: Adrian Klaver
Date:
Subject: Re: Problems pushing down WHERE-clause to underlying view