Re: Proposal: Limitations of palloc inside checkpointer - Mailing list pgsql-hackers

From Maxim Orlov
Subject Re: Proposal: Limitations of palloc inside checkpointer
Date
Msg-id CACG=ezbQrdr8orTXnu6_kWpJ_VC1MEm7Y89ACMVBB0mm+zCROA@mail.gmail.com
Whole thread Raw
In response to Re: Proposal: Limitations of palloc inside checkpointer  (Maxim Orlov <orlovmg@gmail.com>)
Responses Re: Proposal: Limitations of palloc inside checkpointer
List pgsql-hackers
Here is an alternative solution. We can limit the number of processed requests to fit in a 1Gb memory chunk for each pass. Obviously, we left some requests in the queue to be processed in the next call. We can overcome this by using multi-step processing: estimating the number of steps in the beginning and processing requests again.

I'd like to hear your opinion on the subject.

--
Best regards,
Maxim Orlov.
Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: [BUG]: the walsender does not update its IO statistics until it exits
Next
From: Ashutosh Bapat
Date:
Subject: Re: Statistics Import and Export: difference in statistics dumped