pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephen Frost <sfrost@snowman.net>
To: Jasen Lentz <jlentz@sescollc.com>
Cc: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: pg_basebackup inconsistent performance
Date: Wed, 6 May 2020 12:29:45 -0400
Message-ID: <20200506162945.GT13712@tamriel.snowman.net> (raw)
In-Reply-To: <MN2PR13MB4039B2878554FC6641464DE8BCA40@MN2PR13MB4039.namprd13.prod.outlook.com>
References: <MN2PR13MB40398A5B578066C1A8B8A99EBCA40@MN2PR13MB4039.namprd13.prod.outlook.com>
	<71037e82-09ec-a1fa-550f-48e637d20ba9@aklaver.com>
	<MN2PR13MB4039B2878554FC6641464DE8BCA40@MN2PR13MB4039.namprd13.prod.outlook.com>

Greetings,

* Jasen Lentz (jlentz@sescollc.com) wrote:
> Where are the machines you are backing up from/to relative to each on the network?
> Direct ethernet connection between 10G network interfaces

Is the backup server shared among other systems..?

> Is there increased activity on the database servers e.g. inserts, updates, etc during the extended backups?
> Not according to sar reports

And there's no increased activity on the backup server either?

Have you looked at network traffic for the duration?  And/or disk i/o on
each system?  If you ran a backup once and then immediately after and
that's the 'fast' case then you may be seeing performance be better due
to a lot of data being in the filesystem cache.  pg_basebackup being
single-threaded probably doesn't help here either, you might want to
consider one of the parallel-backup options.

Thanks,

Stephen

Attachments:

  signature.asc (application/pgp-signature, 818B) download

view thread (6+ messages)  latest in thread

Message-ID: <20200506162945.GT13712@tamriel.snowman.net>
Permalink:  ../20200506162945.GT13712@tamriel.snowman.net/
Also on:    postgresql.org/message-id/20200506162945.GT13712@tamriel.snowman.net

 · 

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: sfrost@snowman.net, jlentz@sescollc.com, adrian.klaver@aklaver.com
  Subject: Re: pg_basebackup inconsistent performance
  In-Reply-To: <20200506162945.GT13712@tamriel.snowman.net>
  References: <MN2PR13MB40398A5B578066C1A8B8A99EBCA40@MN2PR13MB4039.namprd13.prod.outlook.com> <71037e82-09ec-a1fa-550f-48e637d20ba9@aklaver.com> <MN2PR13MB4039B2878554FC6641464DE8BCA40@MN2PR13MB4039.namprd13.prod.outlook.com> <20200506162945.GT13712@tamriel.snowman.net>

* 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