Re: pg_basebackup blocking all queries with horrible performance

From: Lonni J Friedman <netllama(at)gmail(dot)com>
To: Simon Riggs <simon(at)2ndquadrant(dot)com>
Cc: Magnus Hagander <magnus(at)hagander(dot)net>, Fujii Masao <masao(dot)fujii(at)gmail(dot)com>, Craig Ringer <ringerc(at)ringerc(dot)id(dot)au>, Jerry Sievers <gsievers19(at)comcast(dot)net>, pgsql-admin(at)postgresql(dot)org
Subject: Re: pg_basebackup blocking all queries with horrible performance
Date: 2012-06-20 13:27:17
Message-ID: CAP=oouFaJ82i+GZPCqLFmByhP3TY0XXYG7qPyiAnUF6h712HBA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-hackers

On Wed, Jun 20, 2012 at 5:02 AM, Simon Riggs <simon(at)2ndquadrant(dot)com> wrote:
> On 13 June 2012 02:39, Magnus Hagander <magnus(at)hagander(dot)net> wrote:
>
>>> I'm running the following, which gets piped over ssh to a remote
>>> server (at gigabit ethernet speed):
>>> pg_basebackup -v -D - -x -Ft -U postgres
>>>
>>> One thing that I've discovered is that if I throttle back the speed of
>>> what is getting piped to the remote server, that directly correlates
>>> to the load on the server.
>>
>> That seems to indicate that you're overloading the I/O system... Or
>> the CPU, but more likely I/O.
>
> CPU utilisation of ssl connections is bad. If network bandwidth is
> good, perhaps running WALSender at full speed with encryption can tank
> the server.

I'm not using SSL.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Welty, Richard 2012-06-20 13:56:38 Re: pg_basebackup blocking all queries with horrible performance
Previous Message Simon Riggs 2012-06-20 12:02:57 Re: pg_basebackup blocking all queries with horrible performance

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2012-06-20 13:38:17 Re: [PATCH 04/16] Add embedded list interface (header only)
Previous Message Simon Riggs 2012-06-20 13:25:36 Re: [PATCH 10/16] Introduce the concept that wal has a 'origin' node