From: John Arbash Meinel <john@arbash-meinel.com>
To: Joel Fradkin <jfradkin@wazagua.com>
Cc: 'Tom Lane' <tgl@sss.pgh.pa.us>
Cc: 'PostgreSQL Perform' <pgsql-performance@postgresql.org>
Subject: Re: Any way to speed this up?
Date: Thu, 07 Apr 2005 12:22:37 -0500
Message-ID: <42556C5D.6060106@arbash-meinel.com> (raw)
In-Reply-To: <007b01c53b95$450c5850$797ba8c0@jfradkin>
References: <007b01c53b95$450c5850$797ba8c0@jfradkin>
Joel Fradkin wrote:
>Here is the result after putting it back to 4 the original value (I had done
>that prior to your suggestion of using 2 or 3) to see what might change.
>I also vacummed and thought I saw records deleted in associate, which I
>found odd as this is a test site and no new records were added or deleted.
>
>
Well, that looks 2x as fast, right?
You might try
SET enable_mergejoin TO off;
Just to see if you can force a hash-join and see how long that takes.
You might also try increasing work_mem.
You can do that just in the current session with
SET work_mem TO ....;
John
=:->
Attachments:
signature.asc (application/pgp-signature, 252B) download
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: john@arbash-meinel.com, jfradkin@wazagua.com, tgl@sss.pgh.pa.us
Subject: Re: Any way to speed this up?
In-Reply-To: <42556C5D.6060106@arbash-meinel.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