[Spacewalk-list] Antwort: Increase speed of PostgreSQL Backup - SpaceWalk 2.5

Matthias Gruber MGruber at metzler.com
Thu Nov 29 13:39:17 UTC 2018


Hi!

If someone seeks for a similiar "problem", I found following

I stumbled over
https://bugzilla.redhat.com/show_bug.cgi?id=1056417

Took this as clue and went straight into
/usr/share/perl5/vendor_perl/Dobby/CLI/BackupCommands.pm

where I changed
my $ret = system(@{Dobby::CLI::MiscCommands::pg_version('pg_dump')}, 
"--blobs", "--clean", "-Fc", "-v", "-Z7", "--file=$file", 
PXT::Config->get('db_na        me'));
to 
my $ret = system(@{Dobby::CLI::MiscCommands::pg_version('pg_dump')}, 
"--blobs", "--clean", "-Fc", "-v", "-Z2", "--file=$file", 
PXT::Config->get('db_na        me'));

well takes more space for the Backup, but if it doesnt has so much time in 
compression, its okay for me... perhaps I woll even change the -Fc
man pg_dump is helpfull

I will give that a try.


cheers
Matthias

------------------------------------------------------------------------------------
METZLER 
Informationstechnologie

Matthias Gruber 
IT-Infrastruktur & -Betrieb

B. Metzler seel. Sohn & Co.
Kommanditgesellschaft auf Aktien
Untermainanlage 1
60329 Frankfurt am Main
Telefon (0 69) 21 04 - 43 30
Telefax (0 69) 21 04 - 40 40
MGruber at metzler.com
www.metzler.com



Von:    "Matthias Gruber" <MGruber at metzler.com>
An:     spacewalk-list at redhat.com
Datum:  28.11.2018 12:24
Betreff:        [Spacewalk-list] Increase speed of PostgreSQL Backup - 
SpaceWalk 2.5
Gesendet von:   spacewalk-list-bounces at redhat.com



* PGP Bad Signature, Signed: 11/28/2018 at 12:23:18 PM
Hi! 

I am seeking for a way to increase the speed of our SpaceWalk-Backup. The 
most time of it  is consumed by the spacewalk-dobby -> db-control backup 
Process. 
Is there a way to increase the speed, as I notices the db-control only 
uses one CPU, is that modifyable? 

Any hints or clues are welcomed 

cheers 
Matthias 


------------------------------------------------------------------------------------
METZLER 
Informationstechnologie

Matthias Gruber 
IT-Infrastruktur & -Betrieb

B. Metzler seel. Sohn & Co.
Kommanditgesellschaft auf Aktien
Untermainanlage 1
60329 Frankfurt am Main
Telefon (0 69) 21 04 - 43 30
Telefax (0 69) 21 04 - 40 40
MGruber at metzler.com
www.metzler.com


Persönlich haftende Gesellschafter: Harald Illy, Michael Klaus, Friedrich 
von Metzler, Emmerich Müller, Gerhard Wiesheu
Vorsitzender des Aufsichtsrats: Dr. Christoph Schücking
Sitz der Gesellschaft: Frankfurt am Main, Handelsregister-Nr. HRB 27 515

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene 
Empfänger sein, so bitten wir Sie höflich, dies unverzüglich dem Absender 
mitzuteilen und die Nachricht zu löschen. Es ist unzulässig, die Nachricht 
unbefugt weiterzuleiten oder zu kopieren. Da wir nicht die Echtheit oder 
Vollständigkeit der in dieser Nachricht enthaltenen Informationen 
garantieren oder zusichern können, sind die vorstehenden Ausführungen 
rechtlich nicht bindend. Eine Haftung hierfür wird ausgeschlossen.
This message is confidential. If you are not the intended recipient, we 
kindly ask you to inform the sender and delete the information. Any 
unauthorised dissemination or copying hereof is prohibited. As we cannot 
guarantee or assure the genuineness or completeness of the information 
contained in this message, the statements set forth above are not legally 
binding. Accordingly we cannot accept any liability for their contents. 
* Matthias Gruber <MGruber at metzler.com>
* 0xDAF721D3

* PGP Unprotected
* text/plain body
 * PGP Unprotected

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list


* PGP Bad Signature, Signed: 11/28/2018 at 12:23:18 PM
* text/plain body
* text/html body
* Matthias Gruber <MGruber at metzler.com>
* 0xDAF721D3



 

Persönlich haftende Gesellschafter: Harald Illy, Michael Klaus, Friedrich von Metzler, Emmerich Müller, Gerhard Wiesheu
Vorsitzender des Aufsichtsrats: Dr. Christoph Schücking
Sitz der Gesellschaft: Frankfurt am Main, Handelsregister-Nr. HRB 27 515

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfänger sein, so bitten wir Sie höflich, dies unverzüglich dem Absender mitzuteilen und die Nachricht zu löschen. Es ist unzulässig, die Nachricht unbefugt weiterzuleiten oder zu kopieren. Da wir nicht die Echtheit oder Vollständigkeit der in dieser Nachricht enthaltenen Informationen garantieren oder zusichern können, sind die vorstehenden Ausführungen rechtlich nicht bindend. Eine Haftung hierfür wird ausgeschlossen.
This message is confidential. If you are not the intended recipient, we kindly ask you to inform the sender and delete the information. Any unauthorised dissemination or copying hereof is prohibited. As we cannot guarantee or assure the genuineness or completeness of the information contained in this message, the statements set forth above are not legally binding. Accordingly we cannot accept any liability for their contents.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20181129/d48e47fe/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20181129/d48e47fe/attachment.sig>


More information about the Spacewalk-list mailing list