Re: testing HS/SR - 1 vs 2 performance - Mailing list pgsql-hackers

From Robert Haas
Subject Re: testing HS/SR - 1 vs 2 performance
Date
Msg-id s2y603c8f071004120617w8bdc9287x102befe88f6b1037@mail.gmail.com
Whole thread Raw
In response to Re: testing HS/SR - 1 vs 2 performance  (Jim Mlodgenski <jimmy76@gmail.com>)
List pgsql-hackers
On Mon, Apr 12, 2010 at 8:32 AM, Jim Mlodgenski <jimmy76@gmail.com> wrote:
>> I think we need to investigate this more.  It's not going to look good
>> for the project if people find that a hot standby server runs two
>> orders of magnitude slower than the primary.
> As a data point, I did a read only pgbench test and found that the
> standby runs about 15% slower than the primary with identical hardware
> and configs.

Hmm.  That's not great, but it's a lot better than 50x.  I wonder what
was different in Erik's environment.  Does running in standby mode use
more memory, such that it might have pushed the machine over the line
into swap?

Or if it's CPU load, maybe Erik could gprof it?

...Robert


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Streaming replication and a disk full in primary
Next
From: Aidan Van Dyk
Date:
Subject: Re: testing HS/SR - 1 vs 2 performance