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

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Praveen Kumar Mandula <pmandula(at)opentext(dot)com>, "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Reg pg_restore taking more time in windows compare to linux
Date: 2025-01-27 08:53:52
Message-ID: 7c028373bf54624c5d1aa7f5a117d406c243b661.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

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

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Feike Steenbergen 2025-01-27 09:48:52 Re: Unexpected Seq Scan's when using MERGE WHEN NOT MATCHED BY SOURCE
Previous Message Jeremy Schneider 2025-01-26 17:56:47 Re: Any risk or overhead considerations for frequently executing queries against catalog tables?