On 3/18/21 11:37 AM, Andrey Borodin wrote:
>
>
>> 18 марта 2021 г., в 20:04, David Steele <david@pgmasters.net> написал(а):
>> it would be nice to support an interface that simply says to the restore_command, "go get 1gb of WAL and write the
fileshere."
>
> +1 to redesigning restore_command and archive_command.
Indeed, archive_command would benefit from the same treatment. The need
to call archive_command for each WAL segment even when parallel
processing is going on behind the scenes is a bottleneck.
Larger WAL segments sizes can be used to mitigate this issue but an
improvement would be welcome.
Regards,
--
-David
david@pgmasters.net