Re: Sun Fire T2000 and PostgreSQL 8.1.3

From: Chris Browne <cbbrowne(at)acm(dot)org>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: Sun Fire T2000 and PostgreSQL 8.1.3
Date: 2006-04-05 22:11:54
Message-ID: 60k6a3n045.fsf@dba2.int.libertyrms.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Juan(dot)Casero(at)wholefoods(dot)com ("Juan Casero \(FL FLC\)") writes:
> I am not sure about this. I mean I have postgresql 8.1.3 running on
> my Windows XP P4 HT laptop that I use for testing my webapps. When
> I hit this pgsql on this laptop with a large query I can see the
> load spike up really high on both of my virtual processors.
> Whatever, pgsql is doing it looks like both cpu's are being used
> indepently. The usage curve is not identical on both of them that
> makes me think that parts of the server are multithreaded.

This is almost certainly a function of the fact that you're running
the single-threaded backend process, which then feeds a
single-threaded front end process, namely the application that is
being fed data.

For a query that returns a large return set, that will indeed make
both processors get pretty busy; one for the DB server, one for
whatever program is processing the results.
--
select 'cbbrowne' || '@' || 'acm.org';
http://www.ntlug.org/~cbbrowne/rdbms.html
It's hard to tell if someone is inconspicuous.

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Chris Browne 2006-04-05 22:12:43 Re: Sun Fire T2000 and PostgreSQL 8.1.3
Previous Message Scott Marlowe 2006-04-05 22:08:29 Re: Sun Fire T2000 and PostgreSQL 8.1.3