pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Aren Cambre <aren@arencambre.com>
To: Merlin Moncure <mmoncure@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Postgres refusing to use >1 core
Date: Mon, 9 May 2011 16:50:45 -0500
Message-ID: <BANLkTikSMFb7f8YLDrb47GLHn11GhQsKQg@mail.gmail.com> (raw)
In-Reply-To: <BANLkTi=xqRFHGtLUHPOGWJBNTUQyE9Qyfw@mail.gmail.com>
References: <BANLkTimohiUa6rOYdxYTwqmvSUg2CRYMHg@mail.gmail.com>
	<BANLkTi=xqRFHGtLUHPOGWJBNTUQyE9Qyfw@mail.gmail.com>

>
> Are you sure you are really using > 1 connection?  While your test is
> running, log onto postgres with psql and grab the output of
> pg_stat_activity a few times.  What do you see?
>

Thanks. If a connection corresponds to a process, then this suggests I am
using 1 connection for my main thread, and all the threads it spawns are
sharing another connection.

Aren

view thread (46+ messages)  latest in thread

Message-ID: <BANLkTikSMFb7f8YLDrb47GLHn11GhQsKQg@mail.gmail.com>
Permalink:  ../BANLkTikSMFb7f8YLDrb47GLHn11GhQsKQg@mail.gmail.com/
Also on:    postgresql.org/message-id/BANLkTikSMFb7f8YLDrb47GLHn11GhQsKQg@mail.gmail.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 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-performance@postgresql.org
  Cc: aren@arencambre.com, mmoncure@gmail.com
  Subject: Re: Postgres refusing to use >1 core
  In-Reply-To: <BANLkTikSMFb7f8YLDrb47GLHn11GhQsKQg@mail.gmail.com>
  References: <BANLkTimohiUa6rOYdxYTwqmvSUg2CRYMHg@mail.gmail.com> <BANLkTi=xqRFHGtLUHPOGWJBNTUQyE9Qyfw@mail.gmail.com> <BANLkTikSMFb7f8YLDrb47GLHn11GhQsKQg@mail.gmail.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