Search Postgresql Archives

RE: pg_dump backup utility is taking more time around 24hrs to take the backup of 28GB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Raghavendra Rao J S V [mailto:raghavendrajsv@xxxxxxxxx]
Sent: Thursday, October 18, 2018 7:26 AM
To: pgsql-general@xxxxxxxxxxxxxxxxxxxx
Subject: pg_dump backup utility is taking more time around 24hrs to take the backup of 28GB

 

Hi All,

 

We are using pg_dump backup utility in order to take the backup of the database. Unfortunately,it is taking around 24hrs of time  to take the backup of  28GB database. Please guide me how to reduce the time and is there any parameter need to be modified which will help us to reduce the backup time. We are using Postgres 9.2 version

 

Note:-Kindly suggest me options using pg_dump only.

 

--

Regards,
Raghavendra Rao 

===========================================

 

I agree with Ozz, be sure you’re dumping to another drive than what your DB sits on.

Investigate the “-f d” option, and the “-j” option can be useful too. I’ll also point out that hardware makes a big difference. :)

 

We can dump a 180G DB in about 15min. Note, that is to an SSD RAID array and we do “-f d -j $num_cpus_minus_2” and there are 32 cpus on the server (so -j 30).

 

HTH,

Kevin

 

This e-mail transmission, and any documents, files or previous e-mail messages attached to it, may contain confidential information. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that any disclosure, distribution, review, copy or use of any of the information contained in or attached to this message is STRICTLY PROHIBITED. If you have received this transmission in error, please immediately notify us by reply e-mail, and destroy the original transmission and its attachments without reading them or saving them to disk. Thank you.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux