pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Keary Suska <hierophant@pcisys.net>
To: PostgreSQL <pgsql-general@postgresql.org>
Subject: Re: performance tuning
Date: Sat, 27 Oct 2001 13:00:37 -0600
Message-ID: <B8006074.58B2%hierophant@pcisys.net> (raw)
In-Reply-To: <Pine.LNX.4.33.0110271355490.420-100000@laudanum.saraf.com>

If I had a guess I would say the problem isn't with postgres, if your system
CPU usage is 50%. I haven't had a system go over 20%, even under extreme
duress. Are you by chance using Linux with a 2.4 kernel? The swap mechanism
in 2.4 was terrible (it may have been fixed by now). What is you memory and
virtual memory performance like? Extensive swapping could be at least
partially responsible.

Keary Suska
Esoteritech, Inc.
"Leveraging Open Source for a better Internet"

> From: Sheer El-Showk <sheer@saraf.com>
> Date: Sat, 27 Oct 2001 13:58:42 -0400 (EDT)
> To: <pgsql-general@postgresql.org>, <pgsql-sql@postgresql.org>
> Subject: [GENERAL] performance tuning
> 
> Does anyone have a good reference for Postgres performance tuning.  The
> first thing I'm looking for is a way to determine my bottle-neck.  My
> system is currently running with 5-6 processes in the runqueue and 100%
> cpu utilization (50% in the kernel).  I'm guessing I'm cpu-bound but I'd
> like to find out why (I'm doing mostly inserts, but I have a lot of
> foreign keys).  I know postgres has a lot of pg_stat_* tables but I'd like
> to learn how to use these and other performance analysis tools.
> 
> Thanks,
> Sheer
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly
> 




view thread (7+ messages)  latest in thread

Message-ID: <B8006074.58B2%hierophant@pcisys.net>
Permalink:  ../B8006074.58B2%25hierophant@pcisys.net/
Also on:    postgresql.org/message-id/B8006074.58B2%hierophant@pcisys.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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: hierophant@pcisys.net, pgsql-general@postgresql.org
  Subject: Re: performance tuning
  In-Reply-To: <B8006074.58B2%hierophant@pcisys.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