Thread: Re: Reg pg_restore taking more time in windows compare to linux

Re: Reg pg_restore taking more time in windows compare to linux

From
Laurenz Albe
Date:
On Sun, 2025-01-26 at 07:14 +0000, Praveen Kumar Mandula wrote:
> For one of our customer, when they are restoring DB, its taking more time.
> In Windows its taking around 43 hours, where as in Linux its taking around 3 hours.

Check if the problem is caused by lame hardware.

Other than that, activate pg_stat_statements and see which statements take
more time on the windows machine.  Investigating those statements could help
solve the mystery.

Yours,
Laurenz Albe