pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeff <threshar@torgo.978.org>
To: Marek Florianczyk <franki@tpi.pl>
Cc: pgsql-admin@postgresql.org
Subject: Re: performance problem - 10.000 databases
Date: Wed, 5 Nov 2003 08:48:52 -0500
Message-ID: <20031105084852.04d6cfb9.threshar@torgo.978.org> (raw)
In-Reply-To: <1068039213.28814.116.camel@franki-laptop.tpi.pl>
References: <1067594647.22286.57.camel@franki-laptop.tpi.pl>
	<9643.1067610219@sss.pgh.pa.us>
	<1068039213.28814.116.camel@franki-laptop.tpi.pl>

On 05 Nov 2003 14:33:33 +0100
Marek Florianczyk <franki@tpi.pl> wrote:

> 
> During this test I was changing some parameters in postgres, and send
> kill -HUP ( pg_ctl reload ). I still don't know what settings will be
> best for me, except "shared buffers", and some kernel and shell
> settings.
> 

as far as I know, -HUP won't make things like shared buffer changes
take. you need a full restart of PG.
..
but your numbers are different... I guess it did take. huh.
..

how much disk IO is going on during these tests? (vmstat 1)
Any swapping (also shown in vmstat)

Where any of these tables analyze'd?
I see you used no indexes, so on each of your tables it must do a seq
scan. Try adding an index to your test tables and rerun..



-- 
Jeff Trout <jeff@jefftrout.com>
http://www.jefftrout.com/
http://www.stuarthamm.net/



view thread (50+ messages)  latest in thread

Message-ID: <20031105084852.04d6cfb9.threshar@torgo.978.org>
Permalink:  ../20031105084852.04d6cfb9.threshar@torgo.978.org/
Also on:    postgresql.org/message-id/20031105084852.04d6cfb9.threshar@torgo.978.org

 · 

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-admin@postgresql.org
  Cc: threshar@torgo.978.org, franki@tpi.pl
  Subject: Re: performance problem - 10.000 databases
  In-Reply-To: <20031105084852.04d6cfb9.threshar@torgo.978.org>
  References: <1067594647.22286.57.camel@franki-laptop.tpi.pl> <9643.1067610219@sss.pgh.pa.us> <1068039213.28814.116.camel@franki-laptop.tpi.pl> <20031105084852.04d6cfb9.threshar@torgo.978.org>

* 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