Re: PostgreSQL Dump rate is too slow

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: PostgreSQL Dump rate is too slow
Дата
Msg-id 20150108180352.GB1479@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: PostgreSQL Dump rate is too slow  ("ktm@rice.edu" <ktm@rice.edu>)
Список pgsql-admin
ktm@rice.edu wrote:
> On Thu, Jan 08, 2015 at 08:38:37AM -0700, David G Johnston wrote:
> > On Thu, Jan 8, 2015 at 12:12 AM, Adalkonda Harshad [via PostgreSQL] <
> > ml-node+s1045698n5833283h97@n5.nabble.com> wrote:
> >
> > >
> > > As the database size is too large and tweaking  few database parameters
> > > will result towards performance improvement on pg_dump to some extent and
> > > pg_dump -j option would have helped if the DB version is PostgreSQL 9.3 but
> > > unfortunately your DB version is PostgreSQL 9.2
> > >
> > pg_dump 9.3+ can be used against the 9.2 server without problems.  Read
> > the documentation for the --jobs option for details.
>
> This is a nice option for allowing you to leverage more than a single CPU core
> for the dump, provided you have the CPU and I/O cycles to support it. As others
> have suggested, offloading to a replica can help with that.

Keep in mind, though, that while 9.3's pg_dump can read from a 9.2
server, there is no guarantee that what it writes will be readable by
9.2 other tools (pg_restore or psql).  Maybe it is currently, but there
are no promises.

--
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


В списке pgsql-admin по дате отправления:

Предыдущее
От: "ktm@rice.edu"
Дата:
Сообщение: Re: PostgreSQL Dump rate is too slow
Следующее
От: "Ferrell, Denise CTR NSWCDD, Z11"
Дата:
Сообщение: PK/FK impacts using text data type