pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Greg Smith <greg@2ndquadrant.com>
To: Bob Dusek <redusek@gmail.com>
Cc: Kevin Grittner <Kevin.Grittner@wicourts.gov>
Cc: Scott Marlowe <scott.marlowe@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: performance config help
Date: Mon, 11 Jan 2010 17:12:33 -0500
Message-ID: <4B4BA251.60309@2ndquadrant.com> (raw)
In-Reply-To: <61039b861001111323g531a5d68q1f59171d926aefef@mail.gmail.com>
References: <4B4B177B020000250002E194@gw.wicourts.gov>
	<dcc563d11001111136y117ea68dp651fd24ce72385f3@mail.gmail.com>
	<4B4B3BF6020000250002E1B1@gw.wicourts.gov>
	<61039b861001111323g531a5d68q1f59171d926aefef@mail.gmail.com>

Bob Dusek wrote:
>
> How do I learn more about the actual lock contention in my db?

There's a page with a sample query and links to more info at 
http://wiki.postgresql.org/wiki/Lock_Monitoring

One other little thing:  when you're running "top", try using "top -c" 
instead.  That should show you exactly what all the postmaster backends 
are actually doing, which is really handy to sort out issues in this area.

-- 
Greg Smith    2ndQuadrant   Baltimore, MD
PostgreSQL Training, Services and Support
greg@2ndQuadrant.com  www.2ndQuadrant.com




view thread (46+ messages)  latest in thread

Message-ID: <4B4BA251.60309@2ndquadrant.com>
Permalink:  ../4B4BA251.60309@2ndquadrant.com/
Also on:    postgresql.org/message-id/4B4BA251.60309@2ndquadrant.com

 · 

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-performance@postgresql.org
  Cc: greg@2ndquadrant.com, redusek@gmail.com, Kevin.Grittner@wicourts.gov, scott.marlowe@gmail.com
  Subject: Re: performance config help
  In-Reply-To: <4B4BA251.60309@2ndquadrant.com>

* 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