Any work on better parallelization of pg_dump? - Mailing list pgsql-general

From hubert depesz lubaczewski
Subject Any work on better parallelization of pg_dump?
Date
Msg-id 20160829113803.43r6e7jxh47bsa6l@depesz.com
Whole thread Raw
Responses Re: Any work on better parallelization of pg_dump?
List pgsql-general
Hi,
we have rather uncommon case - DB with ~ 50GB of data, but this is
spread across ~ 80000 tables.

Running pg_dump -Fd -jxx dumps in parallel, but only data, and MOST of
the time is spent on queries that run sequentially, and as far as I can
tell, get schema of tables, and sequence values.

This happens on Pg 9.5. Are there any plans to make getting schema
faster for such cases? Either by parallelization, or at least by getting
schema for all tables "at once", and having pg_dump "sort it out",
instead of getting schema for each table separately?

Best regards,

depesz

--
The best thing about modern society is how easy it is to avoid contact with it.
                                                             http://depesz.com/


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: a column definition list is required for functions returning "record"
Next
From: Jehan-Guillaume de Rorthais
Date:
Subject: Re: Any work on better parallelization of pg_dump?