Skip site navigation (1) Skip section navigation (2)

testing HS/SR - 1 vs 2 performance

From: "Erik Rijkers" <er(at)xs4all(dot)nl>
To: pgsql-hackers(at)postgresql(dot)org
Subject: testing HS/SR - 1 vs 2 performance
Date: 2010-04-09 23:23:15
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
Using 9.0devel cvs HEAD, 2010.04.08.

I am trying to understand the performance difference
between primary and standby under a standard pgbench
read-only test.

server has 32 GB, 2 quadcores.

  tps = 34606.747930 (including connections establishing)
  tps = 34527.078068 (including connections establishing)
  tps = 34654.297319 (including connections establishing)

  tps = 700.346283 (including connections establishing)
  tps = 717.576886 (including connections establishing)
  tps = 740.522472 (including connections establishing)

transaction type: SELECT only
scaling factor: 1000
query mode: simple
number of clients: 20
number of threads: 1
duration: 900 s

both instances have
  max_connections = 100
  shared_buffers = 256MB
  checkpoint_segments = 50
  effective_cache_size= 16GB

See also:
     (differences with scale 10_000)

I understand that in the scale=1000 case, there is a huge
cache effect, but why doesn't that apply to the pgbench runs
against the standby?  (and for the scale=10_000 case the
differences are still rather large)

Maybe these differences are as expected.  I don't find
any explanation in the documentation.


Erik Rijkers


pgsql-hackers by date

Next:From: Robert HaasDate: 2010-04-09 23:53:51
Subject: Re: extended operator classes vs. type interfaces
Previous:From: Nathan BoleyDate: 2010-04-09 23:18:36
Subject: Re: extended operator classes vs. type interfaces

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group