public inbox for [email protected]
help / color / mirror / Atom feedFrom: Praveen Kumar Mandula <[email protected]>
To: [email protected] <[email protected]>
Subject: Reg pg_restore taking more time in windows compare to linux
Date: Sun, 26 Jan 2025 07:14:57 +0000
Message-ID: <YT2PR01MB415852867696C25B6D9E16ACB2ED2@YT2PR01MB4158.CANPRD01.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <YT2PR01MB4158EDAE02FAB2B0078B167AB2E32@YT2PR01MB4158.CANPRD01.PROD.OUTLOOK.COM>
References: <YT2PR01MB4158EDAE02FAB2B0078B167AB2E32@YT2PR01MB4158.CANPRD01.PROD.OUTLOOK.COM>
Hi Team,
In our AccuRev product we are using postgres 9.5.3 ( open source ).
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.
We tried modifying these in postgresql.conf , but still same behaviour.
shared_buffers = 7GB
effective_cache_size : 20GB
work_mem = '256MB'
maintenance_work_mem = '1GB';
max_wal_size = '3GB';
full_page_writes = off
autovacuum = off
wal_buffers = -1
min_wal_size = '1GB'
Note : we tried in postgres 17.2 also, still in windows its taking 43 hours for restore, where as in linux its taking just 3hours.
Attached linux and windows logs, Can you please provide any suggestions?
Thanks,
Praveen
Attachments:
[application/octet-stream] linux-postgresql-2025-01-07.log (50.6K, ../YT2PR01MB415852867696C25B6D9E16ACB2ED2@YT2PR01MB4158.CANPRD01.PROD.OUTLOOK.COM/3-linux-postgresql-2025-01-07.log)
download
[application/octet-stream] postgresql-2025-01-08.log (80.5K, ../YT2PR01MB415852867696C25B6D9E16ACB2ED2@YT2PR01MB4158.CANPRD01.PROD.OUTLOOK.COM/4-postgresql-2025-01-08.log)
download
[application/octet-stream] postgresql-2025-01-09.log (162.5K, ../YT2PR01MB415852867696C25B6D9E16ACB2ED2@YT2PR01MB4158.CANPRD01.PROD.OUTLOOK.COM/5-postgresql-2025-01-09.log)
download
[application/octet-stream] postgresql-2025-01-10.log (2.3K, ../YT2PR01MB415852867696C25B6D9E16ACB2ED2@YT2PR01MB4158.CANPRD01.PROD.OUTLOOK.COM/6-postgresql-2025-01-10.log)
download
view thread (5+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected]
Subject: Re: Reg pg_restore taking more time in windows compare to linux
In-Reply-To: <YT2PR01MB415852867696C25B6D9E16ACB2ED2@YT2PR01MB4158.CANPRD01.PROD.OUTLOOK.COM>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox