Re: [EXTERNAL] - Re: Reg pg_restore taking more time in windows compare to linux

From: Praveen Kumar Mandula <pmandula(at)opentext(dot)com>
To: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>, "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: [EXTERNAL] - Re: Reg pg_restore taking more time in windows compare to linux
Date: 2025-01-27 12:29:03
Message-ID: YT2PR01MB4158E59517F4782A4D982ABCB2EC2@YT2PR01MB4158.CANPRD01.PROD.OUTLOOK.COM
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

linux is a single log file - linux-postgressql-2025-01-07
remaining are windows logs

Attaching linux and windows logs, are they useful in identifying why its taking time more in windows ?

________________________________
From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
Sent: Monday, January 27, 2025 2:23 PM
To: Praveen Kumar Mandula <pmandula(at)opentext(dot)com>; pgsql-performance(at)postgresql(dot)org <pgsql-performance(at)postgresql(dot)org>
Subject: [EXTERNAL] - Re: Reg pg_restore taking more time in windows compare to linux

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. If you feel that the email is suspicious, please report it using PhishAlarm.

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

Attachment Content-Type Size
linux-postgresql-2025-01-07.log application/octet-stream 50.6 KB
postgresql-2025-01-08.log application/octet-stream 80.5 KB
postgresql-2025-01-09.log application/octet-stream 162.5 KB
postgresql-2025-01-10.log application/octet-stream 2.3 KB

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Laurenz Albe 2025-01-27 15:06:21 Re: [EXTERNAL] - Re: Reg pg_restore taking more time in windows compare to linux
Previous Message Feike Steenbergen 2025-01-27 09:48:52 Re: Unexpected Seq Scan's when using MERGE WHEN NOT MATCHED BY SOURCE