pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kellner Thiemo <thiemo.kellner@usb.ch>
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: RE: pg_basebackup is taking more time than expected
Date: Mon, 15 Jan 2018 15:35:23 +0000
Message-ID: <63eaa2ce382444899be8d26986cb2263@usb.ch> (raw)
In-Reply-To: <CAEHH7R7cvWry6Rt_4xE9Fgb-AhR8R2GGdKz5nOPjVLAbXNy4cA@mail.gmail.com>
References: <CAEHH7R4=_GN+LSsj0YZOXZ13yc=Gk9umJOLNopjS=imK0c1mWA@mail.gmail.com>
	<20180112130754.GF2416@tamriel.snowman.net>
	<CAEHH7R5sBCRyiu5_qanE741VWGE-LPbVnCdxJZh2U1y1BRPW7A@mail.gmail.com>
	<20180113162221.GD2416@tamriel.snowman.net>
	<CAEHH7R5dGa=iZyD4M-F09vZAzY337v3Kk2HAqdfCxN+PT+Fj2g@mail.gmail.com>
	<20180113164146.GF2416@tamriel.snowman.net>
	<CAEHH7R7cvWry6Rt_4xE9Fgb-AhR8R2GGdKz5nOPjVLAbXNy4cA@mail.gmail.com>

> According to our previous discussion, pg_basebackup is not depend on any of the postgresql configuration parameters. If I go for gzip format we need to compromise on time.

You do not necessarily compromise on time when compressing. Actually, a speed gain compared to uncompressed is possible. The better data is being compressed the less has to be written on (slow) disk. However, it comes with a CPU load penalty. I suggest you experiment with setups. Maybe --compress is doing still well with respect to compression rate but consumes considerably less CPU time.


view thread (10+ messages)

Message-ID: <63eaa2ce382444899be8d26986cb2263@usb.ch>
Permalink:  ../63eaa2ce382444899be8d26986cb2263@usb.ch/
Also on:    postgresql.org/message-id/63eaa2ce382444899be8d26986cb2263@usb.ch

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: thiemo.kellner@usb.ch
  Subject: Re: pg_basebackup is taking more time than expected
  In-Reply-To: <63eaa2ce382444899be8d26986cb2263@usb.ch>
  References: <CAEHH7R4=_GN+LSsj0YZOXZ13yc=Gk9umJOLNopjS=imK0c1mWA@mail.gmail.com> <20180112130754.GF2416@tamriel.snowman.net> <CAEHH7R5sBCRyiu5_qanE741VWGE-LPbVnCdxJZh2U1y1BRPW7A@mail.gmail.com> <20180113162221.GD2416@tamriel.snowman.net> <CAEHH7R5dGa=iZyD4M-F09vZAzY337v3Kk2HAqdfCxN+PT+Fj2g@mail.gmail.com> <20180113164146.GF2416@tamriel.snowman.net> <CAEHH7R7cvWry6Rt_4xE9Fgb-AhR8R2GGdKz5nOPjVLAbXNy4cA@mail.gmail.com> <63eaa2ce382444899be8d26986cb2263@usb.ch>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox