Skip to content
This repository was archived by the owner on Oct 1, 2020. It is now read-only.

londiste.repair: add option to dump in parallel#48

Open
tarvip wants to merge 1 commit into
pgq:masterfrom
tarvip:master
Open

londiste.repair: add option to dump in parallel#48
tarvip wants to merge 1 commit into
pgq:masterfrom
tarvip:master

Conversation

@tarvip

@tarvip tarvip commented Sep 2, 2015

Copy link
Copy Markdown

No description provided.

@yesnik

yesnik commented Feb 2, 2016

Copy link
Copy Markdown

@tarvip , hello! Could you please explain what does the option --parallel do? Why is it convenient to have this option at our disposal?

@tarvip

tarvip commented Feb 2, 2016

Copy link
Copy Markdown
Author

This is used by repair. When tables are repaired then source and target tables are dumped to disk and then these dumps are compared later. Without --parallel option tables are dumped in serial. First source is dumped then target. Downside is that if you have large table then transaction on target can be opened for a long time as it is opened before starting source dump.
With --parallel option source and target dumps are created at the same time.

@yesnik

yesnik commented Feb 2, 2016

Copy link
Copy Markdown

Thank you, Tarvi ( @tarvip ), I got it. This option will be very helpful for us.
Marko ( @markokr ), hello! Is it possible to merge this pull request into master?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants